From ba5fb0ba9fc8e568bda2073cf6a73e1548522b48 Mon Sep 17 00:00:00 2001 From: zhengzhou Date: Tue, 30 Mar 2021 17:26:58 +0800 Subject: [PATCH] 'build' --- index.html | 2 +- ...{chunk-34589b20.3883bbc9.css => chunk-4f6d14b2.38b5fe77.css} | 2 +- static/js/{app.7a9e46eb.js => app.49915173.js} | 2 +- .../{chunk-038ce22f.52b618fd.js => chunk-038ce22f.dc6b0671.js} | 0 .../{chunk-05a1125b.28a2f462.js => chunk-05a1125b.674f1776.js} | 0 .../{chunk-05bf99c1.3fc47963.js => chunk-05bf99c1.3c910529.js} | 0 .../{chunk-11067227.9bdba682.js => chunk-11067227.b979cdd2.js} | 0 .../{chunk-12a7ad0b.696b627a.js => chunk-12a7ad0b.1d920d75.js} | 0 .../{chunk-145b0de7.7dd995d7.js => chunk-145b0de7.a0679bb7.js} | 0 .../{chunk-1fe39068.9c01dbad.js => chunk-1fe39068.a0bfa61b.js} | 0 .../{chunk-1fe40532.19588954.js => chunk-1fe40532.7ec1bf5f.js} | 0 .../{chunk-23d16c0d.f7ed63da.js => chunk-23d16c0d.35b5e6c7.js} | 0 .../{chunk-28990618.9d4ff0a0.js => chunk-28990618.b4306a3d.js} | 0 .../{chunk-2b38f122.7855b98f.js => chunk-2b38f122.857292b6.js} | 0 .../{chunk-2d0ac90d.5a5b9fda.js => chunk-2d0ac90d.090f14bb.js} | 0 .../{chunk-2d0b3688.a94c0c8c.js => chunk-2d0b3688.d71b1296.js} | 0 .../{chunk-2d0c061a.3501e34b.js => chunk-2d0c061a.e479678f.js} | 0 .../{chunk-2d0cf6a4.f817ca98.js => chunk-2d0cf6a4.b2fe86e6.js} | 0 .../{chunk-2d0e148e.294f007d.js => chunk-2d0e148e.317df403.js} | 0 .../{chunk-2d21b850.45123f91.js => chunk-2d21b850.041e6a5f.js} | 0 .../{chunk-2d224b2b.2a13c7b9.js => chunk-2d224b2b.ad5c840a.js} | 0 .../{chunk-309e49e4.2049e3ee.js => chunk-309e49e4.629bb11b.js} | 0 .../{chunk-3261285a.5eca50c0.js => chunk-3261285a.def5d616.js} | 0 .../{chunk-347878ae.074ca8be.js => chunk-347878ae.11280179.js} | 0 .../{chunk-3ccf94d4.42239acf.js => chunk-3ccf94d4.6ea6b5f7.js} | 0 .../{chunk-3e849856.1607b3b1.js => chunk-3e849856.57164b60.js} | 0 .../{chunk-3fbc85f3.5cfd800d.js => chunk-3fbc85f3.ab7f8310.js} | 0 .../{chunk-427d16c2.4633e0de.js => chunk-427d16c2.19683c51.js} | 0 .../{chunk-4a5d94c9.f783b8c8.js => chunk-4a5d94c9.35976397.js} | 0 .../{chunk-4c803a36.1fdc886e.js => chunk-4c803a36.28c657f4.js} | 0 .../{chunk-34589b20.fbf6b866.js => chunk-4f6d14b2.6de8f340.js} | 2 +- .../{chunk-550c5be4.dcdf9b92.js => chunk-550c5be4.d7eeb4fc.js} | 0 .../{chunk-5e79f418.cb5ff8ef.js => chunk-5e79f418.24e6f11f.js} | 0 .../{chunk-601f1471.e84a9097.js => chunk-601f1471.bf6f6994.js} | 0 .../{chunk-62c7e6db.ff167817.js => chunk-62c7e6db.b8a33b22.js} | 0 .../{chunk-638e5b5a.bad25557.js => chunk-638e5b5a.861ce42e.js} | 0 .../{chunk-655d6881.2fe17e9e.js => chunk-655d6881.dc7aa1f5.js} | 0 .../{chunk-74b26ff1.adc12114.js => chunk-74b26ff1.3396ada9.js} | 0 .../{chunk-74d6658a.fccd75aa.js => chunk-74d6658a.d48dd138.js} | 0 .../{chunk-78390ace.933375f9.js => chunk-78390ace.ce50ca52.js} | 0 .../{chunk-7d913a8a.d80f5bd1.js => chunk-7d913a8a.70eea4fc.js} | 0 .../{chunk-802699f8.6c4fe89a.js => chunk-802699f8.ce067d86.js} | 0 .../{chunk-a821f8e4.ebe279e7.js => chunk-a821f8e4.3fefdcc9.js} | 0 .../{chunk-d2670fec.246d400d.js => chunk-d2670fec.2a4a619d.js} | 0 .../{chunk-da5f603a.550d6369.js => chunk-da5f603a.e000aa8d.js} | 0 .../{chunk-ef8ce8b2.fd09187c.js => chunk-ef8ce8b2.55d525eb.js} | 0 46 files changed, 4 insertions(+), 4 deletions(-) rename static/css/{chunk-34589b20.3883bbc9.css => chunk-4f6d14b2.38b5fe77.css} (56%) rename static/js/{app.7a9e46eb.js => app.49915173.js} (96%) rename static/js/{chunk-038ce22f.52b618fd.js => chunk-038ce22f.dc6b0671.js} (100%) rename static/js/{chunk-05a1125b.28a2f462.js => chunk-05a1125b.674f1776.js} (100%) rename static/js/{chunk-05bf99c1.3fc47963.js => chunk-05bf99c1.3c910529.js} (100%) rename static/js/{chunk-11067227.9bdba682.js => chunk-11067227.b979cdd2.js} (100%) rename static/js/{chunk-12a7ad0b.696b627a.js => chunk-12a7ad0b.1d920d75.js} (100%) rename static/js/{chunk-145b0de7.7dd995d7.js => chunk-145b0de7.a0679bb7.js} (100%) rename static/js/{chunk-1fe39068.9c01dbad.js => chunk-1fe39068.a0bfa61b.js} (100%) rename static/js/{chunk-1fe40532.19588954.js => chunk-1fe40532.7ec1bf5f.js} (100%) rename static/js/{chunk-23d16c0d.f7ed63da.js => chunk-23d16c0d.35b5e6c7.js} (100%) rename static/js/{chunk-28990618.9d4ff0a0.js => chunk-28990618.b4306a3d.js} (100%) rename static/js/{chunk-2b38f122.7855b98f.js => chunk-2b38f122.857292b6.js} (100%) rename static/js/{chunk-2d0ac90d.5a5b9fda.js => chunk-2d0ac90d.090f14bb.js} (100%) rename static/js/{chunk-2d0b3688.a94c0c8c.js => chunk-2d0b3688.d71b1296.js} (100%) rename static/js/{chunk-2d0c061a.3501e34b.js => chunk-2d0c061a.e479678f.js} (100%) rename static/js/{chunk-2d0cf6a4.f817ca98.js => chunk-2d0cf6a4.b2fe86e6.js} (100%) rename static/js/{chunk-2d0e148e.294f007d.js => chunk-2d0e148e.317df403.js} (100%) rename static/js/{chunk-2d21b850.45123f91.js => chunk-2d21b850.041e6a5f.js} (100%) rename static/js/{chunk-2d224b2b.2a13c7b9.js => chunk-2d224b2b.ad5c840a.js} (100%) rename static/js/{chunk-309e49e4.2049e3ee.js => chunk-309e49e4.629bb11b.js} (100%) rename static/js/{chunk-3261285a.5eca50c0.js => chunk-3261285a.def5d616.js} (100%) rename static/js/{chunk-347878ae.074ca8be.js => chunk-347878ae.11280179.js} (100%) rename static/js/{chunk-3ccf94d4.42239acf.js => chunk-3ccf94d4.6ea6b5f7.js} (100%) rename static/js/{chunk-3e849856.1607b3b1.js => chunk-3e849856.57164b60.js} (100%) rename static/js/{chunk-3fbc85f3.5cfd800d.js => chunk-3fbc85f3.ab7f8310.js} (100%) rename static/js/{chunk-427d16c2.4633e0de.js => chunk-427d16c2.19683c51.js} (100%) rename static/js/{chunk-4a5d94c9.f783b8c8.js => chunk-4a5d94c9.35976397.js} (100%) rename static/js/{chunk-4c803a36.1fdc886e.js => chunk-4c803a36.28c657f4.js} (100%) rename static/js/{chunk-34589b20.fbf6b866.js => chunk-4f6d14b2.6de8f340.js} (54%) rename static/js/{chunk-550c5be4.dcdf9b92.js => chunk-550c5be4.d7eeb4fc.js} (100%) rename static/js/{chunk-5e79f418.cb5ff8ef.js => chunk-5e79f418.24e6f11f.js} (100%) rename static/js/{chunk-601f1471.e84a9097.js => chunk-601f1471.bf6f6994.js} (100%) rename static/js/{chunk-62c7e6db.ff167817.js => chunk-62c7e6db.b8a33b22.js} (100%) rename static/js/{chunk-638e5b5a.bad25557.js => chunk-638e5b5a.861ce42e.js} (100%) rename static/js/{chunk-655d6881.2fe17e9e.js => chunk-655d6881.dc7aa1f5.js} (100%) rename static/js/{chunk-74b26ff1.adc12114.js => chunk-74b26ff1.3396ada9.js} (100%) rename static/js/{chunk-74d6658a.fccd75aa.js => chunk-74d6658a.d48dd138.js} (100%) rename static/js/{chunk-78390ace.933375f9.js => chunk-78390ace.ce50ca52.js} (100%) rename static/js/{chunk-7d913a8a.d80f5bd1.js => chunk-7d913a8a.70eea4fc.js} (100%) rename static/js/{chunk-802699f8.6c4fe89a.js => chunk-802699f8.ce067d86.js} (100%) rename static/js/{chunk-a821f8e4.ebe279e7.js => chunk-a821f8e4.3fefdcc9.js} (100%) rename static/js/{chunk-d2670fec.246d400d.js => chunk-d2670fec.2a4a619d.js} (100%) rename static/js/{chunk-da5f603a.550d6369.js => chunk-da5f603a.e000aa8d.js} (100%) rename static/js/{chunk-ef8ce8b2.fd09187c.js => chunk-ef8ce8b2.55d525eb.js} (100%) diff --git a/index.html b/index.html index 5a55e739..a6844dec 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-34589b20.3883bbc9.css b/static/css/chunk-4f6d14b2.38b5fe77.css similarity index 56% rename from static/css/chunk-34589b20.3883bbc9.css rename to static/css/chunk-4f6d14b2.38b5fe77.css index c4364944..6ac55e94 100644 --- a/static/css/chunk-34589b20.3883bbc9.css +++ b/static/css/chunk-4f6d14b2.38b5fe77.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-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 +.version_item[data-v-767ea4de]{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-767ea4de]{position:absolute;top:8px;right:8px;color:#dedede;z-index:9;cursor:pointer}.content[data-v-767ea4de]{position:relative}.content_header[data-v-767ea4de]{padding:0;padding-left:24px;display:flex;font-size:18px;line-height:28px;margin-bottom:8px}.content_header .icon-zhiding[data-v-767ea4de]{position:absolute;right:23px;top:0;color:#7850ff}.content_remark[data-v-767ea4de]{padding:7px 16px}.content_remark_inner[data-v-767ea4de]{background-color:rgba(0,0,0,.05);border-radius:4px;padding:9px 8px}.content_remark_inner>div[data-v-767ea4de]:first-child{font-size:12px;color:rgba(0,0,0,.56)}.content_info[data-v-767ea4de]{padding:12px 24px}.content_info_detail[data-v-767ea4de]{margin-top:14px;font-size:12px;line-height:16px;overflow:hidden}.content_info_detail_item[data-v-767ea4de]{margin-bottom:5px}.content_info_detail_item>span[data-v-767ea4de]{display:inline-block;vertical-align:top}.content_info_detail_item>span[data-v-767ea4de]:first-child{width:60px;color:rgba(0,0,0,.56)}.content_action[data-v-767ea4de]{padding:12px 24px}.content_action_list[data-v-767ea4de]{margin-top:12px;overflow:hidden}.content_action_list_item[data-v-767ea4de]{margin-bottom:8px}.content_action_list_item.milestone_set[data-v-767ea4de]{display:flex;height:44px;padding-top:7px}.content_action_list_item.milestone_set p[data-v-767ea4de]{line-height:28px}.content_action_list_item.milestone_set .switch_btn[data-v-767ea4de]{flex:1;text-align:right}.content_action_list_item.button[data-v-767ea4de]{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-767ea4de]:hover{background-color:#7850ff;color:#fff;transition:all .3s linear}.content_action_list_item.button:hover .icon-zhiding[data-v-767ea4de]{color:#fff}.content_action_list_item.button[data-v-767ea4de]:active{background-color:#442baa}.content_action_list_item.button:active .icon-zhiding[data-v-767ea4de]{color:#fff}.content_action_list_item.button .icon-zhiding[data-v-767ea4de]{position:absolute;left:8px;transition:color .3s linear}.content .panel_inactive[data-v-767ea4de]{height:0;margin-top:0}.icon_box[data-v-767ea4de]{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-767ea4de]{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-767ea4de]{padding:7px 0;display:flex;font-size:13px}.version_item_brief .header_time[data-v-767ea4de]{flex:1;text-align:right;color:rgba(0,0,0,.56)}.version_item_brief .icon_box[data-v-767ea4de]{width:20px;height:20px;line-height:20px}.version_item_brief .icon_box .icon-lichengbei-qizhi[data-v-767ea4de]{font-size:14px}.version_item_brief .remarks_brief[data-v-767ea4de]{padding:8px 0;display:flex}.version_item_brief .remarks_brief_content[data-v-767ea4de]{line-height:28px}.version_item_brief .remarks_brief .remarks_icon[data-v-767ea4de]{flex:1;text-align:right}.version_item_brief .remarks_brief .remarks_icon i[data-v-767ea4de]{font-size:20px;color:#999b9d}.version_item_brief[data-v-767ea4de]:hover{background-color:rgba(50,50,60,.1);transition:all .3s linear}.el-icon-close[data-v-767ea4de]:before{content:""!important}.set_item_position[data-v-767ea4de]{transform:translateY(30px);transition:all .3s linear}.switch_btn .el-switch__core[data-v-767ea4de]:after{width:26px!important;height:26px!important}.icon-zhiding[data-v-767ea4de]{font-size:22px;color:#d8d8d8}.split[data-v-767ea4de]{border-top:.5px solid rgba(0,0,0,.2)}.option[data-v-767ea4de]{font-size:14px;line-height:20px;padding-left:8px;cursor:pointer}.option_icon[data-v-767ea4de]{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-767ea4de]{transform:rotate(0deg)}.option_label[data-v-767ea4de]{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/js/app.7a9e46eb.js b/static/js/app.49915173.js similarity index 96% rename from static/js/app.7a9e46eb.js rename to static/js/app.49915173.js index 2bc66be1..217a15a0 100644 --- a/static/js/app.7a9e46eb.js +++ b/static/js/app.49915173.js @@ -1 +1 @@ -(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,o,c){var u,s,d,l=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return u=l.length>6&&void 0!==l[6]?l[6]:i["identity"],e.next=3,y(g("init"),[a,t,n].join("|"));case 3:s=e.sent,o(s.data),d=g("subscriptionFileChange"),d.on("open",(function(){d.send(n)})),d.on("message",r),d.on("error",u),c(d);case 10:case"end":return e.stop()}}),e)})));return function(n,t,a,r,o,c){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,j,I,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,j=n.onSuccess,I=n.onProgress,N=void 0===I?i["identity"]:I,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:1,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()}j.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-601f1471")]).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-74d6658a")]).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-62c7e6db")]).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-427d16c2")]).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-3e849856")]).then(t.bind(null,"3b2f"))}},{path:"/recycle",name:"recycle",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-d2670fec")]).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-a821f8e4")]).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.30 16:46"),null!=document.getElementById("Loading")&&null!=document.getElementById("Loading").nodeName&&""!=document.getElementById("Loading").nodeName&&document.body.removeChild(document.getElementById("Loading")),"login"!=this.$route.name&&"notfound"!=this.$route.name&&"platform"!==this.$route.name||(this.header_show=!1),this.isClient&&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,j,I;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(b["b"])("authentication/login",{UserName:e,PassWord:n});case 2:if(r=a.sent,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,j=C.CompanyName,I=[],m&&I.push(k["a"].CompanyConsole),1===d&&I.push(k["a"].ProjectManager),f.push(Object(k["d"])(k["b"].COMPANY,i,j,O,I));case 29:return t.state.isLogin=!0,Object.assign(t.state,p),sessionStorage.client=t.state.client,sessionStorage.userId=s,sessionStorage.accountId=s,sessionStorage.user=JSON.stringify(p),a.abrupt("return",{Code:r.Code,Data:p});case 36:case"end":return a.stop()}}),a)})))()},logout:function(){var e={API:"authentication/loginOut",Action:"注销",CompanyName:sessionStorage.CompanyName,Subject:sessionStorage.accountName,Source:sessionStorage.client};Object(b["b"])("operation/record",e),this.state=Object.assign(this.state,v()),Object(b["b"])("authentication/loginOut"),sessionStorage.clear()}},O=t("2f62"),j=t("a78e"),I=t.n(j),N=t("5ab9"),S=function(e){return Object(N["a"])(e)||"/static/img/avator_default.svg"},x=function(e,n){var t="avator"===n?"/static/img/avator_default.svg":"";return Object(N["a"])(e)||t},P=t("caf9"),_=t("32ed"),L=t.n(_),E=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.src,expression:"src"}]})},R=[],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=I.a,a["default"].component("ImgLazy",T),a["default"].prototype.$axios=b["a"],a["default"].prototype.$fetch=b["a"],a["default"].prototype.$fetchApi=b["b"],a["default"].filter("resolveImg",x),a["default"].filter("resolveAvator",S),a["default"].prototype.$bus=new a["default"],a["default"].prototype.$notify=H,a["default"].use(L.a),a["default"].config.productionTip=!1,new a["default"]({router:f["a"],store:C,render:function(e){return e(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":case"project/addProjectGobalConfig":case"file/submitDeliverables":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,o,c){var u,s,d,l=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return u=l.length>6&&void 0!==l[6]?l[6]:i["identity"],e.next=3,y(g("init"),[a,t,n].join("|"));case 3:s=e.sent,o(s.data),d=g("subscriptionFileChange"),d.on("open",(function(){d.send(n)})),d.on("message",r),d.on("error",u),c(d);case 10:case"end":return e.stop()}}),e)})));return function(n,t,a,r,o,c){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,j,I,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,j=n.onSuccess,I=n.onProgress,N=void 0===I?i["identity"]:I,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:1,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()}j.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-601f1471")]).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-74d6658a")]).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-62c7e6db")]).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-427d16c2")]).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-4f6d14b2"),t.e("chunk-3e849856")]).then(t.bind(null,"3b2f"))}},{path:"/recycle",name:"recycle",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-638e5b5a"),t.e("chunk-d2670fec")]).then(t.bind(null,"8b1e"))}},{path:"/history",name:"history",component:function(){return Promise.all([t.e("chunk-4f6d14b2"),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-a821f8e4")]).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.30 17:26"),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,j,I;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(b["b"])("authentication/login",{UserName:e,PassWord:n});case 2:if(r=a.sent,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,j=C.CompanyName,I=[],m&&I.push(k["a"].CompanyConsole),1===d&&I.push(k["a"].ProjectManager),f.push(Object(k["d"])(k["b"].COMPANY,i,j,O,I));case 29:return t.state.isLogin=!0,Object.assign(t.state,p),sessionStorage.client=t.state.client,sessionStorage.userId=s,sessionStorage.accountId=s,sessionStorage.user=JSON.stringify(p),a.abrupt("return",{Code:r.Code,Data:p});case 36:case"end":return a.stop()}}),a)})))()},logout:function(){var e={API:"authentication/loginOut",Action:"注销",CompanyName:sessionStorage.CompanyName,Subject:sessionStorage.accountName,Source:sessionStorage.client};Object(b["b"])("operation/record",e),this.state=Object.assign(this.state,v()),Object(b["b"])("authentication/loginOut"),sessionStorage.clear()}},O=t("2f62"),j=t("a78e"),I=t.n(j),N=t("5ab9"),S=function(e){return Object(N["a"])(e)||"/static/img/avator_default.svg"},x=function(e,n){var t="avator"===n?"/static/img/avator_default.svg":"";return Object(N["a"])(e)||t},P=t("caf9"),_=t("32ed"),L=t.n(_),E=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.src,expression:"src"}]})},R=[],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=I.a,a["default"].component("ImgLazy",T),a["default"].prototype.$axios=b["a"],a["default"].prototype.$fetch=b["a"],a["default"].prototype.$fetchApi=b["b"],a["default"].filter("resolveImg",x),a["default"].filter("resolveAvator",S),a["default"].prototype.$bus=new a["default"],a["default"].prototype.$notify=H,a["default"].use(L.a),a["default"].config.productionTip=!1,new a["default"]({router:f["a"],store:C,render:function(e){return e(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":case"project/addProjectGobalConfig":case"file/submitDeliverables":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.52b618fd.js b/static/js/chunk-038ce22f.dc6b0671.js similarity index 100% rename from static/js/chunk-038ce22f.52b618fd.js rename to static/js/chunk-038ce22f.dc6b0671.js diff --git a/static/js/chunk-05a1125b.28a2f462.js b/static/js/chunk-05a1125b.674f1776.js similarity index 100% rename from static/js/chunk-05a1125b.28a2f462.js rename to static/js/chunk-05a1125b.674f1776.js diff --git a/static/js/chunk-05bf99c1.3fc47963.js b/static/js/chunk-05bf99c1.3c910529.js similarity index 100% rename from static/js/chunk-05bf99c1.3fc47963.js rename to static/js/chunk-05bf99c1.3c910529.js diff --git a/static/js/chunk-11067227.9bdba682.js b/static/js/chunk-11067227.b979cdd2.js similarity index 100% rename from static/js/chunk-11067227.9bdba682.js rename to static/js/chunk-11067227.b979cdd2.js diff --git a/static/js/chunk-12a7ad0b.696b627a.js b/static/js/chunk-12a7ad0b.1d920d75.js similarity index 100% rename from static/js/chunk-12a7ad0b.696b627a.js rename to static/js/chunk-12a7ad0b.1d920d75.js diff --git a/static/js/chunk-145b0de7.7dd995d7.js b/static/js/chunk-145b0de7.a0679bb7.js similarity index 100% rename from static/js/chunk-145b0de7.7dd995d7.js rename to static/js/chunk-145b0de7.a0679bb7.js diff --git a/static/js/chunk-1fe39068.9c01dbad.js b/static/js/chunk-1fe39068.a0bfa61b.js similarity index 100% rename from static/js/chunk-1fe39068.9c01dbad.js rename to static/js/chunk-1fe39068.a0bfa61b.js diff --git a/static/js/chunk-1fe40532.19588954.js b/static/js/chunk-1fe40532.7ec1bf5f.js similarity index 100% rename from static/js/chunk-1fe40532.19588954.js rename to static/js/chunk-1fe40532.7ec1bf5f.js diff --git a/static/js/chunk-23d16c0d.f7ed63da.js b/static/js/chunk-23d16c0d.35b5e6c7.js similarity index 100% rename from static/js/chunk-23d16c0d.f7ed63da.js rename to static/js/chunk-23d16c0d.35b5e6c7.js diff --git a/static/js/chunk-28990618.9d4ff0a0.js b/static/js/chunk-28990618.b4306a3d.js similarity index 100% rename from static/js/chunk-28990618.9d4ff0a0.js rename to static/js/chunk-28990618.b4306a3d.js diff --git a/static/js/chunk-2b38f122.7855b98f.js b/static/js/chunk-2b38f122.857292b6.js similarity index 100% rename from static/js/chunk-2b38f122.7855b98f.js rename to static/js/chunk-2b38f122.857292b6.js diff --git a/static/js/chunk-2d0ac90d.5a5b9fda.js b/static/js/chunk-2d0ac90d.090f14bb.js similarity index 100% rename from static/js/chunk-2d0ac90d.5a5b9fda.js rename to static/js/chunk-2d0ac90d.090f14bb.js diff --git a/static/js/chunk-2d0b3688.a94c0c8c.js b/static/js/chunk-2d0b3688.d71b1296.js similarity index 100% rename from static/js/chunk-2d0b3688.a94c0c8c.js rename to static/js/chunk-2d0b3688.d71b1296.js diff --git a/static/js/chunk-2d0c061a.3501e34b.js b/static/js/chunk-2d0c061a.e479678f.js similarity index 100% rename from static/js/chunk-2d0c061a.3501e34b.js rename to static/js/chunk-2d0c061a.e479678f.js diff --git a/static/js/chunk-2d0cf6a4.f817ca98.js b/static/js/chunk-2d0cf6a4.b2fe86e6.js similarity index 100% rename from static/js/chunk-2d0cf6a4.f817ca98.js rename to static/js/chunk-2d0cf6a4.b2fe86e6.js diff --git a/static/js/chunk-2d0e148e.294f007d.js b/static/js/chunk-2d0e148e.317df403.js similarity index 100% rename from static/js/chunk-2d0e148e.294f007d.js rename to static/js/chunk-2d0e148e.317df403.js diff --git a/static/js/chunk-2d21b850.45123f91.js b/static/js/chunk-2d21b850.041e6a5f.js similarity index 100% rename from static/js/chunk-2d21b850.45123f91.js rename to static/js/chunk-2d21b850.041e6a5f.js diff --git a/static/js/chunk-2d224b2b.2a13c7b9.js b/static/js/chunk-2d224b2b.ad5c840a.js similarity index 100% rename from static/js/chunk-2d224b2b.2a13c7b9.js rename to static/js/chunk-2d224b2b.ad5c840a.js diff --git a/static/js/chunk-309e49e4.2049e3ee.js b/static/js/chunk-309e49e4.629bb11b.js similarity index 100% rename from static/js/chunk-309e49e4.2049e3ee.js rename to static/js/chunk-309e49e4.629bb11b.js diff --git a/static/js/chunk-3261285a.5eca50c0.js b/static/js/chunk-3261285a.def5d616.js similarity index 100% rename from static/js/chunk-3261285a.5eca50c0.js rename to static/js/chunk-3261285a.def5d616.js diff --git a/static/js/chunk-347878ae.074ca8be.js b/static/js/chunk-347878ae.11280179.js similarity index 100% rename from static/js/chunk-347878ae.074ca8be.js rename to static/js/chunk-347878ae.11280179.js diff --git a/static/js/chunk-3ccf94d4.42239acf.js b/static/js/chunk-3ccf94d4.6ea6b5f7.js similarity index 100% rename from static/js/chunk-3ccf94d4.42239acf.js rename to static/js/chunk-3ccf94d4.6ea6b5f7.js diff --git a/static/js/chunk-3e849856.1607b3b1.js b/static/js/chunk-3e849856.57164b60.js similarity index 100% rename from static/js/chunk-3e849856.1607b3b1.js rename to static/js/chunk-3e849856.57164b60.js diff --git a/static/js/chunk-3fbc85f3.5cfd800d.js b/static/js/chunk-3fbc85f3.ab7f8310.js similarity index 100% rename from static/js/chunk-3fbc85f3.5cfd800d.js rename to static/js/chunk-3fbc85f3.ab7f8310.js diff --git a/static/js/chunk-427d16c2.4633e0de.js b/static/js/chunk-427d16c2.19683c51.js similarity index 100% rename from static/js/chunk-427d16c2.4633e0de.js rename to static/js/chunk-427d16c2.19683c51.js diff --git a/static/js/chunk-4a5d94c9.f783b8c8.js b/static/js/chunk-4a5d94c9.35976397.js similarity index 100% rename from static/js/chunk-4a5d94c9.f783b8c8.js rename to static/js/chunk-4a5d94c9.35976397.js diff --git a/static/js/chunk-4c803a36.1fdc886e.js b/static/js/chunk-4c803a36.28c657f4.js similarity index 100% rename from static/js/chunk-4c803a36.1fdc886e.js rename to static/js/chunk-4c803a36.28c657f4.js diff --git a/static/js/chunk-34589b20.fbf6b866.js b/static/js/chunk-4f6d14b2.6de8f340.js similarity index 54% rename from static/js/chunk-34589b20.fbf6b866.js rename to static/js/chunk-4f6d14b2.6de8f340.js index 57f95825..bd27eccf 100644 --- a/static/js/chunk-34589b20.fbf6b866.js +++ b/static/js/chunk-4f6d14b2.6de8f340.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-34589b20"],{5192:function(e,t,n){},"5cf5":function(e,t,n){"use strict";var i=n("bad9"),o=n.n(i);o.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()])])},o=[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("所有历史提交版本")])])}],r=(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 d={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,o=e.relativePath,r=t.currentHash,s=t.version,a="".concat(n,"-版本").concat(s).concat(i?".".concat(i):""),c="历史版本查看\\".concat((new Date).getTime()).concat(o?"\\relativePath":"").replace(/\//g,"\\"),l=function(){},u="".concat(this.localWorkspacePrefix,"\\").concat(c,"\\").concat(a);f["a"].downloadFile(r,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(o){console.error("socket-download-file parse data have error:",o),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["k"])(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}}},m=d,h=(n("e3bd"),n("2877")),p=Object(h["a"])(m,r,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,o,!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 o})),n.d(t,"a",(function(){return r})),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"),o={DOWNLOADING:100,UPLOADING:101},r={NOT_WORKING:1,WORKING:2},s=function(e,t){var n=e.nodeName,i=e.extension,o=e.archName,r=e.relativePath,s=t.folderName;return"".concat(s).concat(n?"\\协作文件":"","\\").concat(r?"".concat(r.replace(/\//g,"\\"),"\\"):"").concat(o).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,o=e.split("/").map((function(e,t,o){var r="".concat(i).concat(o.slice(0,t+1).join("/"));return n&&n(r),r}));return o},c=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;Object(i["a"])(this,e);var o=t.split("/"),r=o.pop();this.id=n,this.folderPath=t,this.folderName=r,this.parentFolderPath=o.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,"g",(function(){return l})),n.d(t,"i",(function(){return f})),n.d(t,"d",(function(){return m})),n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return _})),n.d(t,"c",(function(){return w})),n.d(t,"f",(function(){return k})),n.d(t,"j",(function(){return y})),n.d(t,"h",(function(){return I})),n.d(t,"k",(function(){return j})),n.d(t,"l",(function(){return V}));n("99af"),n("4160"),n("a15b"),n("d81d"),n("fb6a"),n("ac1f"),n("1276"),n("159b"),n("96cf");var i=n("1da1"),o=n("b775"),r=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(o["b"])("folder/queryNodeFolderListByProjectIdAndUserId",{projectId:t,userId:n});case 2:return i=e.sent,s=(i.Data||[]).map((function(e){var t=Object(r["b"])(e);return t.folderType="node","1"===t.nodeId&&(t.nodeId=t.id,t.folderType="archive"),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(o["b"])("file/queryFilesFromRecycleBin");case 2:if(t=e.sent,Object(o["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(r["b"])(e);return t})),e.abrupt("return",n);case 8:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function f(e){return d.apply(this,arguments)}function d(){return d=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(o["b"])("file/removeFromRecycleBin",{fileId:t});case 2:return n=e.sent,e.abrupt("return",Object(o["c"])(n));case 4:case"end":return e.stop()}}),e)}))),d.apply(this,arguments)}function m(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,d;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("folder/queryFileListByFolderIdAndUserId",{folderId:t,userId:n,publicFolderId:i});case 2:if(a=e.sent,Object(o["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(r["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 o=new s["d"](n),r=o.parentFolderPath;l.push(o),u[n]=o,u[r]&&u[r].childCount++}})),u[n].fileCount++}return t})),d={folder:l,folderMap:u,file:f,deliverables:(c.deliverables||[]).map(r["b"]),coordinationFiles:(c.coordinationFiles||[]).map(r["b"]),nestCoordinationFiles:(c.nestCoordinationFiles||[]).map(r["b"])},e.abrupt("return",d);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(o["b"])("file/changeFileWorkStatus",{fileId:t,workStatus:n});case 2:return i=e.sent,e.abrupt("return",Object(o["c"])(i));case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function _(e){return b.apply(this,arguments)}function b(){return b=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(o["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(o["b"])("operation/record",i),e.abrupt("return",n);case 6: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(o["b"])("file/deleteFile",{fileId:t});case 2:return n=e.sent,e.abrupt("return",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;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("company/queryFileOnlineUrlByCompanyId",t);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),g.apply(this,arguments)}function y(e,t){return x.apply(this,arguments)}function x(){return x=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(o["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)}))),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(o["b"])("file/queryProjArchiveHistoryTbByArchId",{archId: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,n,i){return S.apply(this,arguments)}function S(){return S=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i,r){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("file/setShareFile",{Id:t,IpfsCid:n,ModifyUserId:i,Version:r});case 2:return s=e.sent,e.abrupt("return",s);case 4:case"end":return e.stop()}}),e)}))),S.apply(this,arguments)}function V(e){return H.apply(this,arguments)}function H(){return H=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(o["b"])("file/updateProjArchiveHistory",t);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),H.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"),o=n.n(i);o.a}}]); \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4f6d14b2"],{"4b6d":function(e,t,n){"use strict";var i=n("d47b"),o=n.n(i);o.a},"5cf5":function(e,t,n){"use strict";var i=n("bad9"),o=n.n(i);o.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()])])},o=[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("所有历史提交版本")])])}],r=(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 d={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,o=e.relativePath,r=t.currentHash,s=t.version,a="".concat(n,"-版本").concat(s).concat(i?".".concat(i):""),c="历史版本查看\\".concat((new Date).getTime()).concat(o?"\\relativePath":"").replace(/\//g,"\\"),l=function(){},u="".concat(this.localWorkspacePrefix,"\\").concat(c,"\\").concat(a);f["a"].downloadFile(r,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(o){console.error("socket-download-file parse data have error:",o),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["k"])(e.fileId,e.commitInfo.currentHash,sessionStorage.userId,e.commitInfo.version);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}}},m=d,h=(n("4b6d"),n("2877")),p=Object(h["a"])(m,r,s,!1,null,"767ea4de",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,o,!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 o})),n.d(t,"a",(function(){return r})),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"),o={DOWNLOADING:100,UPLOADING:101},r={NOT_WORKING:1,WORKING:2},s=function(e,t){var n=e.nodeName,i=e.extension,o=e.archName,r=e.relativePath,s=t.folderName;return"".concat(s).concat(n?"\\协作文件":"","\\").concat(r?"".concat(r.replace(/\//g,"\\"),"\\"):"").concat(o).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,o=e.split("/").map((function(e,t,o){var r="".concat(i).concat(o.slice(0,t+1).join("/"));return n&&n(r),r}));return o},c=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;Object(i["a"])(this,e);var o=t.split("/"),r=o.pop();this.id=n,this.folderPath=t,this.folderName=r,this.parentFolderPath=o.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,"g",(function(){return l})),n.d(t,"i",(function(){return f})),n.d(t,"d",(function(){return m})),n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return _})),n.d(t,"c",(function(){return w})),n.d(t,"f",(function(){return k})),n.d(t,"j",(function(){return y})),n.d(t,"h",(function(){return I})),n.d(t,"k",(function(){return j})),n.d(t,"l",(function(){return V}));n("99af"),n("4160"),n("a15b"),n("d81d"),n("fb6a"),n("ac1f"),n("1276"),n("159b"),n("96cf");var i=n("1da1"),o=n("b775"),r=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(o["b"])("folder/queryNodeFolderListByProjectIdAndUserId",{projectId:t,userId:n});case 2:return i=e.sent,s=(i.Data||[]).map((function(e){var t=Object(r["b"])(e);return t.folderType="node","1"===t.nodeId&&(t.nodeId=t.id,t.folderType="archive"),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(o["b"])("file/queryFilesFromRecycleBin");case 2:if(t=e.sent,Object(o["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(r["b"])(e);return t})),e.abrupt("return",n);case 8:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function f(e){return d.apply(this,arguments)}function d(){return d=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(o["b"])("file/removeFromRecycleBin",{fileId:t});case 2:return n=e.sent,e.abrupt("return",Object(o["c"])(n));case 4:case"end":return e.stop()}}),e)}))),d.apply(this,arguments)}function m(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,d;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("folder/queryFileListByFolderIdAndUserId",{folderId:t,userId:n,publicFolderId:i});case 2:if(a=e.sent,Object(o["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(r["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 o=new s["d"](n),r=o.parentFolderPath;l.push(o),u[n]=o,u[r]&&u[r].childCount++}})),u[n].fileCount++}return t})),d={folder:l,folderMap:u,file:f,deliverables:(c.deliverables||[]).map(r["b"]),coordinationFiles:(c.coordinationFiles||[]).map(r["b"]),nestCoordinationFiles:(c.nestCoordinationFiles||[]).map(r["b"])},e.abrupt("return",d);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(o["b"])("file/changeFileWorkStatus",{fileId:t,workStatus:n});case 2:return i=e.sent,e.abrupt("return",Object(o["c"])(i));case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function _(e){return b.apply(this,arguments)}function b(){return b=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(o["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(o["b"])("operation/record",i),e.abrupt("return",n);case 6: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(o["b"])("file/deleteFile",{fileId:t});case 2:return n=e.sent,e.abrupt("return",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;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("company/queryFileOnlineUrlByCompanyId",t);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),g.apply(this,arguments)}function y(e,t){return x.apply(this,arguments)}function x(){return x=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(o["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)}))),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(o["b"])("file/queryProjArchiveHistoryTbByArchId",{archId: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,n,i){return S.apply(this,arguments)}function S(){return S=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i,r){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("file/setShareFile",{Id:t,IpfsCid:n,ModifyUserId:i,Version:r});case 2:return s=e.sent,e.abrupt("return",s);case 4:case"end":return e.stop()}}),e)}))),S.apply(this,arguments)}function V(e){return H.apply(this,arguments)}function H(){return H=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(o["b"])("file/updateProjArchiveHistory",t);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),H.apply(this,arguments)}},bad9:function(e,t,n){},d47b: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}))}}]); \ No newline at end of file diff --git a/static/js/chunk-550c5be4.dcdf9b92.js b/static/js/chunk-550c5be4.d7eeb4fc.js similarity index 100% rename from static/js/chunk-550c5be4.dcdf9b92.js rename to static/js/chunk-550c5be4.d7eeb4fc.js diff --git a/static/js/chunk-5e79f418.cb5ff8ef.js b/static/js/chunk-5e79f418.24e6f11f.js similarity index 100% rename from static/js/chunk-5e79f418.cb5ff8ef.js rename to static/js/chunk-5e79f418.24e6f11f.js diff --git a/static/js/chunk-601f1471.e84a9097.js b/static/js/chunk-601f1471.bf6f6994.js similarity index 100% rename from static/js/chunk-601f1471.e84a9097.js rename to static/js/chunk-601f1471.bf6f6994.js diff --git a/static/js/chunk-62c7e6db.ff167817.js b/static/js/chunk-62c7e6db.b8a33b22.js similarity index 100% rename from static/js/chunk-62c7e6db.ff167817.js rename to static/js/chunk-62c7e6db.b8a33b22.js diff --git a/static/js/chunk-638e5b5a.bad25557.js b/static/js/chunk-638e5b5a.861ce42e.js similarity index 100% rename from static/js/chunk-638e5b5a.bad25557.js rename to static/js/chunk-638e5b5a.861ce42e.js diff --git a/static/js/chunk-655d6881.2fe17e9e.js b/static/js/chunk-655d6881.dc7aa1f5.js similarity index 100% rename from static/js/chunk-655d6881.2fe17e9e.js rename to static/js/chunk-655d6881.dc7aa1f5.js diff --git a/static/js/chunk-74b26ff1.adc12114.js b/static/js/chunk-74b26ff1.3396ada9.js similarity index 100% rename from static/js/chunk-74b26ff1.adc12114.js rename to static/js/chunk-74b26ff1.3396ada9.js diff --git a/static/js/chunk-74d6658a.fccd75aa.js b/static/js/chunk-74d6658a.d48dd138.js similarity index 100% rename from static/js/chunk-74d6658a.fccd75aa.js rename to static/js/chunk-74d6658a.d48dd138.js diff --git a/static/js/chunk-78390ace.933375f9.js b/static/js/chunk-78390ace.ce50ca52.js similarity index 100% rename from static/js/chunk-78390ace.933375f9.js rename to static/js/chunk-78390ace.ce50ca52.js diff --git a/static/js/chunk-7d913a8a.d80f5bd1.js b/static/js/chunk-7d913a8a.70eea4fc.js similarity index 100% rename from static/js/chunk-7d913a8a.d80f5bd1.js rename to static/js/chunk-7d913a8a.70eea4fc.js diff --git a/static/js/chunk-802699f8.6c4fe89a.js b/static/js/chunk-802699f8.ce067d86.js similarity index 100% rename from static/js/chunk-802699f8.6c4fe89a.js rename to static/js/chunk-802699f8.ce067d86.js diff --git a/static/js/chunk-a821f8e4.ebe279e7.js b/static/js/chunk-a821f8e4.3fefdcc9.js similarity index 100% rename from static/js/chunk-a821f8e4.ebe279e7.js rename to static/js/chunk-a821f8e4.3fefdcc9.js diff --git a/static/js/chunk-d2670fec.246d400d.js b/static/js/chunk-d2670fec.2a4a619d.js similarity index 100% rename from static/js/chunk-d2670fec.246d400d.js rename to static/js/chunk-d2670fec.2a4a619d.js diff --git a/static/js/chunk-da5f603a.550d6369.js b/static/js/chunk-da5f603a.e000aa8d.js similarity index 100% rename from static/js/chunk-da5f603a.550d6369.js rename to static/js/chunk-da5f603a.e000aa8d.js diff --git a/static/js/chunk-ef8ce8b2.fd09187c.js b/static/js/chunk-ef8ce8b2.55d525eb.js similarity index 100% rename from static/js/chunk-ef8ce8b2.fd09187c.js rename to static/js/chunk-ef8ce8b2.55d525eb.js