From 0ee7e8361875da35c981b0974ca05d2e8e0d99f6 Mon Sep 17 00:00:00 2001 From: zhengzhou Date: Mon, 15 Mar 2021 11:04:53 +0800 Subject: [PATCH] 'build' --- index.html | 2 +- ....43a7bc8c.css => chunk-3261285a.e7aac78a.css} | 2 +- ....cb5bba0e.css => chunk-34589b20.3883bbc9.css} | 2 +- static/css/chunk-50365d46.c918e572.css | 1 + static/css/chunk-6a615eb9.629cbabc.css | 1 - static/img/user_Img001.82ca55ca.png | Bin 9307 -> 0 bytes static/js/{app.03155211.js => app.47864f5b.js} | 2 +- ...2f.c4dd6636.js => chunk-038ce22f.9162ef85.js} | 0 ...5b.3108a6ac.js => chunk-05a1125b.a4f729f9.js} | 0 ...c1.42708950.js => chunk-05bf99c1.18f40530.js} | 0 ...27.5301aa59.js => chunk-11067227.798e7862.js} | 0 ...0b.1bac7946.js => chunk-12a7ad0b.f586f550.js} | 0 ...e7.5349d788.js => chunk-145b0de7.80c6e34e.js} | 0 ...ce.0f7fb6f6.js => chunk-1eaf12ce.e09abc37.js} | 0 ...68.eda2fdd1.js => chunk-1fe39068.4ca8344e.js} | 0 ...32.a7db8e91.js => chunk-1fe40532.7cb73e06.js} | 0 ...0d.fd15670c.js => chunk-23d16c0d.f74fc408.js} | 0 ...b8.9f392124.js => chunk-2840b8b8.527d3ea3.js} | 0 ...18.2157b7f4.js => chunk-28990618.ea8aaab3.js} | 0 ...22.61e03de3.js => chunk-2b38f122.558ed48b.js} | 0 ...0d.e8208153.js => chunk-2d0ac90d.466b546a.js} | 0 ...88.cb3a93ca.js => chunk-2d0b3688.3a75e892.js} | 0 ...1a.698b2818.js => chunk-2d0c061a.5013b354.js} | 0 ...a4.e70e9875.js => chunk-2d0cf6a4.4514683b.js} | 0 ...8e.72511dc8.js => chunk-2d0e148e.7c79bd53.js} | 0 ...50.598c1f15.js => chunk-2d21b850.2cb70b25.js} | 0 ...2b.052e87ba.js => chunk-2d224b2b.60b19673.js} | 0 ...e4.d948d4f1.js => chunk-309e49e4.a3ef8610.js} | 0 static/js/chunk-3261285a.00856acb.js | 1 - static/js/chunk-3261285a.38d358d6.js | 1 + static/js/chunk-34589b20.d6933126.js | 1 + ...ae.47e6d8f9.js => chunk-347878ae.4a87c970.js} | 0 ...d4.72adece4.js => chunk-3ccf94d4.92714aee.js} | 0 ...f3.fd30866f.js => chunk-3fbc85f3.143ca8b6.js} | 0 ...c9.8cd926f9.js => chunk-4a5d94c9.4811ba09.js} | 0 ...36.7bddece5.js => chunk-4c803a36.d8aa610d.js} | 0 static/js/chunk-50365d46.0c3b6303.js | 1 + ...e4.cfedd08d.js => chunk-550c5be4.39af2686.js} | 0 ...8d.4efa8ffb.js => chunk-584d398d.62d6cd18.js} | 0 ...18.5d961cee.js => chunk-5e79f418.86ae9a59.js} | 0 ...5a.b2f51abe.js => chunk-638e5b5a.d37eaafc.js} | 0 ...81.0f0e3dfc.js => chunk-655d6881.1701476b.js} | 0 static/js/chunk-6a615eb9.8416994b.js | 1 - ...ae.b96f0205.js => chunk-6cb025ae.499a41c1.js} | 0 ...f1.5a929340.js => chunk-74b26ff1.3a492303.js} | 0 ...ce.35745896.js => chunk-78390ace.65fa54cc.js} | 0 ...e4.4656f19e.js => chunk-7a18b3e4.e89a8c94.js} | 0 ...8a.dc2ae5a5.js => chunk-7d913a8a.630878e1.js} | 0 ...f8.293ef25a.js => chunk-802699f8.9a310b76.js} | 0 static/js/chunk-805bd970.9d041445.js | 1 - ...3a.b4ed00a8.js => chunk-da5f603a.d07ded00.js} | 0 ...38.3db22f01.js => chunk-e8c15138.b58a9be9.js} | 0 ...b2.3c90d250.js => chunk-ef8ce8b2.67c1eb86.js} | 0 53 files changed, 8 insertions(+), 8 deletions(-) rename static/css/{chunk-3261285a.43a7bc8c.css => chunk-3261285a.e7aac78a.css} (78%) rename static/css/{chunk-805bd970.cb5bba0e.css => chunk-34589b20.3883bbc9.css} (77%) create mode 100644 static/css/chunk-50365d46.c918e572.css delete mode 100644 static/css/chunk-6a615eb9.629cbabc.css delete mode 100644 static/img/user_Img001.82ca55ca.png rename static/js/{app.03155211.js => app.47864f5b.js} (92%) rename static/js/{chunk-038ce22f.c4dd6636.js => chunk-038ce22f.9162ef85.js} (100%) rename static/js/{chunk-05a1125b.3108a6ac.js => chunk-05a1125b.a4f729f9.js} (100%) rename static/js/{chunk-05bf99c1.42708950.js => chunk-05bf99c1.18f40530.js} (100%) rename static/js/{chunk-11067227.5301aa59.js => chunk-11067227.798e7862.js} (100%) rename static/js/{chunk-12a7ad0b.1bac7946.js => chunk-12a7ad0b.f586f550.js} (100%) rename static/js/{chunk-145b0de7.5349d788.js => chunk-145b0de7.80c6e34e.js} (100%) rename static/js/{chunk-1eaf12ce.0f7fb6f6.js => chunk-1eaf12ce.e09abc37.js} (100%) rename static/js/{chunk-1fe39068.eda2fdd1.js => chunk-1fe39068.4ca8344e.js} (100%) rename static/js/{chunk-1fe40532.a7db8e91.js => chunk-1fe40532.7cb73e06.js} (100%) rename static/js/{chunk-23d16c0d.fd15670c.js => chunk-23d16c0d.f74fc408.js} (100%) rename static/js/{chunk-2840b8b8.9f392124.js => chunk-2840b8b8.527d3ea3.js} (100%) rename static/js/{chunk-28990618.2157b7f4.js => chunk-28990618.ea8aaab3.js} (100%) rename static/js/{chunk-2b38f122.61e03de3.js => chunk-2b38f122.558ed48b.js} (100%) rename static/js/{chunk-2d0ac90d.e8208153.js => chunk-2d0ac90d.466b546a.js} (100%) rename static/js/{chunk-2d0b3688.cb3a93ca.js => chunk-2d0b3688.3a75e892.js} (100%) rename static/js/{chunk-2d0c061a.698b2818.js => chunk-2d0c061a.5013b354.js} (100%) rename static/js/{chunk-2d0cf6a4.e70e9875.js => chunk-2d0cf6a4.4514683b.js} (100%) rename static/js/{chunk-2d0e148e.72511dc8.js => chunk-2d0e148e.7c79bd53.js} (100%) rename static/js/{chunk-2d21b850.598c1f15.js => chunk-2d21b850.2cb70b25.js} (100%) rename static/js/{chunk-2d224b2b.052e87ba.js => chunk-2d224b2b.60b19673.js} (100%) rename static/js/{chunk-309e49e4.d948d4f1.js => chunk-309e49e4.a3ef8610.js} (100%) delete mode 100644 static/js/chunk-3261285a.00856acb.js create mode 100644 static/js/chunk-3261285a.38d358d6.js create mode 100644 static/js/chunk-34589b20.d6933126.js rename static/js/{chunk-347878ae.47e6d8f9.js => chunk-347878ae.4a87c970.js} (100%) rename static/js/{chunk-3ccf94d4.72adece4.js => chunk-3ccf94d4.92714aee.js} (100%) rename static/js/{chunk-3fbc85f3.fd30866f.js => chunk-3fbc85f3.143ca8b6.js} (100%) rename static/js/{chunk-4a5d94c9.8cd926f9.js => chunk-4a5d94c9.4811ba09.js} (100%) rename static/js/{chunk-4c803a36.7bddece5.js => chunk-4c803a36.d8aa610d.js} (100%) create mode 100644 static/js/chunk-50365d46.0c3b6303.js rename static/js/{chunk-550c5be4.cfedd08d.js => chunk-550c5be4.39af2686.js} (100%) rename static/js/{chunk-584d398d.4efa8ffb.js => chunk-584d398d.62d6cd18.js} (100%) rename static/js/{chunk-5e79f418.5d961cee.js => chunk-5e79f418.86ae9a59.js} (100%) rename static/js/{chunk-638e5b5a.b2f51abe.js => chunk-638e5b5a.d37eaafc.js} (100%) rename static/js/{chunk-655d6881.0f0e3dfc.js => chunk-655d6881.1701476b.js} (100%) delete mode 100644 static/js/chunk-6a615eb9.8416994b.js rename static/js/{chunk-6cb025ae.b96f0205.js => chunk-6cb025ae.499a41c1.js} (100%) rename static/js/{chunk-74b26ff1.5a929340.js => chunk-74b26ff1.3a492303.js} (100%) rename static/js/{chunk-78390ace.35745896.js => chunk-78390ace.65fa54cc.js} (100%) rename static/js/{chunk-7a18b3e4.4656f19e.js => chunk-7a18b3e4.e89a8c94.js} (100%) rename static/js/{chunk-7d913a8a.dc2ae5a5.js => chunk-7d913a8a.630878e1.js} (100%) rename static/js/{chunk-802699f8.293ef25a.js => chunk-802699f8.9a310b76.js} (100%) delete mode 100644 static/js/chunk-805bd970.9d041445.js rename static/js/{chunk-da5f603a.b4ed00a8.js => chunk-da5f603a.d07ded00.js} (100%) rename static/js/{chunk-e8c15138.3db22f01.js => chunk-e8c15138.b58a9be9.js} (100%) rename static/js/{chunk-ef8ce8b2.3c90d250.js => chunk-ef8ce8b2.67c1eb86.js} (100%) diff --git a/index.html b/index.html index bd5ba4ea..d2fde21d 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -LOCKING | 云建筑
\ No newline at end of file +LOCKING | 云建筑
\ No newline at end of file diff --git a/static/css/chunk-3261285a.43a7bc8c.css b/static/css/chunk-3261285a.e7aac78a.css similarity index 78% rename from static/css/chunk-3261285a.43a7bc8c.css rename to static/css/chunk-3261285a.e7aac78a.css index 4b67c44d..953c736c 100644 --- a/static/css/chunk-3261285a.43a7bc8c.css +++ b/static/css/chunk-3261285a.e7aac78a.css @@ -1 +1 @@ -.header{box-shadow:none}.proj_manage{width:100%;height:100%;padding:0 64px;box-sizing:border-box}.proj_manage .proj_manage_content{width:100%;height:calc(100vh - 76px);position:relative}.template_preview{width:50%;left:0;position:absolute}.projModule{background-color:#fff;width:50%;position:relative;min-width:400px;height:100%;right:0;position:absolute;box-shadow:0 4px 10px 1px rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.1)}.projModule .newProj_header{width:100%;padding:9px 24px 0 24px;box-sizing:border-box;height:64px}.projModule .newProj_header .newProj_title{font-size:20px;font-weight:700;float:left}.nextbtn{padding:6px 16px;color:#fff}.nextbtn,.slot_btn{font-size:14px;border-radius:8px;background-color:#7850ff;cursor:pointer}.slot_btn{position:relative;left:24px;padding:0 16px;height:32px;line-height:32px;margin:9px 0;color:#f5f5f7;text-align:center;font-family:PingFangSC-Regular}.nextbtn{float:right}.newProj_content{box-sizing:border-box;padding-top:123px;text-align:center}.input_projname{width:60%;height:44px;border-radius:4px;color:rgba(0,0,0,.56);background-color:#e9e9eb;border:.5px solid #aeaeae;font-size:16px;padding-left:16px}.upload_img,.upload_imgBox{text-align:center}.upload_imgBox{background-color:#32323c;border:1px solid #979797;margin-bottom:48px;width:293px;height:226px;border-radius:8px;box-shadow:0 7px 16px 0 rgba(0,0,0,.2);position:relative;overflow:hidden;border:0;display:inline-grid}.upload_imgBox>img{min-width:293px;min-height:226px;max-width:120%;max-height:120%;transform:scale(1);cursor:pointer;vertical-align:middle;margin:0 auto}.set_position{position:relative!important}.template_select{height:calc(100% - 50px)}.projModule .icon_topback_left{background:url(/static/img/yiyunicon.png) no-repeat -28px -84px!important}.template_select_content{overflow-y:scroll;height:100%}.template_select_content .template_info{width:100%;line-height:44px;padding:0 24px;position:relative;box-sizing:border-box;border-bottom:1px solid #dededf;transition:all .3s;cursor:pointer}.template_select_content .template_info .template_info_name{margin-left:38px;font-size:14px}.template_select_content .template_info .check_box{display:inline-block;width:28px;height:28px;border-radius:50%;position:absolute;top:50%;transform:translateY(-50%);background-color:#cbcbce;box-shadow:undefined,inset 0 1px 3px 0 rgba(0,0,0,.15)}.template_select_content .template_info .check_box.checked{background-color:#7850ff;text-align:center;line-height:28px;color:#fff}.template_select_content .template_info .check_box.checked .el-icon-check{display:inline-block}.template_select_content .template_info .check_box .el-icon-check{display:none}.template_info:hover{background-color:rgba(50,50,60,.15)}.template_improve_content{width:100%;padding:0 8px;box-sizing:border-box}.template_improve_content .template_improve_info{line-height:48px;width:100%;display:flex;color:rgba(0,0,0,.56)}.template_improve_content .template_improve_info .template_title{width:24%;text-align:right}.template_improve_content .template_improve_info .template_title_info{margin-left:8px;color:#32323c;flex:1}.template_improve_content .template_improve_infoInput{line-height:64px}.template_improve_content .template_improve_infoInput .input_projname{width:90%;margin-right:16px} \ No newline at end of file +.header{box-shadow:none}.proj_manage{width:100%;height:100%;padding:0 64px;box-sizing:border-box}.proj_manage .proj_manage_content{width:100%;height:calc(100vh - 76px);position:relative}.template_preview{width:50%;left:0;position:absolute}.projModule{background-color:#fff;width:50%;position:relative;min-width:400px;height:100%;right:0;position:absolute;box-shadow:0 4px 10px 1px rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.1)}.projModule .newProj_header{width:100%;padding:9px 24px 0 24px;box-sizing:border-box;height:64px}.projModule .newProj_header .newProj_title{font-size:20px;font-weight:700;float:left}.nextbtn{padding:6px 16px;color:#fff}.nextbtn,.slot_btn{font-size:14px;border-radius:8px;background-color:#7850ff;cursor:pointer}.slot_btn{position:relative;left:24px;padding:0 16px;height:32px;line-height:32px;margin:9px 0;color:#f5f5f7;text-align:center;font-family:PingFangSC-Regular}.nextbtn{float:right}.newProj_content{box-sizing:border-box;padding-top:123px;text-align:center}.input_projname{width:60%;height:44px;border-radius:4px;color:rgba(0,0,0,.56);background-color:#e9e9eb;border:.5px solid #aeaeae;font-size:16px;padding-left:16px}.upload_img,.upload_imgBox{text-align:center}.upload_imgBox{background-color:#32323c;border:1px solid #979797;margin-bottom:48px;width:293px;height:226px;border-radius:8px;box-shadow:0 7px 16px 0 rgba(0,0,0,.2);position:relative;overflow:hidden;border:0;display:inline-grid}.upload_imgBox>img{min-width:293px;min-height:226px;max-width:120%;max-height:120%;transform:scale(1);cursor:pointer;vertical-align:middle;margin:0 auto}.set_position{position:relative!important}.template_select{height:calc(100% - 50px)}.projModule .icon_topback_left{background:url(/static/img/yiyunicon.png) no-repeat -28px -84px!important}.template_select_content{overflow-y:scroll;height:100%}.template_select_content .template_info{width:100%;line-height:44px;padding:0 24px;position:relative;box-sizing:border-box;border-bottom:1px solid #dededf;transition:all .3s;cursor:pointer}.template_select_content .template_info .template_info_name{margin-left:38px;font-size:14px}.template_select_content .template_info .check_box{display:inline-block;width:28px;height:28px;border-radius:50%;position:absolute;top:50%;transform:translateY(-50%);background-color:#cbcbce;box-shadow:undefined,inset 0 1px 3px 0 rgba(0,0,0,.15)}.template_select_content .template_info .check_box.checked{background-color:#7850ff;text-align:center;line-height:28px;color:#fff}.template_select_content .template_info .check_box.checked .el-icon-check{display:inline-block}.template_select_content .template_info .check_box .el-icon-check{display:none}.template_select_content .template_empty{margin-top:100px;text-align:center;color:#c0c4cc}.template_info:hover{background-color:rgba(50,50,60,.15)}.template_improve_content{width:100%;padding:0 8px;box-sizing:border-box}.template_improve_content .template_improve_info{line-height:48px;width:100%;display:flex;color:rgba(0,0,0,.56)}.template_improve_content .template_improve_info .template_title{width:24%;text-align:right}.template_improve_content .template_improve_info .template_title_info{margin-left:8px;color:#32323c;flex:1}.template_improve_content .template_improve_infoInput{line-height:64px}.template_improve_content .template_improve_infoInput .input_projname{width:90%;margin-right:16px} \ No newline at end of file diff --git a/static/css/chunk-805bd970.cb5bba0e.css b/static/css/chunk-34589b20.3883bbc9.css similarity index 77% rename from static/css/chunk-805bd970.cb5bba0e.css rename to static/css/chunk-34589b20.3883bbc9.css index 090226cb..c4364944 100644 --- a/static/css/chunk-805bd970.cb5bba0e.css +++ b/static/css/chunk-34589b20.3883bbc9.css @@ -1 +1 @@ -.version_item[data-v-1c611fae]{width:359px;border-radius:8px;background-color:#fcfcfc;box-shadow:0 4px 10px 1px rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.1);padding:8px 0 0;margin:0 auto;position:relative}.close_btn[data-v-1c611fae]{position:absolute;top:8px;right:8px;color:#dedede;z-index:9;cursor:pointer}.content[data-v-1c611fae]{position:relative}.content_header[data-v-1c611fae]{padding:0;padding-left:24px;display:flex;font-size:18px;line-height:28px;margin-bottom:8px}.content_header .icon-zhiding[data-v-1c611fae]{position:absolute;right:23px;top:0;color:#7850ff}.content_remark[data-v-1c611fae]{padding:7px 16px}.content_remark_inner[data-v-1c611fae]{background-color:rgba(0,0,0,.05);border-radius:4px;padding:9px 8px}.content_remark_inner>div[data-v-1c611fae]:first-child{font-size:12px;color:rgba(0,0,0,.56)}.content_info[data-v-1c611fae]{padding:12px 24px}.content_info_detail[data-v-1c611fae]{margin-top:14px;font-size:12px;line-height:16px;overflow:hidden}.content_info_detail_item[data-v-1c611fae]{margin-bottom:5px}.content_info_detail_item>span[data-v-1c611fae]{display:inline-block;vertical-align:top}.content_info_detail_item>span[data-v-1c611fae]:first-child{width:60px;color:rgba(0,0,0,.56)}.content_action[data-v-1c611fae]{padding:12px 24px}.content_action_list[data-v-1c611fae]{margin-top:12px;overflow:hidden}.content_action_list_item[data-v-1c611fae]{margin-bottom:8px}.content_action_list_item.milestone_set[data-v-1c611fae]{display:flex;height:44px;padding-top:7px}.content_action_list_item.milestone_set p[data-v-1c611fae]{line-height:28px}.content_action_list_item.milestone_set .switch_btn[data-v-1c611fae]{flex:1;text-align:right}.content_action_list_item.button[data-v-1c611fae]{position:relative;height:32px;line-height:32px;border:.5px solid rgba(17,17,17,.25);border-radius:8px;text-align:center;font-size:14px;cursor:pointer;color:#32323c}.content_action_list_item.button[data-v-1c611fae]:hover{background-color:#7850ff;color:#fff;transition:all .3s linear}.content_action_list_item.button:hover .icon-zhiding[data-v-1c611fae]{color:#fff}.content_action_list_item.button[data-v-1c611fae]:active{background-color:#442baa}.content_action_list_item.button:active .icon-zhiding[data-v-1c611fae]{color:#fff}.content_action_list_item.button .icon-zhiding[data-v-1c611fae]{position:absolute;left:8px;transition:color .3s linear}.content .panel_inactive[data-v-1c611fae]{height:0;margin-top:0}.icon_box[data-v-1c611fae]{width:28px;line-height:28px;color:#7850ff;border:.5px solid #d1d2d3;border-radius:8px;margin-right:10px;text-align:center;height:28px;cursor:pointer;background-color:#f0f0f0}.version_item_brief[data-v-1c611fae]{background-color:#fff;margin:8px auto;cursor:pointer;width:343px;border-radius:8px;padding:0 10px;box-sizing:border-box;position:relative;height:76px}.version_item_brief .header[data-v-1c611fae]{padding:7px 0;display:flex;font-size:13px}.version_item_brief .header_time[data-v-1c611fae]{flex:1;text-align:right;color:rgba(0,0,0,.56)}.version_item_brief .icon_box[data-v-1c611fae]{width:20px;height:20px;line-height:20px}.version_item_brief .icon_box .icon-lichengbei-qizhi[data-v-1c611fae]{font-size:14px}.version_item_brief .remarks_brief[data-v-1c611fae]{padding:8px 0;display:flex}.version_item_brief .remarks_brief_content[data-v-1c611fae]{line-height:28px}.version_item_brief .remarks_brief .remarks_icon[data-v-1c611fae]{flex:1;text-align:right}.version_item_brief .remarks_brief .remarks_icon i[data-v-1c611fae]{font-size:20px;color:#999b9d}.version_item_brief[data-v-1c611fae]:hover{background-color:rgba(50,50,60,.1);transition:all .3s linear}.el-icon-close[data-v-1c611fae]:before{content:""!important}.set_item_position[data-v-1c611fae]{transform:translateY(30px);transition:all .3s linear}.switch_btn .el-switch__core[data-v-1c611fae]:after{width:26px!important;height:26px!important}.icon-zhiding[data-v-1c611fae]{font-size:22px;color:#d8d8d8}.split[data-v-1c611fae]{border-top:.5px solid rgba(0,0,0,.2)}.option[data-v-1c611fae]{font-size:14px;line-height:20px;padding-left:8px;cursor:pointer}.option_icon[data-v-1c611fae]{position:relative;display:inline-block;vertical-align:top;width:0;height:0;border:6px solid transparent;border-top-color:#999b9d;top:7px;transition:transform .1s linear;transform-origin:50% 25%;transform:rotate(-90deg)}.option_icon.option_active[data-v-1c611fae]{transform:rotate(0deg)}.option_label[data-v-1c611fae]{display:inline-block;margin-left:18px}.icon-gerenshezhi[data-v-54dacae5]{line-height:inherit}.yiyun_yinyongname[data-v-54dacae5]{line-height:1.2}.milestone_panel .flex_right_pain[data-v-54dacae5]{right:-400px}.milestone_panel .AnimatedRightIn[data-v-54dacae5]{right:16px}.milestone_panel .flex_right_pain_body[data-v-54dacae5]{font-size:16px;height:calc(100vh - 202px)!important;padding:8px 0}.check-for-updates[data-v-54dacae5]{display:flex;align-items:center}.close-hover[data-v-54dacae5]{background-color:#d6243a}.close-wrap[data-v-54dacae5]{position:absolute;top:8px;right:8px;width:32px;height:32px;line-height:32px;text-align:center;border-radius:4px;cursor:pointer}.title[data-v-54dacae5]{width:100%;padding:12px 24px;box-sizing:border-box;font-weight:700}.toolbox[data-v-54dacae5]{width:359px;height:74px;margin:8px auto;position:absolute;right:42px;z-index:999}.toolbox .toolbox_content[data-v-54dacae5]{background-color:#fff;padding:8px;border-radius:8px;box-shadow:0 12px 21px 2px rgba(0,0,0,.1),0 4px 10px 0 rgba(0,0,0,.1)}.toolbox .toolbox_content .toolbox_top[data-v-54dacae5]{display:flex;box-sizing:border-box;justify-content:flex-end;margin-bottom:12px}.toolbox .toolbox_content .toolbox_top .create_btn[data-v-54dacae5]{width:100px;line-height:20px;color:#32323c;font-size:14px;text-align:center;border-radius:6px;box-sizing:border-box;border:1px solid #8c00ff;cursor:pointer}.toolbox .toolbox_content .toolbox_top .version_icon[data-v-54dacae5]{margin-right:auto;background-color:#f0f0f0;width:20px;height:20px;border-radius:6px}.toolbox .toolbox_content .toolbox_top .close_btn[data-v-54dacae5]{color:rgba(0,0,0,.18);margin-left:12px}.toolbox_bottom[data-v-54dacae5]{padding-left:2px;display:flex}.toolbox_bottom .colorbox[data-v-54dacae5]{width:16px;text-align:center;height:16px;border-radius:50%;display:flex;justify-content:center;align-items:center;margin-right:8px;cursor:pointer}.toolbox_bottom .colorbox .point[data-v-54dacae5]{background-color:#fff;border-radius:50%;width:5px;height:5px}.triangle-down[data-v-54dacae5]{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:12px solid #fff;left:34px;position:absolute}.fade-enter[data-v-54dacae5],.fade-leave-to[data-v-54dacae5]{opacity:0}.fade-enter-active[data-v-54dacae5],.fade-leave-active[data-v-54dacae5]{transition:opacity .5s}.empty[data-v-54dacae5]{margin-top:40px;text-align:center;color:#aaa} \ No newline at end of file +.version_item[data-v-1c611fae]{width:359px;border-radius:8px;background-color:#fcfcfc;box-shadow:0 4px 10px 1px rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.1);padding:8px 0 0;margin:0 auto;position:relative}.close_btn[data-v-1c611fae]{position:absolute;top:8px;right:8px;color:#dedede;z-index:9;cursor:pointer}.content[data-v-1c611fae]{position:relative}.content_header[data-v-1c611fae]{padding:0;padding-left:24px;display:flex;font-size:18px;line-height:28px;margin-bottom:8px}.content_header .icon-zhiding[data-v-1c611fae]{position:absolute;right:23px;top:0;color:#7850ff}.content_remark[data-v-1c611fae]{padding:7px 16px}.content_remark_inner[data-v-1c611fae]{background-color:rgba(0,0,0,.05);border-radius:4px;padding:9px 8px}.content_remark_inner>div[data-v-1c611fae]:first-child{font-size:12px;color:rgba(0,0,0,.56)}.content_info[data-v-1c611fae]{padding:12px 24px}.content_info_detail[data-v-1c611fae]{margin-top:14px;font-size:12px;line-height:16px;overflow:hidden}.content_info_detail_item[data-v-1c611fae]{margin-bottom:5px}.content_info_detail_item>span[data-v-1c611fae]{display:inline-block;vertical-align:top}.content_info_detail_item>span[data-v-1c611fae]:first-child{width:60px;color:rgba(0,0,0,.56)}.content_action[data-v-1c611fae]{padding:12px 24px}.content_action_list[data-v-1c611fae]{margin-top:12px;overflow:hidden}.content_action_list_item[data-v-1c611fae]{margin-bottom:8px}.content_action_list_item.milestone_set[data-v-1c611fae]{display:flex;height:44px;padding-top:7px}.content_action_list_item.milestone_set p[data-v-1c611fae]{line-height:28px}.content_action_list_item.milestone_set .switch_btn[data-v-1c611fae]{flex:1;text-align:right}.content_action_list_item.button[data-v-1c611fae]{position:relative;height:32px;line-height:32px;border:.5px solid rgba(17,17,17,.25);border-radius:8px;text-align:center;font-size:14px;cursor:pointer;color:#32323c}.content_action_list_item.button[data-v-1c611fae]:hover{background-color:#7850ff;color:#fff;transition:all .3s linear}.content_action_list_item.button:hover .icon-zhiding[data-v-1c611fae]{color:#fff}.content_action_list_item.button[data-v-1c611fae]:active{background-color:#442baa}.content_action_list_item.button:active .icon-zhiding[data-v-1c611fae]{color:#fff}.content_action_list_item.button .icon-zhiding[data-v-1c611fae]{position:absolute;left:8px;transition:color .3s linear}.content .panel_inactive[data-v-1c611fae]{height:0;margin-top:0}.icon_box[data-v-1c611fae]{width:28px;line-height:28px;color:#7850ff;border:.5px solid #d1d2d3;border-radius:8px;margin-right:10px;text-align:center;height:28px;cursor:pointer;background-color:#f0f0f0}.version_item_brief[data-v-1c611fae]{background-color:#fff;margin:8px auto;cursor:pointer;width:343px;border-radius:8px;padding:0 10px;box-sizing:border-box;position:relative;height:76px}.version_item_brief .header[data-v-1c611fae]{padding:7px 0;display:flex;font-size:13px}.version_item_brief .header_time[data-v-1c611fae]{flex:1;text-align:right;color:rgba(0,0,0,.56)}.version_item_brief .icon_box[data-v-1c611fae]{width:20px;height:20px;line-height:20px}.version_item_brief .icon_box .icon-lichengbei-qizhi[data-v-1c611fae]{font-size:14px}.version_item_brief .remarks_brief[data-v-1c611fae]{padding:8px 0;display:flex}.version_item_brief .remarks_brief_content[data-v-1c611fae]{line-height:28px}.version_item_brief .remarks_brief .remarks_icon[data-v-1c611fae]{flex:1;text-align:right}.version_item_brief .remarks_brief .remarks_icon i[data-v-1c611fae]{font-size:20px;color:#999b9d}.version_item_brief[data-v-1c611fae]:hover{background-color:rgba(50,50,60,.1);transition:all .3s linear}.el-icon-close[data-v-1c611fae]:before{content:""!important}.set_item_position[data-v-1c611fae]{transform:translateY(30px);transition:all .3s linear}.switch_btn .el-switch__core[data-v-1c611fae]:after{width:26px!important;height:26px!important}.icon-zhiding[data-v-1c611fae]{font-size:22px;color:#d8d8d8}.split[data-v-1c611fae]{border-top:.5px solid rgba(0,0,0,.2)}.option[data-v-1c611fae]{font-size:14px;line-height:20px;padding-left:8px;cursor:pointer}.option_icon[data-v-1c611fae]{position:relative;display:inline-block;vertical-align:top;width:0;height:0;border:6px solid transparent;border-top-color:#999b9d;top:7px;transition:transform .1s linear;transform-origin:50% 25%;transform:rotate(-90deg)}.option_icon.option_active[data-v-1c611fae]{transform:rotate(0deg)}.option_label[data-v-1c611fae]{display:inline-block;margin-left:18px}.icon-gerenshezhi[data-v-3ab4ee97]{line-height:inherit}.yiyun_yinyongname[data-v-3ab4ee97]{line-height:1.2}.milestone_panel .flex_right_pain[data-v-3ab4ee97]{right:-400px}.milestone_panel .AnimatedRightIn[data-v-3ab4ee97]{right:16px}.milestone_panel .flex_right_pain_body[data-v-3ab4ee97]{font-size:16px;height:calc(100vh - 202px)!important;padding:8px 0}.check-for-updates[data-v-3ab4ee97]{display:flex;align-items:center}.close-hover[data-v-3ab4ee97]{background-color:#d6243a}.close-wrap[data-v-3ab4ee97]{position:absolute;top:8px;right:8px;width:32px;height:32px;line-height:32px;text-align:center;border-radius:4px;cursor:pointer}.title[data-v-3ab4ee97]{width:100%;padding:12px 24px;box-sizing:border-box;font-weight:700}.toolbox[data-v-3ab4ee97]{width:359px;height:74px;margin:8px auto;position:absolute;right:42px;z-index:999}.toolbox .toolbox_content[data-v-3ab4ee97]{background-color:#fff;padding:8px;border-radius:8px;box-shadow:0 12px 21px 2px rgba(0,0,0,.1),0 4px 10px 0 rgba(0,0,0,.1)}.toolbox .toolbox_content .toolbox_top[data-v-3ab4ee97]{display:flex;box-sizing:border-box;justify-content:flex-end;margin-bottom:12px}.toolbox .toolbox_content .toolbox_top .create_btn[data-v-3ab4ee97]{width:100px;line-height:20px;color:#32323c;font-size:14px;text-align:center;border-radius:6px;box-sizing:border-box;border:1px solid #8c00ff;cursor:pointer}.toolbox .toolbox_content .toolbox_top .version_icon[data-v-3ab4ee97]{margin-right:auto;background-color:#f0f0f0;width:20px;height:20px;border-radius:6px}.toolbox .toolbox_content .toolbox_top .close_btn[data-v-3ab4ee97]{color:rgba(0,0,0,.18);margin-left:12px}.toolbox_bottom[data-v-3ab4ee97]{padding-left:2px;display:flex}.toolbox_bottom .colorbox[data-v-3ab4ee97]{width:16px;text-align:center;height:16px;border-radius:50%;display:flex;justify-content:center;align-items:center;margin-right:8px;cursor:pointer}.toolbox_bottom .colorbox .point[data-v-3ab4ee97]{background-color:#fff;border-radius:50%;width:5px;height:5px}.triangle-down[data-v-3ab4ee97]{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:12px solid #fff;left:34px;position:absolute}.fade-enter[data-v-3ab4ee97],.fade-leave-to[data-v-3ab4ee97]{opacity:0}.fade-enter-active[data-v-3ab4ee97],.fade-leave-active[data-v-3ab4ee97]{transition:opacity .5s}.empty[data-v-3ab4ee97]{margin-top:40px;text-align:center;color:#aaa} \ No newline at end of file diff --git a/static/css/chunk-50365d46.c918e572.css b/static/css/chunk-50365d46.c918e572.css new file mode 100644 index 00000000..98d691cb --- /dev/null +++ b/static/css/chunk-50365d46.c918e572.css @@ -0,0 +1 @@ +.hide-state[data-v-06f5aedd]{visibility:hidden}.black[data-v-06f5aedd]{color:#fff!important}.white-color[data-v-06f5aedd],.white[data-v-06f5aedd]{background-color:#fcfcfc}.white[data-v-06f5aedd]{box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.app-header div[data-v-06f5aedd]{box-sizing:border-box}.app-header[data-v-06f5aedd]{position:fixed;top:0;width:100%;z-index:9}.app-header-top[data-v-06f5aedd]{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-06f5aedd]{flex:1}.app-header-top .top-left[data-v-06f5aedd],.app-header-top .top-right[data-v-06f5aedd]{display:flex;align-items:center;-webkit-app-region:no-drag}.app-header-top .top-left .dot[data-v-06f5aedd]{width:8px;height:8px;border-radius:50%}.app-header-top .online[data-v-06f5aedd]{background-color:#4ae2a6}.app-header-top .offline[data-v-06f5aedd]{background-color:#d6243a}.app-header-top .top-left .state[data-v-06f5aedd]{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-06f5aedd],.app-header-top .top-right .min[data-v-06f5aedd],.app-header-top .top-right .my-max[data-v-06f5aedd]{position:relative;width:40px;height:24px;cursor:pointer}.app-header-top .top-right .min[data-v-06f5aedd]:hover,.app-header-top .top-right .my-max[data-v-06f5aedd]:hover{background-color:#d4d4d5}.app-header-top .top-right .close[data-v-06f5aedd]:hover{background-color:#d0021b}.app-header-content[data-v-06f5aedd]{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-06f5aedd]{display:flex;align-items:center}.app-header-content-right>div[data-v-06f5aedd],.app-header-content-right>span[data-v-06f5aedd]{margin-left:12px}.app-header-content-left[data-v-06f5aedd]{line-height:40px}.app-header-center[data-v-06f5aedd]{position:absolute;left:50%;transform:translateX(-50%);line-height:40px;font-size:18px;color:#32323c}.app-header-back-btn[data-v-06f5aedd]{position:absolute;left:36px;top:50%;transform:translateY(-50%);margin:auto 0;z-index:9}.black-bg-color[data-v-06f5aedd]{background-color:#32323c}.inRecycle[data-v-06f5aedd]{color:#9c22ff}.adjust-content-pos[data-v-06f5aedd]{position:relative;top:-10px}.stand-place[data-v-06f5aedd]{position:absolute;width:100%;top:0;left:0;right:0;bottom:0}.search-wrap[data-v-df8317c6]{position:relative;z-index:2}.search-entry[data-v-df8317c6]{position:absolute;right:0;cursor:pointer;width:29px;height:29px}.set-high-index[data-v-df8317c6]{z-index:3}.search-bar[data-v-df8317c6]{position:relative;overflow:hidden;width:32px;height:32px;transition:width .15s ease-in}.search-bar .search-active-img[data-v-df8317c6],.search-bar .search-img[data-v-df8317c6]{width:29px;height:29px}.search-bar .search-input[data-v-df8317c6]{box-sizing:border-box;color:#32323c;height:30px;border-radius:8px;background-color:#e9e9eb;border:.5px solid #aeaeae;padding:0 32px}.search-bar .close-icon[data-v-df8317c6],.search-bar .search-icon[data-v-df8317c6]{position:absolute;top:50%;transform:translateY(-50%);width:22px;height:22px;cursor:pointer}.search-bar .search-icon[data-v-df8317c6]{left:7px;background:url(/static/img/搜索.svg) 50%/100%}.search-bar .close-icon[data-v-df8317c6]{right:5px;background:url(/static/img/删除.svg) 50%/100%}.hide-search-bar[data-v-df8317c6]{width:0}.show-search-bar[data-v-df8317c6]{width:235px}[v-cloak][data-v-0481b847]{display:none!important}.nowTime[data-v-0481b847]{margin-left:6px}.now-time[data-v-0481b847]{margin:12px 0 0 0;color:#000;font-size:20px;font-family:PingFangSC-Regular}.big-time[data-v-0481b847]{height:41px;line-height:41px;color:#000;font-size:44px;text-align:left;font-family:PingFangSC-Regular}.prjitem[data-v-2b5d1f78]{display:inline-block;width:100%;border-radius:16px;margin:30px 0;transition:width .3s linear;overflow:hidden}.prjitem[data-v-2b5d1f78]:hover{box-shadow:-8px 0 10px #e0e0e0,8px 0 10px #e0e0e0,0 10px 10px #e0e0e0;transform:scale(1.02)}.prjitem[data-v-2b5d1f78]:last-child:nth-child(3n){margin-right:32%}.prjitem_content[data-v-2b5d1f78]{position:relative;width:100%;height:245px;background-color:#fff;overflow:hidden;border-top-left-radius:16px;border-top-right-radius:16px;cursor:pointer}.prjitem_img[data-v-2b5d1f78]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);min-height:245px;cursor:pointer;margin:0 auto}.prjitem_title[data-v-2b5d1f78]{position:absolute;bottom:24px;box-sizing:border-box;width:100%;font-size:25px;padding:0 0 0 24px;color:#fff;font-weight:500;text-shadow:0 2px 4px rgba(0,0,0,.5);-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left;cursor:pointer;transition:bottom .07s ease-in}.newprj_icon[data-v-2b5d1f78]{width:52px;height:20px;position:absolute;left:24px;top:20px;line-height:20px;background-color:#d6243a;color:#fff;font-size:12px;border-radius:10px;text-align:center}.operate-bar[data-v-2b5d1f78]{position:absolute;bottom:11px;display:flex;justify-content:space-between;box-sizing:border-box;width:100%;opacity:0;transition:opacity .3s ease-in}.operate-bar .bar-item[data-v-2b5d1f78]{flex:1;margin:0 11px;height:52px;line-height:52px;text-align:center;font-size:14px;font-family:PingFangSC-Regular;border-radius:8px;color:#fff;background-color:rgba(50,50,60,.1);cursor:pointer}.operate-bar .bar-item[data-v-2b5d1f78]:hover{background-color:rgba(0,0,0,.2)}.operate-bar .bar-item[data-v-2b5d1f78]:active{background-color:rgba(50,50,60,.1)}.height-full[data-v-2b5d1f78]{height:100%!important;min-height:100%;max-height:100%}.width-full[data-v-2b5d1f78]{width:100%!important;min-width:100%;max-width:100%}.move-item-name[data-v-2b5d1f78]{bottom:50%;transform:translateY(50%)}.show-operate-bar[data-v-2b5d1f78]{opacity:1}.hide-operate-bar[data-v-2b5d1f78]{opacity:0}.prjitemList[data-v-22c87fa3]{padding:0 32px}.user_info_role .el-icon-close{display:block}[v-cloak]{display:none!important}.icon-icon_huishouzhan[data-v-0be02e90]{line-height:inherit}@media(max-width:600px){.timer-part{display:none}.adjust-position{width:100%!important;margin:0 auto}}#proj-list-page .app-header-content-right{display:flex}.new-btn-margin{margin:24px 0 0 64px} \ No newline at end of file diff --git a/static/css/chunk-6a615eb9.629cbabc.css b/static/css/chunk-6a615eb9.629cbabc.css deleted file mode 100644 index 56cb76ad..00000000 --- a/static/css/chunk-6a615eb9.629cbabc.css +++ /dev/null @@ -1 +0,0 @@ -.hide-state[data-v-06f5aedd]{visibility:hidden}.black[data-v-06f5aedd]{color:#fff!important}.white-color[data-v-06f5aedd],.white[data-v-06f5aedd]{background-color:#fcfcfc}.white[data-v-06f5aedd]{box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.app-header div[data-v-06f5aedd]{box-sizing:border-box}.app-header[data-v-06f5aedd]{position:fixed;top:0;width:100%;z-index:9}.app-header-top[data-v-06f5aedd]{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-06f5aedd]{flex:1}.app-header-top .top-left[data-v-06f5aedd],.app-header-top .top-right[data-v-06f5aedd]{display:flex;align-items:center;-webkit-app-region:no-drag}.app-header-top .top-left .dot[data-v-06f5aedd]{width:8px;height:8px;border-radius:50%}.app-header-top .online[data-v-06f5aedd]{background-color:#4ae2a6}.app-header-top .offline[data-v-06f5aedd]{background-color:#d6243a}.app-header-top .top-left .state[data-v-06f5aedd]{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-06f5aedd],.app-header-top .top-right .min[data-v-06f5aedd],.app-header-top .top-right .my-max[data-v-06f5aedd]{position:relative;width:40px;height:24px;cursor:pointer}.app-header-top .top-right .min[data-v-06f5aedd]:hover,.app-header-top .top-right .my-max[data-v-06f5aedd]:hover{background-color:#d4d4d5}.app-header-top .top-right .close[data-v-06f5aedd]:hover{background-color:#d0021b}.app-header-content[data-v-06f5aedd]{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-06f5aedd]{display:flex;align-items:center}.app-header-content-right>div[data-v-06f5aedd],.app-header-content-right>span[data-v-06f5aedd]{margin-left:12px}.app-header-content-left[data-v-06f5aedd]{line-height:40px}.app-header-center[data-v-06f5aedd]{position:absolute;left:50%;transform:translateX(-50%);line-height:40px;font-size:18px;color:#32323c}.app-header-back-btn[data-v-06f5aedd]{position:absolute;left:36px;top:50%;transform:translateY(-50%);margin:auto 0;z-index:9}.black-bg-color[data-v-06f5aedd]{background-color:#32323c}.inRecycle[data-v-06f5aedd]{color:#9c22ff}.adjust-content-pos[data-v-06f5aedd]{position:relative;top:-10px}.stand-place[data-v-06f5aedd]{position:absolute;width:100%;top:0;left:0;right:0;bottom:0}.search-wrap[data-v-df8317c6]{position:relative;z-index:2}.search-entry[data-v-df8317c6]{position:absolute;right:0;cursor:pointer;width:29px;height:29px}.set-high-index[data-v-df8317c6]{z-index:3}.search-bar[data-v-df8317c6]{position:relative;overflow:hidden;width:32px;height:32px;transition:width .15s ease-in}.search-bar .search-active-img[data-v-df8317c6],.search-bar .search-img[data-v-df8317c6]{width:29px;height:29px}.search-bar .search-input[data-v-df8317c6]{box-sizing:border-box;color:#32323c;height:30px;border-radius:8px;background-color:#e9e9eb;border:.5px solid #aeaeae;padding:0 32px}.search-bar .close-icon[data-v-df8317c6],.search-bar .search-icon[data-v-df8317c6]{position:absolute;top:50%;transform:translateY(-50%);width:22px;height:22px;cursor:pointer}.search-bar .search-icon[data-v-df8317c6]{left:7px;background:url(/static/img/搜索.svg) 50%/100%}.search-bar .close-icon[data-v-df8317c6]{right:5px;background:url(/static/img/删除.svg) 50%/100%}.hide-search-bar[data-v-df8317c6]{width:0}.show-search-bar[data-v-df8317c6]{width:235px}.folder-children[data-v-cc1419c4]{padding-left:30px}.notclick[data-v-cc1419c4]{cursor:not-allowed!important;opacity:.5}.notclick .avtarface[data-v-cc1419c4]{cursor:not-allowed}.allopacity[data-v-cc1419c4]{opacity:1}.noManagerText[data-v-cc1419c4]{font-size:0}[data-v-22df4093] .el-checkbox:last-of-type{margin-right:30px}.notclick[data-v-22df4093]{cursor:not-allowed!important;opacity:.5}.notclick .avtarface[data-v-22df4093]{cursor:not-allowed}.set-crown-position[data-v-22df4093]{margin:4px 10px 0 0}.set-yiyun-line[data-v-22df4093]{margin:0 0 0 15px}.left-dept-wrap[data-v-22df4093],.right-selected-user-wrap[data-v-22df4093]{overflow-y:scroll;overflow-x:hidden;height:calc(100vh - 148px)}.right-selected-user-wrap[data-v-22df4093]{overflow-y:scroll;overflow-x:hidden;height:calc(100vh - 178px)}.left-dept-wrap[data-v-22df4093]::-webkit-scrollbar,.right-selected-user-wrap[data-v-22df4093]::-webkit-scrollbar{width:8px}.left-dept-wrap[data-v-22df4093]::-webkit-scrollbar-thumb,.right-selected-user-wrap[data-v-22df4093]::-webkit-scrollbar-thumb{border-radius:10px;height:8px;background-color:#adadad}[v-cloak][data-v-0481b847]{display:none!important}.nowTime[data-v-0481b847]{margin-left:6px}.now-time[data-v-0481b847]{margin:12px 0 0 0;color:#000;font-size:20px;font-family:PingFangSC-Regular}.big-time[data-v-0481b847]{height:41px;line-height:41px;color:#000;font-size:44px;text-align:left;font-family:PingFangSC-Regular}.prjitem[data-v-2b5d1f78]{display:inline-block;width:100%;border-radius:16px;margin:30px 0;transition:width .3s linear;overflow:hidden}.prjitem[data-v-2b5d1f78]:hover{box-shadow:-8px 0 10px #e0e0e0,8px 0 10px #e0e0e0,0 10px 10px #e0e0e0;transform:scale(1.02)}.prjitem[data-v-2b5d1f78]:last-child:nth-child(3n){margin-right:32%}.prjitem_content[data-v-2b5d1f78]{position:relative;width:100%;height:245px;background-color:#fff;overflow:hidden;border-top-left-radius:16px;border-top-right-radius:16px;cursor:pointer}.prjitem_img[data-v-2b5d1f78]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);min-height:245px;cursor:pointer;margin:0 auto}.prjitem_title[data-v-2b5d1f78]{position:absolute;bottom:24px;box-sizing:border-box;width:100%;font-size:25px;padding:0 0 0 24px;color:#fff;font-weight:500;text-shadow:0 2px 4px rgba(0,0,0,.5);-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left;cursor:pointer;transition:bottom .07s ease-in}.newprj_icon[data-v-2b5d1f78]{width:52px;height:20px;position:absolute;left:24px;top:20px;line-height:20px;background-color:#d6243a;color:#fff;font-size:12px;border-radius:10px;text-align:center}.operate-bar[data-v-2b5d1f78]{position:absolute;bottom:11px;display:flex;justify-content:space-between;box-sizing:border-box;width:100%;opacity:0;transition:opacity .3s ease-in}.operate-bar .bar-item[data-v-2b5d1f78]{flex:1;margin:0 11px;height:52px;line-height:52px;text-align:center;font-size:14px;font-family:PingFangSC-Regular;border-radius:8px;color:#fff;background-color:rgba(50,50,60,.1);cursor:pointer}.operate-bar .bar-item[data-v-2b5d1f78]:hover{background-color:rgba(0,0,0,.2)}.operate-bar .bar-item[data-v-2b5d1f78]:active{background-color:rgba(50,50,60,.1)}.height-full[data-v-2b5d1f78]{height:100%!important;min-height:100%;max-height:100%}.width-full[data-v-2b5d1f78]{width:100%!important;min-width:100%;max-width:100%}.move-item-name[data-v-2b5d1f78]{bottom:50%;transform:translateY(50%)}.show-operate-bar[data-v-2b5d1f78]{opacity:1}.hide-operate-bar[data-v-2b5d1f78]{opacity:0}.prjitemList[data-v-22c87fa3]{padding:0 32px}.user_info_role .el-icon-close{display:block}[v-cloak]{display:none!important}.icon-icon_huishouzhan[data-v-5c9fe164]{line-height:inherit}@media(max-width:600px){.timer-part{display:none}.adjust-position{width:100%!important;margin:0 auto}}#proj-list-page .app-header-content-right{display:flex}.new-btn-margin{margin:24px 0 0 64px} \ No newline at end of file diff --git a/static/img/user_Img001.82ca55ca.png b/static/img/user_Img001.82ca55ca.png deleted file mode 100644 index 8e935e4adb7021f945b608a84669a15163848796..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9307 zcmaKSRa6|^x^3eYED$UN4{nV&?ry;)NCS;Kjk_dxLU4!R8k_*Z-QC?gxCOUM_SyeF z_u=kaV^l2}bIwoJ_pnw~g{vydV4{|I!dcrF5X` z4(3pIurmZ8X69f5p^&o!TR_wxU^7pr0musjf!0bx2dbl_$ZzUk#|r+7VfCH1h3KNKhmAw$v$*(pl3M(@qDs65hb|ps%h^3XRmor4&OIgFz%f=LBMkOLl zA?U&XB47uBf+;-gZ0%k6J%p(KrOW@)|2xe_Me#2P)JBNvf1J`$Ql*e^aE4HDv+}T* z0y+68ctNZ{ZV(>_7c&J1JCKKs9mEFYVqpjJvxE5AffWC~s9vl&o0;>gNlO3Q*2_qU z$`T57Eyl?7?F1Lj8||B*ewk*~$@W z6yxKN2JwnZ@k&So zfl_>8AP#OZX=zR|PIhi-K1s2ExRMU0u67W6=s#Su|K&>jSMJ|(uycH|ED3S8a)X#j zJ3H7>{3~pJtN-o`=)dayn``#peG&VwT(%cy*#0i=|FzivOubal-|l}(_hs;(;)mG3 zRJ`*`X@}~F-U0v=LvoU08Xk+JsoG_bIp0<7C7UC!#Uod*of!Nynz#b|f!F1zRXg*6 zCN!tPc!&&N@U}YwqUS{yCDua`>$%zW69Z2b R3LHEI5T&`4{KUOh31^ z(%m)?(eQFgBkZu{dFS45jX&6b=aa+7HeU<23T6M@6uriQ4E>TP8uOsZ~%O};A9;LnzZ<)u-K3|Baf zwROuT6YYIVbDFLqaR&ZWw1_M*BaUExnUXU{L@$UHYUQ`+Msc`>OviZjSt zZw4>2Jk3jGB#Gpht@FQ<9cSq22Ps#$ZVfFR{9;;xn;J`B@YoozVM>qR3t}NzcoS%0 z5T(lgyLZ}i*p-Nc&xKQ=3Wm*ed3-+y)b39ylscb2-n};T<$UUdY36FdYbWStb*0CD zzK`zFqLx7Xu2(wPFFo`AieAxxrFder6eBnFQ#Dl%BR*_2!!!FJA>e)eLd(_7uWPIm zvXvY;Y{DAP1OxBG^Uc#dJ?0-rwt1SraY=PRnaT{fWn5%d>2#JWvKG;oLW&^}kMHV- zab*KFC9gK0WPVl{p`x&*>y>2aDq8R!FW)cb+Qi!Qv^;i62W~&W;Jq& zgT4K^l$0fdHOzbXp6{-G)Od?N5V*i4q`v`ebm}zmrYdI`tm=8+eT(EZeEi_|JgaVV zVC1>2mn(OO5(PASFM}CBUR_ile`64=qb{dgT5W00FdQO7j{!QkGyLu8IguW9zL%q= zicOXt45b-_vS$kFHLvp82kViGmmsGA8^mwcQWWMGm<7(;m#l76bKj zP&chN)dF7+%iO8q@gVS<9eLbJngkkp63G&hX$gE_0w#r)k35QJ?WPw459Ye%WDrpyx3eJ;2Chk@8A96V33;@`S6WO=5;=~1PF=$BbNOAhH9tpZb30dxAX4+` zcAss>quXX8ZC2OXq62$TQ#h(juaW{u37a=qwRM6Nx^^^5(pDLxsm!6^61PNT#xWa| z(iDoreMS*M;!&5z7-TmS!~9|Fw+Hx;ni6q1xnd~P~+Cu8YtHe$}3 zqmX_omw0w1z~-`@7l$LQ(|0SgOJ)Q$Y$nPC{Y7vf!l5KRPy!n&(Zr;WcQff8XI+U)D;HC$u)*~!NF`!rFg zHJ5_#ZVYXGqg$3hcX8MDZb+VYgHk{Ht4Y6>nmZW2JLXj}5bP^D_1PqS#WEG56GGh6 zYtrkhu0;_f{AO`MEp;*Sc)0g-a{11C@&f&ooraplcg?=F0vBv1lHSKL>HeE&Av?9=&v#C?+&*ibjv`tM<5gx!lRFgi9d;rb_{CSte8g%2+5q-@tz zx?Ox!jPUcG2q(u;p$4x{)zU~wDK>NC{@fjfmc6};-oNqyYxaO?KzvvH+%huQZ+nx3 zj6?DPhtu)mIQHLj!obUW0JHf3iD*zM1hW*?#fBXirm;vduBpV=;AC;zJFso+-zu_v zZT)L^zUt4{Nz!eIZWx68q>TB5cR>~AR81C2Sqh$QF0g9H{mvK?uT{EwuBOQvVNzA! z3d%~7J_ws+($|-tO|kyGm&b4rJ(|r-(6xsX3N~!OoY)BRXi?2iiHn6ZYggqRcQ5=F zApmD^V9x|=r^qW#uA>x;s7Z`~_xA4E61YB|tZo(jE#iLmCn0*&Iv|@7KmO~4{>Z~> zS7_W8v~#xwl^FDW$2D0d=^LdUDfL9L zs)l+&zM1Hsubt}V=(6Lddf<$|v*mRXeK05Kqj8F$48%N>NMv?tYHaFiK>3yPmfabV zmge1PEvd51)W$|id0m#@`2<$(M`HD%9AJ%}6xFxx3OykXvQO9x|3UXJt zoOf`GkmHf5WF(HEG{&s}g+U?Ni+JyxwKw2#1uAZG!K zmQX}~_%3q>eS%h1WoymF#S&=Y8eM{>@yE;_e0&t|Na=Tk5WP2^JYEljdxaH;(D2uK z=(N`1$4Wz6YJ|P))|x5%O?pcU=(Dp}W^qBHRtI=6-&S&-0V#!Pvt5srlq8h180TY0r}3TBL~=x z%v_OjuMTHqSXtTTB8h=&Z-4*NCicDG2u6_t+C==oF`l@+*$!8Sl~~zjH>JKHjg8Hzo7d&5=G#ry)^@NUB1Cyg2I?coax zcVlLYm?5P&ZOE&3q-xa1%Vy#jHqq*>udJ6-!MEQa~@a2kyk25oo zlcoz^PvbS~C%qPF&?Zdr*)KK9De}5_Bv(|!KtQ2lO5;eVL{=2@rNHpalW9p|<<#sD zX0j5qnGAqR_?E!3hIjJfU7~?~IA?#TSbzn9qVMFWyEQ!I4ZV%Y5rbe>mD+MbS{{{$1R z-7QoI@(L}w^H*pjQH+6Jfs;)Z3^N*~R@mh$VRiNBMx4X^AHr?p#f zux14$>n_RwaP7KfVp|*i4n0Gf&<_8jvO`5zAo<6Hm%FE!J zP~m2TVkS%CA{ON#d1^#6B()X#al(;D;}4^eJpHN9clKBder<&(b(BsJ3&1H0c zvZ%5;3#?-YZXqhLBWFr_w^ys_@k-8+5{|ZKV-rUP?szi~mYlq+Y9+$+rE|@b?7dbU z_80au_<%I#p$44aQ}O#nDBPdb%+NhZ0wVAtB6A49bOe+%W$5(DeKAL*%}G4%akw0(S*){N(aELtZv|V@RDA=d4 zMr!@~30u+6+_$A;wcOK=-*?h}4)HfA2B#87(%0i7+DF8=9A-g8QMPeJ6ERC1`)oDT zZPeZ2*;6Fb*Qgr04P=sao|yt|!8#32yJdkm+R-{$hK+7ce8s{|?iSa7K(=sKBOd%- zPmwAHtv-Ghp5)B%+^^%L-&%s{=H7+j0otuvz|13})K zvFEES|I3sM9rHMZ#;K!gMBmM2)`qc>q~k&Qr`!|2>$Q*1yE7S>Y8zS2?!HtQ{a^e( z4M% z3_yWHYda!V{7wr;xwxlYST8tHUQ%)rJ64%%o*yKbdfakzVbprH<_|MEKE^8Ob9c(0 z{7#(C+`8Sp*5dq4r1k!MVnqK$WjFWFwcoRU%V~dI+ug)aMYHRcv7VX^6OjVEb^vo( z2O`A>q;lo}^IRXdkd9V%IkaruPqJ%?F>S_6+!WE~eAOo-1anXD9;Zo`Bn zJ3Mr-I`F8QluJ$`2fNEmi(4jA@ROtN!PwJuo&WiWMcY#&Mo~(eE9`0MWYvHF0WYJv z@$BTOeQ5Y@E_3xZ!~dq7y!G73|G-~MTDKXM9#<@xkx?$~<0n94aB=qO6ql<=RDB`} z{FdRi%)G7ChvHOh^NXf7+HcQi_v8~eIi-O|C0l!ucFr;>M9K8NflQ`ZZ@*o?#o4dcb@(3Lz()2Ia)M7 z4fw2hdZYaOU?k|ayQuHr1K5P8+(x~TM$`e%J4L#7y_-qJmDj6qRTU-|uc}js5^Sx8 z^5ZJB{Fan^*)X>~;}nzPBymF$VlH>T-i4%M<0t)#{xC|;ANXb~Dp;+TM;)_t zOTEH0jJvJs^&0fuIss_EW=+{|8hT=~n9IKPxUzsAzU17apfqOFqPy&gR@5w*wc|u? zI;IoI5s6C%r4dlY;6TGeUkPGuyR`J9o41twK)dj;^I8!$UbN(Byz9SRdn)(uIX&Gy z=o9hSnaygwp7SQhep{W0A~@Q0Ama55dW{YXzWben8#jF9+c01U?p2E;I-871r8?}e z4~BUrJ5}ppC!^)uua`yzSX%-tmd)J z^C+6!=Q*FYhr1lVBI%}}`vaA6K96-4jhGP~P- z3;{@zP!H>QYk0jPK(R)wWPl9dK0BuJl>K4td3EU8A*-9dsj~Xj3i4jnAT{whH*uh% z+O(_f$ejU|k36*_bJba_%=v{-9P**FMbVOyq zN9{qN00zf=Bn2MP6r8$r@}9bSO=_5ws{qre(Eai~xgRM{3BtRoh#w)ob}W|OT8S%9 zfKE=uYPt}6k)>&h5YhT^#a9LJ_BG8)ad22$q?@MRhMiZTkwZ*N0t$~+gMBE}2Z7z= zV|Y&rW>#`IhSb01M<^vqXNP0nQu(%IX5uvHVu_We(WDJ!N05!Pwl__pKfn>mJKATz zNwyrj)|%T~om}&|{sj{_OUeJS9`CkgpU=J1Y^S8@aFou-IFtB2fvQ3Cz!ptHp;i5NYwl z-rW`Lmc{QTmctD}y?fB--VX@xZB$O5`70S)yXWsa4vH)~s=2=We5*aa zii`wB(#VSXILS_#6OmR;$y*P%Zh&+_yjfoQV}qd0VmRugnV<7QzT?K+ZkSTnXg8_7M7du z|Lk0jvw<~+g0x~gGTIC3$PwEWC6eFI{;2q2$HLZfwsG{4JVVIk&iENTH4XahV<1Dy zfggphPEt$~RE$k|cz3C<5WExOMegT#Ah32nk)mC3P0Kxxj>>}SV5gC2?zD{n2nMT* zN_kX?36Xi%TKkfiWa6-QtbZY?DVdHD*3wSYYHATUX`!xdZs7TSPnO5Ak2L+&m{ipC z_nt`R}_Z8Djv3=#-Bfb0;;gR zSWJRj`H)87l<)(F*yppIAuC*(;3aHn-!*KsNSldZDuogl;iuMj~N^1UkZVZXtgHBn zHWn|{UT3c8VaBANsC27|1jgVZBEQ|i_}f)4>24KsY=JMPJZ5gX~E<#Z$y zWckszwKO?z&0@xs){T^3NumUV%@+)$>50pugzN-KC^t>d6Y&wgW~Y)2X0ef-HDHSh zlwJIks7huZozUCY4(rEg1e62*5U%b;AMM?AJCe3@@=BS9!CPeV#`!Ft(284pXqVXn zeniR45CgE5pvRz#0@UFN5D*vJ6EI~9H|!{;4cC>+%SI-VaCn&UWdNU(Q8E$Hna=(2 z?SA~RYP?~XxP&4olErkhg+aNKah9{j+pl7{;5-AH0=P&+c|0?n=f$WbztFDa#(|)% zcw$c(8&gUMpmv)&n+05UQjcYgF0kvGI#o*w-1ZgXX6>m@vW^ zHNRyo>J=*cbEHC>TKGcn&E`;oGf!S#g5k@2NXQtR;X$H){PWP63`&4_cZxU8oJM4Ti$)QVt|3kwR-VVFDKWb3A1!bzlyhC3-GqaulB9Cxkd?Nc~f2#^Qh9!40ibpaBHlloXfwQ#rJ}z#rZ7*5GR={Kc z_$(oqRt{XDqHOnl?Oe_710A_juQV~!&T4CQHkBewe!7W~?b85Dfv(7D?8F^fOi> zqIk2dF6z(zKqc=%R5W5y3iyB{T`J?+yA}IX!oFPMKkha*bZFFHTBc1MX4LKH>t6+E zM1;AcW?uxLkE6ANw5;k12`>P#%mivG21r!u10-Se_$<5E$O=xA33~2LD>FOqQP9oa z1}n<_wls_)>^VDwau~KZ5LQ!VbN2F`nj^a3zR*P+B{-WJ!yG*3j-(#3-- zP{e&twmsq@PHkgx^i|MLpFHvNz&f5{$Z`u!uHEqO3c=To`7TQ{UA7y#gh2RnLZYf0 z`~n3t8VTX807RGhby?d?fhB+%Z#B7ObI|CwU@5~+AXI3j7fEapMr>hX=U@ z<5^DFR|7xTr<<0vG>CW|^Ug2`}I;uq6lk4s7%(s96_ef74@a;j{pG$#0a<&X#e37bp zRm`QEhtuDqKMkKc_AD=J3Dq~T1j($hI%>?K992 z?qhjnWZF=y)`XoxzPbq@aE!dU0xa#+m2Zc~VDSvaAqd)CU43~zzh_f^FbiBz(&kWy zftz!D##3Kgjf?Dhe^bY&k7HjXgS~NK!B`<{e)(E9-~smF%c70XSXxZ|()Vl>00(H( XI1N)qqI&%MyN{fdvg8kO4&&void 0!==arguments[4]?arguments[4]:[];return{platformType:e,orgId:n,orgLogo:a,orgName:t,accessList:r}}var o={CompanyConsole:"company_console",ProjectManager:"project_manager"};function c(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")),o=t("b775"),c=t("3de1"),i=t("2ef0"),u=t("2b0e"),s=!!e.electron,d=5,l=5,f=[],p=[],h=[],m=[],b=function(){f=[],p=[],h=[],m=[]},k=function(){},g=function(e){var n=new WebSocket("ws://127.0.0.1:7777/".concat(e));return n.on=n.addEventListener,n},y=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)}))}))},v=function(e){return s?e:k},w={isClient:s,init:v((function(){console.log("客户端 electron API 检测:",e.electron)})),keepLiveTest:v((function(n,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i["identity"],r=g("keeplive"),o=1,c=null,u=e.electron.ipcRenderer;function s(){n(!0),r.send(o)}u.on("detectWindowSize",(function(){t((arguments.length<=1?void 0:arguments[1])||!1)})),r.on("open",(function(){c=setInterval(s,2e3)})),r.on("close",(function(){clearInterval(c),n(!1)})),r.on("error",(function(){a(),n(!1)}))})),shrinkBrowserWindow:v(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:v(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:v(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:v(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:v(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:v((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i["identity"],t=g("initClientConfig");t.on("open",(function(){t.send(e)})),t.on("message",(function(e){if("-1"===e.data)return u["default"].prototype.$notify({message:"请联系企业管理员检查存储节点配置项。",type:["error"]}),void n(e)}))})),checkForUpdates:v((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i["identity"],n=g("checkForUpdates"),t=1;n.on("open",(function(){n.send(t)})),n.on("message",(function(n){if("-1"===n.data)return u["default"].prototype.$notify({message:"已是最新版本。",type:["success"]}),void e(n)}))})),clientOpenFileWith:v((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i["identity"],t=g("openFileWith");t.on("open",(function(){t.send(e)})),t.on("message",(function(e){if("-1"===e.data)return u["default"].prototype.$notify({message:"服务端出现错误, 请稍后重试。",type:["error"]}),void n(e)})),t.on("error",n)})),login:function(){},logout:function(){},entryProject:v(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(n,t,a,r){var o,c,u,s=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=s.length>4&&void 0!==s[4]?s[4]:i["identity"],e.next=3,y(g("init"),[t,n].join("|"));case 3:return c=e.sent,r(c.data),u=g("subscriptionFileChange"),u.on("open",(function(){u.send(n)})),u.on("message",a),u.on("error",o),e.abrupt("return",u);case 10:case"end":return e.stop()}}),e)})));return function(n,t,a,r){return e.apply(this,arguments)}}()),leaveProject:v((function(e){e.close(),b()})),downloadFile:v((function(e,n,t,a,r){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:i["identity"],d=function i(){var d=g("download"),l={API:"download",Action:"下载文件",CompanyName:sessionStorage.CompanyName,Subject:t,Source:sessionStorage.client,ProjectName:sessionStorage.projName};Object(o["b"])("operation/record",l),d.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),d.send([e,n,t,a].join("|"))})),d.on("message",(function(e){return"-1"===e.data?(u["default"].prototype.$notify({message:"".concat(t,",网络请求失败。"),type:["warning","download"],title:"文件下载失败"}),void s(e)):"-2"===e.data?(c["d"].error("请先关闭本地文件后再下载"),void s(e)):void r(e,d)})),d.on("error",(function(e){s(e)})),d.on("close",(function(){if(h=h.filter((function(e){return e!==i})),m.length){var e=m.shift();h.push(e),e()}}))};h.length>=l?m.push(d):(h.push(d),d())})),analyzeSystemPath:v(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,y(g("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,o=0===t.indexOf(".")?t.slice(1):t,c=n.slice(0,-t.length);return{fileName:c,extension:o,relativePath:a.split("\\").filter(i["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:v(Object(r["a"])(regeneratorRuntime.mark((function n(){var t,a,r,o;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,o=a.filePaths,!r){n.next=7;break}return n.abrupt("return",null);case 7:return n.abrupt("return",o);case 8:case"end":return n.stop()}}),n)})))),chooseFolders:v(Object(r["a"])(regeneratorRuntime.mark((function n(){var t,a,r,o;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,o=a.filePaths,!r){n.next=7;break}return n.abrupt("return",null);case 7:return n.abrupt("return",o);case 8:case"end":return n.stop()}}),n)})))),uploadFile:v(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(n){var t,s,l,h,m,b,k,y,v,w,C,O,I,j,N,S,x,P,_,L,E,R,A,G,$;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=n.creator,s=n.projectId,l=n.projectName,h=n.folderId,m=n.folderName,b=n.folderLevelId,k=n.distFileRelativePath,y=void 0===k?"":k,v=n.fileName,w=n.fileExtension,C=n.sourceFilePath,O=n.fileList,I=n.onSuccess,j=n.onProgress,N=void 0===j?i["identity"]:j,S=n.onError,x=void 0===S?i["identity"]:S,P=n.successAllHandler,_=n.totalReadyUploadNum,L=n.tempNumWrap,E=w?"".concat(v,".").concat(w):v,R="".concat(m).concat(y?"/".concat(y):""),A=O.find((function(e){return y===e.relativePath&&"".concat(e.archName).concat(e.extension?".".concat(e.extension):"")===E})),G=A?Object(c["c"])(Object(a["a"])(Object(a["a"])({},A),{},{ModifyUserId:sessionStorage.userId})):{ArchName:v,CreateUserId:sessionStorage.userId,Extension:w,FolderId:h,FolderLevelId:b,Id:"upload:".concat("".concat(Math.random()).slice(2,8)),ProjId:s,RelativePath:y,Status:2,Version:1},N({process:0},G),$=function e(){var n=function(){if(f=f.filter((function(n){return n!==e})),p.length){var n=p.shift();f.push(n),n()}x.apply(void 0,arguments)},i=function(){if(f=f.filter((function(n){return n!==e})),p.length){var n=p.shift();f.push(n),n()}I.apply(void 0,arguments)},s=g("upload");s.on("open",(function(){var e="",n="",a=!1,r=[C,E,l,R.replace(/\//g,"\\"),e,n,t,a].join("|");s.send(r),N({process:0},G)})),s.on("message",function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t){var r,d,l,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 c["d"].error("文件上传失败"),n(t,G),e.abrupt("return");case 4:if("-2"!==t.data){e.next=8;break}return c["d"].error("请先关闭本地文件后再上传"),n(t,G),e.abrupt("return");case 8:if(e.prev=8,r=JSON.parse(t.data),d=r.size,l=r.process,f=r.hash,p=r.commitHistoryHash,N(r,G),100===l&&f){e.next=14;break}return e.abrupt("return");case 14:return s.close(),G.FileSize=+d,G.IpfsCid=f,h=Object(a["a"])({},G),A||delete h.Id,A?(h.HistoryCurrentIpfsCid=p,h.HistoryPreIpfsCid=""):h.HistoryCurrentIpfsCid=p,e.next=22,Object(o["b"])("file/".concat(A?"updateFile":"addFile"),h);case 22:if(m=e.sent,Object(o["c"])(m),0===m.Code){e.next=27;break}return n(m,G),e.abrupt("return");case 27:L.tempNumCount+=1,L.tempNumCount==_&&(u["default"].prototype.$notify({type:["success","upload"],title:"文件上传成功",message:"".concat(G.ArchName)}),P()),i(G),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,G);case 36:case"end":return e.stop()}}),e,null,[[8,32]])})));return function(n){return e.apply(this,arguments)}}()),s.on("error",(function(e){n(e,G)}))},f.length>=d?p.push($):(f.push($),$());case 9:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()),updateFile:v((function(e,n,t,a,u,s,d,l,f,p){var h=arguments.length>10&&void 0!==arguments[10]?arguments[10]:i["identity"],m=arguments.length>11&&void 0!==arguments[11]?arguments[11]:i["identity"],b=g("upload"),k=e.archName,y=e.extension,v=(e.id,"".concat(k).concat(y?".".concat(y):"")),w="".concat(n,"\\").concat(a,"\\").concat(v);b.on("open",(function(){var e=[w,v,t,a,u,s,d,l].join("|");b.send(e)})),b.on("message",function(){var n=Object(r["a"])(regeneratorRuntime.mark((function n(t){var a,r,s,d,l,k,g;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if("-1"!==t.data){n.next=4;break}return c["d"].error("文件上传失败"),m(t),n.abrupt("return");case 4:if("-2"!==t.data){n.next=8;break}return c["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,d=a.hash,l=a.commitHistoryHash,h(a),100===s&&d){n.next=15;break}return n.abrupt("return");case 15:return b.close(),k=Object(c["c"])(Object(i["cloneDeep"])(e)),k.ModifyUserId=sessionStorage.userId,k.HistoryPreIpfsCid=u,k.HistoryCurrentIpfsCid=l,f||(k.Size=+r,k.IpfsCid=d),n.next=23,Object(o["b"])("file/updateFile",k);case 23:return g=n.sent,Object(o["c"])(g),f&&(k.IpfsCid=d,k.Size=+r),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:v((function(e,n,t){var a=g("queryCommitHistory");a.on("open",(function(){a.send([e,n].join("|"))})),a.on("message",(function(e){if("-1"===e.data)return c["d"].error("查询历史文件失败"),void t([]);var n=JSON.parse(e.data),a=Object.values(n);t(a)}))})),editCommitHistoryMilestone:v((function(e,n,t,a,r){var o=g("editCommitHistoryMilestone");o.on("open",(function(){o.send([e,n,t,a].join("|"))})),o.on("message",(function(e){if("-1"!==e.data){var n=e.data;console.log("lcb",n),r(n)}else c["d"].error("设置里程碑失败")}))})),openFile:v((function(n){var t=e.electron.shell;t.openPath(n)})),openFolder:v((function(n){var t=e.electron.shell;t.showItemInFolder(n)}))};n["a"]=w}).call(this,t("c8ba"))},"1f09":function(e,n,t){},"3de1":function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return c})),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 o(e){return Object.entries(e).reduce((function(e,n){var t=Object(a["a"])(n,2),r=t[0],o=t[1];return e["".concat(r[0].toLocaleLowerCase()).concat(r.slice(1))]=o,e}),{})}function c(e){return Object.entries(e).reduce((function(e,n){var t=Object(a["a"])(n,2),r=t[0],o=t[1];return e["".concat(r[0].toLocaleUpperCase()).concat(r.slice(1))]=o,e}),{})}var i=function(e){return new Promise((function(n){return setTimeout(n,e)}))},u={success:function(e){r["default"].prototype.$notify({message:e,type:["success"],duration:2500})},error:function(e){r["default"].prototype.$notify({message:e,type:["error"],duration:2500})},info:function(e){r["default"].prototype.$notify({message:e,type:"info",offset:100,duration:2500})},warning:function(e){r["default"].prototype.$notify({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"),o={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 c=new r["a"]({mode:"hash",routes:[{path:"/",name:"login",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-347878ae")]).then(t.bind(null,"9ed6"))}},{path:"/demo",name:"demo",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-4c803a36")]).then(t.bind(null,"46a4"))}},{path:"/projdetail",name:"projdetail",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-3fbc85f3"),t.e("chunk-e8c15138")]).then(t.bind(null,"47c5"))}},{path:"/watch",name:"watch",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-6cb025ae")]).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-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-3fbc85f3"),t.e("chunk-3261285a")]).then(t.bind(null,"a341"))}},{path:"/watchlink",name:"watchlink",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-1eaf12ce")]).then(t.bind(null,"80fb"))}},{path:"/platform",name:"platform",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-2b38f122")]).then(t.bind(null,"0a7f"))}},{path:"/index",name:"index",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-6a615eb9")]).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-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-3fbc85f3"),t.e("chunk-805bd970"),t.e("chunk-2840b8b8")]).then(t.bind(null,"11f4"))}},{path:"/recycle",name:"recycle",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-584d398d")]).then(t.bind(null,"8b1e"))}},{path:"/history",name:"history",component:function(){return Promise.all([t.e("chunk-805bd970"),t.e("chunk-2d0d2af5")]).then(t.bind(null,"a2d2"))}},{path:"/cloud",name:"cloud",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-23d16c0d")]).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-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-3ccf94d4")]).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-7d913a8a"),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-7d913a8a"),t.e("chunk-038ce22f")]).then(t.bind(null,"e984"))}},{path:"template",name:"company_template",component:function(){return t.e("chunk-5e79f418").then(t.bind(null,"4083"))}},{path:"template/detail",name:"company_template_detail",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-4a5d94c9"),t.e("chunk-802699f8")]).then(t.bind(null,"df39"))}},{path:"template/market",name:"company_template_market",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-4a5d94c9"),t.e("chunk-655d6881")]).then(t.bind(null,"be38"))}},{path:"setting",name:"company_setting",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-1fe39068")]).then(t.bind(null,"cda4"))}},{path:"app",name:"company_app",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-2d0b3688")]).then(t.bind(null,"27f3"))}}]},{path:"/template",name:"template",component:function(e){return Promise.all([t.e("chunk-7d913a8a"),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-7d913a8a"),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-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-da5f603a")]).then(t.bind(null,"f364"))},redirect:{name:"system_customer"},children:[{path:"customer",name:"system_customer",component:function(){return t.e("chunk-550c5be4").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-7d913a8a"),t.e("chunk-11067227")]).then(t.bind(null,"d798"))}},{path:"template/matrix",name:"system_template_matrix",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-12a7ad0b")]).then(t.bind(null,"2275"))}},{path:"template/mind",name:"system_template_mind",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-7a18b3e4")]).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-7d913a8a"),t.e("chunk-2d0e148e")]).then(t.bind(null,"7a7e"))}},{path:"appinfo",name:"system_appinfo",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-2d21b850")]).then(t.bind(null,"bfb8"))}},{path:"setting",name:"system_setting",component:function(){return Promise.all([t.e("chunk-7d913a8a"),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"))}}]});c.beforeEach((function(e,n,t){"/"===e.path||sessionStorage.getItem("userId")?t():t({path:"/"})})),c.afterEach((function(e){window.document.title=o[e.name]||"LOCKING | 云建筑"}));n["a"]=c},"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)},o=[],c=(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:c["a"].isClient,onlineStatus:!1,state:this.$store.state}},created:function(){var e=this;console.log("版本编译时间:","2021.03.12 14:49"),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&&c["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}))},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("e18a"),t("6964"),t("2877")),d=Object(s["a"])(u,r,o,!1,null,"4cc0f4ba",null),l=d.exports,f=t("41cb"),p=t("5c96"),h=t.n(p),m=(t("0fae"),t("96cf"),t("1da1")),b=t("b775"),k=t("0f13"),g=t("3de1"),y=function(){return{gatewayState:!1,isMaxWindowSize:!1,client:c["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,o,c,i,u,s,d,l,f,p,h,m,y,v,w,C,O,I,j;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,o=0===r.Code,o){a.next=6;break}return a.abrupt("return",r);case 6:if(t.state.isLogin=!0,c=Object(g["b"])(r.Data||{}),delete c.userExt,i=c.companyId,u=c.cnName,s=c.id,d=c.permission,l=c.backgroundPermission,f=[],p={accountId:s,accountName:e,userName:u,platformList:f,userInfo:c},h=3===l,m=2===l,!h){a.next=18;break}f.push(Object(k["d"])(k["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,I=C.CompanyName,j=[],m&&j.push(k["a"].CompanyConsole),1===d&&j.push(k["a"].ProjectManager),f.push(Object(k["d"])(k["b"].COMPANY,i,I,O,j));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"),I=t("a78e"),j=t.n(I),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=[],A={props:{src:String}},G=A,$=Object(s["a"])(G,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=j.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(l)}}).$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 l}));t("99af"),t("c975"),t("ac1f"),t("1276"),t("96cf");var a=t("1da1"),r=t("9b15"),o=t("2ef0"),c=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 d.apply(this,arguments)}function d(){return d=Object(a["a"])(regeneratorRuntime.mark((function e(n,t){var a,r,o,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,c.multipartUpload(r,t,a);case 5:return o=e.sent,e.abrupt("return",o);case 9:return e.prev=9,e.t0=e["catch"](1),console.error("file upload failed:",e.t0),e.abrupt("return",null);case 13:case"end":return e.stop()}}),e,null,[[1,9]])}))),d.apply(this,arguments)}var l=Object(o["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,o=c.signatureUrl(t,{expires:r,response:{"content-disposition":'attachment; filename="'.concat(a,'"')}});return setTimeout((function(){l.cache.delete(e)}),1e3*r),o}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 d})),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"),o=t("bc3a"),c=t.n(o),i=t("2b0e"),u=t("41cb"),s=t("3de1");function d(e,n,t){return l.apply(this,arguments)}function l(){return l=Object(r["a"])(regeneratorRuntime.mark((function e(n,t,r){var o,i,u,s,d;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=p(n),i=Object(a["a"])(o,2),u=i[0],s=i[1],e.prev=1,e.next=4,"GET"===u?c.a.get(s,{params:t},r):c.a.post(s,t,r);case 4:return d=e.sent,e.abrupt("return",d.data);case 8:if(e.prev=8,e.t0=e["catch"](1),!e.t0.response||!e.t0.response.status){e.next=16;break}e.t1=e.t0.response.status,e.next=404===e.t1?14:15;break;case 14:return e.abrupt("return",{Code:404,Msg:"找不到指定的服务。"});case 15:return e.abrupt("return",{Code:503,Msg:"服务异常,请稍后再试。"});case 16:return console.error(e.t0),e.abrupt("return",{Code:503,Msg:"服务异常,请稍后再试。"});case 18:case"end":return e.stop()}}),e,null,[[1,8]])}))),l.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],o=-1!==["template","project","folder","file","templateCompany"].indexOf(r)?"pms":"cms",c="api/".concat(o,"/").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":i="POST";break;default:i="GET";break}return[i,c]}c.a.defaults.withCredentials=!0,c.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)})),c.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"]=c.a},c610: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=[],o=(t("a9e3"),function(e,n){return{imgSrc:"/static/img/"+e,class:n}}),c={success:o("success.svg","notifyIcon"),error:o("严重警示.svg","notifyIcon"),warning:o("事件警示.svg","notifyIcon"),"file-txt":o("file_txt.png","fileIcon"),"file-pdf":o("file_pdf.png","fileIcon"),"file-word":o("file_word.png","fileIcon"),"file-excel":o("file_excel.png","fileIcon"),"file-ppt":o("file_ppt.png","fileIcon"),upload:o("upload.png","notifyIcon"),download:o("download.svg","notifyIcon"),cooperation:o("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:c,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")),d=Object(s["a"])(u,a,r,!1,null,"3a7b0566",null);n["default"]=d.exports},d903:function(e,n,t){},e01b:function(e,n,t){},e18a:function(e,n,t){"use strict";var a=t("e01b"),r=t.n(a);r.a},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],d=0,l=[];d4&&void 0!==arguments[4]?arguments[4]:[];return{platformType:e,orgId:n,orgLogo:a,orgName:t,accessList:r}}var o={CompanyConsole:"company_console",ProjectManager:"project_manager"};function c(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")),o=t("b775"),c=t("3de1"),i=t("2ef0"),u=t("2b0e"),s=!!e.electron,d=5,l=5,f=[],p=[],h=[],m=[],b=function(){f=[],p=[],h=[],m=[]},k=function(){},g=function(e){var n=new WebSocket("ws://127.0.0.1:7777/".concat(e));return n.on=n.addEventListener,n},y=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)}))}))},v=function(e){return s?e:k},w={isClient:s,init:v((function(){console.log("客户端 electron API 检测:",e.electron)})),keepLiveTest:v((function(n,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i["identity"],r=g("keeplive"),o=1,c=null,u=e.electron.ipcRenderer;function s(){n(!0),r.send(o)}u.on("detectWindowSize",(function(){t((arguments.length<=1?void 0:arguments[1])||!1)})),r.on("open",(function(){c=setInterval(s,2e3)})),r.on("close",(function(){clearInterval(c),n(!1)})),r.on("error",(function(){a(),n(!1)}))})),shrinkBrowserWindow:v(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:v(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:v(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:v(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:v(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:v((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i["identity"],t=g("initClientConfig");t.on("open",(function(){t.send(e)})),t.on("message",(function(e){if("-1"===e.data)return u["default"].prototype.$notify({message:"请联系企业管理员检查存储节点配置项。",type:["error"]}),void n(e)}))})),checkForUpdates:v((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i["identity"],n=g("checkForUpdates"),t=1;n.on("open",(function(){n.send(t)})),n.on("message",(function(n){if("-1"===n.data)return u["default"].prototype.$notify({message:"已是最新版本。",type:["success"]}),void e(n)}))})),clientOpenFileWith:v((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i["identity"],t=g("openFileWith");t.on("open",(function(){t.send(e)})),t.on("message",(function(e){if("-1"===e.data)return u["default"].prototype.$notify({message:"服务端出现错误, 请稍后重试。",type:["error"]}),void n(e)})),t.on("error",n)})),login:function(){},logout:function(){},entryProject:v(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(n,t,a,r){var o,c,u,s=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=s.length>4&&void 0!==s[4]?s[4]:i["identity"],e.next=3,y(g("init"),[t,n].join("|"));case 3:return c=e.sent,r(c.data),u=g("subscriptionFileChange"),u.on("open",(function(){u.send(n)})),u.on("message",a),u.on("error",o),e.abrupt("return",u);case 10:case"end":return e.stop()}}),e)})));return function(n,t,a,r){return e.apply(this,arguments)}}()),leaveProject:v((function(e){e.close(),b()})),downloadFile:v((function(e,n,t,a,r){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:i["identity"],d=function i(){var d=g("download"),l={API:"download",Action:"下载文件",CompanyName:sessionStorage.CompanyName,Subject:t,Source:sessionStorage.client,ProjectName:sessionStorage.projName};Object(o["b"])("operation/record",l),d.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),d.send([e,n,t,a].join("|"))})),d.on("message",(function(e){return"-1"===e.data?(u["default"].prototype.$notify({message:"".concat(t,",网络请求失败。"),type:["warning","download"],title:"文件下载失败"}),void s(e)):"-2"===e.data?(c["d"].error("请先关闭本地文件后再下载"),void s(e)):void r(e,d)})),d.on("error",(function(e){s(e)})),d.on("close",(function(){if(h=h.filter((function(e){return e!==i})),m.length){var e=m.shift();h.push(e),e()}}))};h.length>=l?m.push(d):(h.push(d),d())})),analyzeSystemPath:v(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,y(g("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,o=0===t.indexOf(".")?t.slice(1):t,c=n.slice(0,-t.length);return{fileName:c,extension:o,relativePath:a.split("\\").filter(i["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:v(Object(r["a"])(regeneratorRuntime.mark((function n(){var t,a,r,o;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,o=a.filePaths,!r){n.next=7;break}return n.abrupt("return",null);case 7:return n.abrupt("return",o);case 8:case"end":return n.stop()}}),n)})))),chooseFolders:v(Object(r["a"])(regeneratorRuntime.mark((function n(){var t,a,r,o;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,o=a.filePaths,!r){n.next=7;break}return n.abrupt("return",null);case 7:return n.abrupt("return",o);case 8:case"end":return n.stop()}}),n)})))),uploadFile:v(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(n){var t,s,l,h,m,b,k,y,v,w,C,O,I,j,N,S,x,P,_,L,E,R,A,G,$;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=n.creator,s=n.projectId,l=n.projectName,h=n.folderId,m=n.folderName,b=n.folderLevelId,k=n.distFileRelativePath,y=void 0===k?"":k,v=n.fileName,w=n.fileExtension,C=n.sourceFilePath,O=n.fileList,I=n.onSuccess,j=n.onProgress,N=void 0===j?i["identity"]:j,S=n.onError,x=void 0===S?i["identity"]:S,P=n.successAllHandler,_=n.totalReadyUploadNum,L=n.tempNumWrap,E=w?"".concat(v,".").concat(w):v,R="".concat(m).concat(y?"/".concat(y):""),A=O.find((function(e){return y===e.relativePath&&"".concat(e.archName).concat(e.extension?".".concat(e.extension):"")===E})),G=A?Object(c["c"])(Object(a["a"])(Object(a["a"])({},A),{},{ModifyUserId:sessionStorage.userId})):{ArchName:v,CreateUserId:sessionStorage.userId,Extension:w,FolderId:h,FolderLevelId:b,Id:"upload:".concat("".concat(Math.random()).slice(2,8)),ProjId:s,RelativePath:y,Status:2,Version:1},N({process:0},G),$=function e(){var n=function(){if(f=f.filter((function(n){return n!==e})),p.length){var n=p.shift();f.push(n),n()}x.apply(void 0,arguments)},i=function(){if(f=f.filter((function(n){return n!==e})),p.length){var n=p.shift();f.push(n),n()}I.apply(void 0,arguments)},s=g("upload");s.on("open",(function(){var e="",n="",a=!1,r=[C,E,l,R.replace(/\//g,"\\"),e,n,t,a].join("|");s.send(r),N({process:0},G)})),s.on("message",function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t){var r,d,l,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 c["d"].error("文件上传失败"),n(t,G),e.abrupt("return");case 4:if("-2"!==t.data){e.next=8;break}return c["d"].error("请先关闭本地文件后再上传"),n(t,G),e.abrupt("return");case 8:if(e.prev=8,r=JSON.parse(t.data),d=r.size,l=r.process,f=r.hash,p=r.commitHistoryHash,N(r,G),100===l&&f){e.next=14;break}return e.abrupt("return");case 14:return s.close(),G.FileSize=+d,G.IpfsCid=f,h=Object(a["a"])({},G),A||delete h.Id,A?(h.HistoryCurrentIpfsCid=p,h.HistoryPreIpfsCid=""):h.HistoryCurrentIpfsCid=p,e.next=22,Object(o["b"])("file/".concat(A?"updateFile":"addFile"),h);case 22:if(m=e.sent,Object(o["c"])(m),0===m.Code){e.next=27;break}return n(m,G),e.abrupt("return");case 27:L.tempNumCount+=1,L.tempNumCount==_&&(u["default"].prototype.$notify({type:["success","upload"],title:"文件上传成功",message:"".concat(G.ArchName)}),P()),i(G),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,G);case 36:case"end":return e.stop()}}),e,null,[[8,32]])})));return function(n){return e.apply(this,arguments)}}()),s.on("error",(function(e){n(e,G)}))},f.length>=d?p.push($):(f.push($),$());case 9:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()),updateFile:v((function(e,n,t,a,u,s,d,l,f,p){var h=arguments.length>10&&void 0!==arguments[10]?arguments[10]:i["identity"],m=arguments.length>11&&void 0!==arguments[11]?arguments[11]:i["identity"],b=g("upload"),k=e.archName,y=e.extension,v=(e.id,"".concat(k).concat(y?".".concat(y):"")),w="".concat(n,"\\").concat(a,"\\").concat(v);b.on("open",(function(){var e=[w,v,t,a,u,s,d,l].join("|");b.send(e)})),b.on("message",function(){var n=Object(r["a"])(regeneratorRuntime.mark((function n(t){var a,r,s,d,l,k,g;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if("-1"!==t.data){n.next=4;break}return c["d"].error("文件上传失败"),m(t),n.abrupt("return");case 4:if("-2"!==t.data){n.next=8;break}return c["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,d=a.hash,l=a.commitHistoryHash,h(a),100===s&&d){n.next=15;break}return n.abrupt("return");case 15:return b.close(),k=Object(c["c"])(Object(i["cloneDeep"])(e)),k.ModifyUserId=sessionStorage.userId,k.HistoryPreIpfsCid=u,k.HistoryCurrentIpfsCid=l,f||(k.Size=+r,k.IpfsCid=d),n.next=23,Object(o["b"])("file/updateFile",k);case 23:return g=n.sent,Object(o["c"])(g),f&&(k.IpfsCid=d,k.Size=+r),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:v((function(e,n,t){var a=g("queryCommitHistory");a.on("open",(function(){a.send([e,n].join("|"))})),a.on("message",(function(e){if("-1"===e.data)return c["d"].error("查询历史文件失败"),void t([]);var n=JSON.parse(e.data),a=Object.values(n);t(a)}))})),editCommitHistoryMilestone:v((function(e,n,t,a,r){var o=g("editCommitHistoryMilestone");o.on("open",(function(){o.send([e,n,t,a].join("|"))})),o.on("message",(function(e){if("-1"!==e.data){var n=e.data;console.log("lcb",n),r(n)}else c["d"].error("设置里程碑失败")}))})),openFile:v((function(n){var t=e.electron.shell;t.openPath(n)})),openFolder:v((function(n){var t=e.electron.shell;t.showItemInFolder(n)}))};n["a"]=w}).call(this,t("c8ba"))},"1f09":function(e,n,t){},"3de1":function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return c})),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 o(e){return Object.entries(e).reduce((function(e,n){var t=Object(a["a"])(n,2),r=t[0],o=t[1];return e["".concat(r[0].toLocaleLowerCase()).concat(r.slice(1))]=o,e}),{})}function c(e){return Object.entries(e).reduce((function(e,n){var t=Object(a["a"])(n,2),r=t[0],o=t[1];return e["".concat(r[0].toLocaleUpperCase()).concat(r.slice(1))]=o,e}),{})}var i=function(e){return new Promise((function(n){return setTimeout(n,e)}))},u={success:function(e){r["default"].prototype.$notify({message:e,type:["success"],duration:2500})},error:function(e){r["default"].prototype.$notify({message:e,type:["error"],duration:2500})},info:function(e){r["default"].prototype.$notify({message:e,type:"info",offset:100,duration:2500})},warning:function(e){r["default"].prototype.$notify({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"),o={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 c=new r["a"]({mode:"hash",routes:[{path:"/",name:"login",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-347878ae")]).then(t.bind(null,"9ed6"))}},{path:"/demo",name:"demo",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-4c803a36")]).then(t.bind(null,"46a4"))}},{path:"/projdetail",name:"projdetail",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-3fbc85f3"),t.e("chunk-e8c15138")]).then(t.bind(null,"47c5"))}},{path:"/watch",name:"watch",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-6cb025ae")]).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-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-3fbc85f3"),t.e("chunk-3261285a")]).then(t.bind(null,"a341"))}},{path:"/watchlink",name:"watchlink",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-1eaf12ce")]).then(t.bind(null,"80fb"))}},{path:"/platform",name:"platform",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-2b38f122")]).then(t.bind(null,"0a7f"))}},{path:"/index",name:"index",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-50365d46")]).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-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-3fbc85f3"),t.e("chunk-34589b20"),t.e("chunk-2840b8b8")]).then(t.bind(null,"11f4"))}},{path:"/recycle",name:"recycle",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-584d398d")]).then(t.bind(null,"8b1e"))}},{path:"/history",name:"history",component:function(){return Promise.all([t.e("chunk-34589b20"),t.e("chunk-2d0d2af5")]).then(t.bind(null,"a2d2"))}},{path:"/cloud",name:"cloud",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-23d16c0d")]).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-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-3ccf94d4")]).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-7d913a8a"),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-7d913a8a"),t.e("chunk-038ce22f")]).then(t.bind(null,"e984"))}},{path:"template",name:"company_template",component:function(){return t.e("chunk-5e79f418").then(t.bind(null,"4083"))}},{path:"template/detail",name:"company_template_detail",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-4a5d94c9"),t.e("chunk-802699f8")]).then(t.bind(null,"df39"))}},{path:"template/market",name:"company_template_market",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-4a5d94c9"),t.e("chunk-655d6881")]).then(t.bind(null,"be38"))}},{path:"setting",name:"company_setting",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-1fe39068")]).then(t.bind(null,"cda4"))}},{path:"app",name:"company_app",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-2d0b3688")]).then(t.bind(null,"27f3"))}}]},{path:"/template",name:"template",component:function(e){return Promise.all([t.e("chunk-7d913a8a"),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-7d913a8a"),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-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-da5f603a")]).then(t.bind(null,"f364"))},redirect:{name:"system_customer"},children:[{path:"customer",name:"system_customer",component:function(){return t.e("chunk-550c5be4").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-7d913a8a"),t.e("chunk-11067227")]).then(t.bind(null,"d798"))}},{path:"template/matrix",name:"system_template_matrix",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-12a7ad0b")]).then(t.bind(null,"2275"))}},{path:"template/mind",name:"system_template_mind",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-7a18b3e4")]).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-7d913a8a"),t.e("chunk-2d0e148e")]).then(t.bind(null,"7a7e"))}},{path:"appinfo",name:"system_appinfo",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-2d21b850")]).then(t.bind(null,"bfb8"))}},{path:"setting",name:"system_setting",component:function(){return Promise.all([t.e("chunk-7d913a8a"),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"))}}]});c.beforeEach((function(e,n,t){"/"===e.path||sessionStorage.getItem("userId")?t():t({path:"/"})})),c.afterEach((function(e){window.document.title=o[e.name]||"LOCKING | 云建筑"}));n["a"]=c},"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)},o=[],c=(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:c["a"].isClient,onlineStatus:!1,state:this.$store.state}},created:function(){var e=this;console.log("版本编译时间:","2021.03.15 11:04"),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&&c["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}))},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("e18a"),t("6964"),t("2877")),d=Object(s["a"])(u,r,o,!1,null,"4cc0f4ba",null),l=d.exports,f=t("41cb"),p=t("5c96"),h=t.n(p),m=(t("0fae"),t("96cf"),t("1da1")),b=t("b775"),k=t("0f13"),g=t("3de1"),y=function(){return{gatewayState:!1,isMaxWindowSize:!1,client:c["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,o,c,i,u,s,d,l,f,p,h,m,y,v,w,C,O,I,j;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,o=0===r.Code,o){a.next=6;break}return a.abrupt("return",r);case 6:if(t.state.isLogin=!0,c=Object(g["b"])(r.Data||{}),delete c.userExt,i=c.companyId,u=c.cnName,s=c.id,d=c.permission,l=c.backgroundPermission,f=[],p={accountId:s,accountName:e,userName:u,platformList:f,userInfo:c},h=3===l,m=2===l,!h){a.next=18;break}f.push(Object(k["d"])(k["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,I=C.CompanyName,j=[],m&&j.push(k["a"].CompanyConsole),1===d&&j.push(k["a"].ProjectManager),f.push(Object(k["d"])(k["b"].COMPANY,i,I,O,j));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"),I=t("a78e"),j=t.n(I),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=[],A={props:{src:String}},G=A,$=Object(s["a"])(G,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=j.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(l)}}).$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 l}));t("99af"),t("c975"),t("ac1f"),t("1276"),t("96cf");var a=t("1da1"),r=t("9b15"),o=t("2ef0"),c=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 d.apply(this,arguments)}function d(){return d=Object(a["a"])(regeneratorRuntime.mark((function e(n,t){var a,r,o,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,c.multipartUpload(r,t,a);case 5:return o=e.sent,e.abrupt("return",o);case 9:return e.prev=9,e.t0=e["catch"](1),console.error("file upload failed:",e.t0),e.abrupt("return",null);case 13:case"end":return e.stop()}}),e,null,[[1,9]])}))),d.apply(this,arguments)}var l=Object(o["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,o=c.signatureUrl(t,{expires:r,response:{"content-disposition":'attachment; filename="'.concat(a,'"')}});return setTimeout((function(){l.cache.delete(e)}),1e3*r),o}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 d})),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"),o=t("bc3a"),c=t.n(o),i=t("2b0e"),u=t("41cb"),s=t("3de1");function d(e,n,t){return l.apply(this,arguments)}function l(){return l=Object(r["a"])(regeneratorRuntime.mark((function e(n,t,r){var o,i,u,s,d;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=p(n),i=Object(a["a"])(o,2),u=i[0],s=i[1],e.prev=1,e.next=4,"GET"===u?c.a.get(s,{params:t},r):c.a.post(s,t,r);case 4:return d=e.sent,e.abrupt("return",d.data);case 8:if(e.prev=8,e.t0=e["catch"](1),!e.t0.response||!e.t0.response.status){e.next=16;break}e.t1=e.t0.response.status,e.next=404===e.t1?14:15;break;case 14:return e.abrupt("return",{Code:404,Msg:"找不到指定的服务。"});case 15:return e.abrupt("return",{Code:503,Msg:"服务异常,请稍后再试。"});case 16:return console.error(e.t0),e.abrupt("return",{Code:503,Msg:"服务异常,请稍后再试。"});case 18:case"end":return e.stop()}}),e,null,[[1,8]])}))),l.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],o=-1!==["template","project","folder","file","templateCompany"].indexOf(r)?"pms":"cms",c="api/".concat(o,"/").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":i="POST";break;default:i="GET";break}return[i,c]}c.a.defaults.withCredentials=!0,c.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)})),c.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"]=c.a},c610: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=[],o=(t("a9e3"),function(e,n){return{imgSrc:"/static/img/"+e,class:n}}),c={success:o("success.svg","notifyIcon"),error:o("严重警示.svg","notifyIcon"),warning:o("事件警示.svg","notifyIcon"),"file-txt":o("file_txt.png","fileIcon"),"file-pdf":o("file_pdf.png","fileIcon"),"file-word":o("file_word.png","fileIcon"),"file-excel":o("file_excel.png","fileIcon"),"file-ppt":o("file_ppt.png","fileIcon"),upload:o("upload.png","notifyIcon"),download:o("download.svg","notifyIcon"),cooperation:o("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:c,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")),d=Object(s["a"])(u,a,r,!1,null,"3a7b0566",null);n["default"]=d.exports},d903:function(e,n,t){},e01b:function(e,n,t){},e18a:function(e,n,t){"use strict";var a=t("e01b"),r=t.n(a);r.a},f225:function(e,n,t){}}); \ No newline at end of file diff --git a/static/js/chunk-038ce22f.c4dd6636.js b/static/js/chunk-038ce22f.9162ef85.js similarity index 100% rename from static/js/chunk-038ce22f.c4dd6636.js rename to static/js/chunk-038ce22f.9162ef85.js diff --git a/static/js/chunk-05a1125b.3108a6ac.js b/static/js/chunk-05a1125b.a4f729f9.js similarity index 100% rename from static/js/chunk-05a1125b.3108a6ac.js rename to static/js/chunk-05a1125b.a4f729f9.js diff --git a/static/js/chunk-05bf99c1.42708950.js b/static/js/chunk-05bf99c1.18f40530.js similarity index 100% rename from static/js/chunk-05bf99c1.42708950.js rename to static/js/chunk-05bf99c1.18f40530.js diff --git a/static/js/chunk-11067227.5301aa59.js b/static/js/chunk-11067227.798e7862.js similarity index 100% rename from static/js/chunk-11067227.5301aa59.js rename to static/js/chunk-11067227.798e7862.js diff --git a/static/js/chunk-12a7ad0b.1bac7946.js b/static/js/chunk-12a7ad0b.f586f550.js similarity index 100% rename from static/js/chunk-12a7ad0b.1bac7946.js rename to static/js/chunk-12a7ad0b.f586f550.js diff --git a/static/js/chunk-145b0de7.5349d788.js b/static/js/chunk-145b0de7.80c6e34e.js similarity index 100% rename from static/js/chunk-145b0de7.5349d788.js rename to static/js/chunk-145b0de7.80c6e34e.js diff --git a/static/js/chunk-1eaf12ce.0f7fb6f6.js b/static/js/chunk-1eaf12ce.e09abc37.js similarity index 100% rename from static/js/chunk-1eaf12ce.0f7fb6f6.js rename to static/js/chunk-1eaf12ce.e09abc37.js diff --git a/static/js/chunk-1fe39068.eda2fdd1.js b/static/js/chunk-1fe39068.4ca8344e.js similarity index 100% rename from static/js/chunk-1fe39068.eda2fdd1.js rename to static/js/chunk-1fe39068.4ca8344e.js diff --git a/static/js/chunk-1fe40532.a7db8e91.js b/static/js/chunk-1fe40532.7cb73e06.js similarity index 100% rename from static/js/chunk-1fe40532.a7db8e91.js rename to static/js/chunk-1fe40532.7cb73e06.js diff --git a/static/js/chunk-23d16c0d.fd15670c.js b/static/js/chunk-23d16c0d.f74fc408.js similarity index 100% rename from static/js/chunk-23d16c0d.fd15670c.js rename to static/js/chunk-23d16c0d.f74fc408.js diff --git a/static/js/chunk-2840b8b8.9f392124.js b/static/js/chunk-2840b8b8.527d3ea3.js similarity index 100% rename from static/js/chunk-2840b8b8.9f392124.js rename to static/js/chunk-2840b8b8.527d3ea3.js diff --git a/static/js/chunk-28990618.2157b7f4.js b/static/js/chunk-28990618.ea8aaab3.js similarity index 100% rename from static/js/chunk-28990618.2157b7f4.js rename to static/js/chunk-28990618.ea8aaab3.js diff --git a/static/js/chunk-2b38f122.61e03de3.js b/static/js/chunk-2b38f122.558ed48b.js similarity index 100% rename from static/js/chunk-2b38f122.61e03de3.js rename to static/js/chunk-2b38f122.558ed48b.js diff --git a/static/js/chunk-2d0ac90d.e8208153.js b/static/js/chunk-2d0ac90d.466b546a.js similarity index 100% rename from static/js/chunk-2d0ac90d.e8208153.js rename to static/js/chunk-2d0ac90d.466b546a.js diff --git a/static/js/chunk-2d0b3688.cb3a93ca.js b/static/js/chunk-2d0b3688.3a75e892.js similarity index 100% rename from static/js/chunk-2d0b3688.cb3a93ca.js rename to static/js/chunk-2d0b3688.3a75e892.js diff --git a/static/js/chunk-2d0c061a.698b2818.js b/static/js/chunk-2d0c061a.5013b354.js similarity index 100% rename from static/js/chunk-2d0c061a.698b2818.js rename to static/js/chunk-2d0c061a.5013b354.js diff --git a/static/js/chunk-2d0cf6a4.e70e9875.js b/static/js/chunk-2d0cf6a4.4514683b.js similarity index 100% rename from static/js/chunk-2d0cf6a4.e70e9875.js rename to static/js/chunk-2d0cf6a4.4514683b.js diff --git a/static/js/chunk-2d0e148e.72511dc8.js b/static/js/chunk-2d0e148e.7c79bd53.js similarity index 100% rename from static/js/chunk-2d0e148e.72511dc8.js rename to static/js/chunk-2d0e148e.7c79bd53.js diff --git a/static/js/chunk-2d21b850.598c1f15.js b/static/js/chunk-2d21b850.2cb70b25.js similarity index 100% rename from static/js/chunk-2d21b850.598c1f15.js rename to static/js/chunk-2d21b850.2cb70b25.js diff --git a/static/js/chunk-2d224b2b.052e87ba.js b/static/js/chunk-2d224b2b.60b19673.js similarity index 100% rename from static/js/chunk-2d224b2b.052e87ba.js rename to static/js/chunk-2d224b2b.60b19673.js diff --git a/static/js/chunk-309e49e4.d948d4f1.js b/static/js/chunk-309e49e4.a3ef8610.js similarity index 100% rename from static/js/chunk-309e49e4.d948d4f1.js rename to static/js/chunk-309e49e4.a3ef8610.js diff --git a/static/js/chunk-3261285a.00856acb.js b/static/js/chunk-3261285a.00856acb.js deleted file mode 100644 index aa6fff1a..00000000 --- a/static/js/chunk-3261285a.00856acb.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3261285a"],{"04c4":function(e,t,a){"use strict";var r=a("14d6"),s=a.n(r);s.a},"14d6":function(e,t,a){},a341:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"new-proj"},[a("AppHeader",{staticClass:"new-proj-header",attrs:{theme:"basis",showBackBtn:"",isShowTopBar:!0,backBtnTitle:"取消项目创建"}}),a("div",{staticClass:"proj_manage"},[a("div",{staticClass:"proj_manage_content"},[a("div",{staticClass:"projModule adjust-top-radius"},[e.isProjName?a("div",{staticClass:"projName_input"},[a("div",{staticClass:"newProj_header "},[a("div",{staticClass:"newProj_title"},[e._v(" 输入项目名称 ")]),a("div",{staticClass:"nextbtn",attrs:{type:"primary"},on:{click:function(t){return t.stopPropagation(),e.enterTemplateSelect()}}},[e._v("下一步")])]),a("div",{staticClass:"newProj_content"},[a("div",{staticClass:"upload_img"},[a("div",{staticClass:"upload_imgBox",style:e.showBackground(e.coverSrc)},[a("file-uploader",{staticClass:"listUpdateBtn editCoverBtn",attrs:{"on-success":e.coverUploadSuccess}},[a("span",[e._v("编辑")])]),a("span",{staticClass:"faceBtn",on:{click:function(t){return t.stopPropagation(),e.setSystemCoverRandom(t)}}},[e._v("使用随机封面")])],1)]),a("div",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.newProjData.projectData.projName,expression:"newProjData.projectData.projName"}],staticClass:"input_projname",attrs:{type:"text",placeholder:"点击输入 请输入32个字之内的字符"},domProps:{value:e.newProjData.projectData.projName},on:{input:function(t){t.target.composing||e.$set(e.newProjData.projectData,"projName",t.target.value)}}})])])]):e._e(),e.isTemSelect?a("div",{staticClass:"template_select"},[a("TopHeader",{ref:"projdesc",staticClass:"set_position header-wrap",class:{"header-bottom-shadow":e.isProjDescScroll},attrs:{theme:"basis",showBackBtn:"",backBtnTitle:"修改项目名称",onBackBtnClick:e.enterProjNameInput,title:"选择项目模板"}},[a("div",{staticClass:"slot_btn",attrs:{slot:"right"},on:{click:function(t){return t.stopPropagation(),e.enterTemplateImprove()}},slot:"right"},[e._v("选定模板")])]),a("div",{staticClass:"template_select_content"},e._l(e.templateList,(function(t,r){return a("div",{key:t.Id,staticClass:"template_info",on:{click:function(a){return a.stopPropagation(),e.isChecked(r,t)}}},[a("div",{staticClass:"check_box",class:{checked:e.checkedIndex==r}},[a("i",{staticClass:"el-icon-check"})]),a("span",{staticClass:"template_info_name"},[e._v(e._s(t.TempName))])])})),0)],1):e._e(),e.isTemImprove?a("div",{staticClass:"template_improve"},[a("TopHeader",{staticClass:"set_position header-wrap",attrs:{theme:"basis",showBackBtn:"",backBtnTitle:"选择模板",onBackBtnClick:e.enterTemplateSelect,title:"完善模板信息"}},[a("div",{staticClass:"slot_btn",attrs:{slot:"right",type:"primary"},on:{click:function(t){return t.stopPropagation(),e.createProject()}},slot:"right"},[e._v("创建")])]),a("div",{staticClass:"template_improve_content"},[a("div",{staticClass:"template_improve_info"},[a("div",{staticClass:"template_title"},[e._v("模板名称:")]),a("div",{staticClass:"template_title_info"},[e._v(e._s(e.selectTemplate.TempName))])]),a("div",{staticClass:"template_improve_info"},[a("div",{staticClass:"template_title"},[e._v("创建时间:")]),a("div",{staticClass:"template_title_info"},[e._v(e._s(e.createDate))])]),e._l(e.checkNewProjData.CustomProps,(function(t){return a("div",{key:t.Id,staticClass:"template_improve_info template_improve_infoInput"},[a("div",{staticClass:"template_title"},[e._v(e._s((t.PropertyName?t.PropertyName:"自定义字段")+":"))]),a("div",{staticClass:"template_title_info"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.PropValue,expression:"prop.PropValue"}],staticClass:"input_projname",attrs:{type:"text",placeholder:"点击输入"},domProps:{value:t.PropValue},on:{input:function(a){a.target.composing||e.$set(t,"PropValue",a.target.value)}}})])])}))],2)],1):e._e()])])])],1)},s=[],o=(a("4160"),a("fb6a"),a("159b"),a("96cf"),a("1da1")),c=a("5530"),n=a("2909"),i=a("b1f3"),l=a("f96e"),p=a("b0f9"),m=(a("93d6"),a("5ab9")),d=a("9e5b"),u=a("b775"),j={components:{AppHeader:l["a"],TopHeader:i["a"],FileUploader:d["a"]},props:{},data:function(){return{companyId:sessionStorage.companyId,isProjName:!0,isTemSelect:!1,isTemImprove:!1,templateId:sessionStorage.templateID,listTempNodeTree:[],NestTemplateList:[],otherTemplateList:[],tempNodeList:[],nestNodeId:"",title:"",checkedIndex:NaN,selectTemplate:{},srcIndex:2,coverSrc:"static/img/faceImg/face01.png",templateList:[],isProjDescScroll:!1,projDescEl:null,plastScrollTime:null,createDate:(new Date).toLocaleDateString(),checkNewProjData:{Proj:{ProjName:"",CompanyId:"",Notice:"",ShowImgUrl:"",TemplateId:"",CreateUserId:"",ModifyUserId:""},Node:{},CustomProps:[]},newProjData:{projectData:{projID:"",projName:"",projCode:"",folderID:"",scale:"",address:"",showImgUrl:"",templateID:"",createUserID:"",modifyUserID:"",deleted:0,listProjManager:[]},listFolder:[],listProjProp:[],userId:""}}},methods:{showBackground:function(e){var t=this.$options.filters["resolveImg"],a=t(e);return{background:"center/cover no-repeat url(".concat(a,")")}},enterTemplateSelect:function(){if(void 0!=this.newProjData.projectData.projName&&null!=this.newProjData.projectData.projName&&""!=this.newProjData.projectData.projName){var e=/[/\\]{1,}/g;e.test(this.newProjData.projectData.projName)?this.$notify({message:"项目名称请不要包含'/' '\\'等字符。",type:["warning"]}):this.newProjData.projectData.projName.length>32?this.$notify({message:"项目名称不得超出32个字符。",type:"warning"}):(this.isProjName=!1,this.isTemSelect=!0,this.isTemImprove=!1,this.isTemNest=!1,this.getSelectTemplateData())}else this.$notify({message:"请输入项目名称。",type:["warning"]})},enterProjNameInput:function(){this.isProjName=!0,this.isTemSelect=!1},enterTemplateImprove:function(){this.isTemSelect=!1,this.isTemImprove=!0,this.getTempProps(this.selectTemplate.Id)},getTempProps:function(e){var t=this;p["n"](e).then((function(e){e.Data.propertys.forEach((function(e,a){t.checkNewProjData.CustomProps[a]={},t.checkNewProjData.CustomProps[a]["TempPropId"]=e.Id,t.checkNewProjData.CustomProps[a]["PropertyName"]=e.PropertyName,t.checkNewProjData.CustomProps[a]["PropValue"]="";var r=t.checkNewProjData.CustomProps;t.checkNewProjData.CustomProps=Object(n["a"])(r)})),t.checkNewProjData=Object(c["a"])({},t.checkNewProjData)}))},isChecked:function(e,t){this.checkedIndex=e,this.selectTemplate=t},setSystemCoverRandom:function(){var e=Math.ceil(10*Math.random());while(this.srcIndex===e)e=Math.ceil(10*Math.random());this.srcIndex=e,this.coverSrc="static/img/faceImg/face".concat("".concat(100+this.srcIndex).slice(1),".png"),this.newProjData.projectData.showImgUrl=this.coverSrc},coverUploadSuccess:function(e){var t=Object(m["c"])(e.ossUrl);this.coverSrc=t,this.newProjData.projectData.showImgUrl=t},getSelectTemplateData:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,p["m"](e.companyId);case 2:a=t.sent,r=a.Data||[],e.templateList=r,e.templateList&&e.templateList.length&&"{}"===JSON.stringify(e.selectTemplate)&&(e.selectTemplate=r[0],e.checkedIndex=0);case 6:case"end":return t.stop()}}),t)})))()},getSelectTemplateList:function(e){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function a(){var r,s,o;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,p["p"](e);case 2:r=a.sent,s=r.Data,o=s.children||[],t.newProjData.listFolder=[],o.forEach((function(e){var a={folderID:"",projID:"",superID:"",levelID:"",firstFolderID:"",tempNodeID:e.id,folderName:e.topic,fileCount:0,childCount:0,modifyUserID:"",deleted:0,default:!0,listUser:[],manageUser:[]};t.newProjData.listFolder.push(a)}));case 7:case"end":return a.stop()}}),a)})))()},createProject:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a,r,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.isDisableCreate=!0,e.newProjData.userId=sessionStorage.userId,e.newProjData.projectData.templateID=e.selectTemplate.Id,e.newProjData.projectData.showImgUrl=e.coverSrc,a=e,e.checkNewProjData.Proj.ProjName=e.newProjData.projectData.projName,e.checkNewProjData.Proj.CompanyId=e.$store.state.currentCompanyId,e.checkNewProjData.Proj.ShowImgUrl=String(e.newProjData.projectData.showImgUrl),e.checkNewProjData.Proj.TemplateId=e.selectTemplate.Id,e.checkNewProjData.Proj.CreateUserId=sessionStorage.userId,e.checkNewProjData.Proj.ModifyUserId=sessionStorage.userId,t.next=13,p["p"](e.selectTemplate.Id);case 13:r=t.sent,e.checkNewProjData.Node=r.Data,e.$fetchApi("project/createProject",e.checkNewProjData).then((function(t){0===t.Code?(a.$notify({message:"新项目创建成功。",type:["success"]}),sessionStorage.projId=t.Data,sessionStorage.createUserID=sessionStorage.userId,sessionStorage.templateID=e.selectTemplate.Id,sessionStorage.allocated=0,e.$router.push({name:"projdetail",query:{isShowDistworkPage:!0}}).catch((function(e){console.log(e)}))):a.$notify.error({message:"项目创建失败, 请稍后重试。",offset:100,duration:5e3})})).catch((function(e){return console.log(e)})),s={API:"project/createProject",Action:"创建项目",CompanyName:sessionStorage.CompanyName,Subject:e.checkNewProjData.Proj.ProjName,Source:sessionStorage.client,ProjectName:e.checkNewProjData.Proj.ProjName},Object(u["b"])("operation/record",s);case 18:case"end":return t.stop()}}),t)})))()},loadTempNodeTree:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.templateId,t.next=3,p["p"](a);case 3:if(r=t.sent,e.listTempNodeTree=r.Data?[r.Data]:[],r.Data){t.next=7;break}return t.abrupt("return");case 7:e.nodeClick(r.Data);case 8:case"end":return t.stop()}}),t)})))()},watchProjDescScroll:function(){this.isProjDescScroll=this.projDescEl.scrollTop>0}},watch:{isProjDescScroll:function(e){var t=this;e&&setTimeout((function(){t.projDescEl=t.$refs.projdesc,t.projDescEl&&t.projDescEl.addEventListener("scroll",t.watchProjDescScroll)}),50)}},mounted:function(){this.projDescEl&&this.projDescEl.addEventListener("scroll",this.watchProjDescScroll)},beforeDestroy:function(){this.projDescEl&&this.projDescEl.removeEventListener("scroll",this.watchProjDescScroll)}},h=j,D=(a("04c4"),a("2877")),P=Object(D["a"])(h,r,s,!1,null,null,null);t["default"]=P.exports}}]); \ No newline at end of file diff --git a/static/js/chunk-3261285a.38d358d6.js b/static/js/chunk-3261285a.38d358d6.js new file mode 100644 index 00000000..4ea241e7 --- /dev/null +++ b/static/js/chunk-3261285a.38d358d6.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3261285a"],{"04c4":function(e,t,a){"use strict";var r=a("14d6"),s=a.n(r);s.a},"14d6":function(e,t,a){},a341:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"new-proj"},[a("AppHeader",{staticClass:"new-proj-header",attrs:{theme:"basis",showBackBtn:"",isShowTopBar:!0,backBtnTitle:"取消项目创建"}}),a("div",{staticClass:"proj_manage"},[a("div",{staticClass:"proj_manage_content"},[a("div",{staticClass:"projModule adjust-top-radius"},[e.isProjName?a("div",{staticClass:"projName_input"},[a("div",{staticClass:"newProj_header "},[a("div",{staticClass:"newProj_title"},[e._v(" 输入项目名称 ")]),a("el-button",{staticClass:"nextbtn",attrs:{type:"primary"},on:{click:function(t){return t.stopPropagation(),e.enterTemplateSelect()}}},[e._v("下一步")])],1),a("div",{staticClass:"newProj_content"},[a("div",{staticClass:"upload_img"},[a("div",{staticClass:"upload_imgBox",style:e.showBackground(e.coverSrc)},[a("file-uploader",{staticClass:"listUpdateBtn editCoverBtn",attrs:{"on-success":e.coverUploadSuccess}},[a("span",[e._v("编辑")])]),a("span",{staticClass:"faceBtn",on:{click:function(t){return t.stopPropagation(),e.setSystemCoverRandom(t)}}},[e._v("使用随机封面")])],1)]),a("div",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.newProjData.projectData.projName,expression:"newProjData.projectData.projName"}],staticClass:"input_projname",attrs:{type:"text",placeholder:"点击输入 请输入32个字之内的字符"},domProps:{value:e.newProjData.projectData.projName},on:{input:function(t){t.target.composing||e.$set(e.newProjData.projectData,"projName",t.target.value)}}})])])]):e._e(),e.isTemSelect?a("div",{staticClass:"template_select"},[a("TopHeader",{ref:"projdesc",staticClass:"set_position header-wrap",class:{"header-bottom-shadow":e.isProjDescScroll},attrs:{theme:"basis",showBackBtn:"",backBtnTitle:"修改项目名称",onBackBtnClick:e.enterProjNameInput,title:"选择项目模板"},scopedSlots:e._u([{key:"right",fn:function(){return[a("el-button",{staticClass:"slot_btn",attrs:{disabled:!e.selectTemplate.Id},on:{click:function(t){return t.stopPropagation(),e.enterTemplateImprove()}}},[e._v("选定模板")])]},proxy:!0}],null,!1,3864135699)}),a("div",{staticClass:"template_select_content"},[e._l(e.templateList,(function(t,r){return a("div",{key:t.Id,staticClass:"template_info",on:{click:function(a){return a.stopPropagation(),e.isChecked(r,t)}}},[a("div",{staticClass:"check_box",class:{checked:e.checkedIndex==r}},[a("i",{staticClass:"el-icon-check"})]),a("span",{staticClass:"template_info_name"},[e._v(e._s(t.TempName))])])})),e.templateList.length?e._e():a("div",{staticClass:"template_empty"},[e._v("没有可供使用的项目模板,请联系管理员。")])],2)],1):e._e(),e.isTemImprove?a("div",{staticClass:"template_improve"},[a("TopHeader",{staticClass:"set_position header-wrap",attrs:{theme:"basis",showBackBtn:"",backBtnTitle:"选择模板",onBackBtnClick:e.enterTemplateSelect,title:"完善模板信息"}},[a("div",{staticClass:"slot_btn",attrs:{slot:"right",type:"primary"},on:{click:function(t){return t.stopPropagation(),e.createProject()}},slot:"right"},[e._v("创建")])]),a("div",{staticClass:"template_improve_content"},[a("div",{staticClass:"template_improve_info"},[a("div",{staticClass:"template_title"},[e._v("模板名称:")]),a("div",{staticClass:"template_title_info"},[e._v(e._s(e.selectTemplate.TempName))])]),a("div",{staticClass:"template_improve_info"},[a("div",{staticClass:"template_title"},[e._v("创建时间:")]),a("div",{staticClass:"template_title_info"},[e._v(e._s(e.createDate))])]),e._l(e.checkNewProjData.CustomProps,(function(t){return a("div",{key:t.Id,staticClass:"template_improve_info template_improve_infoInput"},[a("div",{staticClass:"template_title"},[e._v(e._s((t.PropertyName?t.PropertyName:"自定义字段")+":"))]),a("div",{staticClass:"template_title_info"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.PropValue,expression:"prop.PropValue"}],staticClass:"input_projname",attrs:{type:"text",placeholder:"点击输入"},domProps:{value:t.PropValue},on:{input:function(a){a.target.composing||e.$set(t,"PropValue",a.target.value)}}})])])}))],2)],1):e._e()])])])],1)},s=[],o=(a("4160"),a("fb6a"),a("159b"),a("96cf"),a("1da1")),c=a("5530"),n=a("2909"),i=a("b1f3"),l=a("f96e"),p=a("b0f9"),m=(a("93d6"),a("5ab9")),d=a("9e5b"),u=a("b775"),j={components:{AppHeader:l["a"],TopHeader:i["a"],FileUploader:d["a"]},props:{},data:function(){return{companyId:sessionStorage.companyId,isProjName:!0,isTemSelect:!1,isTemImprove:!1,templateId:sessionStorage.templateID,listTempNodeTree:[],NestTemplateList:[],otherTemplateList:[],tempNodeList:[],nestNodeId:"",title:"",checkedIndex:NaN,selectTemplate:{},srcIndex:2,coverSrc:"static/img/faceImg/face01.png",templateList:[],isProjDescScroll:!1,projDescEl:null,plastScrollTime:null,createDate:(new Date).toLocaleDateString(),checkNewProjData:{Proj:{ProjName:"",CompanyId:"",Notice:"",ShowImgUrl:"",TemplateId:"",CreateUserId:"",ModifyUserId:""},Node:{},CustomProps:[]},newProjData:{projectData:{projID:"",projName:"",projCode:"",folderID:"",scale:"",address:"",showImgUrl:"",templateID:"",createUserID:"",modifyUserID:"",deleted:0,listProjManager:[]},listFolder:[],listProjProp:[],userId:""}}},methods:{showBackground:function(e){var t=this.$options.filters["resolveImg"],a=t(e);return{background:"center/cover no-repeat url(".concat(a,")")}},enterTemplateSelect:function(){if(void 0!=this.newProjData.projectData.projName&&null!=this.newProjData.projectData.projName&&""!=this.newProjData.projectData.projName){var e=/[/\\]{1,}/g;e.test(this.newProjData.projectData.projName)?this.$notify({message:"项目名称请不要包含'/' '\\'等字符。",type:["warning"]}):this.newProjData.projectData.projName.length>32?this.$notify({message:"项目名称不得超出32个字符。",type:"warning"}):(this.isProjName=!1,this.isTemSelect=!0,this.isTemImprove=!1,this.isTemNest=!1,this.getSelectTemplateData())}else this.$notify({message:"请输入项目名称。",type:["warning"]})},enterProjNameInput:function(){this.isProjName=!0,this.isTemSelect=!1},enterTemplateImprove:function(){this.isTemSelect=!1,this.isTemImprove=!0,this.getTempProps(this.selectTemplate.Id)},getTempProps:function(e){var t=this;p["n"](e).then((function(e){e.Data.propertys.forEach((function(e,a){t.checkNewProjData.CustomProps[a]={},t.checkNewProjData.CustomProps[a]["TempPropId"]=e.Id,t.checkNewProjData.CustomProps[a]["PropertyName"]=e.PropertyName,t.checkNewProjData.CustomProps[a]["PropValue"]="";var r=t.checkNewProjData.CustomProps;t.checkNewProjData.CustomProps=Object(n["a"])(r)})),t.checkNewProjData=Object(c["a"])({},t.checkNewProjData)}))},isChecked:function(e,t){this.checkedIndex=e,this.selectTemplate=t},setSystemCoverRandom:function(){var e=Math.ceil(10*Math.random());while(this.srcIndex===e)e=Math.ceil(10*Math.random());this.srcIndex=e,this.coverSrc="static/img/faceImg/face".concat("".concat(100+this.srcIndex).slice(1),".png"),this.newProjData.projectData.showImgUrl=this.coverSrc},coverUploadSuccess:function(e){var t=Object(m["c"])(e.ossUrl);this.coverSrc=t,this.newProjData.projectData.showImgUrl=t},getSelectTemplateData:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,p["m"](e.companyId);case 2:a=t.sent,r=a.Data||[],e.templateList=r,e.templateList&&e.templateList.length&&"{}"===JSON.stringify(e.selectTemplate)&&(e.selectTemplate=r[0],e.checkedIndex=0);case 6:case"end":return t.stop()}}),t)})))()},getSelectTemplateList:function(e){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function a(){var r,s,o;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,p["p"](e);case 2:r=a.sent,s=r.Data,o=s.children||[],t.newProjData.listFolder=[],o.forEach((function(e){var a={folderID:"",projID:"",superID:"",levelID:"",firstFolderID:"",tempNodeID:e.id,folderName:e.topic,fileCount:0,childCount:0,modifyUserID:"",deleted:0,default:!0,listUser:[],manageUser:[]};t.newProjData.listFolder.push(a)}));case 7:case"end":return a.stop()}}),a)})))()},createProject:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a,r,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.isDisableCreate=!0,e.newProjData.userId=sessionStorage.userId,e.newProjData.projectData.templateID=e.selectTemplate.Id,e.newProjData.projectData.showImgUrl=e.coverSrc,a=e,e.checkNewProjData.Proj.ProjName=e.newProjData.projectData.projName,e.checkNewProjData.Proj.CompanyId=e.$store.state.currentCompanyId,e.checkNewProjData.Proj.ShowImgUrl=String(e.newProjData.projectData.showImgUrl),e.checkNewProjData.Proj.TemplateId=e.selectTemplate.Id,e.checkNewProjData.Proj.CreateUserId=sessionStorage.userId,e.checkNewProjData.Proj.ModifyUserId=sessionStorage.userId,t.next=13,p["p"](e.selectTemplate.Id);case 13:r=t.sent,e.checkNewProjData.Node=r.Data,e.$fetchApi("project/createProject",e.checkNewProjData).then((function(t){0===t.Code?(a.$notify({message:"新项目创建成功。",type:["success"]}),sessionStorage.projId=t.Data,sessionStorage.createUserID=sessionStorage.userId,sessionStorage.templateID=e.selectTemplate.Id,sessionStorage.allocated=0,e.$router.push({name:"projdetail",query:{isShowDistworkPage:!0}}).catch((function(e){console.log(e)}))):a.$notify.error({message:"项目创建失败, 请稍后重试。",offset:100,duration:5e3})})).catch((function(e){return console.log(e)})),s={API:"project/createProject",Action:"创建项目",CompanyName:sessionStorage.CompanyName,Subject:e.checkNewProjData.Proj.ProjName,Source:sessionStorage.client,ProjectName:e.checkNewProjData.Proj.ProjName},Object(u["b"])("operation/record",s);case 18:case"end":return t.stop()}}),t)})))()},loadTempNodeTree:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.templateId,t.next=3,p["p"](a);case 3:if(r=t.sent,e.listTempNodeTree=r.Data?[r.Data]:[],r.Data){t.next=7;break}return t.abrupt("return");case 7:e.nodeClick(r.Data);case 8:case"end":return t.stop()}}),t)})))()},watchProjDescScroll:function(){this.isProjDescScroll=this.projDescEl.scrollTop>0}},watch:{isProjDescScroll:function(e){var t=this;e&&setTimeout((function(){t.projDescEl=t.$refs.projdesc,t.projDescEl&&t.projDescEl.addEventListener("scroll",t.watchProjDescScroll)}),50)}},mounted:function(){this.projDescEl&&this.projDescEl.addEventListener("scroll",this.watchProjDescScroll)},beforeDestroy:function(){this.projDescEl&&this.projDescEl.removeEventListener("scroll",this.watchProjDescScroll)}},h=j,D=(a("04c4"),a("2877")),P=Object(D["a"])(h,r,s,!1,null,null,null);t["default"]=P.exports}}]); \ No newline at end of file diff --git a/static/js/chunk-34589b20.d6933126.js b/static/js/chunk-34589b20.d6933126.js new file mode 100644 index 00000000..82781bef --- /dev/null +++ b/static/js/chunk-34589b20.d6933126.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-34589b20"],{5192:function(e,t,n){},"5cf5":function(e,t,n){"use strict";var i=n("bad9"),r=n.n(i);r.a},a2d2: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",{staticClass:"milestone_panel"},[n("div",{staticClass:"flex_right_pain",class:{AnimatedRightIn:e.visible}},[e.milestoneManage?n("div",{staticClass:"flex_right_pain_body_box"},[n("div",{staticClass:"flex_right_pain_head"},[e._m(0),n("div",{staticClass:"EC_col_12"},[n("div",{staticClass:"close-wrap",class:{"close-hover":e.isCloseHover},on:{click:function(t){return t.stopPropagation(),e.closeSetPain(t)},mouseenter:function(t){e.isCloseHover=!0},mouseleave:function(t){e.isCloseHover=!1}}},[n("img",{directives:[{name:"show",rawName:"v-show",value:!e.isCloseHover,expression:"!isCloseHover"}],staticClass:"close-icon vert-hori-center",attrs:{src:"/static/img/operate-pop-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-pop-window/关闭激活.svg",alt:""}})])])]),n("div",{staticClass:"pxline"}),n("div",{ref:"milestoneManageRef",staticClass:"flex_right_pain_body"},[e.fileNowVersion?n("div",[n("version-item",{attrs:{localWorkspacePrefix:e.localWorkspacePrefix,nowVersion:"",commitInfo:e.fileNowVersion,active:e.activeVersion===e.fileNowVersion,file:e.file},on:{makeCopy:e.onMakeCopy,openFile:e.openFile,select:e.selectVersion,setHeadVersion:e.setHeadVersion}}),n("div",{staticClass:"title"},[e._v("里程碑")]),e._l(e.fileOtherVersion,(function(t){return n("version-item",{key:t.currentHash,attrs:{localWorkspacePrefix:e.localWorkspacePrefix,commitInfo:t,active:e.activeVersion===t,fileId:e.file.id,file:e.file},on:{select:e.selectVersion,setHeadVersion:e.setHeadVersion,makeCopy:e.onMakeCopy}})}))],2):n("div",{staticClass:"empty"},[n("span",[e._v("暂无历史版本")])])]),e.fileNowVersion?n("div",{staticClass:"bottombtnitem"},[n("div",{staticClass:"bottombtnitemlonBtn"},[n("el-button",{staticClass:"longBtn defualtBtnInfo quitBtn",attrs:{type:"primary",round:""},on:{click:e.checkAllMilestone}},[e._v("查看所有历史提交版本")])],1)]):e._e()]):e._e(),e.milestoneCheck?n("div",{staticClass:"flex_right_pain_body_box"},[n("div",{staticClass:"flex_right_pain_head"},[n("div",{staticClass:"EC_col_4"},[n("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(t){return t.stopPropagation(),e.enterMilestoneManage(t)}}})]),e._m(1),n("div",{staticClass:"EC_col_4"},[n("div",{staticClass:"close-wrap",class:{"close-hover":e.isCloseHover},on:{click:function(t){return t.stopPropagation(),e.closeSetPain(t)},mouseenter:function(t){e.isCloseHover=!0},mouseleave:function(t){e.isCloseHover=!1}}},[n("img",{directives:[{name:"show",rawName:"v-show",value:!e.isCloseHover,expression:"!isCloseHover"}],staticClass:"close-icon vert-hori-center",attrs:{src:"/static/img/operate-pop-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-pop-window/关闭激活.svg",alt:""}})])])]),n("div",{staticClass:"pxline"}),n("div",{ref:"milestoneCheckRef",staticClass:"flex_right_pain_body"},[n("div",e._l(e.fileHistoryList,(function(t){return n("version-item",{key:t.currentHash,attrs:{localWorkspacePrefix:e.localWorkspacePrefix,nowVersion:e.fileNowVersion===t,commitInfo:t,active:e.activeVersion===t,fileId:e.file.id,file:e.file},on:{select:e.selectVersion,setHeadVersion:e.setHeadVersion,makeCopy:e.onMakeCopy}})})),1)])]):e._e()])])},r=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"EC_col_12"},[n("h4",{staticClass:"RdiaheaderTitle"},[e._v("历史版本管理")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"EC_col_16"},[n("h4",{staticClass:"centertext"},[e._v("所有历史提交版本")])])}],o=(n("4de4"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("transition",{attrs:{name:"info-fade"}},[e.active?n("div",{staticClass:"version_item",class:{set_item_position:!1}},[n("div",{staticClass:"content"},[n("div",{staticClass:"content_header"},[e.nowVersion?n("i",{staticClass:"iconfont icon-zhiding",attrs:{alt:""}}):e._e(),n("p",[e._v(e._s((e.nowVersion?"当前协同 - ":"")+"版本"+e.commitInfo.version))])]),n("div",{staticClass:"content_remark split"},[n("div",{staticClass:"content_remark_inner"},[n("div",[e._v(e._s(e.showAccountName)+"的备注")]),n("div",[e._v(e._s(e.commitInfo.note?e.commitInfo.note:"无备注"))])])]),n("div",{staticClass:"content_info split"},[n("div",{staticClass:"option",on:{click:function(t){t.stopPropagation(),e.infoPanelActive=!e.infoPanelActive}}},[n("i",{staticClass:"option_icon",class:{option_active:e.infoPanelActive}}),n("div",{staticClass:"option_label"},[e._v("更多信息")])]),n("div",{staticClass:"content_info_detail",class:{panel_inactive:!e.infoPanelActive}},[n("div",{staticClass:"content_info_detail_item"},[n("span",[e._v("提交人:")]),n("span",{staticStyle:{color:"#2869E6"}},[e._v(e._s(e.showAccountName))])]),n("div",{staticClass:"content_info_detail_item"},[n("span",[e._v("基于版本:")]),n("span",[e._v(e._s(e.commitInfo.creator)+" 提交的版本"+e._s(e.commitInfo.version))])]),n("div",{staticClass:"content_info_detail_item"},[n("span",[e._v("协同于:")]),n("span",[e._v(e._s(e.showTime))])])])]),n("div",{staticClass:"content_action split"},[n("div",{staticClass:"option",on:{click:function(t){t.stopPropagation(),e.actionPanelActive=!e.actionPanelActive}}},[n("i",{staticClass:"option_icon",class:{option_active:e.actionPanelActive}}),n("div",{staticClass:"option_label"},[e._v("更多操作")])]),n("div",{staticClass:"content_action_list",class:{panel_inactive:!e.actionPanelActive}},[n("div",{staticClass:"content_action_list_item milestone_set"},[n("div",{staticClass:"icon_box"},[n("i",{staticClass:"iconfont icon-lichengbei-qizhi"})]),n("p",[e._v("里程碑")]),n("div",{staticClass:"switch_btn"},[n("el-switch",{attrs:{"active-color":"#7850FF","inactive-color":"#fff"},on:{change:e.setMileStoneClick},model:{value:e.commitInfo.milestone,callback:function(t){e.$set(e.commitInfo,"milestone",t)},expression:"commitInfo.milestone"}})],1)]),e.nowVersion?e._e():n("div",{staticClass:"content_action_list_item button",on:{click:function(t){return t.stopPropagation(),e.showHistoryFile(t)}}},[e._v(" 查看版本 ")]),e.nowVersion?n("div",{staticClass:"content_action_list_item button",on:{click:function(t){return t.stopPropagation(),e.editCurrentFile(t)}}},[e._v(" 继续编辑 ")]):e._e(),e.nowVersion?e._e():n("div",{staticClass:"content_action_list_item button",on:{click:function(t){return t.stopPropagation(),e.setShare(t)}}},[n("i",{staticClass:"iconfont icon-zhiding"}),e._v("设为协同版本 ")]),e.nowVersion?e._e():n("div",{staticClass:"content_action_list_item button",on:{click:e.onMakeCopy}},[e._v(" 从该版本创建副本 ")])])])])]):e._e()]),e.active?e._e():n("div",{staticClass:"version_item_brief",on:{click:function(t){return t.stopPropagation(),e.clickVersion(t)}}},[n("div",{staticClass:"header"},[e._m(0),n("p",[e._v("版本"+e._s(e.commitInfo.version))]),n("p",{staticClass:"header_time"},[e._v(e._s(e.showTime))])]),n("div",{staticClass:"remarks_brief"},[n("div",{staticClass:"remarks_brief_content",class:{noremarks:!0}},[e._v(e._s(e.commitInfo.note?e.commitInfo.note:"无备注"))])])])],1)}),s=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"icon_box"},[n("span",{staticClass:"iconfont icon-lichengbei-qizhi"})])}],a=(n("99af"),n("ac1f"),n("5319"),n("96cf"),n("1da1")),c=n("5a0c"),l=n.n(c),u=(n("a471"),n("b428")),f=n("1d40");l.a.locale("zh-cn");var m={props:{localWorkspacePrefix:String,nowVersion:Boolean,active:Boolean,commitInfo:{type:Object,default:function(){return{}}},file:{type:Object,default:function(){return{}}},fileId:String},mounted:function(){this.remarkEl=this.$refs.remarksText,this.isShowOpenIcon=this.remarkEl&&this.remarkEl.clientHeight>22},data:function(){return{remarkEl:null,switchValue:!0,isRemarksEdit:!1,isShowAll:!1,isShowOpenIcon:!1,accountName:"",infoPanelActive:!1,actionPanelActive:!1}},methods:{showHistoryFile:function(){var e=this.file,t=this.commitInfo,n=e.archName,i=e.extension,r=e.relativePath,o=t.currentHash,s=t.version,a="".concat(n,"-版本").concat(s).concat(i?".".concat(i):""),c="历史版本查看\\".concat((new Date).getTime()).concat(r?"\\relativePath":"").replace(/\//g,"\\"),l=function(){},u="".concat(this.localWorkspacePrefix,"\\").concat(c,"\\").concat(a);f["a"].downloadFile(o,sessionStorage.projName,a,c,(function(e,t){console.log("receive download file message:",e,t);try{var n=JSON.parse(e.data),i=n.process;n.hash;if(100!==i)return;f["a"].openFile(u),t.close()}catch(r){console.error("socket-download-file parse data have error:",r),l(),t.close()}}),l)},onMakeCopy:function(){this.$emit("makeCopy",this.commitInfo)},clickVersion:function(){this.$emit("select",this.commitInfo)},editRemarks:function(){this.isRemarksEdit=!0,this.isShowAll=!0},showAll:function(){this.isShowAll=!this.isShowAll},changeRemarks:function(){this.remarkEl=this.$refs.remarksText,this.remarkEl&&(this.newremarks=this.remarkEl.innerText)},finishEditRemarks:function(){this.isRemarksEdit=!1,this.remarks=this.newremarks},setColor:function(e){this.toolboxShow=!0;var t=e.target.getBoundingClientRect();this.$emit("getToolboxTop",{top:t.top,isShow:!0})},selectColor:function(e){this.selectedColor=e,this.color=this.selectedColor},closeSetColor:function(){this.toolboxShow=!1},editCurrentFile:function(){this.$emit("openFile")},setShare:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(u["m"])(e.fileId,e.commitInfo.currentHash,sessionStorage.userId);case 2:n=t.sent,0==n.Code?(e.$notify({type:"success",message:"设置协同版本成功"}),e.$emit("setHeadVersion",e.commitInfo)):e.$notify({type:"error",message:n.Msg});case 4:case"end":return t.stop()}}),t)})))()},setMileStoneClick:function(e){this.$bus.$emit("setMileStoneClick",e,this.commitInfo)}},computed:{showAccountName:function(){return this.commitInfo.creator&&sessionStorage.accountName==this.commitInfo.creator?"我":this.commitInfo.creator},showTime:function(){return this.commitInfo.createTime&&l()(1e3*this.commitInfo.createTime).format("YYYY年MM月DD日 A HH:mm")}},watch:{newremarks:function(){this.remarkEl=this.$refs.remarksText,this.isShowOpenIcon=this.remarkEl&&this.remarkEl.clientHeight>22}}},d=m,h=(n("e3bd"),n("2877")),p=Object(h["a"])(d,o,s,!1,null,"1c611fae",null),v=p.exports,_=n("2ef0"),b={components:{VersionItem:v},props:{localWorkspacePrefix:String,visible:Boolean,fileMilestoneInfo:{type:Object,default:function(){return{}}},fileHistoryList:{type:Array,default:function(){return[]}},file:{type:Object,default:function(){return{}}}},watch:{fileHistoryList:function(){this.getFileMilestoneList(this.fileHistoryList),this.getFileNowVersion(this.fileHistoryList),this.getFileOtherVersion()},visible:function(e){if(e){var t=document.querySelector(".notify-mask");if(!t){var n=document.createElement("div");n.className="notify-mask",document.body.appendChild(n),t=n}t.addEventListener("click",this.closeSetPain),this.milestoneManage=!0,this.milestoneCheck=!1,this.fileMilestoneList=[],this.fileNowVersion=null,this.fileOtherVersion=[],this.activeVersion=null}}},data:function(){return{milestoneManageRefEl:null,milestoneCheckRefEl:null,isCloseHover:!1,isFileNameShow:!1,milestoneManage:!0,milestoneCheck:!1,fileMilestoneList:[],fileNowVersion:null,fileOtherVersion:[],activeVersion:null}},methods:{setHeadVersion:function(e){this.fileNowVersion=e},selectVersion:function(e){this.activeVersion=e},openFile:function(){this.$emit("openFile",this.file)},onMakeCopy:function(e){var t=Object(_["cloneDeep"])(this.file);t.ipfsCid=e.currentHash,this.$emit("makeCopy",t,e.version)},clickVersion:function(){this.isFileNameShow=!0},editRemarks:function(){this.isEdit=!0},setRemarks:function(){this.isFileNameShow=!1,this.isEdit=!1},cancelEdit:function(){},checkAllMilestone:function(){this.milestoneManage=!1,this.milestoneCheck=!0},enterMilestoneManage:function(){this.milestoneManage=!0,this.milestoneCheck=!1},openSetPain:function(){var e=document.querySelector(".notify-mask");if(!e){var t=document.createElement("div");t.className="notify-mask",document.body.appendChild(t)}},closeSetPain:function(){this.$emit("closeMilestonePain",!1);var e=document.querySelector(".notify-mask");document.body.removeChild(e)},setColor:function(){this.toolboxShow=!0,this.isFileNameShow=!0},selectColor:function(e){this.selectedColor=e,this.color=e},closeSetColor:function(){this.toolboxShow=!1},createMilestone:function(){this.toolboxShow=!1,this.color=this.selectedColor},getFileMilestoneList:function(e){this.fileMilestoneList=e.filter((function(e){return e.milestone}))},getFileNowVersion:function(e){var t=this,n=e.filter((function(e){return e.currentHash==t.file.ipfsCid}));this.fileNowVersion=n[0],this.activeVersion=this.fileNowVersion},getFileOtherVersion:function(){var e=this;this.fileOtherVersion=this.fileMilestoneList.filter((function(t){return t.currentHash!=e.file.ipfsCid}))},refresh:function(){}}},w=b,C=(n("5cf5"),Object(h["a"])(w,i,r,!1,null,"3ab4ee97",null));t["default"]=C.exports},a471:function(e,t,n){!function(t,i){e.exports=i(n("5a0c"))}(0,(function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){switch(t){case"W":return e+"周";default:return e+"日"}},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"}};return e.locale(t,null,!0),t}))},b332:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"c",(function(){return u}));n("99af"),n("a15b"),n("d81d"),n("fb6a"),n("ac1f"),n("5319"),n("1276");var i=n("d4ec"),r={DOWNLOADING:100,UPLOADING:101},o={NOT_WORKING:1,WORKING:2},s=function(e,t){var n=e.nodeName,i=e.extension,r=e.archName,o=e.relativePath,s=n?"".concat(n,"\\协作文件"):t.folderName;return"".concat(s,"\\").concat(o?"".concat(o.replace(/\//g,"\\"),"\\"):"").concat(r).concat(i?".".concat(i):"")},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;if(!e)return[];var i=t?"".concat(t,"/"):t,r=e.split("/").map((function(e,t,r){var o="".concat(i).concat(r.slice(0,t+1).join("/"));return n&&n(o),o}));return r},c=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(i["a"])(this,e);var n=t.split("/"),r=n.pop();this.id=t,this.folderPath=t,this.folderName=r,this.parentFolderPath=n.join("/"),this.childCount=0,this.fileCount=0},l=["jpg","png","bmp","gif","jpeg"],u=["avi","mov","wav","mp4"]},b428:function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"h",(function(){return l})),n.d(t,"k",(function(){return f})),n.d(t,"d",(function(){return d})),n.d(t,"b",(function(){return p})),n.d(t,"g",(function(){return _})),n.d(t,"i",(function(){return w})),n.d(t,"a",(function(){return g})),n.d(t,"c",(function(){return y})),n.d(t,"f",(function(){return I})),n.d(t,"l",(function(){return j})),n.d(t,"j",(function(){return H})),n.d(t,"m",(function(){return V})),n.d(t,"n",(function(){return R}));n("99af"),n("4160"),n("a15b"),n("d81d"),n("fb6a"),n("ac1f"),n("1276"),n("159b"),n("96cf");var i=n("1da1"),r=n("b775"),o=n("3de1"),s=n("b332");function a(e,t){return c.apply(this,arguments)}function c(){return c=Object(i["a"])(regeneratorRuntime.mark((function e(t,n){var i,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("folder/queryNodeFolderListByProjectIdAndUserId",{projectId:t,userId:n});case 2:return i=e.sent,s=(i.Data||[]).map((function(e){var t=Object(o["b"])(e);return t.listsShareFrom=[[],[]],t})),e.abrupt("return",s);case 5:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function l(){return u.apply(this,arguments)}function u(){return u=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/queryFilesFromRecycleBin");case 2:if(t=e.sent,Object(r["c"])(t),0===t.Code){e.next=6;break}return e.abrupt("return",null);case 6:return n=(t.Data||[]).map((function(e){var t=Object(o["b"])(e);return t})),e.abrupt("return",n);case 8:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function f(e){return m.apply(this,arguments)}function m(){return m=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/removeFromRecycleBin",{fileId:t});case 2:return n=e.sent,e.abrupt("return",Object(r["c"])(n));case 4:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}function d(e,t,n){return h.apply(this,arguments)}function h(){return h=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i){var a,c,l,u,f,m;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("folder/queryFileListByFolderIdAndUserId",{folderId:t,userId:n,publicFolderId:i});case 2:if(a=e.sent,Object(r["c"])(a),0===a.Code){e.next=6;break}return e.abrupt("return",null);case 6:return c=a.Data||{},l=[],u={},f=(c.myFile||[]).concat(c.workFile||[]).map((function(e){var t=Object(o["b"])(e),n=t.relativePath;if(n){var i=n.split("/");i.forEach((function(e,t){var n=i.slice(0,t+1).join("/");if(!u[n]){var r=new s["d"](n),o=r.parentFolderPath;l.push(r),u[n]=r,u[o]&&u[o].childCount++}})),u[n].fileCount++}return t})),m={folder:l,folderMap:u,file:f,coordinationFiles:(c.coordinationFiles||[]).map(o["b"])},e.abrupt("return",m);case 12:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}function p(e,t){return v.apply(this,arguments)}function v(){return v=Object(i["a"])(regeneratorRuntime.mark((function e(t,n){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/changeFileWorkStatus",{fileId:t,workStatus:n});case 2:return i=e.sent,e.abrupt("return",Object(r["c"])(i));case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function _(e,t,n){return b.apply(this,arguments)}function b(){return b=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i){var o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/queryFileExchange",{currentTemplateId:t,currentNodeId:n,nestedNodeId:i});case 2:return o=e.sent,e.abrupt("return",Object(r["c"])(o));case 4:case"end":return e.stop()}}),e)}))),b.apply(this,arguments)}function w(e){return C.apply(this,arguments)}function C(){return C=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/queryNestedTempFileExchange",{currentTemplateId:t});case 2:return n=e.sent,e.abrupt("return",Object(r["c"])(n));case 4:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function g(e){return k.apply(this,arguments)}function k(){return k=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/addFile",t);case 2:return n=e.sent,i={API:"file/addFile",Action:"新建文件",CompanyName:sessionStorage.CompanyName,Subject:t.archName+"."+t.extension,Source:sessionStorage.client,ProjectName:sessionStorage.projName},Object(r["b"])("operation/record",i),e.abrupt("return",n);case 6:case"end":return e.stop()}}),e)}))),k.apply(this,arguments)}function y(e){return x.apply(this,arguments)}function x(){return x=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/deleteFile",{fileId:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),x.apply(this,arguments)}function I(e){return O.apply(this,arguments)}function O(){return O=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("company/queryFileOnlineUrlByCompanyId",t);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),O.apply(this,arguments)}function j(e,t){return S.apply(this,arguments)}function S(){return S=Object(i["a"])(regeneratorRuntime.mark((function e(t,n){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/searchFileListByFolderIdAndFileName",{folderId:t,fileName:n});case 2:return i=e.sent,e.abrupt("return",i);case 4:case"end":return e.stop()}}),e)}))),S.apply(this,arguments)}function H(e){return N.apply(this,arguments)}function N(){return N=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/queryProjArchiveHistoryTbByArchId",{archId:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),N.apply(this,arguments)}function V(e,t,n){return M.apply(this,arguments)}function M(){return M=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i){var o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/setShareFile",{Id:t,IpfsCid:n,ModifyUserId:i});case 2:return o=e.sent,e.abrupt("return",o);case 4:case"end":return e.stop()}}),e)}))),M.apply(this,arguments)}function R(e){return F.apply(this,arguments)}function F(){return F=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/updateProjArchiveHistory",t);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),F.apply(this,arguments)}},bad9:function(e,t,n){},d4ec:function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return i}))},e3bd:function(e,t,n){"use strict";var i=n("5192"),r=n.n(i);r.a}}]); \ No newline at end of file diff --git a/static/js/chunk-347878ae.47e6d8f9.js b/static/js/chunk-347878ae.4a87c970.js similarity index 100% rename from static/js/chunk-347878ae.47e6d8f9.js rename to static/js/chunk-347878ae.4a87c970.js diff --git a/static/js/chunk-3ccf94d4.72adece4.js b/static/js/chunk-3ccf94d4.92714aee.js similarity index 100% rename from static/js/chunk-3ccf94d4.72adece4.js rename to static/js/chunk-3ccf94d4.92714aee.js diff --git a/static/js/chunk-3fbc85f3.fd30866f.js b/static/js/chunk-3fbc85f3.143ca8b6.js similarity index 100% rename from static/js/chunk-3fbc85f3.fd30866f.js rename to static/js/chunk-3fbc85f3.143ca8b6.js diff --git a/static/js/chunk-4a5d94c9.8cd926f9.js b/static/js/chunk-4a5d94c9.4811ba09.js similarity index 100% rename from static/js/chunk-4a5d94c9.8cd926f9.js rename to static/js/chunk-4a5d94c9.4811ba09.js diff --git a/static/js/chunk-4c803a36.7bddece5.js b/static/js/chunk-4c803a36.d8aa610d.js similarity index 100% rename from static/js/chunk-4c803a36.7bddece5.js rename to static/js/chunk-4c803a36.d8aa610d.js diff --git a/static/js/chunk-50365d46.0c3b6303.js b/static/js/chunk-50365d46.0c3b6303.js new file mode 100644 index 00000000..0e5c1aad --- /dev/null +++ b/static/js/chunk-50365d46.0c3b6303.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-50365d46"],{"011a":function(e,t,r){"use strict";r.r(t);var o=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"app"}},[r("app-header",{attrs:{showUserCenter:!0,id:"proj-list-page",showRecycleBin:""},scopedSlots:e._u([{key:"left",fn:function(){return[e._v(" "+e._s(e.currentPlatform.orgName)+" ")]},proxy:!0},{key:"center",fn:function(){return[r("div",{staticClass:"main-title"},[e._v(e._s(e.showCenterTitle))])]},proxy:!0},{key:"right",fn:function(){return[r("search-bar",{staticClass:"proj-search-bar",attrs:{placeholder:"搜索项目名称"},on:{changeSearchContent:e.changeSearchContent,hideSearchBar:e.hideSearchBar,showSearchBar:e.showSearchBar,goToSearch:e.searchForProj,maxTextLengthArrived:e.maxTextLengthArrived}})]},proxy:!0}])}),r("div",{staticClass:"layout_content"},[r("section",{staticClass:"yiyun_warpContent"},[r("div",{staticClass:"yiyun-rows mt-20",attrs:{id:"new"}},[r("div",{staticClass:"yiyun-col-4 timer-part"},[r("div",{staticClass:"yiyun_row",staticStyle:{width:"95%"}},[r("timer",{attrs:{cnName:e.cnName}})],1)]),e._m(0)]),e.noProjTip?r("div",{staticStyle:{"margin-left":"50%","margin-top":"25%"}},[r("h1",[e._v("空空如也")])]):e._e()]),e.isUserPerm?r("button",{staticClass:"yiyun_btn_new new-btn-margin",attrs:{id:"buttonbtn"},on:{click:function(t){return t.stopPropagation(),e.createNewProjectClick(t)}}},[e._v("新建项目")]):e._e(),r("proj-list",{attrs:{id:"proj-list",projList:e.showProjList,openPrjInfo:e.openPrjInfo,addNewFolders:e.addNewFolders},on:{watchAllBtnClick:e.watchAllBtnClick,lookProjDetailClick:e.lookProjDetailClick}})],1)],1)},n=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"yiyun-col-4"},[r("div",{staticClass:"yiyun_row"},[r("div",{staticClass:"section_item fr section_item_aside_fr"})])])}],s=(r("caad"),r("96cf"),r("1da1")),i=r("f96e"),a=r("2f4c"),c=r("0f13"),l=r("a06e"),u=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.cnName?r("div",[r("div",{staticClass:"big-time"},[e._v(e._s(e.nowTime))]),r("div",{staticClass:"now-time"},[r("span",{staticClass:"nowshijian"},[e._v(e._s(e.nowDate.substr(5))+" "+e._s(e.welcome)+e._s(e.cnName))])])]):e._e()},h=[],d=r("0bb4"),p={props:["cnName"],data:function(){return{nowTime:"",nowDate:"",welcome:"",timer:null}},methods:{setDateTime:function(){this.nowDate=d["a"].getDate(),this.createDate=this.nowDate,this.nowTime=d["a"].getTime();var e=this.nowTime.substring(0,2);e<12&&e>0?this.welcome="上午好! ":12==e?this.welcome="中午好! ":e>12&&e>20?this.welcome="晚上好,注意休息! ":e>12&&e<20&&(this.welcome="下午好!")}},mounted:function(){this.setDateTime(),this.timer=setInterval(this.setDateTime,1e3)},beforeDestroy:function(){clearInterval(this.timer),this.timer=null}},f=p,m=(r("9d0d"),r("63b7"),r("2877")),w=Object(m["a"])(f,u,h,!1,null,"0481b847",null),g=w.exports,v=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("section",{staticClass:"yiyun_warpContent"},[r("div",{staticClass:"yiyun-rows",attrs:{id:"alone"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.isEmpty,expression:"isEmpty"}],staticClass:"nullproduct"},[r("img",{attrs:{src:"static\\img\\nopro.png",alt:""}}),r("span",{staticClass:"noprotext"},[e._v("暂无项目")])]),r("div",{staticClass:"prjitemList"},[r("el-row",{attrs:{gutter:64}},e._l(e.projList,(function(t,o){return r("el-col",{key:t.Id,attrs:{xs:24,sm:12,md:12,lg:8,xl:6}},[r("proj-item",{attrs:{projItem:t},on:{lookProjDetailClick:function(r){return e.lookProjDetailClick(t)},watchAllBtnClick:function(r){return e.watchAllBtnClick(t,o)}}})],1)})),1)],1)])])])},j=[],S=(r("fb6a"),r("b775")),C=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"prjitem"},[r("div",{ref:"projitem",staticClass:"prjitem_content",style:e.showBackground(e.projItem.ShowImgUrl),on:{mouseenter:function(t){e.showSetIcon(e.projItem.Id),e.isMouseHover=!0},mouseleave:function(t){e.hiddenSetIcon,e.isMouseHover=!1},click:function(t){return t.stopPropagation(),e.goFilePage(e.projItem)}}},[1==e.projItem.newProjStatus?r("div",{staticClass:"newprj_icon"},[e._v("新项目")]):e._e(),r("div",{staticClass:"prjitem_title",class:{"move-item-name":e.focusProjId==e.projItem.Id&&e.isMouseHover},attrs:{title:e.projItem.ProjName}},[e._v(e._s(e.subProjName(e.projItem.ProjName)))]),r("div",{staticClass:"operate-bar",class:{"show-operate-bar":e.isMouseHover&&e.focusProjId==e.projItem.Id}},[r("div",{staticClass:"bar-item",on:{click:function(t){return t.stopPropagation(),e.watchAllBtnClick(t)}}},[e._v("观全局")]),r("div",{staticClass:"bar-item",on:{click:function(t){return t.stopPropagation(),e.lookProjDetailClick(t)}}},[e._v("项目管理")])])])])},I=[],P={data:function(){return{focusProjId:"",isEmpty:!1,isMouseHover:!1}},props:{projItem:{type:Object,default:function(){return{}}}},methods:{showBackground:function(e){var t=this.$options.filters["resolveImg"],r=t(e);return{background:"center/cover no-repeat url(".concat(r,")")}},lookProjDetailClick:function(){this.$emit("lookProjDetailClick")},manageProj:function(){this.$router.push("/newproject")},subProjName:function(e){var t=e.length;if(t>13){var r=e.slice(0,7),o=e.slice(t-6,t);return r+"..."+o}return e},watchAllBtnClick:function(){this.$emit("watchAllBtnClick")},showSetIcon:function(e){this.focusProjId=e},hiddenSetIcon:function(){this.focusProjId=""},goFilePage:function(e){sessionStorage.createUserID=e.CreateUserId,sessionStorage.templateID=e.TemplateId,sessionStorage.projId=e.Id,sessionStorage.nowFolderIndex="",sessionStorage.comFolderId=e.ComFolderId,sessionStorage.newProjStatus=e.NewProjStatus,sessionStorage.projName!=e.ProjName&&(sessionStorage.projName=e.ProjName),this.$router.push({name:"workspace"}).catch((function(e){return console.log(e)}));var t={API:"folder/queryNodeFolderListByProjectId",Action:"打开项目",CompanyName:sessionStorage.CompanyName,Subject:sessionStorage.projName,Source:sessionStorage.client,ProjectName:sessionStorage.projName};Object(S["b"])("operation/record",t),sessionStorage.pageName="workspace"}}},b=P,k=(r("6654"),r("7df1"),Object(m["a"])(b,C,I,!1,null,"2b5d1f78",null)),y=k.exports,B={data:function(){return{isEmpty:!1}},components:{ProjItem:y},props:{projList:{type:Array,default:function(){return[]}},openPrjInfo:Function,addNewFolders:Function},watch:{projListLength:{immediate:!0,handler:function(e){this.isEmpty=!(e>0)}}},computed:{projListLength:function(){return this.projList?this.projList.length:0}},methods:{lookProjDetailClick:function(e){this.$emit("lookProjDetailClick",e)},manageProj:function(){this.$router.push("/newproject")},subProjName:function(e){var t=e.length;if(t>13){var r=e.slice(0,7),o=e.slice(t-6,t);return r+"..."+o}return e},watchAllBtnClick:function(e,t){this.$emit("watchAllBtnClick",e,t)}}},x=B,N=(r("01a6"),Object(m["a"])(x,v,j,!1,null,"22c87fa3",null)),D=N.exports,_=r("2ef0"),T=(window.BMap,window.Velocity),E={elNew:"#new",components:{SearchBar:a["a"],Timer:g,AppHeader:i["a"],ProjList:D},data:function(){var e=this.$store.state.currentPlatform;return{currentPlatform:e,isUserPerm:Object(c["c"])(e.accessList,c["a"].ProjectManager),nowDate:"",nowTime:"",cnName:"",currProjId:"",feedbackdesc:"",projList:[],nowProj:"",isEmpty:!1,createUserId:"",isProjectManager:!1,newProjData:{projectData:{projID:"",projName:"",projCode:"",folderID:"",scale:"",address:"",showImgUrl:"",templateID:"",createUserID:"",modifyUserID:"",deleted:0},listFolder:[],listProjProp:[],userId:""},listTempProp:[],listProjProp:[],checked:!1,newfolder:{folderName:"自定义"},isNewProj:!1,isBottomNewProj:!1,isDistProj:!0,isShowAllProject:!0,isHideAllProject:!1,isPointGroup:!0,pageIndex:1,isAloneDistProj:!1,createDate:new Date,noProjTip:!1,roles:[{value:1,label:"编辑",description:"查看和编辑"},{value:0,label:"查看",description:"查看"}],folderPerm:"1",scrollIndex:12,welcome:"",isShowProjSetting:!1,isEditProjFolder:!1,fetchTickIns:null,searchContent:"",searchProjList:[],isShowSearchBar:!1,isSearching:!1,homeScrollTop:0,contentBodyEl:null}},computed:{showProjList:function(){return this.isShowSearchBar&&this.searchContent&&this.isSearching?this.searchProjList:this.projList},showCenterTitle:function(){return this.isShowSearchBar&&this.searchContent?"“".concat(this.searchContent,"”搜索结果"):"我的项目"}},watch:{searchContent:function(){this.searchForProj()}},mounted:function(){this.cnName=JSON.parse(sessionStorage.user).userName,sessionStorage.setItem("pageTitle","我的项目"),this.listProjects(!0),this.contentBodyEl=document.getElementById("bigbody"),this.contentBodyEl&&this.contentBodyEl.addEventListener("scroll",this.recordContentScrollTop)},beforeDestroy:function(){sessionStorage.dotIndex=this.ind,this.fetchTickIns&&(clearTimeout(this.fetchTickIns),this.fetchTickIns=null),this.contentBodyEl&&this.contentBodyEl.removeEventListener("scroll",this.recordContentScrollTop)},methods:{recordContentScrollTop:function(){this.homeScrollTop=this.contentBodyEl.scrollTop,sessionStorage.setItem("homeScrollTop",this.homeScrollTop)},maxTextLengthArrived:function(){this.$notify({message:"请输入35个字之内的搜索内容",type:["warning"]})},hideSearchBar:function(){this.isShowSearchBar=!1,this.searchContent=""},showSearchBar:function(){this.isShowSearchBar=!0},searchForProj:Object(_["debounce"])(function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=/^\s*$/,!t.test(this.searchContent)){e.next=5;break}return e.abrupt("return");case 5:return this.isSearching=!0,e.next=8,l["e"](this.searchContent);case 8:r=e.sent,0==r.Code?this.searchProjList=r.Data:this.$notify({type:["error"],message:"查询数据失败, 请稍后重试。"});case 10:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),500),changeSearchContent:function(e){this.searchContent=e},createNewProjectClick:function(){this.$router.push("/newproject").catch((function(e){return console.log(e)}))},lookProjDetailClick:function(e){sessionStorage.projId=e.Id,sessionStorage.createUserID=e.CreateUserId,sessionStorage.templateID=e.TemplateId,sessionStorage.allocated=e.Allocated,this.$router.push({name:"projdetail"}).catch((function(e){console.log(e)}))},watchAllBtnClick:function(e,t){var r=["341999987607363584","341984912360235008","342002217261621248"];console.log(e),t%2==0||r.includes(e.Id)?this.toWatchPageClick(e):this.toLinkPageClick(e)},toWatchPageClick:function(e){this.$router.push({path:"watch"}),sessionStorage.removeItem("projName"),sessionStorage.removeItem("projId"),sessionStorage.setItem("projName",e.ProjName),sessionStorage.setItem("projId",e.Id)},toLinkPageClick:function(e){this.$router.push({path:"watchlink"}),sessionStorage.removeItem("projName"),sessionStorage.removeItem("projId"),sessionStorage.setItem("projName",e.ProjName),sessionStorage.setItem("projId",e.Id)},toRecycle:function(){this.$router.push({name:"recycle",params:{title:"我的项目"}})},createProjSuccess:function(){this.refreshListProj()},closeNewProj:function(){this.isNewProj=!1,this.isBottomNewProj=!1},listProjects:function(e){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function r(){var o;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,l["d"](t.$store.state.accountId);case 2:o=r.sent,t.projList=o.Data,t.$nextTick((function(){var e=document.getElementById("bigbody");t.homeScrollTop=parseInt(sessionStorage.getItem("homeScrollTop")||0),e&&e.scrollTo(0,t.homeScrollTop)})),e&&(t.fetchTickIns=setTimeout((function(){return t.listProjects(!0)}),6e4));case 6:case"end":return r.stop()}}),r)})))()},goFilePage:function(e){sessionStorage.createUserID=e.CreateUserId,sessionStorage.templateID=e.TemplateId,sessionStorage.projId=e.Id,sessionStorage.nowFolderIndex="",sessionStorage.comFolderId=e.ComFolderId,sessionStorage.newProjStatus=e.NewProjStatus,sessionStorage.projName!=e.ProjName&&(sessionStorage.projName=e.ProjName),this.$router.push({name:"workspace"}).catch((function(e){console.log(e)})),sessionStorage.pageName="workspace"},toCloudIndex:function(e){sessionStorage.projId=e.projID,sessionStorage.firstFolderId=e.folderID,sessionStorage.projName!=e.projName&&(sessionStorage.projName=e.projName),sessionStorage.login="cloud",this.$router.push({name:"cloud"})},toProjNotice:function(e){sessionStorage.createUserID=e.createUserID,sessionStorage.templateID=e.templateID,sessionStorage.projId=e.projID,sessionStorage.nowFolderIndex="",sessionStorage.comFolderId=e.comFolderID,sessionStorage.projName!=e.projName&&(sessionStorage.projName=e.projName),this.$router.push({name:"projnotice",params:{title:"我的项目",allproj:!1}})},showAllProject:function(){this.isHideAllProject=!0,this.isDistProj=!1,this.isPointGroup=!1,this.isShowAllProject=!1},hideAllProject:function(){this.isHideAllProject=!1,this.isDistProj=!0,this.isPointGroup=!0,this.isShowAllProject=!0,this.projectsWithPage()},beforeEnter:function(e){e.style.opacity=0},enter:function(e,t){T(e,{opacity:1,bottom:"0px"},{duration:500,complete:t})},leave:function(e,t){T(e,{bottom:"-740px",opacity:"0"},{duration:500,complete:t})},showzhankai:function(){this.isBottomNewProj=!0,this.isNewProj=!1},addNewFolders:function(e){sessionStorage.projId=e.Id,sessionStorage.createUserID=e.CreateUserId,sessionStorage.templateID=e.TemplateId,sessionStorage.allocated=e.Allocated,this.isAloneDistProj=!0},closeDistWork:function(e){"index"==e&&this.listProjects(),this.isAloneDistProj=!1},refreshListProj:function(e){this.listProjects(),this.isNewProj=!1},closeProjSet:function(){this.isShowProjSetting=!1,this.listProjects()},openPrjInfo:function(e){this.currProjId=e.Id,this.isProjectManager=e.Status,this.isShowProjSetting=!0,this.isEditProjFolder=!1},projEditSuccess:function(){this.isShowProjSetting=!1,this.listProjects()}}},$=E,W=(r("c95a"),r("1a6e"),r("ec82"),Object(m["a"])($,o,n,!1,null,"0be02e90",null));t["default"]=W.exports},"01a6":function(e,t,r){"use strict";var o=r("391a"),n=r.n(o);n.a},"01a8":function(e,t,r){"use strict";var o=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-header",class:{white:"white"===e.theme||e.isWindowScrollIng,black:"black"===e.theme,"black-bg-color":e.isWindowScrollIng&&"black"===e.theme}},[e.isClient?r("div",{staticClass:"app-header-top"},[r("div",{staticClass:"top-left",attrs:{title:e.isOnLine?"":"请检查本地网关连接"}},[r("div",{staticClass:"dot",class:{online:e.isOnLine,offline:!e.isOnLine}}),r("div",{staticClass:"state",class:{"white-color":"white"===e.theme,black:"black"===e.theme}},[e._v(e._s(e.isOnLine?"在线":"离线"))])]),r("div",{staticClass:"top-center"}),r("div",{staticClass:"top-right"},[r("div",{staticClass:"min",on:{click:function(t){return t.stopPropagation(),e.shrinkBrowserWindow(t)}}},[r("img",{staticClass:"min-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/缩小.svg",alt:""}})]),r("div",{staticClass:"my-max",on:{click:function(t){return t.stopPropagation(),e.judgeIsMaxBrowserWindow(t)}}},[e.isMaxWindowNow?r("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/小窗口化.svg",alt:""}}):r("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/放大.svg",alt:""}})]),r("div",{staticClass:"close",on:{mouseenter:function(t){e.isCloseHover=!0},mouseleave:function(t){e.isCloseHover=!1},click:function(t){return t.stopPropagation(),e.closeBrowserWindow(t)}}},[r("img",{directives:[{name:"show",rawName:"v-show",value:!e.isCloseHover,expression:"!isCloseHover"}],staticClass:"close-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/关闭.svg",alt:""}}),r("img",{directives:[{name:"show",rawName:"v-show",value:e.isCloseHover,expression:"isCloseHover"}],staticClass:"close-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/关闭激活.svg",alt:""}})])])]):e._e(),e.isWorkspaceTopBar&&!e.isClient||e.isShowTopBar&&!e.isClient?r("div",{staticClass:"app-header-top"}):e._e(),r("div",{staticClass:"app-header-content",class:{"adjust-content-pos":e.isWorkspaceTopBar&&!e.isClient}},[r("div",{staticClass:"app-header-content-left"},[e._t("left",[r("i",{directives:[{name:"show",rawName:"v-show",value:e.showBackBtn,expression:"showBackBtn"}],staticClass:"yiyun_icon app-header-back-btn no-drag",class:{icon_topback_left:"white"===e.theme||"basis"===e.theme,icon_topback_left_baise:"black"===e.theme},on:{click:function(t){return e.navBack()}}}),r("span",{directives:[{name:"show",rawName:"v-show",value:e.backBtnTitle,expression:"backBtnTitle"}],staticClass:"back_title no-drag",on:{click:function(t){return e.navBack()}}},[e._v(e._s(e.backBtnTitle))])])],2),r("div",{staticClass:"app-header-center"},[e._t("center",[e._v(e._s(e.title))])],2),r("div",{staticClass:"app-header-content-right no-drag"},[e._t("right"),e.showRecycleBin?r("span",{on:{click:e.toRecycle}},[r("i",{staticClass:"Cicon icon font_family icon-icon_huishouzhan",class:{inRecycle:e.isInRecycle}})]):e._e(),e.showUserCenter?r("user-center"):e._e()],2)])])},n=[],s=r("1392"),i=r("1d40"),a={components:{UserCenter:s["a"]},props:{theme:String,showBackBtn:Boolean,backBtnTitle:String,onBackBtnClick:Function,title:String,showUserCenter:Boolean,showRecycleBin:Boolean,isInRecycle:Boolean,isShowLeftState:{type:Boolean,default:function(){return!0}},isWorkspaceTopBar:Boolean,isShowTopBar:Boolean},data:function(){return{isWindowScrollIng:!1,isClient:i["a"].isClient,isMaxWindowNow:!1,isCloseHover:!1}},computed:{isMaxWindowSize:function(){return this.$store.state.isMaxWindowSize},isOnLine:function(){return this.$store.state.gatewayState}},watch:{isMaxWindowSize:function(e){this.isMaxWindowNow=e}},created:function(){this.isMaxWindowNow="true"===sessionStorage.getItem("isMaxWindowNow")&&Boolean(sessionStorage.getItem("isMaxWindowNow"))},mounted:function(){window.addEventListener("scroll",this.handleScroll.bind(this),!0)},methods:{shrinkBrowserWindow:function(){i["a"].shrinkBrowserWindow()},judgeIsMaxBrowserWindow:function(){this.isMaxWindowNow?this.unmaxBrowserWindow():this.enlargeBrowserWindow()},enlargeBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),i["a"].enlargeBrowserWindow()},unmaxBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),i["a"].unmaxBrowserWindow()},closeBrowserWindow:function(){i["a"].closeBrowserWindow()},navBack:function(){this.onBackBtnClick?this.onBackBtnClick():this.$router.go(-1)},toRecycle:function(){this.$router.push({name:"recycle"})},handleScroll:function(){var e=document.getElementById("bigbody");this.isWindowScrollIng=e.scrollTop>0}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)}},c=a,l=(r("8fc1"),r("2877")),u=Object(l["a"])(c,o,n,!1,null,"06f5aedd",null);t["a"]=u.exports},"0bb4":function(e,t,r){"use strict";r("fb6a"),r("4d63"),r("ac1f"),r("25f0"),r("466d"),r("5319"),r("841c");t["a"]={getDateTimeString:function(e){var t=e.getFullYear(),r=e.getMonth()+1;r=r<10?"0"+r:r;var o=e.getDate();o=o<10?"0"+o:o;var n=e.getHours();n=n<10?"0"+n:n;var s=e.getMinutes();s=s<10?"0"+s:s;var i=e.getSeconds();i=i<10?"0"+i:i;var a=t+"-"+r+"-"+o+" "+n+":"+s+":"+i;return a},getDateTimeStringByStr:function(e){var t=new Date(e),r=t.getFullYear(),o=t.getMonth()+1;o=o<10?"0"+o:o;var n=t.getDate();n=n<10?"0"+n:n;var s=t.getHours();s=s<10?"0"+s:s;var i=t.getMinutes();i=i<10?"0"+i:i;var a=t.getSeconds();a=a<10?"0"+a:a;var c=r+"-"+o+"-"+n+" "+s+":"+i+":"+a;return c},formatDate:function(e){var t=e.getFullYear(),r=e.getMonth()+1,o=e.getDate();r=r<10?"0"+r:r,o=o<10?"0"+o:o;var n=t+"-"+r+"-"+o;return n},convertToDate:function(e){var t=e.slice(6,19),r=new Date(parseInt(t));return this.formatDate(r)},unixToDate:function(e,t){e=e.replace(/[^0-9]/gi,""),10==e.length&&(e*=1e3);var r=parseInt(e),o=new Date(r),n="";n+=o.getFullYear()+"-";var s=o.getMonth()+1;n+=s<10?"0"+s+"-":s+"-";var i=o.getDate();return n+=i<10?"0"+i:i,!0===t&&(n+=" "+o.getHours()+":",n+=o.getMinutes()+":",n+=o.getSeconds()),n},getUrlParams:function(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),r=window.location.search.substr(1).match(t);return null!=r?r[2]:null},validNumber:function(e,t,r){t?/^([0-9]+)$/.test(t)?r():r(new Error("只能输入整数")):t?r():r(new Error("这里不能为空"))},validNullOrNumber:function(e,t,r){t?/^([0-9]+)$/.test(t)?r():r(new Error("只能输入整数")):r()},validNullOrNumber2:function(e,t,r){t?/^([0-9]+)$/.test(t)?r():r(new Error(" ")):r()},validDecimal:function(e,t,r){t?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(t)?r():r(new Error("只能输入数字")):t?r():r(new Error("这里不能为空"))},validNullOrDecimal:function(e,t,r){t?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(t)?r():r(new Error("只能输入数字")):r()},validNullOrDecimal2:function(e,t,r){t?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(t)?r():r(new Error(" ")):r()},validRequired:function(e,t,r){t?r():r(new Error("这里不能为空"))},validEmail:function(e,t,r){if(""!=t){var o=/^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;o.test(t)?r():r(new Error("邮箱格式不正确!"))}else r()},validPhoneNum:function(e,t,r){if(""!=t){var o=/(^\d{11}$)/;o.test(t)?r():r(new Error("请输入11位有效手机号码!"))}else r(new Error("请输入手机号"))},validVerificationCode:function(e,t,r){if(""!=t){var o=/(^\d{6}$)/;o.test(t)?r():r(new Error("请输入有效的验证码!"))}else r(new Error("请输入验证码"))},validPhone:function(e,t,r){""!=t&&11!=t.length?r(new Error("请输入11位有效手机号码!")):r()},validPhoneAndRequired:function(e,t,r){""!=t?11!=t.length?r(new Error("请输入11位有效手机号码!")):r():r(new Error("请输入手机号"))},pathSubString:function(e){var t=e.slice(-22);return t},pageData:function(e,t,r){""!=t&&null!=t||(t=1),""!=e&&null!=e||(e=10);var o=(t-1)*e,n=o+e;n>r.length&&(n=r.length);var s=[];if(null!=r&&r.length>0)for(var i=o;i-1,r&&(t=t.replace(/y/g,"")));var a=i(I?new v(e,t):v(e,t),o?this:j,k);return P&&r&&f(a,{sticky:r}),a},y=function(e){e in k||a(k,e,{configurable:!0,get:function(){return v[e]},set:function(t){v[e]=t}})},B=c(v),x=0;while(B.length>x)y(B[x++]);j.constructor=k,k.prototype=j,d(n,"RegExp",k)}m("RegExp")},5122:function(e,t,r){},"63b7":function(e,t,r){"use strict";var o=r("fabf"),n=r.n(o);n.a},6654:function(e,t,r){"use strict";var o=r("6eb7"),n=r.n(o);n.a},"6d1d":function(e,t,r){},"6eb7":function(e,t,r){},"76ae":function(e,t,r){"use strict";var o=r("e9b0"),n=r.n(o);n.a},"7df1":function(e,t,r){"use strict";var o=r("a5b4"),n=r.n(o);n.a},"841c":function(e,t,r){"use strict";var o=r("d784"),n=r("825a"),s=r("1d80"),i=r("129f"),a=r("14c3");o("search",1,(function(e,t,r){return[function(t){var r=s(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,r):new RegExp(t)[e](String(r))},function(e){var o=r(t,e,this);if(o.done)return o.value;var s=n(e),c=String(this),l=s.lastIndex;i(l,0)||(s.lastIndex=0);var u=a(s,c);return i(s.lastIndex,l)||(s.lastIndex=l),null===u?-1:u.index}]}))},"8fc1":function(e,t,r){"use strict";var o=r("99ab"),n=r.n(o);n.a},"99ab":function(e,t,r){},"9d0d":function(e,t,r){"use strict";var o=r("cf15"),n=r.n(o);n.a},a06e:function(e,t,r){"use strict";r.d(t,"d",(function(){return s})),r.d(t,"c",(function(){return a})),r.d(t,"b",(function(){return l})),r.d(t,"a",(function(){return h})),r.d(t,"e",(function(){return p}));r("96cf");var o=r("1da1"),n=r("b775");function s(e){return i.apply(this,arguments)}function i(){return i=Object(o["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(n["b"])("project/queryProjectListByUserId",{userId:t});case 2:return r=e.sent,e.abrupt("return",Object(n["c"])(r));case 4:case"end":return e.stop()}}),e)}))),i.apply(this,arguments)}function a(e){return c.apply(this,arguments)}function c(){return c=Object(o["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(n["b"])("project/queryProjectInfoByProjId",{projId:t});case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function l(e){return u.apply(this,arguments)}function u(){return u=Object(o["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(n["b"])("project/editProject",t);case 2:return r=e.sent,e.abrupt("return",Object(n["c"])(r));case 4:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function h(e){return d.apply(this,arguments)}function d(){return d=Object(o["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(n["b"])("project/assignedWork",t);case 2:return r=e.sent,e.abrupt("return",Object(n["c"])(r));case 4:case"end":return e.stop()}}),e)}))),d.apply(this,arguments)}function p(e){return f.apply(this,arguments)}function f(){return f=Object(o["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(n["b"])("project/searchProject",{projName:t});case 2:return r=e.sent,e.abrupt("return",Object(n["c"])(r));case 4:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}},a5b4:function(e,t,r){},c95a:function(e,t,r){"use strict";var o=r("5122"),n=r.n(o);n.a},caad:function(e,t,r){"use strict";var o=r("23e7"),n=r("4d64").includes,s=r("44d2"),i=r("ae40"),a=i("indexOf",{ACCESSORS:!0,1:0});o({target:"Array",proto:!0,forced:!a},{includes:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}}),s("includes")},cf15:function(e,t,r){},e9b0:function(e,t,r){},ec82:function(e,t,r){"use strict";var o=r("6d1d"),n=r.n(o);n.a},f96e:function(e,t,r){"use strict";var o=r("01a8");r.d(t,"a",(function(){return o["a"]}))},fabf:function(e,t,r){}}]); \ No newline at end of file diff --git a/static/js/chunk-550c5be4.cfedd08d.js b/static/js/chunk-550c5be4.39af2686.js similarity index 100% rename from static/js/chunk-550c5be4.cfedd08d.js rename to static/js/chunk-550c5be4.39af2686.js diff --git a/static/js/chunk-584d398d.4efa8ffb.js b/static/js/chunk-584d398d.62d6cd18.js similarity index 100% rename from static/js/chunk-584d398d.4efa8ffb.js rename to static/js/chunk-584d398d.62d6cd18.js diff --git a/static/js/chunk-5e79f418.5d961cee.js b/static/js/chunk-5e79f418.86ae9a59.js similarity index 100% rename from static/js/chunk-5e79f418.5d961cee.js rename to static/js/chunk-5e79f418.86ae9a59.js diff --git a/static/js/chunk-638e5b5a.b2f51abe.js b/static/js/chunk-638e5b5a.d37eaafc.js similarity index 100% rename from static/js/chunk-638e5b5a.b2f51abe.js rename to static/js/chunk-638e5b5a.d37eaafc.js diff --git a/static/js/chunk-655d6881.0f0e3dfc.js b/static/js/chunk-655d6881.1701476b.js similarity index 100% rename from static/js/chunk-655d6881.0f0e3dfc.js rename to static/js/chunk-655d6881.1701476b.js diff --git a/static/js/chunk-6a615eb9.8416994b.js b/static/js/chunk-6a615eb9.8416994b.js deleted file mode 100644 index 9de8531d..00000000 --- a/static/js/chunk-6a615eb9.8416994b.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6a615eb9"],{"011a":function(e,t,s){"use strict";s.r(t);var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{attrs:{id:"app"}},[s("app-header",{attrs:{showUserCenter:!0,id:"proj-list-page",showRecycleBin:""},scopedSlots:e._u([{key:"left",fn:function(){return[e._v(" "+e._s(e.currentPlatform.orgName)+" ")]},proxy:!0},{key:"center",fn:function(){return[s("div",{staticClass:"main-title"},[e._v(e._s(e.showCenterTitle))])]},proxy:!0},{key:"right",fn:function(){return[s("search-bar",{staticClass:"proj-search-bar",attrs:{placeholder:"搜索项目名称"},on:{changeSearchContent:e.changeSearchContent,hideSearchBar:e.hideSearchBar,showSearchBar:e.showSearchBar,goToSearch:e.searchForProj,maxTextLengthArrived:e.maxTextLengthArrived}})]},proxy:!0}])}),s("div",{staticClass:"layout_content"},[s("section",{staticClass:"yiyun_warpContent"},[s("div",{staticClass:"yiyun-rows mt-20",attrs:{id:"new"}},[s("div",{staticClass:"yiyun-col-4 timer-part"},[s("div",{staticClass:"yiyun_row",staticStyle:{width:"95%"}},[s("timer",{attrs:{cnName:e.cnName}})],1)]),e._m(0)]),e.noProjTip?s("div",{staticStyle:{"margin-left":"50%","margin-top":"25%"}},[s("h1",[e._v("空空如也")])]):e._e()]),e.isUserPerm?s("button",{staticClass:"yiyun_btn_new new-btn-margin",attrs:{id:"buttonbtn"},on:{click:function(t){return t.stopPropagation(),e.createNewProjectClick(t)}}},[e._v("新建项目")]):e._e(),s("proj-list",{attrs:{id:"proj-list",projList:e.showProjList,openPrjInfo:e.openPrjInfo,addNewFolders:e.addNewFolders},on:{watchAllBtnClick:e.watchAllBtnClick,lookProjDetailClick:e.lookProjDetailClick}})],1),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isBottomNewProj,expression:"isBottomNewProj"}],staticClass:"bottomdialog",staticStyle:{height:"60px"}},[s("div",{staticClass:"yiyun_dialog_left yiyun_zhedie",staticStyle:{"margin-top":"10px"},on:{click:e.showContinueNewProj}},[e._m(1)]),e._m(2),s("div",{staticClass:"yiyun_dialog_right yiyundialog_close",staticStyle:{"margin-top":"15px"},on:{click:e.closeNewProj}},[e._v("关闭")])]),s("transition-group",{attrs:{css:!1},on:{"before-enter":e.beforeEnter,enter:e.enter,leave:e.leave}},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isNewProj,expression:"isNewProj"}],key:0,staticClass:"bottomdialogbox bg_baise"},[s("NewProj",{attrs:{isNewProj:e.isNewProj},on:{refreshListProj:e.refreshListProj,isShowBottom:e.showzhankai,createProjSuccess:e.createProjSuccess}})],1),e.isAloneDistProj?s("div",{key:1,staticClass:"bottomdialogbox bg_baise",staticStyle:{color:"white"}},[s("DistWork",{on:{offDialog:e.closeDistWork}})],1):e._e(),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowProjSetting,expression:"isShowProjSetting"}],key:2,staticClass:"bottomdialogbox bg_baise",staticStyle:{color:"white"}},[s("ProjSetting",{attrs:{isProjManager:e.isProjectManager,createUserId:e.createUserId,projId:e.currProjId,nowprj:e.nowProj,isSetFolder:e.isEditProjFolder},on:{offDialog:e.closeProjSet,editSuccess:e.projEditSuccess}})],1)])],1)},i=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"yiyun-col-4"},[s("div",{staticClass:"yiyun_row"},[s("div",{staticClass:"section_item fr section_item_aside_fr"})])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("span",{staticClass:"yiyun_zhankaibtn"},[s("i",{staticClass:"Cicon text_gray icon font_family icon-icon_zhankai",attrs:{title:"展开面板"}})])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"yiyun_dialog_center"},[s("div",{staticClass:"bottomdialogbox_list_head newProject_next_taggle1 line_H60"},[s("div",{staticClass:"yiyun_col-6 fl"},[s("h3",[e._v("继续-新建项目")])])])])}],a=(s("caad"),s("96cf"),s("1da1")),n=s("0bb4"),o=s("f96e"),l=s("2f4c"),c=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isBottomNewProj,expression:"isBottomNewProj"}],staticClass:"bottomdialog",staticStyle:{height:"60px"}},[s("div",{staticClass:"yiyun_dialog_left yiyun_zhedie",staticStyle:{"margin-top":"10px"},on:{click:e.offDialog}},[e._v(" 关闭 ")]),e._m(0)]),s("div",{staticClass:"bottomdialog"},[s("div",{staticClass:"yiyun_dialog_left yiyun_zhedie"},[s("span",{on:{click:e.offDialog}},[e._v("关闭")])]),s("div",{staticClass:"yiyun_dialog_center"},[s("span",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowThreePage&&e.isShowManager,expression:"isShowThreePage == true && isShowManager"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backFirstPage}},[s("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),s("span",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowSecondPage,expression:"isShowSecondPage == true"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.toFirstPage}},[s("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),s("span",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowPrjDesc,expression:"isShowPrjDesc == true"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backFirstPage}},[s("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),s("div",{staticClass:"bottomdialogbox_list_head newProject_next_taggle1"},[s("div",{staticClass:"EC_col_16"},[s("h3",{directives:[{name:"show",rawName:"v-show",value:e.isShowFirstPage,expression:"isShowFirstPage"}],attrs:{title:e.curProjCreatePeop}},[e._v(" "+e._s(e.curProjCreatePeop)+" ")]),s("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowPrjDesc,expression:"isShowPrjDesc == true"}]},[e._v("项目概况")]),s("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowSecondPage||1==e.isShowThreePage,expression:"isShowSecondPage == true || isShowThreePage == true"}]},[e._v("指派职员")])]),s("div",{staticClass:"EC_col_8"},[s("div",{staticClass:"fr mt-26"},[s("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowSecondPage,expression:"isShowSecondPage == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.backFirstPage}},[e._v("确定")]),s("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowThreePage,expression:"isShowThreePage == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.backFirstPage}},[e._v("确定")]),s("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowFirstPage,expression:"isShowFirstPage == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.submitAndClose}},[e._v("完成")])],1)]),s("div",{staticClass:"clear"}),s("div",{staticClass:"yiyun_Tbline"})])]),s("div",{staticClass:"yiyun_dialog_right yiyundialog_close"}),s("div",{staticClass:"clear"}),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowdivid2,expression:"isShowdivid2"}],staticClass:"linescoll"}),s("div",{staticClass:"dialogcontentbody",attrs:{id:"bottomDiaBody2"}},[s("div",{class:{dialogcontentbodyrow:e.isShowFirstPage},attrs:{id:"bottomDiaChild2"}},[s("div",{staticClass:"centerWarpDia"},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowFirstPage,expression:"isShowFirstPage"}],staticClass:"PaincenterBox"},[s("div",{staticClass:"xiezuobox"},[s("div",{staticClass:"clear"}),s("div",{staticClass:"line_from"},[e.isProjManager?s("div",{staticClass:"fuzeren"},[s("div",[s("span",{staticClass:"label_text",class:{notclick:!e.isAllowedAssignedManager}},[e._v("项目管理权限")])]),s("div",{staticClass:"mt-10"},[s("div",{staticClass:"fl firstPeople"},[s("div",{class:{notclick:!e.isAllowedAssignedManager}},[s("div",{staticClass:"avtarface",attrs:{title:e.currUser.cnName}},[s("img",{attrs:{src:e._f("resolveAvator")(e.currUser.headImgUrl)}})]),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(e.currUser.cnName))])])]),s("div",{staticClass:"fl vhLine mlr-20"}),e.isAllowedAssignedManager?s("div",{staticClass:"fl addBtn_new",attrs:{title:"添加项目负责人"},on:{click:function(t){return e.addProjManager()}}},[s("i",{staticClass:"el-icon-plus middleaddEC"})]):e._e(),s("div",{staticClass:"fl chengyuanbox"},[s("ul",{staticClass:"ECworkerList"},e._l(e.listManagerUser,(function(t,r){return s("li",{key:r,class:{notclick:!e.isAllowedAssignedManager}},[r<14||e.showAll?s("div",[s("div",{staticClass:"avtarface",attrs:{title:t.cnName}},[s("img",{attrs:{src:e._f("resolveAvator")(t.headImgUrl)}})]),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(t.cnName))])]):e._e(),14!=r||e.showAll?e._e():s("div",{on:{click:e.showAllClick}},[s("span",{staticClass:"zhangkai_down"}),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("展开全部")])]),e.showAll&&r==e.listManagerUser.length-1&&r>14?s("div",{staticClass:"newweizhi",on:{click:function(t){e.showAll=!1}}},[s("span",{staticClass:"zhangkai_up"}),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("收起项目负责人")])]):e._e()])})),0)])])]):e._e(),s("folder-list",{attrs:{id:e.userId,folderList:e.listNewFolder,allManager:e.currUser,allManagerChild:e.listManagerUser,aloneAddUserForFolder:e.aloneAddUserForFolder,aloneAddUserOnlyStaff:e.aloneAddUserOnlyStaff,allChildrenLists:e.allChildrenLists}})],1)])]),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowPrjDesc,expression:"isShowPrjDesc"}],staticClass:"PaincenterBox"},[s("el-form",{ref:"",staticClass:"line_from",attrs:{"label-width":"100px","label-position":"left"},model:{value:e.nowProject,callback:function(t){e.nowProject=t},expression:"nowProject"}},[s("div",{staticClass:"yiyun_col-6 fl"},[s("div",{staticClass:"bianju_item_fr"},[s("el-form-item",{attrs:{label:"项目负责:"}},[s("span",[e._v(e._s(e.nowProject.cnName))])])],1)]),s("div",{staticClass:"yiyun_col-6 fl"},[s("div",{staticClass:"bianju_item_fr"},[s("el-form-item",{attrs:{label:"创建时间:"}},[s("span",[e._v(e._s(e.nowProject.strCreateTime))])])],1)]),e._l(e.listProjProp,(function(t){return s("div",{key:t.propertyID,staticClass:"yiyun_col-12 fl"},[s("div",{staticClass:"yiyunlargeItem"},[s("el-form-item",{attrs:{label:t.propName+":"}},[s("span",[e._v(e._s(t.propValue))])])],1)])}))],2)],1),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSecondPage||e.isShowThreePage,expression:"isShowSecondPage || isShowThreePage"}],staticClass:"PaincenterBox"},[s("div",{staticClass:"xiezuobox"},[s("div",{staticClass:"yiyun_col-6 bg_text_wirte mt-8 left-dept-wrap"},[s("div",{staticClass:"row_painfl"},[s("el-collapse",{attrs:{accordion:""},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[s("el-collapse-item",{staticClass:"nomidline",attrs:{name:"1"}},[s("template",{slot:"title"},[s("span",[e._v("从部门中选择职员")])]),e._l(e.listDept,(function(t,r){return s("el-collapse",{directives:[{name:"show",rawName:"v-show",value:t.listUser.length>0,expression:"dept.listUser.length>0"}],key:r,attrs:{accordion:""}},[s("el-collapse-item",[s("template",{slot:"title"},[s("span",[e._v(e._s(t.deptName)+" ")])]),e._l(t.listUser,(function(t,i){return s("div",{key:i,staticClass:"user_info_item",attrs:{label:t}},[s("el-checkbox",{staticClass:"checkBoxCol",attrs:{disabled:e.disabled},on:{change:function(s){return e.handleCheckedOne(r,t,s)}},model:{value:t.selected,callback:function(s){e.$set(t,"selected",s)},expression:"user.selected"}},[s("div",{staticClass:"checkboxlabelitem"},[s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),s("span",{staticClass:"user_info_role"},[e._v(e._s(t.roleName))])])])],1)}))],2)],1)}))],2)],1)],1)]),s("div",{staticClass:"shuxian"}),s("div",{staticClass:"yiyun_col-6"},[s("h4",{staticClass:"rightXiezuoren"},[e._v("已选职员")]),s("div",{staticClass:"yiyun_line set-yiyun-line"}),s("div",{staticClass:"right-selected-user-wrap"},e._l(e.listDeptComputed,(function(t){return s("div",{key:t.id,staticClass:"row_painfr"},[e._l(e.listDeptUserNoZero(e.selectedUser),(function(r){return s("div",{key:r},[r==t.id?s("div",[s("span",[e._v(e._s(t.deptName))])]):e._e()])})),e._l(e.selectedUser,(function(r,i){return s("div",{key:i,staticClass:"renyuanbox"},[r.deptId==t.id?s("div",{staticClass:"user_info_item",on:{click:function(t){return t.stopPropagation(),e.changeManagerClick(r)}}},[2==r.folderPerm?s("i",{staticClass:"icon font_family icon-icon_huangguan-jihuo middlehuangguan fl set-crown-position",attrs:{title:"负责人"}}):e._e(),s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(r.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(r.cnName))]),s("span",{staticClass:"user_info_role"},[s("i",{staticClass:"el-icon-close",attrs:{title:"移除协作人"},on:{click:function(t){return t.stopPropagation(),e.removeSelectUser(r)}}})])]):e._e()])}))],2)})),0)])])])])])])])])},u=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"yiyun_dialog_center"},[s("div",{staticClass:"bottomdialogbox_list_head newProject_next_taggle1 line_H60"},[s("div",{staticClass:"yiyun_col-6 fl"},[s("h3",[e._v("继续-新建项目")])])])])}],d=(s("4de4"),s("7db0"),s("4160"),s("a15b"),s("d81d"),s("13d5"),s("fb6a"),s("a434"),s("b0c0"),s("d3b7"),s("ac1f"),s("6062"),s("2532"),s("3ca3"),s("1276"),s("159b"),s("ddb0"),s("5530")),h=s("4f96"),f=s("3835"),p=s("2909"),m=s("93d6"),v=s("2ef0"),g=s("b775"),w=s("3de1"),_=s("a06e"),C=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",e._l(e.folderList,(function(t,r){return s("div",{key:r,staticClass:"tianjiaxiezuorenBox"},[s("div",{staticClass:"self_newitem"},[s("h5",{staticClass:"fl label_text",class:{notclick:!(e.isAllowedAssignedFolder(t)||e.isStaff(t))}},[s("i",{directives:[{name:"show",rawName:"v-show",value:t.listChildren&&t.listChildren.length,expression:"folder.listChildren && folder.listChildren.length"}],staticClass:"hand",class:t.expanded?"el-icon-caret-bottom":"el-icon-caret-right",on:{click:function(s){return e.toggleFolderExpand(t)}}}),e._v(" "+e._s(t.folderName)+" ")])]),s("div",[s("div",{staticClass:"fl firstPeople"},[""==t.manageUser?s("div",[e.isAllowedAssignedFolder(t)?s("div",{staticClass:"avtarface",on:{click:function(s){return e.aloneAddUserForFolder(t)}}},[s("i",{staticClass:"large_huangguan el-icon-plus"})]):s("div",{staticClass:"avtarface notclick"},[s("img",{attrs:{src:"/static/img/暂无.svg",alt:"",srcset:""}})]),s("span",{staticClass:"Text_tiny tinyText_wirte",class:{"notclick noManagerText":!e.isAllowedAssignedFolder(t)}},[e._v("工作负责人")])]):e._e(),e._l(t.manageUser,(function(r,i){return s("li",{key:i},[s("div",[e.isAllowedAssignedFolder(t)?s("div",{staticClass:"avtarface",attrs:{title:"编辑"}},[s("img",{attrs:{src:e._f("resolveAvator")(r.headImgUrl)},on:{click:function(s){return e.aloneAddUserForFolder(t)}}})]):s("div",{staticClass:"avtarface notclick",class:{allopacity:e.isStaff(t)},attrs:{title:"编辑"}},[s("img",{attrs:{src:e._f("resolveAvator")(r.headImgUrl)}})]),s("span",{staticClass:"Text_tiny tinyText_wirte",class:{notclick:!e.isAllowedAssignedFolder(t),allopacity:e.isStaff(t)}},[e._v(e._s(r.cnName))])])])}))],2),s("div",{staticClass:"fl vhLine mlr-20"}),e.isAllowedAssignedStaffFolder(t)?s("div",{staticClass:"fl addBtn_new",attrs:{title:"添加职员"},on:{click:function(s){return e.aloneAddUserOnlyStaff(t)}}},[s("i",{staticClass:"el-icon-plus middleaddEC"})]):e._e(),s("div",{staticClass:"fl chengyuanbox"},[s("ul",{staticClass:"ECworkerList"},e._l(e.listUserComputed(t.listUser),(function(r,i){return s("li",{key:i,class:{notclick:!(e.isAllowedAssignedStaffFolder(t)||e.isStaff(t))}},[i<14||e.showAll?s("div",[s("div",{staticClass:"avtarface",attrs:{title:"编辑"}},[s("img",{attrs:{src:e._f("resolveAvator")(r.headImgUrl)}})]),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(r.cnName))])]):e._e(),14!=i||e.showAll?e._e():s("div",{on:{click:e.showAllClick}},[s("span",{staticClass:"zhangkai_down"}),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("展开全部")])]),e.showAll&&i==e.listUserComputed(t.listUser).length-1&&i>14?s("div",{staticClass:"newweizhi",on:{click:function(t){e.showAll=!1}}},[s("span",{staticClass:"zhangkai_up"}),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("收起职员")])]):e._e()])})),0)]),s("div",{staticClass:"clear"})]),t.listChildren?[s("folder-list",{directives:[{name:"show",rawName:"v-show",value:t.expanded,expression:"folder.expanded"}],staticClass:"folder-children",attrs:{folderList:t.listChildren,id:e.id,allManager:e.allManager,allManagerChild:e.allManagerChild,aloneAddUserForFolder:e.aloneAddUserForFolder,aloneAddUserOnlyStaff:e.aloneAddUserOnlyStaff,allChildrenLists:e.allChildrenLists}})]:e._e()],2)})),0)},j=[],P=(s("45fc"),{name:"folderList",props:{id:String,allManager:Object,allManagerChild:Array,folderList:Array,aloneAddUserForFolder:Function,aloneAddUserOnlyStaff:Function,allChildrenLists:Array},data:function(){return{showAll:!1}},methods:{showAllClick:function(){this.showAll=!0},toggleFolderExpand:function(e){e.expanded=!e.expanded,this.$forceUpdate()},isAllowedAssignedFolder:function(e){var t=this;return this.allManager.id==this.id||this.allManagerChild.length>0&&this.allManagerChild.find((function(e){return e.id==t.id}))||this.allChildrenLists.length>0&&this.allChildrenLists.includes(e)},isAllowedAssignedStaffFolder:function(e){return""!=e.manageUser&&e.manageUser[0].id==this.id||this.isAllowedAssignedFolder(e)},isStaff:function(e){var t=this;return e.listUser.some((function(e){return e.id===t.id}))}},computed:{listUserComputed:function(){return function(e){return e.filter((function(e){return 2!=e.folderPerm}))}}}}),S=P,y=(s("f044"),s("2877")),b=Object(y["a"])(S,C,j,!1,null,"cc1419c4",null),k=b.exports,D={components:{FolderList:k},data:function(){return{imgSrc:"/api/archives/cover?path=",headSrc:"/api/archives/head?path=",cnName:"",selectedUser:[],selectedManageUser:[],showTitle:"1",disabled:!1,checked:!1,activeName:"1",showAll:!1,isBottomNewProj:!1,nodeLeaves:!1,isShowStaffList:!1,opentree:!0,ischeckAll:!1,nowProject:{},isShowPrjDesc:!1,isSlectPal:!0,folderPerm:"1",isShowFirstPage:!0,isShowSecondPage:!1,isShowThreePage:!1,InitData:{},listNewFolder:[],listProjProp:[],listDept:[],curProjCreatePeop:[],currWorkName:"",newProjFolderIndex:1,tempIndex:0,isShowdivid2:!1,currSelectData:[],currUser:{},isShowManager:!0,listManagerUser:[],oldListManagerUser:[],isProjManager:!1,currListDeptUserData:[],userList:[],finishBtnClickCount:0,userId:sessionStorage.userId,allChildrenLists:[]}},created:function(){this.loadProjManager()},mounted:function(){this._getUserInfo(sessionStorage.userId),this.cnName=JSON.parse(sessionStorage.user).cnName,window.addEventListener("scroll",this.handleScroll,!0),this.fetchProjectDetail()},computed:{isAllowedAssignedManager:function(){var e=this;return this.currUser.id==this.userId||this.listManagerUser.length>0&&this.listManagerUser.find((function(t){return t.id==e.userId}))},listDeptComputed:function(){return this.listDept.filter((function(e){return e.listUser.length>0}))},listManagerComputed:function(){return function(e){return e.filter((function(e){return 2==e.folderPerm}))}},listUserComputed:function(){return function(e){return e.filter((function(e){return 2!=e.folderPerm}))}},listUserManager:function(e){return function(e){return e.filter((function(e){return 2==e.folderPerm||0==e.folderPerm}))}},listUserStaff:function(e){return function(e){return e.filter((function(e){return 2!=e.folderPerm}))}},listDeptUserNoZero:function(e){return function(e){for(var t=[],s=0;s0&&this.InitData.manageUser[0].id==sessionStorage.userId&&!this.allChildrenLists.includes(this.InitData)&&e.id==this.InitData.manageUser[0].id},changeManagerClick:function(e){var t=this;if(this.isShowManager){var s=this.listManagerUser.map((function(e){return e.id}))||[];!s.includes(sessionStorage.userId)&&this.currUser.id!==sessionStorage.userId&&this.InitData.manageUser&&this.InitData.manageUser.length>0&&this.InitData.manageUser[0].id==sessionStorage.userId&&!this.allChildrenLists.includes(this.InitData)?this.$notify({type:"warning",title:"温馨提示",message:"没有权限更换工作负责人。",offset:100,duration:5e3}):this.selectedUser.forEach((function(s){s.folderPerm=s.id===e.id?2:1,2===s.folderPerm&&t.InitData.manageUser.splice(0,1,s)}))}},loadProjManager:function(){var e=this;this.$axios({method:"get",url:encodeURI("/api/projects/manager/"+sessionStorage.projId+"/"+sessionStorage.userId)}).then((function(t){null!=t.data&&""!=t.data&&(e.isProjManager=t.data.isProjManager)})).catch((function(e){console.log(e)}))},handleScroll:function(){var e=document.getElementById("bottomDiaChild2");e.scrollTop&&e.scrollTop>0?this.isShowdivid2=!0:this.isShowdivid2=!1},isAllhide:function(){this.isShowPrjDesc=!1,this.isShowThreePage=!1,this.isShowSecondPage=!1},offDialog:function(){this.selectedUser=[],this.selectedManageUser=[],this.$emit("offDialog",this.$route.name)},showzhankai:function(){this.isBottomNewProj=!0},showContinueNewProj:function(){this.isBottomNewProj=!1},backFirstPage:function(){var e=this;this.listDept=JSON.parse(JSON.stringify(this.currListDeptUserData)),this.isShowManager||(this.listManagerUser=[],this.selectedUser.forEach((function(t){t.id!=e.currUser.id&&e.listManagerUser.push(t)}))),this.isAllhide(),this.isShowManager=!0,this.isShowFirstPage=!0},toFirstPage:function(){var e=this;this.$confirm("退出“职员选择”您编辑的内容被清空,确定退出?","",{confirmButtonText:"退出",cancelButtonText:"取消",showClose:!1,type:"warning"}).then((function(){for(var t=0;t2&&void 0!==arguments[2]?arguments[2]:[];return(e||[]).forEach((function(e){var i=e.data;i.listUser=t.filter((function(t){return t.deptId===e.id})),r.push(i),e.children&&e.children.length&&s.plainTreeNodes(e.children,t,r)})),r},addProjManager:function(){var e=this;this.isShowManager=!1,this.isShowStaffList=!0;var t={listUser:[]};t.listUser=this.listManagerUser,this.setFolderPerm(t),this.selectedUser=t.listUser;var s=t.listUser.find((function(t){return t.id===e.currUser.id}));s||(this.currUser.folderPerm=2,t.listUser.push(this.currUser)),this.selectedManageUser=[],this.isShowThreePage=!0,this.isShowFirstPage=!1},handleCheckTopAll:function(e){for(var t=0;t0&&this.handleCheckItemAll(t,e)},handleCheckItemAll:function(e,t){for(var s=0;s0&&(t++,1==this.listDept[s].selected&&e++);this.ischeckAll=e==t&&0!==e&&0!==t},removeSelectUser:function(e){e.id!=this.currUser.id||this.isShowManager?e.id!=sessionStorage.userId||this.isShowManager?this.isAllowedDelete(e)?this.$notify({type:"warning",title:"温馨提示",message:"没有权限移除自己。",offset:100,duration:5e3}):2==e.folderPerm?this.removeManageUser(e):(this.checkDeptUserName(!1,e),this.cancelCheck(e.id)):this.$notify({message:"不能移除自己。",offset:100,duration:5e3}):this.$notify({type:"warning",message:"没有权限删除项目创建者。",offset:100,duration:5e3})},removeManageUser:function(e){e.folderPerm=0;for(var t=0;t0&&1==this.isShowThreePage?this.isShowStaffList=!0:this.isShowStaffList=!1},goShowPrjDesc:function(){this.isShowPrjDesc=!0,this.isShowFirstPage=!1},showAllClick:function(){this.showAll=!0},openECtree:function(e){this.nodeLeaves=!0,this.opentree=!1},closeECtree:function(e){this.nodeLeaves=!1,this.opentree=!0},getChildren:function(e,t){var s=this;e.forEach((function(e){t.push(e),e.listChildren.length>0&&s.getChildren(e.listChildren,t)}))},getAllChildrenLists:function(e,t,s){var r=this;e.forEach((function(e){e.manageUser.length>0&&e.manageUser[0].id==t&&e.listChildren.length>0&&r.getChildren(e.listChildren,s)}))},getfolderPerm:function(e){var t=this;e.forEach((function(e){e.listUser.forEach((function(e){e.folderPerm=1})),e.manageUser.length>0&&(e.manageUser[0].folderPerm=2,e.listUser.push(e.manageUser[0])),e.listChildren.length>0&&t.getfolderPerm(e.listChildren)}))},fetchProjectDetail:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var s,r,i,a,n,o,l,c,u,d,h;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([e.getUserList(),e.$fetchApi("folder/queryNodeFolderListByProjectId",{projectId:sessionStorage.projId}),Object(m["e"])(e.$store.state.currentCompanyId)]);case 2:s=t.sent,r=Object(f["a"])(s,3),i=r[0],a=r[1],n=r[2],o=e.plainTreeNodes(n,i),o.forEach((function(e){e.listUser=e.listUser.sort((function(e,t){return e.cnName.localeCompare(t.cnName)}))})),e.listDept=o,e.currListDeptUserData=o,l=a.Data||{},c=l.folder,u=l.manager,console.log(c,u,i),d=i.reduce((function(e,t){return e[t.id]=t,e}),{}),e.listManagerUser=u.map((function(e){return d[e.UserId]})),e.listManagerUser.length&&(e.currUser=e.listManagerUser[0]||{},e.listManagerUser=e.listManagerUser.slice(1)),e.oldListManagerUser=Object(v["cloneDeep"])(e.listManagerUser),h=I(c,d),e.getfolderPerm(h),e.listNewFolder=h,e.getAllChildrenLists(e.listNewFolder,e.userId,e.allChildrenLists);case 21:case"end":return t.stop()}}),t)})))()},getUserList:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(m["g"])({id:e.$store.state.currentCompanyId,nodeType:"company"},1,1e4);case 2:return s=t.sent,r=s.list,e.userList=r,t.abrupt("return",r);case 6:case"end":return t.stop()}}),t)})))()},_getUserInfo:function(e){var t=this;return Object(a["a"])(regeneratorRuntime.mark((function s(){var r;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,Object(m["f"])(e);case 3:return s.sent,s.next=6,Object(m["f"])(sessionStorage.createUserID);case 6:r=s.sent,t.curProjCreatePeop=r.cnName+" 指派了新工作,请完成工作指派",1==sessionStorage.allocated&&(t.curProjCreatePeop="项目管理"),t.isProjManager=!0,s.next=15;break;case 12:s.prev=12,s.t0=s["catch"](0),console.log(s.t0);case 15:case"end":return s.stop()}}),s,null,[[0,12]])})))()},createFolders:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var s,r,i,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=function(e){e.length>0&&e.forEach((function(e){var t={FolderId:"",ManagerUserId:"",GeneralId:"",OldManager:"",OldGeneralId:""};t.FolderId=e.id;var i=[];t.ManagerUserId=e.manageUser.length>0?e.manageUser.map((function(e){return i.push(e.id),e.id})).join(","):"";var a=e.listUser.filter((function(e){return!i.includes(e.id)}));t.GeneralId=e.listUser.length>0?a.map((function(e){return e.id})).join(","):"",t.OldManager=e.oldManager,t.OldGeneralId=e.oldGeneralId,s.Work.push(t),r(e.listChildren)}))},s={Id:sessionStorage.createUserID,ProjId:sessionStorage.projId,ProjectManagerId:"",OldProjectManagerId:e.oldListManagerUser.map((function(e){return e.id})).join(","),Work:[]},s.ProjectManagerId=e.listManagerUser.length>0?e.listManagerUser.map((function(e){if(e.id!==sessionStorage.createUserID)return e.id})).join(","):"",r(e.listNewFolder),t.next=6,Object(_["a"])(s);case 6:i=t.sent,console.log(i),a=e,0===i.Code?(a.$notify({message:"工作指派完成。",type:"success",offset:100,duration:2500}),a.offDialog()):a.$notify({type:"error",message:"服务器异常,工作指派失败。",offset:100,duration:5e3});case 10:case"end":return t.stop()}}),t)})))()}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll,!0)}};function I(e,t){var s=Object(h["a"])(e),r=s[0],i=(s[1],s.slice(2)),a=r.Id,n=[],o={};return i.forEach((function(e){var s=Object(w["b"])(e);o[s.id]=s,s.listChildren=[],s.listUser=s.oldGeneralId.split(",").filter((function(e){return e})).map((function(e){return Object(d["a"])({},t[e])})),s.manageUser=("0"===s.oldManager?"":s.oldManager).split(",").filter((function(e){return e})).map((function(e){return Object(d["a"])({},t[e])}));var r=s.superId;if(r!==a){var i=o[r];i&&i.listChildren.push(s)}else n.push(s)})),n}var U=D,x=(s("d5e1"),Object(y["a"])(U,c,u,!1,null,"22df4093",null)),N=x.exports,T=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{staticClass:"bottomdialog"},[r("div",{staticClass:"yiyun_dialog_left yiyun_zhedie"},[r("span",{on:{click:e.offDialog}},[e._v("关闭")])]),r("div",{staticClass:"yiyun_dialog_center"},[r("span",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkDialog,expression:"marchWorkDialog == true"}],staticClass:"backshangyicheng prev_to_1",on:{click:e.backdistNewProj}},[r("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),r("span",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkerDialog,expression:"marchWorkerDialog == true"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backWorkerPal}},[r("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),r("span",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkerPalDialog,expression:"marchWorkerPalDialog == true"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backdistWork}},[r("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),r("span",{directives:[{name:"show",rawName:"v-show",value:1==e.ProjInfoDialog,expression:"ProjInfoDialog == true"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backdistProjName}},[r("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),r("div",{staticClass:"bottomdialogbox_list_head newProject_next_taggle1"},[r("div",{staticClass:"EC_col_16"},[r("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.NewProductDailog,expression:"NewProductDailog == true"}]},[e._v("新建项目")]),r("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.ProjInfoDialog,expression:"ProjInfoDialog == true"}]},[e._v("项目概况")]),r("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkDialog,expression:"marchWorkDialog == true"}]},[e._v("工作指派")]),r("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkerDialog,expression:"marchWorkerDialog == true"}]},[e._v("指派职员")]),r("h3",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkerPalDialog,expression:"marchWorkerPalDialog == true"}]},[e._v("指派工作负责人")])]),r("div",{staticClass:"EC_col_8"},[r("div",{staticClass:"fr mt-26"},[r("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.NewProductDailog,expression:"NewProductDailog == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.goprojInfo}},[e._v("下一步")]),r("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.ProjInfoDialog,expression:"ProjInfoDialog == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:"",disabled:e.isDisableCreate},on:{click:e.createProject}},[e._v("创建项目")])],1)]),r("div",{staticClass:"clear"}),r("div",{staticClass:"yiyun_Tbline"})])]),r("div",{staticClass:"yiyun_dialog_right yiyundialog_close"}),r("div",{staticClass:"clear"}),r("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowdivid,expression:"isShowdivid"}],staticClass:"linescoll"}),r("div",{staticClass:"dialogcontentbody",attrs:{id:"bottomDiaBody"}},[r("div",{ref:"diaNewproH",staticClass:"dialogcontentbodyrow",attrs:{id:"bottomDiaChild"}},[r("div",{staticClass:"centerWarpDia"},[r("div",{directives:[{name:"show",rawName:"v-show",value:1==e.NewProductDailog,expression:"NewProductDailog == true"}],staticClass:"PaincenterBox"},[r("el-form",{ref:"",staticClass:"line_from",attrs:{"label-width":"100px","label-position":"left"},model:{value:e.newProjData,callback:function(t){e.newProjData=t},expression:"newProjData"}},[r("div",{staticClass:"yiyun_col-12 fl",staticStyle:{"margin-left":"4px"}},[r("div",{staticClass:"yiyunlargeItem"},[r("el-form-item",{attrs:{label:"项目名称"}},[r("el-input",{staticClass:"labelinputbefore",attrs:{placeholder:"请输入项目名称"},model:{value:e.newProjData.projectData.projName,callback:function(t){e.$set(e.newProjData.projectData,"projName",t)},expression:"newProjData.projectData.projName"}})],1)],1)]),r("div",{staticClass:"yiyun_col-12 fl",staticStyle:{"margin-left":"4px"}},[r("div",{staticClass:"yiyunlargeItem"},[r("el-form-item",{attrs:{label:"选择工作链"}},[r("el-select",{staticClass:"bg_w",attrs:{filterable:"","no-data-text":"暂无数据",placeholder:"请选择工作链"},on:{change:e.changeSelectTemplate},model:{value:e.newProjData.projectData.templateID,callback:function(t){e.$set(e.newProjData.projectData,"templateID",t)},expression:"newProjData.projectData.templateID"}},e._l(e.templateList,(function(e){return r("el-option",{key:e.Id,attrs:{label:e.TempName,value:e.Id}})})),1)],1)],1)])])],1),r("div",{directives:[{name:"show",rawName:"v-show",value:1==e.ProjInfoDialog,expression:"ProjInfoDialog == true"}],staticClass:"PaincenterBox"},[r("el-form",{ref:"",staticClass:"line_from",attrs:{"label-width":"100px","label-position":"left"},model:{value:e.newProjData,callback:function(t){e.newProjData=t},expression:"newProjData"}},[r("div",{staticClass:"yiyun_col-6 fl"},[r("div",{staticClass:"yiyunlargeItem"},[r("el-form-item",{attrs:{label:"项目负责:"}},[r("span",{staticClass:"forminfocom"},[e._v(e._s(e.projectCreaterName))])])],1)]),r("div",{staticClass:"yiyun_col-6 fl"},[r("div",{staticClass:"yiyunlargeItem"},[r("el-form-item",{attrs:{label:"创建时间:"}},[r("span",{staticClass:"forminfocom"},[e._v(e._s(e.createDate))])])],1)]),e._l(e.checkNewProjData.CustomProps,(function(t){return r("div",{key:t.Id,staticClass:"yiyun_col-12 fl",staticStyle:{"margin-left":"4px"}},[r("div",{staticClass:"yiyunlargeItem"},[r("el-form-item",{attrs:{label:t.PropertyName}},[r("el-input",{key:t.Id,staticClass:"labelinputbefore",attrs:{placeholder:"输入"},on:{input:e.userDefineInput},model:{value:t.PropValue,callback:function(s){e.$set(t,"PropValue",s)},expression:"prop.PropValue"}})],1)],1)])})),r("div",{staticClass:"clear"}),r("div",{staticClass:"yiyun_col-12img fl mt-10"},[r("div",{staticClass:"clear"}),r("div",{staticClass:"yiyun_col-6"},[r("div",{staticClass:"pageImgBox"},[r("img",{attrs:{src:e._f("resolveAvator")(e.coverSrc),alt:""}}),r("file-uploader",{staticClass:"listUpdateBtn editCoverBtn",attrs:{"on-success":e.coverUploadSuccess}},[r("span",[e._v("编辑")])]),r("span",{staticClass:"faceBtn",on:{click:e.setSystemCoverRandom}},[e._v("使用随机封面")])],1)])]),r("div",{staticClass:"clear"}),r("el-form-item",[r("div",{staticClass:"tianjiaxiezuoren",staticStyle:{display:"none"}},[r("h5",[e._v("添加协作人")]),r("div",[r("div",{staticClass:"touxiang_hezuorenBox"},[r("div",{staticClass:"touxiang_hezuorenBox-item"},[r("img",{attrs:{src:s("03aa"),alt:""}})])]),r("i",{staticClass:"yiyun_icon_large icon_topnav_large_add",attrs:{title:"添加合作人"}})])])])],2)],1),r("div",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkDialog,expression:"marchWorkDialog == true"}],staticClass:"PaincenterBox"},[r("div",{staticClass:"xiezuobox"},[r("div",{staticClass:"fuzeren"},[e._m(0),r("div",{staticClass:"mt-10"},[r("div",{staticClass:"fl firstPeople"},[r("div",[r("div",{staticClass:"avtarface",attrs:{title:e.currUser.cnName}},[r("img",{attrs:{src:e._f("resolveAvator")(e.currUser.headImgUrl)}})]),r("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(e.currUser.cnName))])])]),r("div",{staticClass:"fl vhLine mlr-20"}),r("div",{staticClass:"fl addBtn_new",attrs:{title:"添加项目负责人"},on:{click:function(t){return e.addManager()}}},[r("i",{staticClass:"el-icon-plus middleaddEC"})]),r("div",{staticClass:"fl chengyuanbox"},[r("ul",{staticClass:"ECworkerList"},e._l(e.newProjData.projectData.listProjManager,(function(t,s){return r("li",{key:s},[s<14||e.showAll?r("div",[r("div",{staticClass:"avtarface",attrs:{title:t.userName}},[r("img",{attrs:{src:e._f("resolveAvator")(t.headImgUrl)}})]),r("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(t.cnName))])]):e._e()])})),0)])])]),e._l(e.newProjData.listFolder,(function(t,s){return r("div",{key:s},[r("div",{staticClass:"EC_Tree"},[e.tempIndex!=s||0==s?r("div",[r("em",{staticClass:"ec_number label_text"},[e._v(e._s(t.folderIndex))]),1==e.showTitle||e.tempIndex!=s?r("div",[r("span",{staticClass:"label_text"},[e._v(e._s(t.folderName))]),0==t.default?r("el-button",{staticClass:"fr mini_typeBtn",on:{click:function(t){return e.eidtTitle(s)}}},[e._v("编辑")]):e._e()],1):e._e()]):e._e(),2==e.showTitle&&e.tempIndex==s?r("div",{staticClass:"self_newitem"},[r("input",{directives:[{name:"model",rawName:"v-model",value:t.folderName,expression:"folder.folderName"}],class:0==t.default?"bianji_input self_Inputwork":" label_text_moren",attrs:{disabled:t.default},domProps:{value:t.folderName},on:{input:function(s){s.target.composing||e.$set(t,"folderName",s.target.value)}}}),r("div",{staticClass:"selfoptiongroup"},[0==t.default?r("el-button",{staticClass:"mini_typeBtn",on:{click:e.saveTitle}},[e._v("保存")]):e._e(),0==t.default?r("el-button",{staticClass:"mini_typeBtn",attrs:{type:"primary"},on:{click:function(t){return e.deleCustomFolder(s)}}},[e._v("删除")]):e._e()],1)]):e._e()]),r("div",{staticClass:"mt-10"},[r("div",{staticClass:"fl firstPeople"},[""==t.manageUser?r("div",[r("div",{staticClass:"avtarface",on:{click:function(t){return e.addUserPal(s)}}},[r("i",{staticClass:"large_huangguan el-icon-plus"})]),r("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("工作负责人")])]):e._e(),e._l(t.manageUser,(function(t,i){return r("li",{key:i},[r("div",[r("div",{staticClass:"avtarface",attrs:{title:"编辑"}},[r("img",{attrs:{src:e._f("resolveAvator")(t.headImgUrl)}}),r("div",{staticClass:"eiditIconimgBox",on:{click:function(t){return e.addUserPal(s)}}},[r("i",{staticClass:"icon font_family icon-icon_bianji1 eiditIconimg"})])]),r("span",{staticClass:"Text_tiny tinyText_wirte",attrs:{title:t.cnName}},[e._v(e._s(t.cnName))])])])}))],2),r("div",{staticClass:"fl vhLine mlr-20"}),""!=t.manageUser?r("div",{staticClass:"fl addBtn_new",attrs:{title:"添加职员"},on:{click:function(t){return e.addUser(s)}}},[r("i",{staticClass:"el-icon-plus middleaddEC"})]):e._e(),r("div",{staticClass:"fl chengyuanbox"},[r("ul",{staticClass:"ECworkerList"},e._l(e.listUserComputed(t.listUser),(function(s,i){return r("li",{key:i},[i<14||e.showAll?r("div",[r("div",{staticClass:"avtarface",attrs:{title:s.cnName}},[r("img",{attrs:{src:e._f("resolveAvator")(s.headImgUrl)}})]),r("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(s.cnName))])]):e._e(),14!=i||e.showAll?e._e():r("div",{on:{click:e.showAllClick}},[r("span",{staticClass:"zhangkai_down"}),r("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("展开全部")])]),e.showAll&&i==t.listUser.length-1&&i>14?r("div",{staticClass:"newweizhi",on:{click:function(t){e.showAll=!1}}},[r("span",{staticClass:"zhangkai_up"}),r("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("收起职员")])]):e._e()])})),0)])]),r("div",{staticClass:"clear"})])})),r("div",{staticClass:"line_from",staticStyle:{display:"none"}},[r("div",e._l(e.newProjData.listFolder,(function(t,s){return r("div",{key:s,staticClass:"tianjiaxiezuorenBox"},[r("div",{staticStyle:{height:"50px"}},[1==e.showTitle?r("div",[r("h5",{staticClass:"fl label_text"},[e._v(e._s(t.folderName))]),0==t.default?r("el-button",{staticClass:"fr mini_typeBtn",on:{click:function(t){return e.eidtTitle()}}},[e._v("编辑")]):e._e()],1):e._e(),2==e.showTitle?r("div",{staticClass:"self_newitem"},[r("input",{directives:[{name:"model",rawName:"v-model",value:t.folderName,expression:"folder.folderName"}],class:0==t.default?"bianji_input self_Inputwork":"fl label_text_moren",attrs:{disabled:t.default},domProps:{value:t.folderName},on:{input:function(s){s.target.composing||e.$set(t,"folderName",s.target.value)}}}),r("div",{staticClass:"selfoptiongroup"},[0==t.default?r("el-button",{staticClass:"mini_typeBtn",on:{click:e.saveTitle}},[e._v("保存")]):e._e(),0==t.default?r("el-button",{staticClass:"mini_typeBtn",attrs:{type:"primary"},on:{click:function(t){return e.deleCustomFolder(s)}}},[e._v("删除")]):e._e()],1)]):e._e()]),r("div",{staticClass:"self_newitem"},[r("div",{staticClass:"touxiang_hezuorenBox fl"},e._l(t.listUser,(function(t,i){return r("div",{key:i,staticClass:"yonghutouxiangBox"},[r("div",{staticClass:"touxiang_hezuorenBox-item"},[r("img",{staticClass:"imgHead",attrs:{src:e._f("resolveAvator")(t.headImgUrl)}}),r("i",{staticClass:"icon_delete el-icon-delete",attrs:{title:"删除"},on:{click:function(t){return e.deleteNewProjUser(s,i)}}})]),r("span",[e._v(e._s(t.cnName))])])})),0),r("i",{staticClass:"yiyun_icon_large icon_topnav_large_add add_worker_xiezuo",attrs:{title:"添加合作人"},on:{click:function(t){return e.addUser(s)}}})])])})),0)])],2)]),r("div",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkerPalDialog,expression:"marchWorkerPalDialog == true"}],staticClass:"PaincenterBox"},[r("div",{staticClass:"xiezuobox"},[r("div",{staticClass:"yiyun_col-6 bg_text_wirte mt-8"},[r("div",{staticClass:"row_painfl"},[r("el-collapse",{attrs:{accordion:""},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[r("el-collapse-item",{staticClass:"nomidline",attrs:{name:"1"}},[r("template",{slot:"title"},[r("span",{staticClass:"btnlabelTitle"},[e._v("从部门中选择职员")])]),e._l(e.listDept,(function(t,s){return r("el-collapse",{directives:[{name:"show",rawName:"v-show",value:t.listUser.length>0,expression:"dept.listUser.length>0"}],key:s,attrs:{accordion:""}},[r("el-collapse-item",[r("template",{slot:"title"},[r("span",{staticClass:"btnlabelTitle"},[e._v(e._s(t.deptName)+" ")])]),e._l(t.listUser,(function(t,i){return r("div",{key:i,staticClass:"user_info_item",attrs:{label:t}},[r("el-checkbox",{staticClass:"checkBoxCol",attrs:{disabled:e.disabled},on:{change:function(r){return e.handleCheckedOnlyOne(s,t,r)}},model:{value:t.selected,callback:function(s){e.$set(t,"selected",s)},expression:"user.selected"}},[r("div",{staticClass:"checkboxlabelitem"},[r("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),r("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),r("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[r("ul",{staticClass:"popover_ul popover_ul"},[r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.companyName))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),r("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),r("span",{staticClass:"user_info_role"},[e._v(e._s(t.roleName))])],1)])],1)}))],2)],1)}))],2)],1)],1)]),r("div",{staticClass:"shuxian"}),r("div",{staticClass:"yiyun_col-6"},[r("h4",{staticClass:"rightXiezuoren"},[e._v("已选职员")]),r("div",{staticClass:"row_painfr"},[r("div",{staticClass:"yiyun_line"}),r("span",[e._v("工作负责人")]),r("div",{staticClass:"yiyun_line"}),0==e.selectedUser.length?r("div",{staticClass:"main_workerBox"},[r("i",{staticClass:"icon font_family icon-icon_huangguan-weijihuo largehuangguan"}),r("div",{staticClass:"rentou_alrge"})]):e._e(),0!=e.selectedUser.length?r("div",e._l(e.selectedUser,(function(t,s){return r("div",{key:s,staticClass:"user_info_item mainpeople_H"},[r("i",{staticClass:"icon font_family icon-icon_huangguan-jihuo middlehuangguan fl",attrs:{title:"负责人"}}),r("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),r("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),r("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[r("ul",{staticClass:"popover_ul popover_ul"},[r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.roleName))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),r("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),r("span",{staticClass:"user_info_role"},[r("i",{staticClass:"el-icon-close largeclose",attrs:{title:"移除负责人"},on:{click:function(s){return e.removeManageUser(t)}}})])],1)})),0):e._e(),r("p",{staticClass:"diaTip"},[e._v(" 工作负责人仅有一人,其将对:"+e._s(e.currWorkName)+",进行职员指派 ")])])])])]),r("div",{directives:[{name:"show",rawName:"v-show",value:1==e.marchWorkerDialog,expression:"marchWorkerDialog == true"}],staticClass:"PaincenterBox"},[r("div",{staticClass:"xiezuobox"},[r("div",{staticClass:"yiyun_col-6 bg_text_wirte mt-8"},[r("div",{staticClass:"row_painfl"},[r("el-collapse",{attrs:{accordion:""},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[r("el-collapse-item",{staticClass:"nomidline",attrs:{name:"1"}},[r("template",{slot:"title"},[r("span",{staticClass:"quanxuanbtn"},[r("el-checkbox",{staticClass:"checkBoxCol",on:{change:e.handleCheckTopAll},model:{value:e.ischeckAll,callback:function(t){e.ischeckAll=t},expression:"ischeckAll"}},[e._v("全选")])],1),r("span",{staticClass:"btnlabelTitle"},[e._v("从部门中选择职员")])]),e._l(e.listDept,(function(t,s){return r("el-collapse",{directives:[{name:"show",rawName:"v-show",value:e.listDept.length>0,expression:"listDept.length > 0"}],key:s,attrs:{accordion:""}},[r("el-collapse-item",[r("template",{slot:"title"},[r("span",{staticClass:"quanxuanbtn"},[r("el-checkbox",{key:s,staticClass:"checkBoxCol",on:{change:function(t){return e.handleCheckItemAll(s,t)}},model:{value:t.disabled,callback:function(s){e.$set(t,"disabled",s)},expression:"dept.disabled"}},[e._v("全选")])],1),r("span",{staticClass:"btnlabelTitle"},[e._v(e._s(t.deptName)+" ")])]),e._l(t.listUser,(function(t,i){return r("div",{key:i,staticClass:"user_info_item",attrs:{label:t}},[r("el-checkbox",{staticClass:"checkBoxCol",attrs:{disabled:e.disabled},on:{change:function(r){return e.handleCheckedOne(s,t,r)}},model:{value:t.disabled,callback:function(s){e.$set(t,"disabled",s)},expression:"user.disabled"}},[r("div",{staticClass:"checkboxlabelitem"},[r("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),r("span",{staticClass:"user_info_name"},[e._v(e._s(t.userName))]),r("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[r("ul",{staticClass:"popover_ul popover_ul"},[r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.companyName))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),r("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),r("span",{staticClass:"user_info_role"},[e._v(e._s(t.roleName))])],1)])],1)}))],2)],1)}))],2)],1)],1)]),r("div",{staticClass:"shuxian"}),r("div",{staticClass:"yiyun_col-6"},[r("h4",{staticClass:"rightXiezuoren"},[e._v("已选职员")]),e.isShowManager?r("div",{staticClass:"row_painfr"},[r("div",{staticClass:"yiyun_line"}),r("span",[e._v("工作负责人")]),r("div",{staticClass:"yiyun_line"}),0==e.selectedUser.length?r("div",{staticClass:"main_workerBox"},[r("i",{staticClass:"icon font_family icon-icon_huangguan-weijihuo largehuangguan"}),r("div",{staticClass:"rentou_alrge"})]):e._e(),0!=e.listManagerComputed(e.selectedUser).length?r("div",e._l(e.selectedUser,(function(t,s){return r("div",{key:s,staticClass:"user_info_item mainpeople_H"},[r("i",{staticClass:"icon font_family icon-icon_huangguan-jihuo middlehuangguan fl",attrs:{title:"负责人"}}),r("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),r("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),r("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[r("ul",{staticClass:"popover_ul popover_ul"},[r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.roleName))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),r("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),r("span",{staticClass:"user_info_role",on:{click:function(s){return e.removeManageUser(t)}}},[e._v("修改")])],1)})),0):e._e(),r("p",{staticClass:"diaTip"},[e._v(" 工作负责人仅有一人,其将对:"+e._s(e.currWorkName)+",进行职员指派 ")])]):e._e(),e.isShowFirstPeople?r("div",e._l(e.listDept,(function(t){return r("div",{directives:[{name:"show",rawName:"v-show",value:t.listUser.length>0,expression:"dept.listUser.length>0"}],key:t.id,staticClass:"row_painfr"},[e._l(e.listDeptUserNoZero(e.selectedUser),(function(s){return r("div",{key:s},[s==t.id?r("div",[r("div",{staticClass:"yiyun_line"}),r("span",[e._v(e._s(t.deptName))])]):e._e()])})),e._l(e.selectedUser,(function(s,i){return r("div",{key:i,staticClass:"renyuanbox"},[s.deptId==t.id?r("div",{staticClass:"user_info_item"},[r("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(s.headImgUrl),alt:""}}),r("span",{staticClass:"user_info_name"},[e._v(e._s(s.userName))]),r("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[r("ul",{staticClass:"popover_ul popover_ul"},[r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(s.roleName))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v(e._s(s.phone))])]),r("li",[r("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(s.projCount)+"个")])])]),r("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(s.position))])]),r("span",{staticClass:"user_info_role"},[[r("el-select",{staticClass:"setroleselect",attrs:{placeholder:"设置角色"},model:{value:s.folderPerm,callback:function(t){e.$set(s,"folderPerm",t)},expression:"user.folderPerm"}},e._l(e.roles,(function(t){return r("el-option",{key:t.value,attrs:{"allow-create":"",label:t.label,value:t.value}},[r("span",{staticStyle:{float:"left","margin-right":"30px"}},[e._v(e._s(t.label))]),r("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.description))])])})),1)],r("i",{staticClass:"el-icon-close",attrs:{title:"移除协作人"},on:{click:function(t){return e.removeSelectUser(s)}}})],2)],1):e._e()])}))],2)})),0):e._e()])])])])])])])])},A=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("span",{staticClass:"label_text"},[e._v("项目管理权限")])])}],F=s("b0f9"),B=s("5ab9"),M=s("9e5b"),O={props:{isNewProj:{type:Boolean,default:!1}},data:function(){var e=this.$store.state.userInfo;return{imgSrc:"/api/archives/cover?path=",headSrc:"/api/archives/head?path=",chunkUploadUrl:"/api/webupload/chunks",isShowdivid:!1,filePicker:"uploadCover",uploadLabel:"编辑封面",srcIndex:2,coverSrc:"static/img/faceImg/face01.png",cnName:"",listDept:[],selectedUser:[],selectedManageUser:[],showTitle:"1",disabled:!1,SelectTemplateNodeList:{},selectTemlateData:"",selectTemlateID:"",diaBodyheight:!1,checkNewProjData:{Proj:{ProjName:"",CompanyId:"",Notice:"",ShowImgUrl:"",TemplateId:"",CreateUserId:"",ModifyUserId:""},Node:{},CustomProps:[]},newProjData:{projectData:{projID:"",projName:"",projCode:"",folderID:"",scale:"",address:"",showImgUrl:"",templateID:"",createUserID:"",modifyUserID:"",deleted:0,listProjManager:[]},listFolder:[],listProjProp:[],userId:""},listTempProp:[],listProjProp:[],checked:!1,newfolder:{folderName:"自定义"},activeName:"1",NewProductDailog:!0,ProjInfoDialog:!1,showAll:!1,marchWorkDialog:!1,marchWorkerDialog:!1,marchWorkerPalDialog:!1,isDisableCreate:!1,nodeLeaves:!1,isShowFirstPeople:!1,opentree:!0,currWorkName:"",uploadCoverTimes:0,arryUnUseCover:[],uploadCompId:sessionStorage.companyId,uploadTypeCover:2,ischeckAll:!1,newProjFolderIndex:1,projectCreaterName:e.cnName,createDate:(new Date).toLocaleDateString(),listNewFolder:[],listMyPermFolders:[],isSlectPal:!0,roles:[{value:1,label:"编辑和查看",description:""},{value:0,label:"仅查看",description:""}],folderPerm:"1",nowFolderIndex:"",tempIndex:0,currSelectData:[],currUser:e,isShowManager:!0,templateList:[]}},watch:{isNewProj:function(e){0==e&&this.reSetDialog()},marchWorkerPalDialog:function(){}},components:{FileUploader:M["a"]},created:function(){},mounted:function(){this.listDeptUsers(),this.getSelectTemplateData(),window.addEventListener("scroll",this.handleScroll,!0)},computed:{listManagerComputed:function(){return function(e){return e.filter((function(e){return 2==e.folderPerm}))}},listUserComputed:function(){var e=this;return function(t){return t.filter((function(t){return e.isShowManager?2!=t.folderPerm:t.userID!=e.currUser.userID}))}},listUserManager:function(e){return function(e){return e.filter((function(e){return 0==e.folderPerm||2==e.folderPerm}))}},listDeptUserNoZero:function(){return function(e){for(var t=[],s=0;s0?this.isShowdivid=!0:this.isShowdivid=!1},showzhankai:function(){this.$emit("isShowBottom",!0)},offDialog:function(){var e=this,t=this;this.$confirm("放弃“新建项目”您编辑的内容被清空。是否放弃?","",{confirmButtonText:"放弃",cancelButtonText:"取消",showClose:!1,type:"error",beforeClose:function(e,s,r){"confirm"==e&&(t.isDisableCreate=!1,t.SelectTemplateNodeList=[],t.selectedUser=[],t.selectedManageUser=[],t.marchWorkDialog=!1,t.marchWorkerDialog=!1,t.marchWorkerPalDialog=!1,t.ProjInfoDialog=!1,t.NewProductDailog=!0,t.newProjData={projectData:{projID:"",projName:"",projCode:"",folderID:"",scale:"",address:"",showImgUrl:"",templateID:"",createUserID:"",modifyUserID:"",deleted:0,listProjManager:[]},listFolder:[],listProjProp:[],userId:""},t.$emit("refreshListProj",!1)),s.doClose()}}).then((function(){e.isDisableCreate=!1,e.newProjData.projectData={},e.SelectTemplateNodeList=[],e.selectedUser=[],e.selectedManageUser=[],e.marchWorkDialog=!1,e.marchWorkerDialog=!1,e.marchWorkerPalDialog=!1,e.ProjInfoDialog=!1,e.NewProductDailog=!0,e.newProjData={projectData:{projID:"",projName:"",projCode:"",folderID:"",scale:"",address:"",showImgUrl:"",templateID:"",createUserID:"",modifyUserID:"",deleted:0,listProjManager:[]},listFolder:[],listProjProp:[],userId:""}})).catch((function(e){}))},reSetDialog:function(){var e=this;e.isDisableCreate=!1,e.SelectTemplateNodeList=[],e.selectedUser=[],e.selectedManageUser=[],e.marchWorkDialog=!1,e.marchWorkerDialog=!1,e.marchWorkerPalDialog=!1,e.ProjInfoDialog=!1,e.NewProductDailog=!0,e.newProjData={projectData:{projID:"",projName:"",projCode:"",folderID:"",scale:"",address:"",showImgUrl:"",templateID:"",createUserID:"",modifyUserID:"",deleted:0,listProjManager:[]},listFolder:[],listProjProp:[],userId:""},e.checkNewProjData={Proj:{ProjName:"",CompanyId:"",Notice:"",ShowImgUrl:"",TemplateId:"",CreateUserId:"",ModifyUserId:""},Node:{},CustomProps:[]},e.$emit("refreshListProj",!1)},godistWork:function(){this.isAllhide()},isAllhide:function(){this.NewProductDailog=!1,this.ProjInfoDialog=!1,this.marchWorkDialog=!1,this.marchWorkerDialog=!1,this.marchWorkerPalDialog=!1},backdistProjName:function(){this.isAllhide(),this.NewProductDailog=!0},backdistNewProj:function(){this.isAllhide(),this.ProjInfoDialog=!0},backdistWork:function(){var e=this;1==this.marchWorkerPalDialog?this.$confirm("退出“职员选择”您编辑的内容被清空,确定退出?","",{confirmButtonText:"退出",cancelButtonText:"取消",showClose:!1,type:"warning"}).then((function(){e.newProjData.listFolder[e.nowFolderIndex]=e.currSelectData,e.cancelCheck(),e.isAllhide(),e.marchWorkDialog=!0})):(this.cancelCheck(),this.isAllhide(),this.marchWorkDialog=!0)},backWorkerPal:function(){this.isAllhide(),this.marchWorkerPalDialog=!0},addUserPal:function(e){this.currSelectData=JSON.parse(JSON.stringify(this.newProjData.listFolder[parseInt(e)])),this.currWorkName=this.newProjData.listFolder[parseInt(e)].folderName,this.nowFolderIndex=parseInt(e),this.isAllhide(),this.marchWorkerPalDialog=!0,this.isShowFirstPeople=!1,this.setFolderPerm(this.newProjData.listFolder[parseInt(e)]),this.selectedUser=this.newProjData.listFolder[parseInt(e)].listUser},addUser:function(e){this.currWorkName=this.newProjData.listFolder[parseInt(e)].folderName,this.isAllhide(),this.isShowFirstPeople=!0,this.marchWorkerDialog=!0,this.isShowManager=!0,this.setFolderPerm(this.newProjData.listFolder[parseInt(e)]),this.selectedUser=this.newProjData.listFolder[parseInt(e)].listUser},addManager:function(){var e=this;this.isAllhide(),this.isShowFirstPeople=!0,this.marchWorkerDialog=!0,this.isShowManager=!1,E(this.$store.state.currentCompanyId).then((function(t){e.listDept=t,e.listDept=Object(p["a"])(e.listDept),console.log("1111111111111111111111111",e.listDept)})).catch((function(e){console.log(e)})),this.selectedUser=this.newProjData.projectData.listProjManager},deleteNewProjUser:function(e,t){this.newProjData.listFolder[e].listUser.splice(t,1)},deleteDistWorkUser:function(e,t){this.listNewFolder[e].listUser.splice(t,1)},eidtTitle:function(e){this.tempIndex=e,this.showTitle=2},saveTitle:function(e){this.tempIndex=0,this.showTitle=1},deleCustomFolder:function(e){this.newProjData.listFolder.splice(e,1)},addProjFolderWork:function(){this.eidtTitle(this.newProjData.listFolder.length),this.newfolder={folderName:"自定义工作"+this.newProjFolderIndex,default:!1,deleted:0,listUser:[],manageUser:[]},this.newProjData.listFolder.push(this.newfolder),this.newProjFolderIndex=this.newProjFolderIndex+1},setDistManagerUser:function(){var e=this;this.selectedManageUser.splice(0,this.selectedManageUser.length),this.selectedUser.forEach((function(t){2==t.folderPerm&&e.selectedManageUser.push(t)}))},handleCheckTopAll:function(e){for(var t=0;t0&&(this.handleCheckItemAll(t,!1),this.handleCheckItemAll(t,e))},handleCheckItemAll:function(e,t){for(var s=0;s0&&(t++,1==this.listDept[s]["selected"]&&e++);this.ischeckAll=e==t},removeSelectUser:function(e){this.checkDeptUserName(!1,e),this.cancelCheck(e.userID)},removeManageUser:function(e){e.folderPerm=0,e.roleName="查看编辑";for(var t=0;t0)for(var s=0;s0&&1==this.marchWorkerDialog?this.isShowFirstPeople=!0:this.isShowFirstPeople=!1},changeSelectTemplate:function(e){this.selectTemlateID=e;for(var t=0;t35?this.$notify({message:"项目名称不得超出35个字符。",type:"warning",offset:100,duration:2500}):void 0!=this.newProjData.projectData.templateID&&null!=this.newProjData.projectData.templateID&&""!=this.newProjData.projectData.templateID?(F["n"](this.selectTemlateID).then((function(t){t.Data.propertys.forEach((function(t,s){e.checkNewProjData.CustomProps[s]={},e.checkNewProjData.CustomProps[s]["TempPropId"]=t.Id,e.checkNewProjData.CustomProps[s]["PropertyName"]=t.PropertyName,e.checkNewProjData.CustomProps[s]["PropValue"]="";var r=e.checkNewProjData.CustomProps;e.checkNewProjData.CustomProps=Object(p["a"])(r)})),e.checkNewProjData=Object(p["a"])(e.checkNewProjData)})),this.isAllhide(),this.setSystemCoverRandom(),this.ProjInfoDialog=!0):this.$notify({message:"请选择工作链。",type:"warning",offset:100,duration:2500})}else this.$notify({message:"请输入项目名称。",type:"warning",offset:100,duration:2500})},listFolders:function(){var e=this;this.$axios({method:"get",url:encodeURI("/api/folders/allot/"+sessionStorage.userId+"/"+sessionStorage.projId)}).then((function(t){e.listMyPermFolders=t.data})).catch((function(e){console.log(e)}))}},destroyed:function(){window.removeEventListener("scroll",this.handleScroll,!0)}};function E(e){return L.apply(this,arguments)}function L(){return L=Object(a["a"])(regeneratorRuntime.mark((function e(t){var s,r,i,a,n,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([Object(m["d"])(t),Object(m["g"])({id:t,nodeType:"company"},1,1e4)]);case 2:return s=e.sent,r=Object(f["a"])(s,2),i=r[0],a=r[1].list,n=i[0].children||[],o=W(n,a),e.abrupt("return",o.filter((function(e){return e.listUser&&e.listUser.length})));case 9:case"end":return e.stop()}}),e)}))),L.apply(this,arguments)}function W(e,t){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return(e||[]).forEach((function(e){var r=e.data;r.listUser=t.filter((function(t){return t.deptId===e.id})),s.push(r),e.children&&e.children.length&&W(e.children,t,s)})),s}var $=O,R=Object(y["a"])($,T,A,!1,null,null,null),z=R.exports,H=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("div",{staticClass:"bottomdialog"},[s("div",{staticClass:"yiyun_dialog_left yiyun_zhedie"},[s("span",{on:{click:e.offDialog}},[e._v("关闭")])]),s("div",{staticClass:"yiyun_dialog_center"},[s("span",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetUsers,expression:"isShowSetUsers"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.toSecondPage}},[s("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),s("span",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetManager,expression:"isShowSetManager"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backFirstPage}},[s("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),s("span",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetUsers&&e.isShowProjInfo,expression:"isShowSetUsers && isShowProjInfo"}],staticClass:"backshangyicheng prev_to_2",on:{click:e.backFirstPage}},[s("i",{staticClass:"yiyun_icon icon_topnav_backicon"})]),s("div",{staticClass:"bottomdialogbox_list_head newProject_next_taggle1"},[s("div",{staticClass:"EC_col_16"},[s("h3",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetFolder,expression:"isShowSetFolder"}]},[e._v("项目编辑")]),s("h3",{directives:[{name:"show",rawName:"v-show",value:e.isShowProjInfo,expression:"isShowProjInfo"}]},[e._v("项目概况")]),s("h3",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetUsers,expression:"isShowSetUsers"}]},[e._v("指派职员")]),s("h3",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetManager,expression:"isShowSetManager"}]},[e._v("指派工作负责人")])]),s("div",{staticClass:"EC_col_8"},[s("div",{staticClass:"fr mt-26"},[s("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowSetManager,expression:"isShowSetManager == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.toThreePage}},[e._v("分配职员")]),s("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowSetUsers,expression:"isShowSetUsers == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.backFirstPage}},[e._v("完成或跳过")]),s("el-button",{directives:[{name:"show",rawName:"v-show",value:1==e.isShowSetFolder,expression:"isShowSetFolder == true"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.submitAndClose}},[e._v("完成")]),s("el-button",{directives:[{name:"show",rawName:"v-show",value:e.isShowEditProjBtn,expression:"isShowEditProjBtn"}],staticClass:"fr width_120 edit120",attrs:{type:"primary",round:""},on:{click:e.EidtProjectInfo}},[e._v("编辑项目概况")]),s("el-button",{directives:[{name:"show",rawName:"v-show",value:e.isShowSaveAllBtn,expression:"isShowSaveAllBtn"}],staticClass:"fr width_120",attrs:{type:"primary",round:""},on:{click:e.saveProjectInfo}},[e._v("保存")])],1)]),s("div",{staticClass:"clear"}),s("div",{staticClass:"yiyun_Tbline"})])]),s("div",{staticClass:"yiyun_dialog_right yiyundialog_close"}),s("div",{staticClass:"clear"}),s("div",{staticClass:"dialogcontentbody"},[s("div",{staticClass:"dialogcontentbodyrow"},[s("div",{staticClass:"centerWarpDia"},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetFolder,expression:"isShowSetFolder"}],staticClass:"PaincenterBox"},[s("div",{staticClass:"xiezuobox"},[s("div",{staticClass:"line_from"},[s("div",[e._l(e.listNewFolder,(function(t,r){return s("div",{key:r,staticClass:"tianjiaxiezuorenBox"},[1==e.showTitle?s("div",{staticClass:"self_newitem"},[s("h5",{staticClass:"fl label_text"},[e._v(" "+e._s(t.folderName)+" ")]),s("div",{staticClass:"selfoptiongroup"},[0==t.default?s("el-button",{on:{click:e.eidtTitle}},[e._v("编辑")]):e._e()],1)]):e._e(),2==e.showTitle?s("div",{staticClass:"self_newitem"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.folderName,expression:"folder.folderName"}],class:0==t.default?"bianji_input self_Inputwork":"fl label_text_moren",attrs:{disabled:t.default},domProps:{value:t.folderName},on:{input:function(s){s.target.composing||e.$set(t,"folderName",s.target.value)}}}),s("div",{staticClass:"selfoptiongroup"},[0==t.default?s("el-button",{attrs:{type:"primary"},on:{click:e.saveTitle}},[e._v("保存")]):e._e(),0==t.default?s("el-button",{on:{click:function(t){return e.deleTitle(r)}}},[e._v("删除")]):e._e()],1)]):e._e(),s("div",[s("div",{staticClass:"fl firstPeople"},[""==t.manageUser?s("div",[s("div",{staticClass:"avtarface",on:{click:function(s){return e.aloneAddUserForFolder(t)}}},[s("i",{staticClass:"large_huangguan el-icon-plus"})]),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("工作负责人")])]):e._e(),e._l(e.listManagerComputed(t.manageUser),(function(r,i){return s("li",{key:i},[s("div",[s("div",{staticClass:"avtarface",attrs:{title:"编辑"}},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.headSrc+r.headImgUrl,expression:"headSrc + user.headImgUrl"}],attrs:{src:""},on:{click:function(s){return e.aloneAddUserForFolder(t)}}})]),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(r.cnName))])])])}))],2),s("div",{staticClass:"fl vhLine mlr-20"}),""!=t.manageUser?s("div",{staticClass:"fl addBtn_new",attrs:{title:"添加职员"},on:{click:function(s){return e.aloneAddUserOnlyStaff(t)}}},[s("i",{staticClass:"el-icon-plus middleaddEC"})]):e._e(),s("div",{staticClass:"fl chengyuanbox"},[s("ul",{staticClass:"ECworkerList"},e._l(e.listUserComputed(t.listUser),(function(r,i){return s("li",{key:i},[i<14||e.showAll?s("div",[s("div",{staticClass:"avtarface",attrs:{title:"编辑"}},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.headSrc+r.headImgUrl,expression:"headSrc + user.headImgUrl"}],attrs:{src:""}})]),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v(e._s(r.cnName))])]):e._e(),14!=i||e.showAll?e._e():s("div",{on:{click:e.showAllClick}},[s("span",{staticClass:"zhangkai_down"}),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("展开全部")])]),e.showAll&&i==t.listUser.length-1&&i>14?s("div",{staticClass:"newweizhi",on:{click:function(t){e.showAll=!1}}},[s("span",{staticClass:"zhangkai_up"}),s("span",{staticClass:"Text_tiny tinyText_wirte"},[e._v("收起职员")])]):e._e()])})),0)]),s("div",{staticClass:"clear"})])])})),e._m(0)],2)])])]),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowProjInfo,expression:"isShowProjInfo"}],staticClass:"PaincenterBox"},[s("div",{staticClass:"xiezuobox ",staticStyle:{"margin-left":"4px"}},[s("el-form",{ref:"",staticClass:"line_from",attrs:{"label-width":"110px","label-position":"left"},model:{value:e.nowProject,callback:function(t){e.nowProject=t},expression:"nowProject"}},[s("div",{staticClass:"yiyun_col-6 fl"},[s("div",{staticClass:"bianju_item_fr"},[s("el-form-item",{attrs:{label:"项目负责人:"}},[s("span",[e._v(e._s(e.nowProject.ProjCreateUserName))])])],1)]),s("div",{staticClass:"yiyun_col-6 fl"},[s("div",{staticClass:"bianju_item_fr"},[s("el-form-item",{attrs:{label:"创建时间:"}},[s("span",[e._v(e._s(e.nowProject.ProjCreateTime))])])],1)]),e._l(e.listProjProp,(function(t){return s("div",{key:t.TempPropId,staticClass:"yiyun_col-12 fl"},[s("div",{staticClass:"bianju_item_fr"},[s("el-form-item",{attrs:{label:t.PropertyName+":"}},[e.isShowInfoEdit?s("el-input",{staticClass:"labelinputbefore",attrs:{placeholder:"输入"},model:{value:t.PropValue,callback:function(s){e.$set(t,"PropValue",s)},expression:"prop.PropValue"}}):e._e(),e.isShowInfoEdit?e._e():s("span",[e._v(e._s(t.PropValue))])],1)],1)])})),s("div",{staticClass:"yiyun_col-12 fl mt-10"},[s("div",{staticClass:"clear"}),s("div",{staticClass:"yiyun_col-6"},[s("div",{staticClass:"pageImgBox"},[s("img",{attrs:{src:e._f("resolveAvator")(e.coverSrc),alt:""}}),s("file-uploader",{directives:[{name:"show",rawName:"v-show",value:e.isShowSaveAllBtn,expression:"isShowSaveAllBtn"}],staticClass:"listUpdateBtn editCoverBtn",attrs:{"on-success":e.coverUploadSuccess}},[s("span",[e._v("编辑")])]),s("span",{directives:[{name:"show",rawName:"v-show",value:e.isShowSaveAllBtn,expression:"isShowSaveAllBtn"}],staticClass:"faceBtn",on:{click:e.setSystemCoverRandom}},[e._v("使用随机封面")])],1)])])],2),s("div",{staticClass:"clear"})],1)]),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetManager,expression:"isShowSetManager"}],staticClass:"PaincenterBox"},[s("div",{staticClass:"xiezuobox"},[s("div",{staticClass:"yiyun_col-6 bg_text_wirte mt-8"},[s("div",{staticClass:"row_painfl"},[s("el-collapse",{attrs:{accordion:""},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[s("el-collapse-item",{staticClass:"nomidline",attrs:{name:"1"}},[s("template",{slot:"title"},[s("span",{staticClass:"checkBoxCol"},[e._v("从部门中选择职员")])]),e._l(e.listDept,(function(t,r){return s("el-collapse",{directives:[{name:"show",rawName:"v-show",value:t.listUser.length>0,expression:"dept.listUser.length>0"}],key:r,attrs:{accordion:""}},[s("el-collapse-item",[s("template",{slot:"title"},[s("span",{staticClass:"checkBoxCol"},[e._v(e._s(t.deptName)+" ")])]),e._l(t.listUser,(function(t,i){return s("div",{key:i,staticClass:"user_info_item",attrs:{label:t}},[s("el-checkbox",{staticClass:"checkBoxCol",attrs:{disabled:e.disabled},on:{change:function(s){return e.handleCheckedOnlyOne(r,t,s)}},model:{value:t.selected,callback:function(s){e.$set(t,"selected",s)},expression:"user.selected"}},[s("div",{staticClass:"checkboxlabelitem"},[s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),s("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[s("ul",{staticClass:"popover_ul popover_ul"},[s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.companyName))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),s("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),s("span",{staticClass:"user_info_role"},[e._v(e._s(t.roleName))])],1)])],1)}))],2)],1)}))],2)],1)],1)]),s("div",{staticClass:"shuxian"}),s("div",{staticClass:"yiyun_col-6"},[s("h4",{staticClass:"rightXiezuoren"},[e._v("已选职员")]),s("div",{staticClass:"row_painfr"},[s("div",{staticClass:"yiyun_line"}),s("span",[e._v("工作负责人")]),s("div",{staticClass:"yiyun_line"}),0==e.listManagerComputed(e.selectedUser).length?s("div",{staticClass:"main_workerBox"},[s("i",{staticClass:"icon font_family icon-icon_huangguan-weijihuo largehuangguan"}),s("div",{staticClass:"rentou_alrge"})]):e._e(),0!=e.listManagerComputed(e.selectedUser).length?s("div",e._l(e.listManagerComputed(e.selectedUser),(function(t,r){return s("div",{key:r,staticClass:"user_info_item mainpeople_H"},[s("i",{staticClass:"icon font_family icon-icon_huangguan-jihuo middlehuangguan fl",attrs:{title:"负责人"}}),s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),s("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[s("ul",{staticClass:"popover_ul popover_ul"},[s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.roleName))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),s("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),s("span",{staticClass:"user_info_role"},[s("i",{staticClass:"el-icon-close largeclose",attrs:{title:"移除负责人"},on:{click:function(s){return e.removeManageUser(t)}}})])],1)})),0):e._e(),s("p",{staticClass:"diaTip"},[e._v(" 工作负责人有且仅有一人,其将对:"+e._s(e.currWorkName)+",进行职员指派。 ")])])])])]),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSetUsers,expression:"isShowSetUsers"}],staticClass:"PaincenterBox"},[s("div",{staticClass:"xiezuobox"},[s("div",{staticClass:"yiyun_col-6 bg_text_wirte mt-8"},[s("div",{staticClass:"row_painfl"},[s("el-collapse",{attrs:{accordion:""},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[s("el-collapse-item",{staticClass:"nomidline",attrs:{name:"1"}},[s("template",{slot:"title"},[s("el-checkbox",{staticClass:"checkxiezuoren",staticStyle:{color:"white"},on:{change:e.handleCheckTopAll},model:{value:e.ischeckAll,callback:function(t){e.ischeckAll=t},expression:"ischeckAll"}},[e._v("全选")]),s("span",{staticClass:"checkBoxCol"},[e._v("从部门中选择职员")])],1),e._l(e.listDept,(function(t,r){return s("el-collapse",{directives:[{name:"show",rawName:"v-show",value:t.listUser.length>0,expression:"dept.listUser.length>0"}],key:r,attrs:{accordion:""}},[s("el-collapse-item",[s("template",{slot:"title"},[s("el-checkbox",{key:r,staticClass:" checkxiezuoren",staticStyle:{color:"white"},on:{change:function(t){return e.handleCheckItemAll(r,t)}},model:{value:t.selected,callback:function(s){e.$set(t,"selected",s)},expression:"dept.selected"}},[e._v("全选")]),s("span",{staticClass:" checkBoxCol"},[e._v(e._s(t.deptName)+" ")])],1),e._l(e.listUserStaff(t.listUser),(function(t,i){return s("div",{key:i,staticClass:"user_info_item",attrs:{label:t}},[s("el-checkbox",{staticClass:"checkBoxCol",attrs:{disabled:e.disabled},on:{change:function(s){return e.handleCheckedOne(r,t,s)}},model:{value:t.selected,callback:function(s){e.$set(t,"selected",s)},expression:"user.selected"}},[s("div",{staticClass:"checkboxlabelitem"},[s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),s("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[s("ul",{staticClass:"popover_ul popover_ul"},[s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.companyName))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),s("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),s("span",{staticClass:"user_info_role"},[e._v(e._s(t.roleName))])],1)])],1)}))],2)],1)}))],2)],1)],1)]),s("div",{staticClass:"shuxian"}),s("div",{staticClass:"yiyun_col-6"},[s("h4",{staticClass:"rightXiezuoren"},[e._v("已选职员")]),s("div",{staticClass:"row_painfr"},[s("div",{staticClass:"yiyun_line"}),s("span",[e._v("工作负责人")]),s("div",{staticClass:"yiyun_line"}),0==e.listManagerComputed(e.selectedUser).length?s("div",{staticClass:"main_workerBox"},[s("i",{staticClass:"icon font_family icon-icon_huangguan-weijihuo largehuangguan"}),s("div",{staticClass:"rentou_alrge"})]):e._e(),0!=e.listManagerComputed(e.selectedUser).length?s("div",e._l(e.listManagerComputed(e.selectedUser),(function(t,r){return s("div",{key:r,staticClass:"user_info_item mainpeople_H"},[s("i",{staticClass:"icon font_family icon-icon_huangguan-jihuo middlehuangguan fl",attrs:{title:"负责人"}}),s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(t.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(t.cnName))]),s("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[s("ul",{staticClass:"popover_ul popover_ul"},[s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.roleName))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(t.phone))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(t.projCount)+"个")])])]),s("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(t.position))])]),s("span",{staticClass:"user_info_role",on:{click:function(s){return e.removeManageUser(t)}}},[e._v("编辑")])],1)})),0):e._e(),s("p",{staticClass:"diaTip"},[e._v(" 工作负责人有且仅有一人,其将对:"+e._s(e.currWorkName)+",进行职员指派。 ")])]),e.isShowStaffList?s("div",e._l(e.listDept,(function(t){return s("div",{directives:[{name:"show",rawName:"v-show",value:t.listUser.length>0,expression:"dept.listUser.length>0"}],key:t.deptID,staticClass:"row_painfr"},[e._l(e.listDeptUserNoZero(e.selectedUser),(function(r){return s("div",{key:r},[r==t.deptID?s("div",[s("div",{staticClass:"yiyun_line"}),s("span",[e._v(e._s(t.deptName))])]):e._e()])})),e._l(e.listUserComputed(e.selectedUser),(function(r,i){return s("div",{key:i,staticClass:"renyuanbox"},[r.deptID==t.deptID?s("div",{staticClass:"user_info_item"},[s("img",{staticClass:"user_info_faceImg",attrs:{src:e._f("resolveAvator")(r.headImgUrl),alt:""}}),s("span",{staticClass:"user_info_name"},[e._v(e._s(r.cnName))]),s("el-popover",{attrs:{placement:"bottom-start",width:"180",trigger:"hover"}},[s("ul",{staticClass:"popover_ul popover_ul"},[s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(r.roleName))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v(e._s(r.phone))])]),s("li",[s("a",{attrs:{href:"javascript:;"}},[e._v("所在项目"+e._s(r.projCount)+"个")])])]),s("span",{staticClass:"user_info_job",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(r.position))])]),s("span",{staticClass:"user_info_role"},[[s("el-select",{staticClass:"setroleselect",attrs:{placeholder:"设置角色"},model:{value:r.folderPerm,callback:function(t){e.$set(r,"folderPerm",t)},expression:"user.folderPerm"}},e._l(e.roles,(function(t){return s("el-option",{key:t.value,attrs:{"allow-create":"",label:t.label,value:t.value}},[s("span",{staticStyle:{float:"left","margin-right":"30px"}},[e._v(e._s(t.label))]),s("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.description))])])})),1)],s("i",{staticClass:"el-icon-close",attrs:{title:"移除协作人"},on:{click:function(t){return e.removeSelectUser(r)}}})],2)],1):e._e()])}))],2)})),0):e._e()])])])])])])])])},q=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("span",{staticClass:"fl label_text"},[e._v("自定义工作")]),s("span",{staticClass:"fr mt-10"},[s("i",{staticClass:"yiyunPlusmini"})])])}],J=s("5a0c"),V=s.n(J),Z={components:{FileUploader:M["a"]},props:{isProjManager:{type:Boolean,default:!1},isSetFolder:{type:Boolean,default:!1},projId:{type:String,default:""},createUserId:{type:String,default:""}},data:function(){return{imgSrc:"/api/archives/cover?path=",headSrc:"/api/archives/head?path=",chunkUploadUrl:"/api/webupload/chunks",uploadCompId:sessionStorage.companyId,coverSrc:"static/img/faceImg/face01.png",uploadTypeCover:2,filePicker:"projFilePicker",srcIndex:2,selectedUser:[],selectedManageUser:[],showTitle:"1",disabled:!1,activeName:"1",showAll:!1,isBottomNewProj:!1,nodeLeaves:!1,isShowStaffList:!1,opentree:!0,ischeckAll:!1,nowProject:{},isSlectPal:!0,roles:[{value:1,label:"编辑",description:"查看和编辑"},{value:0,label:"查看",description:"查看"}],folderPerm:"1",initData:[],listNewFolder:[],listProjProp:[],listDept:[],curProjCreatePeop:[],isShowSetFolder:!1,isShowSetManager:!1,isShowSetUsers:!1,isShowProjInfo:!0,isShowInfoEdit:!1,isShowEditProjBtn:!1,isShowSaveAllBtn:!1,currWorkName:"",currentProjId:"",currSelectData:[]}},mounted:function(){},computed:{listDeptComputed:function(){return this.listDept.filter((function(e){return e.listUser.length>0}))},listManagerComputed:function(){return function(e){return e.filter((function(e){return 2==e.folderPerm}))}},listUserComputed:function(){return function(e){return e.filter((function(e){return 2!=e.folderPerm}))}},listUserManager:function(e){return function(e){return e.filter((function(e){return 0==e.folderPerm||2==e.folderPerm}))}},listUserStaff:function(e){return function(e){return e.filter((function(e){return 2!=e.folderPerm}))}},listDeptUserNoZero:function(){return function(e){for(var t=[],s=0;s0&&(this.handleCheckItemAll(t,!1),this.handleCheckItemAll(t,e))},handleCheckItemAll:function(e,t){for(var s=0;s0&&(t++,1==this.listDept[s].selected&&e++);this.ischeckAll=e==t},removeSelectUser:function(e){this.checkDeptUserName(!1,e),this.cancelCheck(e.userID)},removeManageUser:function(e){e.folderPerm=0,e.roleName="查看编辑";for(var t=0;t0&&1==this.isShowSetUsers?this.isShowStaffList=!0:this.isShowStaffList=!1},showAllClick:function(){this.showAll=!0},listProjFolder:function(){},projInfo:function(e){var t=this;return Object(a["a"])(regeneratorRuntime.mark((function s(){var r;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.next=2,_["c"](e);case 2:r=s.sent,t.nowProject=r.Data,t.nowProject.ProjCreateTime=V()(t.nowProject.ProjCreateTime).format("YYYY/MM/DD"),t.nowProject=Object(d["a"])({},t.nowProject),t.listProjProp=r.Data.CustomProps,t.listProjProp=Object(p["a"])(t.listProjProp),t.coverSrc=r.Data.ShowImgUrl;case 9:case"end":return s.stop()}}),s)})))()},listDeptUsers:function(){var e=sessionStorage.companyId,t=this;this.$axios({method:"get",url:encodeURI("/api/sysinfo/deptusers/"+e)}).then((function(e){t.listDept=e.data.data})).catch((function(e){console.log(e)}))},saveProject:function(){var e=this;this.$axios({method:"put",url:encodeURI("/api/projects"),data:{projectData:this.nowProject,listFolder:this.listNewFolder,listProjProp:this.listProjProp,userId:sessionStorage.userId}}).then((function(t){1===t.data.state?(e.$notify({message:t.data.message,type:"success",offset:30,duration:2500}),e.offDialog()):e.$notify({message:t.data.message,type:"error",offset:30,duration:5e3})})).catch((function(e){console.log(e)}))},coverUploadSuccess:function(e){var t=Object(B["c"])(e.ossUrl);this.coverSrc=t,this.nowProject.ShowImgUrl=t},setSystemCover:function(){this.coverSrc="static/img/faceImg/face0"+this.srcIndex+".png",this.nowProject.showImgUrl=this.srcIndex,this.srcIndex<9?this.srcIndex=this.srcIndex+1:this.srcIndex=1},setSystemCoverRandom:function(){var e=Math.ceil(10*Math.random());while(this.srcIndex===e)e=Math.ceil(10*Math.random());this.srcIndex=e,10===this.srcIndex?this.coverSrc="static/img/faceImg/face"+this.srcIndex+".png":this.coverSrc="static/img/faceImg/face0"+this.srcIndex+".png",this.nowProject.ShowImgUrl=this.coverSrc}},watch:{isProjManager:function(e){this.isShowEditProjBtn=e},isSetFolder:function(e){this.isShowSetFolder=e,this.isShowProjInfo=!e,this.isShowEditProjBtn=!e,e&&(this.isShowSaveAllBtn=!1)},projId:function(e){this.currentProjId=e,this.projInfo(e)}}},Y=Z,G=Object(y["a"])(Y,H,q,!1,null,null,null),X=G.exports,Q=s("0f13"),K=function(){var e=this,t=e.$createElement,s=e._self._c||t;return e.cnName?s("div",[s("div",{staticClass:"big-time"},[e._v(e._s(e.nowTime))]),s("div",{staticClass:"now-time"},[s("span",{staticClass:"nowshijian"},[e._v(e._s(e.nowDate.substr(5))+" "+e._s(e.welcome)+e._s(e.cnName))])])]):e._e()},ee=[],te={props:["cnName"],data:function(){return{nowTime:"",nowDate:"",welcome:"",timer:null}},methods:{setDateTime:function(){this.nowDate=n["a"].getDate(),this.createDate=this.nowDate,this.nowTime=n["a"].getTime();var e=this.nowTime.substring(0,2);e<12&&e>0?this.welcome="上午好! ":12==e?this.welcome="中午好! ":e>12&&e>20?this.welcome="晚上好,注意休息! ":e>12&&e<20&&(this.welcome="下午好!")}},mounted:function(){this.setDateTime(),this.timer=setInterval(this.setDateTime,1e3)},beforeDestroy:function(){clearInterval(this.timer),this.timer=null}},se=te,re=(s("9d0d"),s("63b7"),Object(y["a"])(se,K,ee,!1,null,"0481b847",null)),ie=re.exports,ae=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("section",{staticClass:"yiyun_warpContent"},[s("div",{staticClass:"yiyun-rows",attrs:{id:"alone"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isEmpty,expression:"isEmpty"}],staticClass:"nullproduct"},[s("img",{attrs:{src:"static\\img\\nopro.png",alt:""}}),s("span",{staticClass:"noprotext"},[e._v("暂无项目")])]),s("div",{staticClass:"prjitemList"},[s("el-row",{attrs:{gutter:64}},e._l(e.projList,(function(t,r){return s("el-col",{key:t.Id,attrs:{xs:24,sm:12,md:12,lg:8,xl:6}},[s("proj-item",{attrs:{projItem:t},on:{lookProjDetailClick:function(s){return e.lookProjDetailClick(t)},watchAllBtnClick:function(s){return e.watchAllBtnClick(t,r)}}})],1)})),1)],1)])])])},ne=[],oe=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"prjitem"},[s("div",{ref:"projitem",staticClass:"prjitem_content",style:e.showBackground(e.projItem.ShowImgUrl),on:{mouseenter:function(t){e.showSetIcon(e.projItem.Id),e.isMouseHover=!0},mouseleave:function(t){e.hiddenSetIcon,e.isMouseHover=!1},click:function(t){return t.stopPropagation(),e.goFilePage(e.projItem)}}},[1==e.projItem.newProjStatus?s("div",{staticClass:"newprj_icon"},[e._v("新项目")]):e._e(),s("div",{staticClass:"prjitem_title",class:{"move-item-name":e.focusProjId==e.projItem.Id&&e.isMouseHover},attrs:{title:e.projItem.ProjName}},[e._v(e._s(e.subProjName(e.projItem.ProjName)))]),s("div",{staticClass:"operate-bar",class:{"show-operate-bar":e.isMouseHover&&e.focusProjId==e.projItem.Id}},[s("div",{staticClass:"bar-item",on:{click:function(t){return t.stopPropagation(),e.watchAllBtnClick(t)}}},[e._v("观全局")]),s("div",{staticClass:"bar-item",on:{click:function(t){return t.stopPropagation(),e.lookProjDetailClick(t)}}},[e._v("项目管理")])])])])},le=[],ce={data:function(){return{focusProjId:"",isEmpty:!1,isMouseHover:!1}},props:{projItem:{type:Object,default:function(){return{}}}},methods:{showBackground:function(e){var t=this.$options.filters["resolveImg"],s=t(e);return{background:"center/cover no-repeat url(".concat(s,")")}},lookProjDetailClick:function(){this.$emit("lookProjDetailClick")},manageProj:function(){this.$router.push("/newproject")},subProjName:function(e){var t=e.length;if(t>13){var s=e.slice(0,7),r=e.slice(t-6,t);return s+"..."+r}return e},watchAllBtnClick:function(){this.$emit("watchAllBtnClick")},showSetIcon:function(e){this.focusProjId=e},hiddenSetIcon:function(){this.focusProjId=""},goFilePage:function(e){sessionStorage.createUserID=e.CreateUserId,sessionStorage.templateID=e.TemplateId,sessionStorage.projId=e.Id,sessionStorage.nowFolderIndex="",sessionStorage.comFolderId=e.ComFolderId,sessionStorage.newProjStatus=e.NewProjStatus,sessionStorage.projName!=e.ProjName&&(sessionStorage.projName=e.ProjName),this.$router.push({name:"workspace"}).catch((function(e){return console.log(e)}));var t={API:"folder/queryNodeFolderListByProjectId",Action:"打开项目",CompanyName:sessionStorage.CompanyName,Subject:sessionStorage.projName,Source:sessionStorage.client,ProjectName:sessionStorage.projName};Object(g["b"])("operation/record",t),sessionStorage.pageName="workspace"}}},ue=ce,de=(s("6654"),s("7df1"),Object(y["a"])(ue,oe,le,!1,null,"2b5d1f78",null)),he=de.exports,fe={data:function(){return{isEmpty:!1}},components:{ProjItem:he},props:{projList:{type:Array,default:function(){return[]}},openPrjInfo:Function,addNewFolders:Function},watch:{projListLength:{immediate:!0,handler:function(e){this.isEmpty=!(e>0)}}},computed:{projListLength:function(){return this.projList?this.projList.length:0}},methods:{lookProjDetailClick:function(e){this.$emit("lookProjDetailClick",e)},manageProj:function(){this.$router.push("/newproject")},subProjName:function(e){var t=e.length;if(t>13){var s=e.slice(0,7),r=e.slice(t-6,t);return s+"..."+r}return e},watchAllBtnClick:function(e,t){this.$emit("watchAllBtnClick",e,t)}}},pe=fe,me=(s("01a6"),Object(y["a"])(pe,ae,ne,!1,null,"22c87fa3",null)),ve=me.exports,ge=(window.BMap,window.Velocity),we={elNew:"#new",components:{SearchBar:l["a"],DistWork:N,NewProj:z,ProjSetting:X,Timer:ie,AppHeader:o["a"],ProjList:ve},data:function(){var e=this.$store.state.currentPlatform;return{currentPlatform:e,isUserPerm:Object(Q["c"])(e.accessList,Q["a"].ProjectManager),nowDate:"",nowTime:"",cnName:"",currProjId:"",feedbackdesc:"",projList:[],nowProj:"",isEmpty:!1,createUserId:"",isProjectManager:!1,newProjData:{projectData:{projID:"",projName:"",projCode:"",folderID:"",scale:"",address:"",showImgUrl:"",templateID:"",createUserID:"",modifyUserID:"",deleted:0},listFolder:[],listProjProp:[],userId:""},listTempProp:[],listProjProp:[],checked:!1,newfolder:{folderName:"自定义"},isNewProj:!1,isBottomNewProj:!1,isDistProj:!0,isShowAllProject:!0,isHideAllProject:!1,isPointGroup:!0,pageIndex:1,isAloneDistProj:!1,createDate:new Date,noProjTip:!1,roles:[{value:1,label:"编辑",description:"查看和编辑"},{value:0,label:"查看",description:"查看"}],folderPerm:"1",scrollIndex:12,welcome:"",isShowProjSetting:!1,isEditProjFolder:!1,fetchTickIns:null,searchContent:"",searchProjList:[],isShowSearchBar:!1,isSearching:!1,homeScrollTop:0,contentBodyEl:null}},computed:{showProjList:function(){return this.isShowSearchBar&&this.searchContent&&this.isSearching?this.searchProjList:this.projList},showCenterTitle:function(){return this.isShowSearchBar&&this.searchContent?"“".concat(this.searchContent,"”搜索结果"):"我的项目"}},watch:{searchContent:function(){this.searchForProj()}},mounted:function(){this.cnName=JSON.parse(sessionStorage.user).userName,sessionStorage.setItem("pageTitle","我的项目"),this.listProjects(!0),this.contentBodyEl=document.getElementById("bigbody"),this.contentBodyEl&&this.contentBodyEl.addEventListener("scroll",this.recordContentScrollTop)},beforeDestroy:function(){sessionStorage.dotIndex=this.ind,this.fetchTickIns&&(clearTimeout(this.fetchTickIns),this.fetchTickIns=null),this.contentBodyEl&&this.contentBodyEl.removeEventListener("scroll",this.recordContentScrollTop)},methods:{recordContentScrollTop:function(){this.homeScrollTop=this.contentBodyEl.scrollTop,sessionStorage.setItem("homeScrollTop",this.homeScrollTop)},maxTextLengthArrived:function(){this.$notify({message:"请输入35个字之内的搜索内容",type:["warning"]})},hideSearchBar:function(){this.isShowSearchBar=!1,this.searchContent=""},showSearchBar:function(){this.isShowSearchBar=!0},searchForProj:Object(v["debounce"])(function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=/^\s*$/,!t.test(this.searchContent)){e.next=5;break}return e.abrupt("return");case 5:return this.isSearching=!0,e.next=8,_["e"](this.searchContent);case 8:s=e.sent,0==s.Code?this.searchProjList=s.Data:this.$notify({type:["error"],message:"查询数据失败, 请稍后重试。"});case 10:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),500),changeSearchContent:function(e){this.searchContent=e},createNewProjectClick:function(){this.$router.push("/newproject").catch((function(e){return console.log(e)}))},lookProjDetailClick:function(e){sessionStorage.projId=e.Id,sessionStorage.createUserID=e.CreateUserId,sessionStorage.templateID=e.TemplateId,sessionStorage.allocated=e.Allocated,this.$router.push({name:"projdetail"}).catch((function(e){console.log(e)}))},watchAllBtnClick:function(e,t){var s=["341999987607363584","341984912360235008","342002217261621248"];console.log(e),t%2==0||s.includes(e.Id)?this.toWatchPageClick(e):this.toLinkPageClick(e)},toWatchPageClick:function(e){this.$router.push({path:"watch"}),sessionStorage.removeItem("projName"),sessionStorage.removeItem("projId"),sessionStorage.setItem("projName",e.ProjName),sessionStorage.setItem("projId",e.Id)},toLinkPageClick:function(e){this.$router.push({path:"watchlink"}),sessionStorage.removeItem("projName"),sessionStorage.removeItem("projId"),sessionStorage.setItem("projName",e.ProjName),sessionStorage.setItem("projId",e.Id)},toRecycle:function(){this.$router.push({name:"recycle",params:{title:"我的项目"}})},createProjSuccess:function(){this.refreshListProj()},closeNewProj:function(){this.isNewProj=!1,this.isBottomNewProj=!1},listProjects:function(e){var t=this;return Object(a["a"])(regeneratorRuntime.mark((function s(){var r;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.next=2,_["d"](t.$store.state.accountId);case 2:r=s.sent,t.projList=r.Data,t.$nextTick((function(){var e=document.getElementById("bigbody");t.homeScrollTop=parseInt(sessionStorage.getItem("homeScrollTop")||0),e&&e.scrollTo(0,t.homeScrollTop)})),e&&(t.fetchTickIns=setTimeout((function(){return t.listProjects(!0)}),6e4));case 6:case"end":return s.stop()}}),s)})))()},goFilePage:function(e){sessionStorage.createUserID=e.CreateUserId,sessionStorage.templateID=e.TemplateId,sessionStorage.projId=e.Id,sessionStorage.nowFolderIndex="",sessionStorage.comFolderId=e.ComFolderId,sessionStorage.newProjStatus=e.NewProjStatus,sessionStorage.projName!=e.ProjName&&(sessionStorage.projName=e.ProjName),this.$router.push({name:"workspace"}).catch((function(e){console.log(e)})),sessionStorage.pageName="workspace"},toCloudIndex:function(e){sessionStorage.projId=e.projID,sessionStorage.firstFolderId=e.folderID,sessionStorage.projName!=e.projName&&(sessionStorage.projName=e.projName),sessionStorage.login="cloud",this.$router.push({name:"cloud"})},toProjNotice:function(e){sessionStorage.createUserID=e.createUserID,sessionStorage.templateID=e.templateID,sessionStorage.projId=e.projID,sessionStorage.nowFolderIndex="",sessionStorage.comFolderId=e.comFolderID,sessionStorage.projName!=e.projName&&(sessionStorage.projName=e.projName),this.$router.push({name:"projnotice",params:{title:"我的项目",allproj:!1}})},showAllProject:function(){this.isHideAllProject=!0,this.isDistProj=!1,this.isPointGroup=!1,this.isShowAllProject=!1},hideAllProject:function(){this.isHideAllProject=!1,this.isDistProj=!0,this.isPointGroup=!0,this.isShowAllProject=!0,this.projectsWithPage()},showNewProj:function(){this.isNewProj=!0},beforeEnter:function(e){e.style.opacity=0},enter:function(e,t){ge(e,{opacity:1,bottom:"0px"},{duration:500,complete:t})},leave:function(e,t){ge(e,{bottom:"-740px",opacity:"0"},{duration:500,complete:t})},showOption:function(){this.$emit("showOption",!0)},showHelp:function(){this.$emit("showHelp",!0)},showContinueNewProj:function(){this.isNewProj=!0,this.isBottomNewProj=!1},showzhankai:function(){this.isBottomNewProj=!0,this.isNewProj=!1},addNewFolders:function(e){sessionStorage.projId=e.Id,sessionStorage.createUserID=e.CreateUserId,sessionStorage.templateID=e.TemplateId,sessionStorage.allocated=e.Allocated,this.isAloneDistProj=!0},closeDistWork:function(e){"index"==e&&this.listProjects(),this.isAloneDistProj=!1},refreshListProj:function(e){this.listProjects(),this.isNewProj=!1},closeProjSet:function(){this.isShowProjSetting=!1,this.listProjects()},openPrjInfo:function(e){this.currProjId=e.Id,this.isProjectManager=e.Status,this.isShowProjSetting=!0,this.isEditProjFolder=!1},projEditSuccess:function(){this.isShowProjSetting=!1,this.listProjects()}}},_e=we,Ce=(s("c95a"),s("d614"),s("ec82"),Object(y["a"])(_e,r,i,!1,null,"5c9fe164",null));t["default"]=Ce.exports},"01a6":function(e,t,s){"use strict";var r=s("391a"),i=s.n(r);i.a},"01a8":function(e,t,s){"use strict";var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"app-header",class:{white:"white"===e.theme||e.isWindowScrollIng,black:"black"===e.theme,"black-bg-color":e.isWindowScrollIng&&"black"===e.theme}},[e.isClient?s("div",{staticClass:"app-header-top"},[s("div",{staticClass:"top-left",attrs:{title:e.isOnLine?"":"请检查本地网关连接"}},[s("div",{staticClass:"dot",class:{online:e.isOnLine,offline:!e.isOnLine}}),s("div",{staticClass:"state",class:{"white-color":"white"===e.theme,black:"black"===e.theme}},[e._v(e._s(e.isOnLine?"在线":"离线"))])]),s("div",{staticClass:"top-center"}),s("div",{staticClass:"top-right"},[s("div",{staticClass:"min",on:{click:function(t){return t.stopPropagation(),e.shrinkBrowserWindow(t)}}},[s("img",{staticClass:"min-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/缩小.svg",alt:""}})]),s("div",{staticClass:"my-max",on:{click:function(t){return t.stopPropagation(),e.judgeIsMaxBrowserWindow(t)}}},[e.isMaxWindowNow?s("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/小窗口化.svg",alt:""}}):s("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/放大.svg",alt:""}})]),s("div",{staticClass:"close",on:{mouseenter:function(t){e.isCloseHover=!0},mouseleave:function(t){e.isCloseHover=!1},click:function(t){return t.stopPropagation(),e.closeBrowserWindow(t)}}},[s("img",{directives:[{name:"show",rawName:"v-show",value:!e.isCloseHover,expression:"!isCloseHover"}],staticClass:"close-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/关闭.svg",alt:""}}),s("img",{directives:[{name:"show",rawName:"v-show",value:e.isCloseHover,expression:"isCloseHover"}],staticClass:"close-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/关闭激活.svg",alt:""}})])])]):e._e(),e.isWorkspaceTopBar&&!e.isClient||e.isShowTopBar&&!e.isClient?s("div",{staticClass:"app-header-top"}):e._e(),s("div",{staticClass:"app-header-content",class:{"adjust-content-pos":e.isWorkspaceTopBar&&!e.isClient}},[s("div",{staticClass:"app-header-content-left"},[e._t("left",[s("i",{directives:[{name:"show",rawName:"v-show",value:e.showBackBtn,expression:"showBackBtn"}],staticClass:"yiyun_icon app-header-back-btn no-drag",class:{icon_topback_left:"white"===e.theme||"basis"===e.theme,icon_topback_left_baise:"black"===e.theme},on:{click:function(t){return e.navBack()}}}),s("span",{directives:[{name:"show",rawName:"v-show",value:e.backBtnTitle,expression:"backBtnTitle"}],staticClass:"back_title no-drag",on:{click:function(t){return e.navBack()}}},[e._v(e._s(e.backBtnTitle))])])],2),s("div",{staticClass:"app-header-center"},[e._t("center",[e._v(e._s(e.title))])],2),s("div",{staticClass:"app-header-content-right no-drag"},[e._t("right"),e.showRecycleBin?s("span",{on:{click:e.toRecycle}},[s("i",{staticClass:"Cicon icon font_family icon-icon_huishouzhan",class:{inRecycle:e.isInRecycle}})]):e._e(),e.showUserCenter?s("user-center"):e._e()],2)])])},i=[],a=s("1392"),n=s("1d40"),o={components:{UserCenter:a["a"]},props:{theme:String,showBackBtn:Boolean,backBtnTitle:String,onBackBtnClick:Function,title:String,showUserCenter:Boolean,showRecycleBin:Boolean,isInRecycle:Boolean,isShowLeftState:{type:Boolean,default:function(){return!0}},isWorkspaceTopBar:Boolean,isShowTopBar:Boolean},data:function(){return{isWindowScrollIng:!1,isClient:n["a"].isClient,isMaxWindowNow:!1,isCloseHover:!1}},computed:{isMaxWindowSize:function(){return this.$store.state.isMaxWindowSize},isOnLine:function(){return this.$store.state.gatewayState}},watch:{isMaxWindowSize:function(e){this.isMaxWindowNow=e}},created:function(){this.isMaxWindowNow="true"===sessionStorage.getItem("isMaxWindowNow")&&Boolean(sessionStorage.getItem("isMaxWindowNow"))},mounted:function(){window.addEventListener("scroll",this.handleScroll.bind(this),!0)},methods:{shrinkBrowserWindow:function(){n["a"].shrinkBrowserWindow()},judgeIsMaxBrowserWindow:function(){this.isMaxWindowNow?this.unmaxBrowserWindow():this.enlargeBrowserWindow()},enlargeBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),n["a"].enlargeBrowserWindow()},unmaxBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),n["a"].unmaxBrowserWindow()},closeBrowserWindow:function(){n["a"].closeBrowserWindow()},navBack:function(){this.onBackBtnClick?this.onBackBtnClick():this.$router.go(-1)},toRecycle:function(){this.$router.push({name:"recycle"})},handleScroll:function(){var e=document.getElementById("bigbody");this.isWindowScrollIng=e.scrollTop>0}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)}},l=o,c=(s("8fc1"),s("2877")),u=Object(c["a"])(l,r,i,!1,null,"06f5aedd",null);t["a"]=u.exports},"03aa":function(e,t,s){e.exports=s.p+"static/img/user_Img001.82ca55ca.png"},"0bb4":function(e,t,s){"use strict";s("fb6a"),s("4d63"),s("ac1f"),s("25f0"),s("466d"),s("5319"),s("841c");t["a"]={getDateTimeString:function(e){var t=e.getFullYear(),s=e.getMonth()+1;s=s<10?"0"+s:s;var r=e.getDate();r=r<10?"0"+r:r;var i=e.getHours();i=i<10?"0"+i:i;var a=e.getMinutes();a=a<10?"0"+a:a;var n=e.getSeconds();n=n<10?"0"+n:n;var o=t+"-"+s+"-"+r+" "+i+":"+a+":"+n;return o},getDateTimeStringByStr:function(e){var t=new Date(e),s=t.getFullYear(),r=t.getMonth()+1;r=r<10?"0"+r:r;var i=t.getDate();i=i<10?"0"+i:i;var a=t.getHours();a=a<10?"0"+a:a;var n=t.getMinutes();n=n<10?"0"+n:n;var o=t.getSeconds();o=o<10?"0"+o:o;var l=s+"-"+r+"-"+i+" "+a+":"+n+":"+o;return l},formatDate:function(e){var t=e.getFullYear(),s=e.getMonth()+1,r=e.getDate();s=s<10?"0"+s:s,r=r<10?"0"+r:r;var i=t+"-"+s+"-"+r;return i},convertToDate:function(e){var t=e.slice(6,19),s=new Date(parseInt(t));return this.formatDate(s)},unixToDate:function(e,t){e=e.replace(/[^0-9]/gi,""),10==e.length&&(e*=1e3);var s=parseInt(e),r=new Date(s),i="";i+=r.getFullYear()+"-";var a=r.getMonth()+1;i+=a<10?"0"+a+"-":a+"-";var n=r.getDate();return i+=n<10?"0"+n:n,!0===t&&(i+=" "+r.getHours()+":",i+=r.getMinutes()+":",i+=r.getSeconds()),i},getUrlParams:function(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),s=window.location.search.substr(1).match(t);return null!=s?s[2]:null},validNumber:function(e,t,s){t?/^([0-9]+)$/.test(t)?s():s(new Error("只能输入整数")):t?s():s(new Error("这里不能为空"))},validNullOrNumber:function(e,t,s){t?/^([0-9]+)$/.test(t)?s():s(new Error("只能输入整数")):s()},validNullOrNumber2:function(e,t,s){t?/^([0-9]+)$/.test(t)?s():s(new Error(" ")):s()},validDecimal:function(e,t,s){t?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(t)?s():s(new Error("只能输入数字")):t?s():s(new Error("这里不能为空"))},validNullOrDecimal:function(e,t,s){t?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(t)?s():s(new Error("只能输入数字")):s()},validNullOrDecimal2:function(e,t,s){t?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(t)?s():s(new Error(" ")):s()},validRequired:function(e,t,s){t?s():s(new Error("这里不能为空"))},validEmail:function(e,t,s){if(""!=t){var r=/^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;r.test(t)?s():s(new Error("邮箱格式不正确!"))}else s()},validPhoneNum:function(e,t,s){if(""!=t){var r=/(^\d{11}$)/;r.test(t)?s():s(new Error("请输入11位有效手机号码!"))}else s(new Error("请输入手机号"))},validVerificationCode:function(e,t,s){if(""!=t){var r=/(^\d{6}$)/;r.test(t)?s():s(new Error("请输入有效的验证码!"))}else s(new Error("请输入验证码"))},validPhone:function(e,t,s){""!=t&&11!=t.length?s(new Error("请输入11位有效手机号码!")):s()},validPhoneAndRequired:function(e,t,s){""!=t?11!=t.length?s(new Error("请输入11位有效手机号码!")):s():s(new Error("请输入手机号"))},pathSubString:function(e){var t=e.slice(-22);return t},pageData:function(e,t,s){""!=t&&null!=t||(t=1),""!=e&&null!=e||(e=10);var r=(t-1)*e,i=r+e;i>s.length&&(i=s.length);var a=[];if(null!=s&&s.length>0)for(var n=r;n1?arguments[1]:void 0)}})},2909:function(e,t,s){"use strict";s.d(t,"a",(function(){return l}));var r=s("6b75");function i(e){if(Array.isArray(e))return Object(r["a"])(e)}var a=s("db90"),n=s("06c5");function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e){return i(e)||Object(a["a"])(e)||Object(n["a"])(e)||o()}},"2f4c":function(e,t,s){"use strict";var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"search-bar",class:{"show-search-bar":e.isShowSearchBar}},[s("div",{staticClass:"search-entry",class:{"set-high-index":!e.isShowSearchBar},on:{mouseenter:function(t){e.isSearchHover=!0},mouseleave:function(t){e.isSearchHover=!1},click:function(t){return t.stopPropagation(),e.showSearchBar(t)}}},[s("img",{directives:[{name:"show",rawName:"v-show",value:!e.isSearchHover,expression:"!isSearchHover"}],staticClass:"vert-hori-center search-img",attrs:{src:"/static/img/搜索.svg",alt:""}}),s("img",{directives:[{name:"show",rawName:"v-show",value:e.isSearchHover,expression:"isSearchHover"}],staticClass:"vert-hori-center search-active-img",attrs:{src:"/static/img/搜索激活.svg",alt:""}})]),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSearchBar,expression:"isShowSearchBar"}],staticClass:"search-wrap"},[s("i",{staticClass:"search-icon",on:{click:function(t){return t.stopPropagation(),e.goToSearch(t)}}}),s("input",{directives:[{name:"model",rawName:"v-model",value:e.searchContent,expression:"searchContent"}],staticClass:"search-input",attrs:{type:"text",placeholder:e.placeholder,maxlength:"35"},domProps:{value:e.searchContent},on:{keyup:function(t){return t.stopPropagation(),e.enterSearchContent(t)},input:function(t){t.target.composing||(e.searchContent=t.target.value)}}}),s("i",{staticClass:"close-icon",on:{click:function(t){return t.stopPropagation(),e.hideSearchBar(t)}}})])])},i=[],a={data:function(){return{searchContent:"",isSearchHover:!1,isShowSearchBar:!1}},props:{placeholder:{type:String,default:"搜索的文本"}},watch:{searchContent:function(e){35==e.length&&this.$emit("maxTextLengthArrived"),this.changeSearchContent()}},methods:{enterSearchContent:function(e){this.searchContent&&13==e.keyCode&&this.goToSearch()},changeSearchContent:function(){this.$emit("changeSearchContent",this.searchContent)},goToSearch:function(){this.$emit("goToSearch")},hideSearchBar:function(){this.isShowSearchBar=!1,this.$emit("hideSearchBar")},showSearchBar:function(){this.searchContent="",this.isShowSearchBar=!0,this.$emit("showSearchBar")}}},n=a,o=(s("76ae"),s("2877")),l=Object(o["a"])(n,r,i,!1,null,"df8317c6",null);t["a"]=l.exports},"391a":function(e,t,s){},"45fc":function(e,t,s){"use strict";var r=s("23e7"),i=s("b727").some,a=s("a640"),n=s("ae40"),o=a("some"),l=n("some");r({target:"Array",proto:!0,forced:!o||!l},{some:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"466d":function(e,t,s){"use strict";var r=s("d784"),i=s("825a"),a=s("50c4"),n=s("1d80"),o=s("8aa5"),l=s("14c3");r("match",1,(function(e,t,s){return[function(t){var s=n(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,s):new RegExp(t)[e](String(s))},function(e){var r=s(t,e,this);if(r.done)return r.value;var n=i(e),c=String(this);if(!n.global)return l(n,c);var u=n.unicode;n.lastIndex=0;var d,h=[],f=0;while(null!==(d=l(n,c))){var p=String(d[0]);h[f]=p,""===p&&(n.lastIndex=o(c,a(n.lastIndex),u)),f++}return 0===f?null:h}]}))},"4d63":function(e,t,s){var r=s("83ab"),i=s("da84"),a=s("94ca"),n=s("7156"),o=s("9bf2").f,l=s("241c").f,c=s("44e7"),u=s("ad6d"),d=s("9f7f"),h=s("6eeb"),f=s("d039"),p=s("69f3").set,m=s("2626"),v=s("b622"),g=v("match"),w=i.RegExp,_=w.prototype,C=/a/g,j=/a/g,P=new w(C)!==C,S=d.UNSUPPORTED_Y,y=r&&a("RegExp",!P||S||f((function(){return j[g]=!1,w(C)!=C||w(j)==j||"/a/i"!=w(C,"i")})));if(y){var b=function(e,t){var s,r=this instanceof b,i=c(e),a=void 0===t;if(!r&&i&&e.constructor===b&&a)return e;P?i&&!a&&(e=e.source):e instanceof b&&(a&&(t=u.call(e)),e=e.source),S&&(s=!!t&&t.indexOf("y")>-1,s&&(t=t.replace(/y/g,"")));var o=n(P?new w(e,t):w(e,t),r?this:_,b);return S&&s&&p(o,{sticky:s}),o},k=function(e){e in b||o(b,e,{configurable:!0,get:function(){return w[e]},set:function(t){w[e]=t}})},D=l(w),I=0;while(D.length>I)k(D[I++]);_.constructor=b,b.prototype=_,h(i,"RegExp",b)}m("RegExp")},"4f96":function(e,t,s){"use strict";s.d(t,"a",(function(){return o}));var r=s("0d21"),i=s("db90"),a=s("06c5"),n=s("3d8c");function o(e){return Object(r["a"])(e)||Object(i["a"])(e)||Object(a["a"])(e)||Object(n["a"])()}},5122:function(e,t,s){},"5a34":function(e,t,s){var r=s("44e7");e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},6062:function(e,t,s){"use strict";var r=s("6d61"),i=s("6566");e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},"63b7":function(e,t,s){"use strict";var r=s("fabf"),i=s.n(r);i.a},6566:function(e,t,s){"use strict";var r=s("9bf2").f,i=s("7c73"),a=s("e2cc"),n=s("0366"),o=s("19aa"),l=s("2266"),c=s("7dd0"),u=s("2626"),d=s("83ab"),h=s("f183").fastKey,f=s("69f3"),p=f.set,m=f.getterFor;e.exports={getConstructor:function(e,t,s,c){var u=e((function(e,r){o(e,u,t),p(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),d||(e.size=0),void 0!=r&&l(r,e[c],e,s)})),f=m(t),v=function(e,t,s){var r,i,a=f(e),n=g(e,t);return n?n.value=s:(a.last=n={index:i=h(t,!0),key:t,value:s,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=n),r&&(r.next=n),d?a.size++:e.size++,"F"!==i&&(a.index[i]=n)),e},g=function(e,t){var s,r=f(e),i=h(t);if("F"!==i)return r.index[i];for(s=r.first;s;s=s.next)if(s.key==t)return s};return a(u.prototype,{clear:function(){var e=this,t=f(e),s=t.index,r=t.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete s[r.index],r=r.next;t.first=t.last=void 0,d?t.size=0:e.size=0},delete:function(e){var t=this,s=f(t),r=g(t,e);if(r){var i=r.next,a=r.previous;delete s.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),s.first==r&&(s.first=i),s.last==r&&(s.last=a),d?s.size--:t.size--}return!!r},forEach:function(e){var t,s=f(this),r=n(e,arguments.length>1?arguments[1]:void 0,3);while(t=t?t.next:s.first){r(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!g(this,e)}}),a(u.prototype,s?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),d&&r(u.prototype,"size",{get:function(){return f(this).size}}),u},setStrong:function(e,t,s){var r=t+" Iterator",i=m(t),a=m(r);c(e,t,(function(e,t){p(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){var e=a(this),t=e.kind,s=e.last;while(s&&s.removed)s=s.previous;return e.target&&(e.last=s=s?s.next:e.state.first)?"keys"==t?{value:s.key,done:!1}:"values"==t?{value:s.value,done:!1}:{value:[s.key,s.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),s?"entries":"values",!s,!0),u(t)}}},6654:function(e,t,s){"use strict";var r=s("6eb7"),i=s.n(r);i.a},"6d1d":function(e,t,s){},"6d61":function(e,t,s){"use strict";var r=s("23e7"),i=s("da84"),a=s("94ca"),n=s("6eeb"),o=s("f183"),l=s("2266"),c=s("19aa"),u=s("861d"),d=s("d039"),h=s("1c7e"),f=s("d44e"),p=s("7156");e.exports=function(e,t,s){var m=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),g=m?"set":"add",w=i[e],_=w&&w.prototype,C=w,j={},P=function(e){var t=_[e];n(_,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!u(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!u(e))&&t.call(this,0===e?0:e)}:function(e,s){return t.call(this,0===e?0:e,s),this})};if(a(e,"function"!=typeof w||!(v||_.forEach&&!d((function(){(new w).entries().next()})))))C=s.getConstructor(t,e,m,g),o.REQUIRED=!0;else if(a(e,!0)){var S=new C,y=S[g](v?{}:-0,1)!=S,b=d((function(){S.has(1)})),k=h((function(e){new w(e)})),D=!v&&d((function(){var e=new w,t=5;while(t--)e[g](t,t);return!e.has(-0)}));k||(C=t((function(t,s){c(t,C,e);var r=p(new w,t,C);return void 0!=s&&l(s,r[g],r,m),r})),C.prototype=_,_.constructor=C),(b||D)&&(P("delete"),P("has"),m&&P("get")),(D||y)&&P(g),v&&_.clear&&delete _.clear}return j[e]=C,r({global:!0,forced:C!=w},j),f(C,e),v||s.setStrong(C,e,m),C}},"6eb7":function(e,t,s){},"76ae":function(e,t,s){"use strict";var r=s("e9b0"),i=s.n(r);i.a},"78dc":function(e,t,s){},"7df1":function(e,t,s){"use strict";var r=s("a5b4"),i=s.n(r);i.a},"841c":function(e,t,s){"use strict";var r=s("d784"),i=s("825a"),a=s("1d80"),n=s("129f"),o=s("14c3");r("search",1,(function(e,t,s){return[function(t){var s=a(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,s):new RegExp(t)[e](String(s))},function(e){var r=s(t,e,this);if(r.done)return r.value;var a=i(e),l=String(this),c=a.lastIndex;n(c,0)||(a.lastIndex=0);var u=o(a,l);return n(a.lastIndex,c)||(a.lastIndex=c),null===u?-1:u.index}]}))},"8fc1":function(e,t,s){"use strict";var r=s("99ab"),i=s.n(r);i.a},"98de":function(e,t,s){},"99ab":function(e,t,s){},"9d0d":function(e,t,s){"use strict";var r=s("cf15"),i=s.n(r);i.a},a06e:function(e,t,s){"use strict";s.d(t,"d",(function(){return a})),s.d(t,"c",(function(){return o})),s.d(t,"b",(function(){return c})),s.d(t,"a",(function(){return d})),s.d(t,"e",(function(){return f}));s("96cf");var r=s("1da1"),i=s("b775");function a(e){return n.apply(this,arguments)}function n(){return n=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("project/queryProjectListByUserId",{userId:t});case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),n.apply(this,arguments)}function o(e){return l.apply(this,arguments)}function l(){return l=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("project/queryProjectInfoByProjId",{projId:t});case 2:return s=e.sent,e.abrupt("return",s);case 4:case"end":return e.stop()}}),e)}))),l.apply(this,arguments)}function c(e){return u.apply(this,arguments)}function u(){return u=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("project/editProject",t);case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function d(e){return h.apply(this,arguments)}function h(){return h=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("project/assignedWork",t);case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}function f(e){return p.apply(this,arguments)}function p(){return p=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("project/searchProject",{projName:t});case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}},a5b4:function(e,t,s){},ab13:function(e,t,s){var r=s("b622"),i=r("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(s){try{return t[i]=!1,"/./"[e](t)}catch(r){}}return!1}},b0f9:function(e,t,s){"use strict";s.d(t,"o",(function(){return a})),s.d(t,"m",(function(){return o})),s.d(t,"t",(function(){return c})),s.d(t,"d",(function(){return d})),s.d(t,"n",(function(){return f})),s.d(t,"q",(function(){return m})),s.d(t,"f",(function(){return g})),s.d(t,"s",(function(){return _})),s.d(t,"l",(function(){return j})),s.d(t,"k",(function(){return S})),s.d(t,"b",(function(){return b})),s.d(t,"p",(function(){return D})),s.d(t,"j",(function(){return U})),s.d(t,"h",(function(){return N})),s.d(t,"i",(function(){return A})),s.d(t,"a",(function(){return B})),s.d(t,"g",(function(){return O})),s.d(t,"c",(function(){return L})),s.d(t,"e",(function(){return $})),s.d(t,"r",(function(){return z}));s("96cf");var r=s("1da1"),i=s("b775");function a(){return n.apply(this,arguments)}function n(){return n=Object(r["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/queryTemplateList");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),n.apply(this,arguments)}function o(e){return l.apply(this,arguments)}function l(){return l=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/queryTemplateByCompanyId",{companyId:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),l.apply(this,arguments)}function c(e){return u.apply(this,arguments)}function u(){return u=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/uploadingXmind",t,{headers:{"Content-Type":"application/octet-stream"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function d(e){return h.apply(this,arguments)}function h(){return h=Object(r["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/createTemplate",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}function f(e){return p.apply(this,arguments)}function p(){return p=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/queryTemplateByTemplateId",{id:t});case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}function m(e){return v.apply(this,arguments)}function v(){return v=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/queryTemplateQuoteCountByTempId",{templateId:t});case 2:return s=e.sent,e.abrupt("return",s);case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function g(e){return w.apply(this,arguments)}function w(){return w=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/deleteTemplateByTemplateId",{id:t});case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),w.apply(this,arguments)}function _(e){return C.apply(this,arguments)}function C(){return C=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/updateTemplate",t);case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function j(e){return P.apply(this,arguments)}function P(){return P=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/queryNestTemplateByTemplateId",{id:t});case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),P.apply(this,arguments)}function S(e){return y.apply(this,arguments)}function y(){return y=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/queryNestTemplateByNodeId",{id:t});case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),y.apply(this,arguments)}function b(e){return k.apply(this,arguments)}function k(){return k=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/connectNestTemplateFolder",t);case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),k.apply(this,arguments)}function D(e){return I.apply(this,arguments)}function I(){return I=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/queryTemplateNodeByTemplateId",{templateId:t});case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),I.apply(this,arguments)}function U(e,t,s){return x.apply(this,arguments)}function x(){return x=Object(r["a"])(regeneratorRuntime.mark((function e(t,s,r){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/queryFileExchange",{currentTemplateId:t,currentNodeId:s,nestedNodeId:r});case 2:return a=e.sent,e.abrupt("return",Object(i["c"])(a));case 4:case"end":return e.stop()}}),e)}))),x.apply(this,arguments)}function N(e){return T.apply(this,arguments)}function T(){return T=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/fileExchange",t);case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),T.apply(this,arguments)}function A(e){return F.apply(this,arguments)}function F(){return F=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/queryAllTemplateNodeModelFile",{templateNodeId:t});case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),F.apply(this,arguments)}function B(e){return M.apply(this,arguments)}function M(){return M=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/addTemplateNodeModelFile",t);case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),M.apply(this,arguments)}function O(e){return E.apply(this,arguments)}function E(){return E=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/deleteTemplateNodeModelFile",{id:t});case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),E.apply(this,arguments)}function L(e){return W.apply(this,arguments)}function W(){return W=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/createNestedRelevance",t);case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),W.apply(this,arguments)}function $(e){return R.apply(this,arguments)}function R(){return R=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/deleteNestedRelevance",t);case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),R.apply(this,arguments)}function z(e){return H.apply(this,arguments)}function H(){return H=Object(r["a"])(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("template/renameTemplate",t);case 2:return s=e.sent,e.abrupt("return",Object(i["c"])(s));case 4:case"end":return e.stop()}}),e)}))),H.apply(this,arguments)}},bb2f:function(e,t,s){var r=s("d039");e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},c704:function(e,t,s){},c95a:function(e,t,s){"use strict";var r=s("5122"),i=s.n(r);i.a},caad:function(e,t,s){"use strict";var r=s("23e7"),i=s("4d64").includes,a=s("44d2"),n=s("ae40"),o=n("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:!o},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},cf15:function(e,t,s){},d5e1:function(e,t,s){"use strict";var r=s("78dc"),i=s.n(r);i.a},d614:function(e,t,s){"use strict";var r=s("c704"),i=s.n(r);i.a},db90:function(e,t,s){"use strict";s.d(t,"a",(function(){return r}));s("a4d3"),s("e01a"),s("d28b"),s("a630"),s("d3b7"),s("3ca3"),s("ddb0");function r(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},e9b0:function(e,t,s){},ec82:function(e,t,s){"use strict";var r=s("6d1d"),i=s.n(r);i.a},f044:function(e,t,s){"use strict";var r=s("98de"),i=s.n(r);i.a},f183:function(e,t,s){var r=s("d012"),i=s("861d"),a=s("5135"),n=s("9bf2").f,o=s("90e3"),l=s("bb2f"),c=o("meta"),u=0,d=Object.isExtensible||function(){return!0},h=function(e){n(e,c,{value:{objectID:"O"+ ++u,weakData:{}}})},f=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,c)){if(!d(e))return"F";if(!t)return"E";h(e)}return e[c].objectID},p=function(e,t){if(!a(e,c)){if(!d(e))return!0;if(!t)return!1;h(e)}return e[c].weakData},m=function(e){return l&&v.REQUIRED&&d(e)&&!a(e,c)&&h(e),e},v=e.exports={REQUIRED:!1,fastKey:f,getWeakData:p,onFreeze:m};r[c]=!0},f96e:function(e,t,s){"use strict";var r=s("01a8");s.d(t,"a",(function(){return r["a"]}))},fabf:function(e,t,s){}}]); \ No newline at end of file diff --git a/static/js/chunk-6cb025ae.b96f0205.js b/static/js/chunk-6cb025ae.499a41c1.js similarity index 100% rename from static/js/chunk-6cb025ae.b96f0205.js rename to static/js/chunk-6cb025ae.499a41c1.js diff --git a/static/js/chunk-74b26ff1.5a929340.js b/static/js/chunk-74b26ff1.3a492303.js similarity index 100% rename from static/js/chunk-74b26ff1.5a929340.js rename to static/js/chunk-74b26ff1.3a492303.js diff --git a/static/js/chunk-78390ace.35745896.js b/static/js/chunk-78390ace.65fa54cc.js similarity index 100% rename from static/js/chunk-78390ace.35745896.js rename to static/js/chunk-78390ace.65fa54cc.js diff --git a/static/js/chunk-7a18b3e4.4656f19e.js b/static/js/chunk-7a18b3e4.e89a8c94.js similarity index 100% rename from static/js/chunk-7a18b3e4.4656f19e.js rename to static/js/chunk-7a18b3e4.e89a8c94.js diff --git a/static/js/chunk-7d913a8a.dc2ae5a5.js b/static/js/chunk-7d913a8a.630878e1.js similarity index 100% rename from static/js/chunk-7d913a8a.dc2ae5a5.js rename to static/js/chunk-7d913a8a.630878e1.js diff --git a/static/js/chunk-802699f8.293ef25a.js b/static/js/chunk-802699f8.9a310b76.js similarity index 100% rename from static/js/chunk-802699f8.293ef25a.js rename to static/js/chunk-802699f8.9a310b76.js diff --git a/static/js/chunk-805bd970.9d041445.js b/static/js/chunk-805bd970.9d041445.js deleted file mode 100644 index 4b69e7ba..00000000 --- a/static/js/chunk-805bd970.9d041445.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-805bd970"],{5192:function(e,t,n){},7578:function(e,t,n){},"82f6":function(e,t,n){"use strict";var i=n("7578"),r=n.n(i);r.a},a2d2: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",{staticClass:"milestone_panel"},[n("div",{staticClass:"flex_right_pain",class:{AnimatedRightIn:e.visible}},[e.milestoneManage?n("div",{staticClass:"flex_right_pain_body_box"},[n("div",{staticClass:"flex_right_pain_head"},[e._m(0),n("div",{staticClass:"EC_col_12"},[n("div",{staticClass:"close-wrap",class:{"close-hover":e.isCloseHover},on:{click:function(t){return t.stopPropagation(),e.closeSetPain(t)},mouseenter:function(t){e.isCloseHover=!0},mouseleave:function(t){e.isCloseHover=!1}}},[n("img",{directives:[{name:"show",rawName:"v-show",value:!e.isCloseHover,expression:"!isCloseHover"}],staticClass:"close-icon vert-hori-center",attrs:{src:"/static/img/operate-pop-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-pop-window/关闭激活.svg",alt:""}})])])]),n("div",{staticClass:"pxline"}),n("div",{ref:"milestoneManageRef",staticClass:"flex_right_pain_body"},[e.fileNowVersion?n("div",[n("version-item",{attrs:{localWorkspacePrefix:e.localWorkspacePrefix,nowVersion:"",commitInfo:e.fileNowVersion,active:e.activeVersion===e.fileNowVersion,file:e.file},on:{makeCopy:e.onMakeCopy,openFile:e.openFile,select:e.selectVersion,setHeadVersion:e.setHeadVersion}}),n("div",{staticClass:"title"},[e._v("里程碑")]),e._l(e.fileOtherVersion,(function(t){return n("version-item",{key:t.currentHash,attrs:{localWorkspacePrefix:e.localWorkspacePrefix,commitInfo:t,active:e.activeVersion===t,fileId:e.file.id,file:e.file},on:{select:e.selectVersion,setHeadVersion:e.setHeadVersion,makeCopy:e.onMakeCopy}})}))],2):n("div",{staticClass:"empty"},[n("span",[e._v("暂无历史版本")])])]),e.fileNowVersion?n("div",{staticClass:"bottombtnitem"},[n("div",{staticClass:"bottombtnitemlonBtn"},[n("el-button",{staticClass:"longBtn defualtBtnInfo quitBtn",attrs:{type:"primary",round:""},on:{click:e.checkAllMilestone}},[e._v("查看所有历史提交版本")])],1)]):e._e()]):e._e(),e.milestoneCheck?n("div",{staticClass:"flex_right_pain_body_box"},[n("div",{staticClass:"flex_right_pain_head"},[n("div",{staticClass:"EC_col_4"},[n("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(t){return t.stopPropagation(),e.enterMilestoneManage(t)}}})]),e._m(1),n("div",{staticClass:"EC_col_4"},[n("i",{staticClass:"Cicon icon font_family icon-icon_quxiaohuoguanbi fr",attrs:{title:"关闭"},on:{click:e.closeSetPain}})])]),n("div",{staticClass:"pxline"}),n("div",{ref:"milestoneCheckRef",staticClass:"flex_right_pain_body"},[n("div",e._l(e.fileHistoryList,(function(t){return n("version-item",{key:t.currentHash,attrs:{localWorkspacePrefix:e.localWorkspacePrefix,nowVersion:e.fileNowVersion===t,commitInfo:t,active:e.activeVersion===t,fileId:e.file.id,file:e.file},on:{select:e.selectVersion,setHeadVersion:e.setHeadVersion,makeCopy:e.onMakeCopy}})})),1)])]):e._e()])])},r=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"EC_col_12"},[n("h4",{staticClass:"RdiaheaderTitle"},[e._v("历史版本管理")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"EC_col_16"},[n("h4",{staticClass:"centertext"},[e._v("所有历史提交版本")])])}],o=(n("4de4"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("transition",{attrs:{name:"info-fade"}},[e.active?n("div",{staticClass:"version_item",class:{set_item_position:!1}},[n("div",{staticClass:"content"},[n("div",{staticClass:"content_header"},[e.nowVersion?n("i",{staticClass:"iconfont icon-zhiding",attrs:{alt:""}}):e._e(),n("p",[e._v(e._s((e.nowVersion?"当前协同 - ":"")+"版本"+e.commitInfo.version))])]),n("div",{staticClass:"content_remark split"},[n("div",{staticClass:"content_remark_inner"},[n("div",[e._v(e._s(e.showAccountName)+"的备注")]),n("div",[e._v(e._s(e.commitInfo.note?e.commitInfo.note:"无备注"))])])]),n("div",{staticClass:"content_info split"},[n("div",{staticClass:"option",on:{click:function(t){t.stopPropagation(),e.infoPanelActive=!e.infoPanelActive}}},[n("i",{staticClass:"option_icon",class:{option_active:e.infoPanelActive}}),n("div",{staticClass:"option_label"},[e._v("更多信息")])]),n("div",{staticClass:"content_info_detail",class:{panel_inactive:!e.infoPanelActive}},[n("div",{staticClass:"content_info_detail_item"},[n("span",[e._v("提交人:")]),n("span",{staticStyle:{color:"#2869E6"}},[e._v(e._s(e.showAccountName))])]),n("div",{staticClass:"content_info_detail_item"},[n("span",[e._v("基于版本:")]),n("span",[e._v(e._s(e.commitInfo.creator)+" 提交的版本"+e._s(e.commitInfo.version))])]),n("div",{staticClass:"content_info_detail_item"},[n("span",[e._v("协同于:")]),n("span",[e._v(e._s(e.showTime))])])])]),n("div",{staticClass:"content_action split"},[n("div",{staticClass:"option",on:{click:function(t){t.stopPropagation(),e.actionPanelActive=!e.actionPanelActive}}},[n("i",{staticClass:"option_icon",class:{option_active:e.actionPanelActive}}),n("div",{staticClass:"option_label"},[e._v("更多操作")])]),n("div",{staticClass:"content_action_list",class:{panel_inactive:!e.actionPanelActive}},[n("div",{staticClass:"content_action_list_item milestone_set"},[n("div",{staticClass:"icon_box"},[n("i",{staticClass:"iconfont icon-lichengbei-qizhi"})]),n("p",[e._v("里程碑")]),n("div",{staticClass:"switch_btn"},[n("el-switch",{attrs:{"active-color":"#7850FF","inactive-color":"#fff"},on:{change:e.setMileStoneClick},model:{value:e.commitInfo.milestone,callback:function(t){e.$set(e.commitInfo,"milestone",t)},expression:"commitInfo.milestone"}})],1)]),e.nowVersion?e._e():n("div",{staticClass:"content_action_list_item button",on:{click:function(t){return t.stopPropagation(),e.showHistoryFile(t)}}},[e._v(" 查看版本 ")]),e.nowVersion?n("div",{staticClass:"content_action_list_item button",on:{click:function(t){return t.stopPropagation(),e.editCurrentFile(t)}}},[e._v(" 继续编辑 ")]):e._e(),e.nowVersion?e._e():n("div",{staticClass:"content_action_list_item button",on:{click:function(t){return t.stopPropagation(),e.setShare(t)}}},[n("i",{staticClass:"iconfont icon-zhiding"}),e._v("设为协同版本 ")]),e.nowVersion?e._e():n("div",{staticClass:"content_action_list_item button",on:{click:e.onMakeCopy}},[e._v(" 从该版本创建副本 ")])])])])]):e._e()]),e.active?e._e():n("div",{staticClass:"version_item_brief",on:{click:function(t){return t.stopPropagation(),e.clickVersion(t)}}},[n("div",{staticClass:"header"},[e._m(0),n("p",[e._v("版本"+e._s(e.commitInfo.version))]),n("p",{staticClass:"header_time"},[e._v(e._s(e.showTime))])]),n("div",{staticClass:"remarks_brief"},[n("div",{staticClass:"remarks_brief_content",class:{noremarks:!0}},[e._v(e._s(e.commitInfo.note?e.commitInfo.note:"无备注"))])])])],1)}),s=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"icon_box"},[n("span",{staticClass:"iconfont icon-lichengbei-qizhi"})])}],a=(n("99af"),n("ac1f"),n("5319"),n("96cf"),n("1da1")),c=n("5a0c"),l=n.n(c),u=(n("a471"),n("b428")),f=n("1d40");l.a.locale("zh-cn");var m={props:{localWorkspacePrefix:String,nowVersion:Boolean,active:Boolean,commitInfo:{type:Object,default:function(){return{}}},file:{type:Object,default:function(){return{}}},fileId:String},mounted:function(){this.remarkEl=this.$refs.remarksText,this.isShowOpenIcon=this.remarkEl&&this.remarkEl.clientHeight>22},data:function(){return{remarkEl:null,switchValue:!0,isRemarksEdit:!1,isShowAll:!1,isShowOpenIcon:!1,accountName:"",infoPanelActive:!1,actionPanelActive:!1}},methods:{showHistoryFile:function(){var e=this.file,t=this.commitInfo,n=e.archName,i=e.extension,r=e.relativePath,o=t.currentHash,s=t.version,a="".concat(n,"-版本").concat(s).concat(i?".".concat(i):""),c="历史版本查看\\".concat((new Date).getTime()).concat(r?"\\relativePath":"").replace(/\//g,"\\"),l=function(){},u="".concat(this.localWorkspacePrefix,"\\").concat(c,"\\").concat(a);f["a"].downloadFile(o,sessionStorage.projName,a,c,(function(e,t){console.log("receive download file message:",e,t);try{var n=JSON.parse(e.data),i=n.process;n.hash;if(100!==i)return;f["a"].openFile(u),t.close()}catch(r){console.error("socket-download-file parse data have error:",r),l(),t.close()}}),l)},onMakeCopy:function(){this.$emit("makeCopy",this.commitInfo)},clickVersion:function(){this.$emit("select",this.commitInfo)},editRemarks:function(){this.isRemarksEdit=!0,this.isShowAll=!0},showAll:function(){this.isShowAll=!this.isShowAll},changeRemarks:function(){this.remarkEl=this.$refs.remarksText,this.remarkEl&&(this.newremarks=this.remarkEl.innerText)},finishEditRemarks:function(){this.isRemarksEdit=!1,this.remarks=this.newremarks},setColor:function(e){this.toolboxShow=!0;var t=e.target.getBoundingClientRect();this.$emit("getToolboxTop",{top:t.top,isShow:!0})},selectColor:function(e){this.selectedColor=e,this.color=this.selectedColor},closeSetColor:function(){this.toolboxShow=!1},editCurrentFile:function(){this.$emit("openFile")},setShare:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(u["m"])(e.fileId,e.commitInfo.currentHash,sessionStorage.userId);case 2:n=t.sent,0==n.Code?(e.$notify({type:"success",message:"设置协同版本成功"}),e.$emit("setHeadVersion",e.commitInfo)):e.$notify({type:"error",message:n.Msg});case 4:case"end":return t.stop()}}),t)})))()},setMileStoneClick:function(e){this.$bus.$emit("setMileStoneClick",e,this.commitInfo)}},computed:{showAccountName:function(){return this.commitInfo.creator&&sessionStorage.accountName==this.commitInfo.creator?"我":this.commitInfo.creator},showTime:function(){return this.commitInfo.createTime&&l()(1e3*this.commitInfo.createTime).format("YYYY年MM月DD日 A HH:mm")}},watch:{newremarks:function(){this.remarkEl=this.$refs.remarksText,this.isShowOpenIcon=this.remarkEl&&this.remarkEl.clientHeight>22}}},d=m,h=(n("e3bd"),n("2877")),p=Object(h["a"])(d,o,s,!1,null,"1c611fae",null),v=p.exports,_=n("2ef0"),b={components:{VersionItem:v},props:{localWorkspacePrefix:String,visible:Boolean,fileMilestoneInfo:{type:Object,default:function(){return{}}},fileHistoryList:{type:Array,default:function(){return[]}},file:{type:Object,default:function(){return{}}}},watch:{fileHistoryList:function(){this.getFileMilestoneList(this.fileHistoryList),this.getFileNowVersion(this.fileHistoryList),this.getFileOtherVersion()},visible:function(e){if(e){var t=document.querySelector(".notify-mask");if(!t){var n=document.createElement("div");n.className="notify-mask",document.body.appendChild(n),t=n}t.addEventListener("click",this.closeSetPain),this.milestoneManage=!0,this.milestoneCheck=!1,this.fileMilestoneList=[],this.fileNowVersion=null,this.fileOtherVersion=[],this.activeVersion=null}}},data:function(){return{milestoneManageRefEl:null,milestoneCheckRefEl:null,isCloseHover:!1,isFileNameShow:!1,milestoneManage:!0,milestoneCheck:!1,fileMilestoneList:[],fileNowVersion:null,fileOtherVersion:[],activeVersion:null}},methods:{setHeadVersion:function(e){this.fileNowVersion=e},selectVersion:function(e){this.activeVersion=e},openFile:function(){this.$emit("openFile",this.file)},onMakeCopy:function(e){var t=Object(_["cloneDeep"])(this.file);t.ipfsCid=e.currentHash,this.$emit("makeCopy",t,e.version)},clickVersion:function(){this.isFileNameShow=!0},editRemarks:function(){this.isEdit=!0},setRemarks:function(){this.isFileNameShow=!1,this.isEdit=!1},cancelEdit:function(){},checkAllMilestone:function(){this.milestoneManage=!1,this.milestoneCheck=!0},enterMilestoneManage:function(){this.milestoneManage=!0,this.milestoneCheck=!1},openSetPain:function(){var e=document.querySelector(".notify-mask");if(!e){var t=document.createElement("div");t.className="notify-mask",document.body.appendChild(t)}},closeSetPain:function(){this.$emit("closeMilestonePain",!1);var e=document.querySelector(".notify-mask");document.body.removeChild(e)},setColor:function(){this.toolboxShow=!0,this.isFileNameShow=!0},selectColor:function(e){this.selectedColor=e,this.color=e},closeSetColor:function(){this.toolboxShow=!1},createMilestone:function(){this.toolboxShow=!1,this.color=this.selectedColor},getFileMilestoneList:function(e){this.fileMilestoneList=e.filter((function(e){return e.milestone}))},getFileNowVersion:function(e){var t=this,n=e.filter((function(e){return e.currentHash==t.file.ipfsCid}));this.fileNowVersion=n[0],this.activeVersion=this.fileNowVersion},getFileOtherVersion:function(){var e=this;this.fileOtherVersion=this.fileMilestoneList.filter((function(t){return t.currentHash!=e.file.ipfsCid}))},refresh:function(){}}},w=b,C=(n("82f6"),Object(h["a"])(w,i,r,!1,null,"54dacae5",null));t["default"]=C.exports},a471:function(e,t,n){!function(t,i){e.exports=i(n("5a0c"))}(0,(function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){switch(t){case"W":return e+"周";default:return e+"日"}},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"}};return e.locale(t,null,!0),t}))},b332:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"c",(function(){return u}));n("99af"),n("a15b"),n("d81d"),n("fb6a"),n("ac1f"),n("5319"),n("1276");var i=n("d4ec"),r={DOWNLOADING:100,UPLOADING:101},o={NOT_WORKING:1,WORKING:2},s=function(e,t){var n=e.nodeName,i=e.extension,r=e.archName,o=e.relativePath,s=n?"".concat(n,"\\协作文件"):t.folderName;return"".concat(s,"\\").concat(o?"".concat(o.replace(/\//g,"\\"),"\\"):"").concat(r).concat(i?".".concat(i):"")},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;if(!e)return[];var i=t?"".concat(t,"/"):t,r=e.split("/").map((function(e,t,r){var o="".concat(i).concat(r.slice(0,t+1).join("/"));return n&&n(o),o}));return r},c=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(i["a"])(this,e);var n=t.split("/"),r=n.pop();this.id=t,this.folderPath=t,this.folderName=r,this.parentFolderPath=n.join("/"),this.childCount=0,this.fileCount=0},l=["jpg","png","bmp","gif","jpeg"],u=["avi","mov","wav","mp4"]},b428:function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"h",(function(){return l})),n.d(t,"k",(function(){return f})),n.d(t,"d",(function(){return d})),n.d(t,"b",(function(){return p})),n.d(t,"g",(function(){return _})),n.d(t,"i",(function(){return w})),n.d(t,"a",(function(){return k})),n.d(t,"c",(function(){return y})),n.d(t,"f",(function(){return I})),n.d(t,"l",(function(){return j})),n.d(t,"j",(function(){return V})),n.d(t,"m",(function(){return N})),n.d(t,"n",(function(){return F}));n("99af"),n("4160"),n("a15b"),n("d81d"),n("fb6a"),n("ac1f"),n("1276"),n("159b"),n("96cf");var i=n("1da1"),r=n("b775"),o=n("3de1"),s=n("b332");function a(e,t){return c.apply(this,arguments)}function c(){return c=Object(i["a"])(regeneratorRuntime.mark((function e(t,n){var i,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("folder/queryNodeFolderListByProjectIdAndUserId",{projectId:t,userId:n});case 2:return i=e.sent,s=(i.Data||[]).map((function(e){var t=Object(o["b"])(e);return t.listsShareFrom=[[],[]],t})),e.abrupt("return",s);case 5:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function l(){return u.apply(this,arguments)}function u(){return u=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/queryFilesFromRecycleBin");case 2:if(t=e.sent,Object(r["c"])(t),0===t.Code){e.next=6;break}return e.abrupt("return",null);case 6:return n=(t.Data||[]).map((function(e){var t=Object(o["b"])(e);return t})),e.abrupt("return",n);case 8:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function f(e){return m.apply(this,arguments)}function m(){return m=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/removeFromRecycleBin",{fileId:t});case 2:return n=e.sent,e.abrupt("return",Object(r["c"])(n));case 4:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}function d(e,t,n){return h.apply(this,arguments)}function h(){return h=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i){var a,c,l,u,f,m;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("folder/queryFileListByFolderIdAndUserId",{folderId:t,userId:n,publicFolderId:i});case 2:if(a=e.sent,Object(r["c"])(a),0===a.Code){e.next=6;break}return e.abrupt("return",null);case 6:return c=a.Data||{},l=[],u={},f=(c.myFile||[]).concat(c.workFile||[]).map((function(e){var t=Object(o["b"])(e),n=t.relativePath;if(n){var i=n.split("/");i.forEach((function(e,t){var n=i.slice(0,t+1).join("/");if(!u[n]){var r=new s["d"](n),o=r.parentFolderPath;l.push(r),u[n]=r,u[o]&&u[o].childCount++}})),u[n].fileCount++}return t})),m={folder:l,folderMap:u,file:f,coordinationFiles:(c.coordinationFiles||[]).map(o["b"])},e.abrupt("return",m);case 12:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}function p(e,t){return v.apply(this,arguments)}function v(){return v=Object(i["a"])(regeneratorRuntime.mark((function e(t,n){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/changeFileWorkStatus",{fileId:t,workStatus:n});case 2:return i=e.sent,e.abrupt("return",Object(r["c"])(i));case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function _(e,t,n){return b.apply(this,arguments)}function b(){return b=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i){var o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/queryFileExchange",{currentTemplateId:t,currentNodeId:n,nestedNodeId:i});case 2:return o=e.sent,e.abrupt("return",Object(r["c"])(o));case 4:case"end":return e.stop()}}),e)}))),b.apply(this,arguments)}function w(e){return C.apply(this,arguments)}function C(){return C=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/queryNestedTempFileExchange",{currentTemplateId:t});case 2:return n=e.sent,e.abrupt("return",Object(r["c"])(n));case 4:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function k(e){return g.apply(this,arguments)}function g(){return g=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/addFile",t);case 2:return n=e.sent,i={API:"file/addFile",Action:"新建文件",CompanyName:sessionStorage.CompanyName,Subject:t.archName+"."+t.extension,Source:sessionStorage.client,ProjectName:sessionStorage.projName},Object(r["b"])("operation/record",i),e.abrupt("return",n);case 6:case"end":return e.stop()}}),e)}))),g.apply(this,arguments)}function y(e){return x.apply(this,arguments)}function x(){return x=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/deleteFile",{fileId:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),x.apply(this,arguments)}function I(e){return O.apply(this,arguments)}function O(){return O=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("company/queryFileOnlineUrlByCompanyId",t);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),O.apply(this,arguments)}function j(e,t){return S.apply(this,arguments)}function S(){return S=Object(i["a"])(regeneratorRuntime.mark((function e(t,n){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/searchFileListByFolderIdAndFileName",{folderId:t,fileName:n});case 2:return i=e.sent,e.abrupt("return",i);case 4:case"end":return e.stop()}}),e)}))),S.apply(this,arguments)}function V(e){return M.apply(this,arguments)}function M(){return M=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/queryProjArchiveHistoryTbByArchId",{archId:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),M.apply(this,arguments)}function N(e,t,n){return R.apply(this,arguments)}function R(){return R=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i){var o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/setShareFile",{Id:t,IpfsCid:n,ModifyUserId:i});case 2:return o=e.sent,e.abrupt("return",o);case 4:case"end":return e.stop()}}),e)}))),R.apply(this,arguments)}function F(e){return P.apply(this,arguments)}function P(){return P=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/updateProjArchiveHistory",t);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),P.apply(this,arguments)}},d4ec:function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return i}))},e3bd:function(e,t,n){"use strict";var i=n("5192"),r=n.n(i);r.a}}]); \ No newline at end of file diff --git a/static/js/chunk-da5f603a.b4ed00a8.js b/static/js/chunk-da5f603a.d07ded00.js similarity index 100% rename from static/js/chunk-da5f603a.b4ed00a8.js rename to static/js/chunk-da5f603a.d07ded00.js diff --git a/static/js/chunk-e8c15138.3db22f01.js b/static/js/chunk-e8c15138.b58a9be9.js similarity index 100% rename from static/js/chunk-e8c15138.3db22f01.js rename to static/js/chunk-e8c15138.b58a9be9.js diff --git a/static/js/chunk-ef8ce8b2.3c90d250.js b/static/js/chunk-ef8ce8b2.67c1eb86.js similarity index 100% rename from static/js/chunk-ef8ce8b2.3c90d250.js rename to static/js/chunk-ef8ce8b2.67c1eb86.js