From 9228c73f69dc9501e11f408cc43087e6e6a8e309 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 10 Mar 2021 14:30:15 +0800 Subject: [PATCH] 'build' --- index.html | 2 +- ...{chunk-1354e183.ff819ef1.css => chunk-805bd970.cb5bba0e.css} | 2 +- static/js/{app.2dcf3192.js => app.4b9f57ac.js} | 2 +- .../{chunk-038ce22f.71b89b35.js => chunk-038ce22f.d52f52a6.js} | 0 .../{chunk-05a1125b.78abb9a2.js => chunk-05a1125b.b70d8222.js} | 0 .../{chunk-05bf99c1.856d5d22.js => chunk-05bf99c1.ad769061.js} | 0 .../{chunk-11067227.37436149.js => chunk-11067227.fd7bc2ca.js} | 0 .../{chunk-12a7ad0b.4606570e.js => chunk-12a7ad0b.26670564.js} | 0 .../{chunk-131f93ca.f7bfb9a5.js => chunk-131f93ca.35af715b.js} | 0 static/js/chunk-1354e183.b87f1735.js | 1 - .../{chunk-145b0de7.626e5ee4.js => chunk-145b0de7.0768f911.js} | 0 .../{chunk-1662b2cc.14ae1ccc.js => chunk-1662b2cc.05f5eee7.js} | 0 .../{chunk-1eaf12ce.0fe3a1a0.js => chunk-1eaf12ce.19226c6e.js} | 0 .../{chunk-1fe39068.69b1ce4d.js => chunk-1fe39068.1871aad5.js} | 0 .../{chunk-1fe40532.4df395df.js => chunk-1fe40532.2dbac6c8.js} | 0 .../{chunk-23d16c0d.6c502660.js => chunk-23d16c0d.628582b8.js} | 0 .../{chunk-28990618.cbe622ff.js => chunk-28990618.899622cd.js} | 0 .../{chunk-2b38f122.c2ba2750.js => chunk-2b38f122.31d9a0f5.js} | 0 .../{chunk-2d0ac90d.d61678e2.js => chunk-2d0ac90d.c996a7a1.js} | 0 .../{chunk-2d0b3688.f48ac36c.js => chunk-2d0b3688.c678f61a.js} | 0 .../{chunk-2d0c061a.e8fed28d.js => chunk-2d0c061a.678e838f.js} | 0 .../{chunk-2d0cf6a4.8f0fa9cd.js => chunk-2d0cf6a4.4f266e68.js} | 0 .../{chunk-2d0dddf0.49ee67d9.js => chunk-2d0dddf0.e77cfc6a.js} | 0 .../{chunk-2d0e148e.d7fa4208.js => chunk-2d0e148e.1ad61f1e.js} | 0 .../{chunk-2d207f39.eb159224.js => chunk-2d207f39.13e2668b.js} | 0 .../{chunk-2d21b850.791bc396.js => chunk-2d21b850.13aa5d85.js} | 0 .../{chunk-2d224b2b.80cb57c9.js => chunk-2d224b2b.acbbe993.js} | 0 .../{chunk-309e49e4.e918dae9.js => chunk-309e49e4.d538ec96.js} | 0 .../{chunk-3261285a.6309c11e.js => chunk-3261285a.b93fddd2.js} | 0 .../{chunk-33d2c21e.39491104.js => chunk-33d2c21e.af387646.js} | 0 .../{chunk-347878ae.1e5f2d3b.js => chunk-347878ae.154aa5f7.js} | 0 .../{chunk-3ccf94d4.b932a866.js => chunk-3ccf94d4.1667d95c.js} | 0 .../{chunk-3fbc85f3.1921e1a9.js => chunk-3fbc85f3.331e06cd.js} | 0 .../{chunk-4c803a36.dfff23b0.js => chunk-4c803a36.c42e11ac.js} | 0 .../{chunk-550c5be4.8b7b084d.js => chunk-550c5be4.857ba9cb.js} | 0 .../{chunk-584d398d.330bb7e6.js => chunk-584d398d.b1f975fd.js} | 0 .../{chunk-638e5b5a.d2744e55.js => chunk-638e5b5a.5ba57e63.js} | 0 .../{chunk-6a615eb9.32c6dff7.js => chunk-6a615eb9.5444617b.js} | 0 .../{chunk-6cb025ae.5055f07c.js => chunk-6cb025ae.b77419fd.js} | 0 .../{chunk-74b26ff1.bb192716.js => chunk-74b26ff1.19058c6a.js} | 0 .../{chunk-78390ace.0eeeb9d4.js => chunk-78390ace.887dc9d4.js} | 0 .../{chunk-7a18b3e4.17af580b.js => chunk-7a18b3e4.61cf14fc.js} | 0 static/js/chunk-805bd970.00478e67.js | 1 + .../{chunk-da5f603a.7d919794.js => chunk-da5f603a.5cf0acfb.js} | 0 .../{chunk-e8c15138.dfa272be.js => chunk-e8c15138.e25d8dd3.js} | 0 .../{chunk-ef8ce8b2.ba5bdd59.js => chunk-ef8ce8b2.9002bee5.js} | 0 46 files changed, 4 insertions(+), 4 deletions(-) rename static/css/{chunk-1354e183.ff819ef1.css => chunk-805bd970.cb5bba0e.css} (77%) rename static/js/{app.2dcf3192.js => app.4b9f57ac.js} (94%) rename static/js/{chunk-038ce22f.71b89b35.js => chunk-038ce22f.d52f52a6.js} (100%) rename static/js/{chunk-05a1125b.78abb9a2.js => chunk-05a1125b.b70d8222.js} (100%) rename static/js/{chunk-05bf99c1.856d5d22.js => chunk-05bf99c1.ad769061.js} (100%) rename static/js/{chunk-11067227.37436149.js => chunk-11067227.fd7bc2ca.js} (100%) rename static/js/{chunk-12a7ad0b.4606570e.js => chunk-12a7ad0b.26670564.js} (100%) rename static/js/{chunk-131f93ca.f7bfb9a5.js => chunk-131f93ca.35af715b.js} (100%) delete mode 100644 static/js/chunk-1354e183.b87f1735.js rename static/js/{chunk-145b0de7.626e5ee4.js => chunk-145b0de7.0768f911.js} (100%) rename static/js/{chunk-1662b2cc.14ae1ccc.js => chunk-1662b2cc.05f5eee7.js} (100%) rename static/js/{chunk-1eaf12ce.0fe3a1a0.js => chunk-1eaf12ce.19226c6e.js} (100%) rename static/js/{chunk-1fe39068.69b1ce4d.js => chunk-1fe39068.1871aad5.js} (100%) rename static/js/{chunk-1fe40532.4df395df.js => chunk-1fe40532.2dbac6c8.js} (100%) rename static/js/{chunk-23d16c0d.6c502660.js => chunk-23d16c0d.628582b8.js} (100%) rename static/js/{chunk-28990618.cbe622ff.js => chunk-28990618.899622cd.js} (100%) rename static/js/{chunk-2b38f122.c2ba2750.js => chunk-2b38f122.31d9a0f5.js} (100%) rename static/js/{chunk-2d0ac90d.d61678e2.js => chunk-2d0ac90d.c996a7a1.js} (100%) rename static/js/{chunk-2d0b3688.f48ac36c.js => chunk-2d0b3688.c678f61a.js} (100%) rename static/js/{chunk-2d0c061a.e8fed28d.js => chunk-2d0c061a.678e838f.js} (100%) rename static/js/{chunk-2d0cf6a4.8f0fa9cd.js => chunk-2d0cf6a4.4f266e68.js} (100%) rename static/js/{chunk-2d0dddf0.49ee67d9.js => chunk-2d0dddf0.e77cfc6a.js} (100%) rename static/js/{chunk-2d0e148e.d7fa4208.js => chunk-2d0e148e.1ad61f1e.js} (100%) rename static/js/{chunk-2d207f39.eb159224.js => chunk-2d207f39.13e2668b.js} (100%) rename static/js/{chunk-2d21b850.791bc396.js => chunk-2d21b850.13aa5d85.js} (100%) rename static/js/{chunk-2d224b2b.80cb57c9.js => chunk-2d224b2b.acbbe993.js} (100%) rename static/js/{chunk-309e49e4.e918dae9.js => chunk-309e49e4.d538ec96.js} (100%) rename static/js/{chunk-3261285a.6309c11e.js => chunk-3261285a.b93fddd2.js} (100%) rename static/js/{chunk-33d2c21e.39491104.js => chunk-33d2c21e.af387646.js} (100%) rename static/js/{chunk-347878ae.1e5f2d3b.js => chunk-347878ae.154aa5f7.js} (100%) rename static/js/{chunk-3ccf94d4.b932a866.js => chunk-3ccf94d4.1667d95c.js} (100%) rename static/js/{chunk-3fbc85f3.1921e1a9.js => chunk-3fbc85f3.331e06cd.js} (100%) rename static/js/{chunk-4c803a36.dfff23b0.js => chunk-4c803a36.c42e11ac.js} (100%) rename static/js/{chunk-550c5be4.8b7b084d.js => chunk-550c5be4.857ba9cb.js} (100%) rename static/js/{chunk-584d398d.330bb7e6.js => chunk-584d398d.b1f975fd.js} (100%) rename static/js/{chunk-638e5b5a.d2744e55.js => chunk-638e5b5a.5ba57e63.js} (100%) rename static/js/{chunk-6a615eb9.32c6dff7.js => chunk-6a615eb9.5444617b.js} (100%) rename static/js/{chunk-6cb025ae.5055f07c.js => chunk-6cb025ae.b77419fd.js} (100%) rename static/js/{chunk-74b26ff1.bb192716.js => chunk-74b26ff1.19058c6a.js} (100%) rename static/js/{chunk-78390ace.0eeeb9d4.js => chunk-78390ace.887dc9d4.js} (100%) rename static/js/{chunk-7a18b3e4.17af580b.js => chunk-7a18b3e4.61cf14fc.js} (100%) create mode 100644 static/js/chunk-805bd970.00478e67.js rename static/js/{chunk-da5f603a.7d919794.js => chunk-da5f603a.5cf0acfb.js} (100%) rename static/js/{chunk-e8c15138.dfa272be.js => chunk-e8c15138.e25d8dd3.js} (100%) rename static/js/{chunk-ef8ce8b2.ba5bdd59.js => chunk-ef8ce8b2.9002bee5.js} (100%) diff --git a/index.html b/index.html index 83ae4333..5a090c49 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-1354e183.ff819ef1.css b/static/css/chunk-805bd970.cb5bba0e.css similarity index 77% rename from static/css/chunk-1354e183.ff819ef1.css rename to static/css/chunk-805bd970.cb5bba0e.css index 17fae757..090226cb 100644 --- a/static/css/chunk-1354e183.ff819ef1.css +++ b/static/css/chunk-805bd970.cb5bba0e.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-22177449]{line-height:inherit}.yiyun_yinyongname[data-v-22177449]{line-height:1.2}.milestone_panel .flex_right_pain[data-v-22177449]{right:-400px}.milestone_panel .AnimatedRightIn[data-v-22177449]{right:16px}.milestone_panel .flex_right_pain_body[data-v-22177449]{font-size:16px;height:calc(100vh - 202px)!important;padding:8px 0}.check-for-updates[data-v-22177449]{display:flex;align-items:center}.close-hover[data-v-22177449]{background-color:#d6243a}.close-wrap[data-v-22177449]{position:absolute;top:8px;right:8px;width:32px;height:32px;line-height:32px;text-align:center;border-radius:4px;cursor:pointer}.title[data-v-22177449]{width:100%;padding:12px 24px;box-sizing:border-box;font-weight:700}.toolbox[data-v-22177449]{width:359px;height:74px;margin:8px auto;position:absolute;right:42px;z-index:999}.toolbox .toolbox_content[data-v-22177449]{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-22177449]{display:flex;box-sizing:border-box;justify-content:flex-end;margin-bottom:12px}.toolbox .toolbox_content .toolbox_top .create_btn[data-v-22177449]{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-22177449]{margin-right:auto;background-color:#f0f0f0;width:20px;height:20px;border-radius:6px}.toolbox .toolbox_content .toolbox_top .close_btn[data-v-22177449]{color:rgba(0,0,0,.18);margin-left:12px}.toolbox_bottom[data-v-22177449]{padding-left:2px;display:flex}.toolbox_bottom .colorbox[data-v-22177449]{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-22177449]{background-color:#fff;border-radius:50%;width:5px;height:5px}.triangle-down[data-v-22177449]{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-22177449],.fade-leave-to[data-v-22177449]{opacity:0}.fade-enter-active[data-v-22177449],.fade-leave-active[data-v-22177449]{transition:opacity .5s}.empty[data-v-22177449]{margin-top:40px;text-align:center;color:#aaa} \ No newline at end of file +.version_item[data-v-1c611fae]{width:359px;border-radius:8px;background-color:#fcfcfc;box-shadow:0 4px 10px 1px rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.1);padding:8px 0 0;margin:0 auto;position:relative}.close_btn[data-v-1c611fae]{position:absolute;top:8px;right:8px;color:#dedede;z-index:9;cursor:pointer}.content[data-v-1c611fae]{position:relative}.content_header[data-v-1c611fae]{padding:0;padding-left:24px;display:flex;font-size:18px;line-height:28px;margin-bottom:8px}.content_header .icon-zhiding[data-v-1c611fae]{position:absolute;right:23px;top:0;color:#7850ff}.content_remark[data-v-1c611fae]{padding:7px 16px}.content_remark_inner[data-v-1c611fae]{background-color:rgba(0,0,0,.05);border-radius:4px;padding:9px 8px}.content_remark_inner>div[data-v-1c611fae]:first-child{font-size:12px;color:rgba(0,0,0,.56)}.content_info[data-v-1c611fae]{padding:12px 24px}.content_info_detail[data-v-1c611fae]{margin-top:14px;font-size:12px;line-height:16px;overflow:hidden}.content_info_detail_item[data-v-1c611fae]{margin-bottom:5px}.content_info_detail_item>span[data-v-1c611fae]{display:inline-block;vertical-align:top}.content_info_detail_item>span[data-v-1c611fae]:first-child{width:60px;color:rgba(0,0,0,.56)}.content_action[data-v-1c611fae]{padding:12px 24px}.content_action_list[data-v-1c611fae]{margin-top:12px;overflow:hidden}.content_action_list_item[data-v-1c611fae]{margin-bottom:8px}.content_action_list_item.milestone_set[data-v-1c611fae]{display:flex;height:44px;padding-top:7px}.content_action_list_item.milestone_set p[data-v-1c611fae]{line-height:28px}.content_action_list_item.milestone_set .switch_btn[data-v-1c611fae]{flex:1;text-align:right}.content_action_list_item.button[data-v-1c611fae]{position:relative;height:32px;line-height:32px;border:.5px solid rgba(17,17,17,.25);border-radius:8px;text-align:center;font-size:14px;cursor:pointer;color:#32323c}.content_action_list_item.button[data-v-1c611fae]:hover{background-color:#7850ff;color:#fff;transition:all .3s linear}.content_action_list_item.button:hover .icon-zhiding[data-v-1c611fae]{color:#fff}.content_action_list_item.button[data-v-1c611fae]:active{background-color:#442baa}.content_action_list_item.button:active .icon-zhiding[data-v-1c611fae]{color:#fff}.content_action_list_item.button .icon-zhiding[data-v-1c611fae]{position:absolute;left:8px;transition:color .3s linear}.content .panel_inactive[data-v-1c611fae]{height:0;margin-top:0}.icon_box[data-v-1c611fae]{width:28px;line-height:28px;color:#7850ff;border:.5px solid #d1d2d3;border-radius:8px;margin-right:10px;text-align:center;height:28px;cursor:pointer;background-color:#f0f0f0}.version_item_brief[data-v-1c611fae]{background-color:#fff;margin:8px auto;cursor:pointer;width:343px;border-radius:8px;padding:0 10px;box-sizing:border-box;position:relative;height:76px}.version_item_brief .header[data-v-1c611fae]{padding:7px 0;display:flex;font-size:13px}.version_item_brief .header_time[data-v-1c611fae]{flex:1;text-align:right;color:rgba(0,0,0,.56)}.version_item_brief .icon_box[data-v-1c611fae]{width:20px;height:20px;line-height:20px}.version_item_brief .icon_box .icon-lichengbei-qizhi[data-v-1c611fae]{font-size:14px}.version_item_brief .remarks_brief[data-v-1c611fae]{padding:8px 0;display:flex}.version_item_brief .remarks_brief_content[data-v-1c611fae]{line-height:28px}.version_item_brief .remarks_brief .remarks_icon[data-v-1c611fae]{flex:1;text-align:right}.version_item_brief .remarks_brief .remarks_icon i[data-v-1c611fae]{font-size:20px;color:#999b9d}.version_item_brief[data-v-1c611fae]:hover{background-color:rgba(50,50,60,.1);transition:all .3s linear}.el-icon-close[data-v-1c611fae]:before{content:""!important}.set_item_position[data-v-1c611fae]{transform:translateY(30px);transition:all .3s linear}.switch_btn .el-switch__core[data-v-1c611fae]:after{width:26px!important;height:26px!important}.icon-zhiding[data-v-1c611fae]{font-size:22px;color:#d8d8d8}.split[data-v-1c611fae]{border-top:.5px solid rgba(0,0,0,.2)}.option[data-v-1c611fae]{font-size:14px;line-height:20px;padding-left:8px;cursor:pointer}.option_icon[data-v-1c611fae]{position:relative;display:inline-block;vertical-align:top;width:0;height:0;border:6px solid transparent;border-top-color:#999b9d;top:7px;transition:transform .1s linear;transform-origin:50% 25%;transform:rotate(-90deg)}.option_icon.option_active[data-v-1c611fae]{transform:rotate(0deg)}.option_label[data-v-1c611fae]{display:inline-block;margin-left:18px}.icon-gerenshezhi[data-v-54dacae5]{line-height:inherit}.yiyun_yinyongname[data-v-54dacae5]{line-height:1.2}.milestone_panel .flex_right_pain[data-v-54dacae5]{right:-400px}.milestone_panel .AnimatedRightIn[data-v-54dacae5]{right:16px}.milestone_panel .flex_right_pain_body[data-v-54dacae5]{font-size:16px;height:calc(100vh - 202px)!important;padding:8px 0}.check-for-updates[data-v-54dacae5]{display:flex;align-items:center}.close-hover[data-v-54dacae5]{background-color:#d6243a}.close-wrap[data-v-54dacae5]{position:absolute;top:8px;right:8px;width:32px;height:32px;line-height:32px;text-align:center;border-radius:4px;cursor:pointer}.title[data-v-54dacae5]{width:100%;padding:12px 24px;box-sizing:border-box;font-weight:700}.toolbox[data-v-54dacae5]{width:359px;height:74px;margin:8px auto;position:absolute;right:42px;z-index:999}.toolbox .toolbox_content[data-v-54dacae5]{background-color:#fff;padding:8px;border-radius:8px;box-shadow:0 12px 21px 2px rgba(0,0,0,.1),0 4px 10px 0 rgba(0,0,0,.1)}.toolbox .toolbox_content .toolbox_top[data-v-54dacae5]{display:flex;box-sizing:border-box;justify-content:flex-end;margin-bottom:12px}.toolbox .toolbox_content .toolbox_top .create_btn[data-v-54dacae5]{width:100px;line-height:20px;color:#32323c;font-size:14px;text-align:center;border-radius:6px;box-sizing:border-box;border:1px solid #8c00ff;cursor:pointer}.toolbox .toolbox_content .toolbox_top .version_icon[data-v-54dacae5]{margin-right:auto;background-color:#f0f0f0;width:20px;height:20px;border-radius:6px}.toolbox .toolbox_content .toolbox_top .close_btn[data-v-54dacae5]{color:rgba(0,0,0,.18);margin-left:12px}.toolbox_bottom[data-v-54dacae5]{padding-left:2px;display:flex}.toolbox_bottom .colorbox[data-v-54dacae5]{width:16px;text-align:center;height:16px;border-radius:50%;display:flex;justify-content:center;align-items:center;margin-right:8px;cursor:pointer}.toolbox_bottom .colorbox .point[data-v-54dacae5]{background-color:#fff;border-radius:50%;width:5px;height:5px}.triangle-down[data-v-54dacae5]{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:12px solid #fff;left:34px;position:absolute}.fade-enter[data-v-54dacae5],.fade-leave-to[data-v-54dacae5]{opacity:0}.fade-enter-active[data-v-54dacae5],.fade-leave-active[data-v-54dacae5]{transition:opacity .5s}.empty[data-v-54dacae5]{margin-top:40px;text-align:center;color:#aaa} \ No newline at end of file diff --git a/static/js/app.2dcf3192.js b/static/js/app.4b9f57ac.js similarity index 94% rename from static/js/app.2dcf3192.js rename to static/js/app.4b9f57ac.js index 28cc2379..f096085b 100644 --- a/static/js/app.2dcf3192.js +++ b/static/js/app.4b9f57ac.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 c={CompanyConsole:"company_console",ProjectManager:"project_manager"};function o(e,n){return-1!==e.indexOf(n)}},"1d40":function(e,n,t){"use strict";(function(e){t("99af"),t("4de4"),t("7db0"),t("c975"),t("a15b"),t("d81d"),t("fb6a"),t("b0c0"),t("d3b7"),t("07ac"),t("ac1f"),t("5319"),t("1276");var a=t("5530"),r=(t("96cf"),t("1da1")),c=t("b775"),o=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=[]},g=function(){},k=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:g},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=k("keeplive"),c=1,o=null,u=e.electron.ipcRenderer;function s(){n(!0),r.send(c)}u.on("detectWindowSize",(function(){t((arguments.length<=1?void 0:arguments[1])||!1)})),r.on("open",(function(){o=setInterval(s,2e3)})),r.on("close",(function(){clearInterval(o),n(!1)})),r.on("error",(function(){a(),n(!1)}))})),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=k("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=k("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=k("openFileWith");t.on("open",(function(){t.send(e)})),t.on("message",(function(e){if("-1"===e.data)return u["default"].prototype.$notify({message:"服务端出现错误, 请稍后重试。",type:["error"]}),void n(e)})),t.on("error",n)})),login:function(){},logout:function(){},entryProject:v(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(n,t,a,r){var c,o,u,s=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return c=s.length>4&&void 0!==s[4]?s[4]:i["identity"],e.next=3,y(k("init"),[t,n].join("|"));case 3:return o=e.sent,r(o.data),u=k("subscriptionFileChange"),u.on("open",(function(){u.send(n)})),u.on("message",a),u.on("error",c),e.abrupt("return",u);case 10:case"end":return e.stop()}}),e)})));return function(n,t,a,r){return e.apply(this,arguments)}}()),leaveProject:v((function(e){e.close(),b()})),downloadFile:v((function(e,n,t,a,r){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:i["identity"],d=function i(){var d=k("download"),l={API:"download",Action:"下载文件",CompanyName:sessionStorage.CompanyName,Subject:t,Source:sessionStorage.client,ProjectName:sessionStorage.projName};Object(c["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(c["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?(o["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(k("getFolderFileInfo"),n);case 2:return t=e.sent,e.prev=3,a=JSON.parse(t.data),r=Object.values(a).map((function(e){var n=e.name,t=e.extension,a=e.relativePath,r=e.absolutePath,c=0===t.indexOf(".")?t.slice(1):t,o=n.slice(0,-t.length);return{fileName:o,extension:c,relativePath:a.split("\\").filter(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,c;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("project-choose-files");case 3:if(a=n.sent,r=a.canceled,c=a.filePaths,!r){n.next=7;break}return n.abrupt("return",null);case 7:return n.abrupt("return",c);case 8:case"end":return n.stop()}}),n)})))),chooseFolders:v(Object(r["a"])(regeneratorRuntime.mark((function n(){var t,a,r,c;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("project-choose-folders");case 3:if(a=n.sent,r=a.canceled,c=a.filePaths,!r){n.next=7;break}return n.abrupt("return",null);case 7:return n.abrupt("return",c);case 8:case"end":return n.stop()}}),n)})))),uploadFile:v(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(n){var t,s,l,h,m,b,g,y,v,w,O,C,I,j,N,S,x,P,_,L,E,R,A,G,$;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=n.creator,s=n.projectId,l=n.projectName,h=n.folderId,m=n.folderName,b=n.folderLevelId,g=n.distFileRelativePath,y=void 0===g?"":g,v=n.fileName,w=n.fileExtension,O=n.sourceFilePath,C=n.fileList,I=n.onSuccess,j=n.onProgress,N=void 0===j?i["identity"]:j,S=n.onError,x=void 0===S?i["identity"]:S,P=n.successAllHandler,_=n.totalReadyUploadNum,L=n.tempNumWrap,E=w?"".concat(v,".").concat(w):v,R="".concat(m).concat(y?"/".concat(y):""),A=C.find((function(e){return y===e.relativePath&&"".concat(e.archName).concat(e.extension?".".concat(e.extension):"")===E})),G=A?Object(o["c"])(Object(a["a"])(Object(a["a"])({},A),{},{ModifyUserId:sessionStorage.userId})):{ArchName:v,CreateUserId:sessionStorage.userId,Extension:w,FolderId:h,FolderLevelId:b,Id:"upload:".concat("".concat(Math.random()).slice(2,8)),ProjId:s,RelativePath:y,Status:2,Version:1},N({process:0},G),$=function e(){var n=function(){if(f=f.filter((function(n){return n!==e})),p.length){var n=p.shift();f.push(n),n()}x.apply(void 0,arguments)},i=function(){if(f=f.filter((function(n){return n!==e})),p.length){var n=p.shift();f.push(n),n()}I.apply(void 0,arguments)},s=k("upload");s.on("open",(function(){var e="",n="",a=!1,r=[O,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 o["d"].error("文件上传失败"),n(t,G),e.abrupt("return");case 4:if("-2"!==t.data){e.next=8;break}return o["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(c["b"])("file/".concat(A?"updateFile":"addFile"),h);case 22:if(m=e.sent,Object(c["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=k("upload"),g=e.archName,y=e.extension,v=(e.id,"".concat(g).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,g,k;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if("-1"!==t.data){n.next=4;break}return o["d"].error("文件上传失败"),m(t),n.abrupt("return");case 4:if("-2"!==t.data){n.next=8;break}return o["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(),g=Object(o["c"])(Object(i["cloneDeep"])(e)),g.ModifyUserId=sessionStorage.userId,g.HistoryPreIpfsCid=u,g.HistoryCurrentIpfsCid=l,f||(g.Size=+r,g.IpfsCid=d),n.next=23,Object(c["b"])("file/updateFile",g);case 23:return k=n.sent,Object(c["c"])(k),f&&(g.IpfsCid=d,g.Size=+r),p(g),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=k("queryCommitHistory");a.on("open",(function(){a.send([e,n].join("|"))})),a.on("message",(function(e){if("-1"===e.data)return o["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 c=k("editCommitHistoryMilestone");c.on("open",(function(){c.send([e,n,t,a].join("|"))})),c.on("message",(function(e){if("-1"!==e.data){var n=e.data;console.log("lcb",n),r(n)}else o["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 c})),t.d(n,"c",(function(){return o})),t.d(n,"e",(function(){return i})),t.d(n,"d",(function(){return u})),t.d(n,"a",(function(){return s}));t("99af"),t("13d5"),t("fb6a"),t("4fad"),t("d3b7");var a=t("3835"),r=t("2b0e");function c(e){return Object.entries(e).reduce((function(e,n){var t=Object(a["a"])(n,2),r=t[0],c=t[1];return e["".concat(r[0].toLocaleLowerCase()).concat(r.slice(1))]=c,e}),{})}function o(e){return Object.entries(e).reduce((function(e,n){var t=Object(a["a"])(n,2),r=t[0],c=t[1];return e["".concat(r[0].toLocaleUpperCase()).concat(r.slice(1))]=c,e}),{})}var i=function(e){return new Promise((function(n){return setTimeout(n,e)}))},u={success:function(e){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"),c={login:"LOCKING | 登录",project:"LOCKING | 项目编辑",platform:"LOCKING | 平台选择",template:"LOCKING | 模板控制台",projnotice:"LOCKING | 更新提醒",notFound:"404 | 未找到该页面",workspace:"LOCKING | 项目详情",search:"LOCKING | 搜索",recycle:"LOCKING | 回收站",cloud:"LOCKING | 云盘",cloudrecycle:"LOCKING | 云回收站",cloudsource:"LOCKING | 云资源管理器",company:"LOCKING | 企业后台",message2:"LOCKING | 企业后台",company_message:"LOCKING | 平台消息",company_user:"LOCKING | 通讯录",company_project:"LOCKING | 项目管理",company_template:"LOCKING | 模板与应用",company_setting:"LOCKING | 通用设置",company_template_detail:"LOCKING | 模板查看",company_app:"LOCKING | 应用",company_template_market:"LOCKING | 应用市场",system:"LOCKING | 总后台",system_template:"LOCKING | 流程模板",system_template_mind:"LOCKING | 思维导图",system_template_matrix:"LOCKING | 矩阵模板",system_runmanage:"LOCKING | 运行管理",system_appcenter:"LOCKING | 应用管理",system_setting:"LOCKING | 总体权限",system_appinfo:"LOCKING | 应用介绍",system_template_file:"流程模板 | 样板文件"};a["default"].use(r["a"]);var o=new r["a"]({mode:"hash",routes:[{path:"/",name:"login",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-347878ae")]).then(t.bind(null,"9ed6"))}},{path:"/demo",name:"demo",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-4c803a36")]).then(t.bind(null,"46a4"))}},{path:"/projdetail",name:"projdetail",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-3fbc85f3"),t.e("chunk-e8c15138")]).then(t.bind(null,"47c5"))}},{path:"/watch",name:"watch",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-6cb025ae")]).then(t.bind(null,"1670"))}},{path:"/notification",name:"notification",component:function(){return Promise.resolve().then(t.bind(null,"d2ad"))}},{path:"/newproject",name:"newproject",component:function(){return Promise.all([t.e("chunk-131f93ca"),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-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-1eaf12ce")]).then(t.bind(null,"80fb"))}},{path:"/platform",name:"platform",component:function(){return Promise.all([t.e("chunk-131f93ca"),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-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-6a615eb9")]).then(t.bind(null,"011a"))}},{path:"/projnotice",name:"projnotice",component:function(){return t.e("chunk-05bf99c1").then(t.bind(null,"00ec"))}},{path:"/email",name:"email",component:function(){return t.e("chunk-2d0ac90d").then(t.bind(null,"19a0"))}},{path:"/workspace",name:"workspace",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-3fbc85f3"),t.e("chunk-1354e183"),t.e("chunk-33d2c21e")]).then(t.bind(null,"11f4"))}},{path:"/recycle",name:"recycle",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-584d398d")]).then(t.bind(null,"8b1e"))}},{path:"/history",name:"history",component:function(){return Promise.all([t.e("chunk-1354e183"),t.e("chunk-2d0d2af5")]).then(t.bind(null,"a2d2"))}},{path:"/cloud",name:"cloud",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-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-131f93ca"),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-131f93ca"),t.e("chunk-2d0cf6a4")]).then(t.bind(null,"642b"))}},{path:"user",name:"company_user",component:function(){return t.e("chunk-145b0de7").then(t.bind(null,"29c0"))}},{path:"project",name:"company_project",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-038ce22f")]).then(t.bind(null,"e984"))}},{path:"template",name:"company_template",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-2d0dddf0")]).then(t.bind(null,"82dd"))}},{path:"template/detail",name:"company_template_detail",component:function(){return t.e("chunk-1662b2cc").then(t.bind(null,"ce1d"))}},{path:"template/market",name:"company_template_market",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-2d207f39")]).then(t.bind(null,"a35f"))}},{path:"setting",name:"company_setting",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-1fe39068")]).then(t.bind(null,"cda4"))}},{path:"app",name:"company_app",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-2d0b3688")]).then(t.bind(null,"27f3"))}}]},{path:"/template",name:"template",component:function(e){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-ef8ce8b2")]).then(function(){var n=[t("65b7")];e.apply(null,n)}.bind(this)).catch(t.oe)}},{path:"/template/create",name:"template_create",component:function(e){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-74b26ff1")]).then(function(){var n=[t("d235")];e.apply(null,n)}.bind(this)).catch(t.oe)}},{path:"/system",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-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-131f93ca"),t.e("chunk-11067227")]).then(t.bind(null,"d798"))}},{path:"template/matrix",name:"system_template_matrix",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-12a7ad0b")]).then(t.bind(null,"2275"))}},{path:"template/mind",name:"system_template_mind",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-7a18b3e4")]).then(t.bind(null,"bccc"))}},{path:"template/tempfile",name:"system_template_file",component:function(){return t.e("chunk-28990618").then(t.bind(null,"f1f7"))}},{path:"appcenter",name:"system_appcenter",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-2d0e148e")]).then(t.bind(null,"7a7e"))}},{path:"appinfo",name:"system_appinfo",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-2d21b850")]).then(t.bind(null,"bfb8"))}},{path:"setting",name:"system_setting",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-1fe40532")]).then(t.bind(null,"ddca"))}},{path:"*",redirect:{name:"system_customer"}}]},{path:"*",name:"notfound",component:function(){return t.e("chunk-05a1125b").then(t.bind(null,"9403"))}}]});o.beforeEach((function(e,n,t){"/"===e.path||sessionStorage.getItem("userId")?t():t({path:"/"})})),o.afterEach((function(e){window.document.title=c[e.name]||"LOCKING | 云建筑"}));n["a"]=o},"51b0":function(e,n,t){},"53be":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("4de4"),t("e260"),t("e6cf"),t("cca6"),t("a79d");var a=t("2b0e"),r=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("router-view",{ref:"mainpage",staticClass:"mt-40",class:{"mt-64":e.setMarginTop,"calc-height":e.setMarginTop,"workspace-bigbody":e.$route.path.indexOf("/workspace")>=0,"mt-76":"newproject"==e.$route.name||"projdetail"==e.$route.name},attrs:{id:"bigbody"}})],1)},c=[],o=(t("c975"),t("b0c0"),t("1d40")),i={components:{},name:"App",data:function(){return{header_show:!0,companyName:"",mypath:"/",showIndexOption:!1,showHelpPage:!1,searchName:"",isShowOutWorkSpace:!1,outWorkSpace:!1,isClient:o["a"].isClient,onlineStatus:!1,state:this.$store.state}},created:function(){var e=this;console.log("版本编译时间:","2021.03.10 10:42"),null!=document.getElementById("Loading")&&null!=document.getElementById("Loading").nodeName&&""!=document.getElementById("Loading").nodeName&&document.body.removeChild(document.getElementById("Loading")),"login"!=this.$route.name&&"notfound"!=this.$route.name&&"platform"!==this.$route.name||(this.header_show=!1),this.isClient&&o["a"].keepLiveTest((function(n){e.onlineStatus=n,e.$store.changeGatewayState(n),sessionStorage.setItem("isOnLine",String(n&&navigator.onLine))}),(function(n){e.$store.state.isMaxWindowSize=n}))},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,c,!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"),g=t("0f13"),k=t("3de1"),y=function(){return{gatewayState:!1,isMaxWindowSize:!1,client:o["a"].isClient?"桌面端":"WEB端"}},v=function(){return{isLogin:!1,accountId:void 0,accountName:void 0,userName:void 0,platformList:[],currentPlatform:{},currentCompanyId:void 0,avator:void 0,userInfo:{}}},w=function(){var e=Object.assign(y(),v());try{var n=JSON.parse(sessionStorage.getItem("user")),t=sessionStorage.getItem("companyId"),a=JSON.parse(sessionStorage.getItem("platform")||"{}");n&&n.accountId&&(e.isLogin=!0,Object.assign(e,n),e.currentCompanyId=t,e.currentPlatform=a)}catch(r){console.log("加载session数据失败"),e=Object.assign(y(),v())}return e},O={state:w(),setCurrentPlatform:function(e){this.state.currentPlatform=e,this.state.currentCompanyId=e.orgId,sessionStorage.companyId=e.orgId,sessionStorage.platform=JSON.stringify(e),sessionStorage.CompanyName=JSON.parse(sessionStorage.platform).orgName,sessionStorage.accountName=JSON.parse(sessionStorage.user).accountName;var n={API:"authentication/login",Action:"登录",CompanyName:sessionStorage.CompanyName,Subject:sessionStorage.accountName,Source:sessionStorage.client};Object(b["b"])("operation/record",n)},setIsMaxWindowSize:function(e){this.state.isMaxWindowSize=e},changeGatewayState:function(e){this.state.gatewayState=e},login:function(e,n){var t=this;return Object(m["a"])(regeneratorRuntime.mark((function a(){var r,c,o,i,u,s,d,l,f,p,h,m,y,v,w,O,C,I,j;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(b["b"])("authentication/login",{UserName:e,PassWord:n});case 2:if(r=a.sent,c=0===r.Code,c){a.next=6;break}return a.abrupt("return",r);case 6:if(t.state.isLogin=!0,o=Object(k["b"])(r.Data||{}),delete o.userExt,i=o.companyId,u=o.cnName,s=o.id,d=o.permission,l=o.backgroundPermission,f=[],p={accountId:s,accountName:e,userName:u,platformList:f,userInfo:o},h=3===l,m=2===l,!h){a.next=18;break}f.push(Object(g["d"])(g["b"].MANAGE_CENTER,i,"LOCKING 总后台",void 0,[])),a.next=29;break;case 18:return a.next=20,Object(b["b"])("company/queryFrontDeskCompanyById",{id:i});case 20:if(y=a.sent,0===y.Code){a.next=23;break}return a.abrupt("return",y);case 23:v=y.Data,w=void 0===v?{}:v,O=w.company,C=O.LogoUrl,I=O.CompanyName,j=[],m&&j.push(g["a"].CompanyConsole),1===d&&j.push(g["a"].ProjectManager),f.push(Object(g["d"])(g["b"].COMPANY,i,I,C,j));case 29:return t.state.isLogin=!0,Object.assign(t.state,p),sessionStorage.client=t.state.client,sessionStorage.userId=s,sessionStorage.accountId=s,sessionStorage.user=JSON.stringify(p),a.abrupt("return",{Code:r.Code,Data:p});case 36:case"end":return a.stop()}}),a)})))()},logout:function(){var e={API:"authentication/loginOut",Action:"注销",CompanyName:sessionStorage.CompanyName,Subject:sessionStorage.accountName,Source:sessionStorage.client};Object(b["b"])("operation/record",e),this.state=Object.assign(this.state,v()),Object(b["b"])("authentication/loginOut"),sessionStorage.clear()}},C=t("2f62"),I=t("a78e"),j=t.n(I),N=t("5ab9"),S=function(e){return Object(N["a"])(e)||"/static/img/avator_default.svg"},x=function(e,n){var t="avator"===n?"/static/img/avator_default.svg":"";return Object(N["a"])(e)||t},P=t("caf9"),_=t("32ed"),L=t.n(_),E=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.src,expression:"src"}]})},R=[],A={props:{src:String}},G=A,$=Object(s["a"])(G,E,R,!1,null,null,null),T=$.exports,M=(t("856b"),t("d903"),t("c610"),t("935a"),t("51b0"),t("53be"),t("1f94"),t("d2ad")),K=a["default"].extend(M["default"]),F=document.createElement("div");F.style="position: fixed; right: 32px; top: 68px;z-index:99999",document.body.appendChild(F);var W=function(e){var n=new K({propsData:e});n.vm=n.$mount(),F.appendChild(n.vm.$el)},H=W;a["default"].use(h.a),a["default"].use(P["a"]),a["default"].use(C["a"]),a["default"].prototype.$cookie=j.a,a["default"].component("ImgLazy",T),a["default"].prototype.$axios=b["a"],a["default"].prototype.$fetch=b["a"],a["default"].prototype.$fetchApi=b["b"],a["default"].filter("resolveImg",x),a["default"].filter("resolveAvator",S),a["default"].prototype.$bus=new a["default"],a["default"].prototype.$notify=H,a["default"].use(L.a),a["default"].config.productionTip=!1,new a["default"]({router:f["a"],store:O,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"),c=t("2ef0"),o=new r({region:"oss-cn-hangzhou",accessKeyId:"LTAI4G2BEDNpfdLmquYYMaMV",accessKeySecret:"tPhAL3qAgF9Tq67h73snAmwu8iPZ5t",bucket:"yiyun-client-files",secure:!0}),i=function(e){return"".concat((new Date).getTime(),"/").concat(e)},u=function(e){return"oss://".concat(e)};function s(e,n){return d.apply(this,arguments)}function d(){return d=Object(a["a"])(regeneratorRuntime.mark((function e(n,t){var a,r,c,u=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=u.length>2&&void 0!==u[2]?u[2]:{},e.prev=1,r=i(n),e.next=5,o.multipartUpload(r,t,a);case 5:return c=e.sent,e.abrupt("return",c);case 9:return e.prev=9,e.t0=e["catch"](1),console.error("file upload failed:",e.t0),e.abrupt("return",null);case 13:case"end":return e.stop()}}),e,null,[[1,9]])}))),d.apply(this,arguments)}var l=Object(c["memoize"])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;if(0!==e.indexOf("oss://"))return e;var t=e.substr(6),a=n||t.split("/").pop();try{var r=3600,c=o.signatureUrl(t,{expires:r,response:{"content-disposition":'attachment; filename="'.concat(a,'"')}});return setTimeout((function(){l.cache.delete(e)}),1e3*r),c}catch(i){return null}}))},"5b49":function(e,n,t){"use strict";var a=t("1f09"),r=t.n(a);r.a},"5c0b":function(e,n,t){"use strict";var a=t("9c0c"),r=t.n(a);r.a},6964:function(e,n,t){"use strict";var a=t("7dff"),r=t.n(a);r.a},"7dff":function(e,n,t){},"856b":function(e,n,t){},"935a":function(e,n,t){},"99e1":function(e,n,t){"use strict";var a=t("f225"),r=t.n(a);r.a},"9c0c":function(e,n,t){},b775:function(e,n,t){"use strict";t.d(n,"b",(function(){return 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"),c=t("bc3a"),o=t.n(c),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 c,i,u,s,d;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return c=p(n),i=Object(a["a"])(c,2),u=i[0],s=i[1],e.prev=1,e.next=4,"GET"===u?o.a.get(s,{params:t},r):o.a.post(s,t,r);case 4:return 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],c=-1!==["template","project","folder","file"].indexOf(r)?"pms":"cms",o="api/".concat(c,"/").concat("authentication"===r?"":"v1/").concat(e),i="GET";switch(e){case"authentication/login":case"authentication/passwordCheck":case"company/addCompany":case"company/queryGeneralOverview":case"company/queryProviceTree":case"company/updateCompanyById":case"company/link/addCompanyLink":case"company/link/updateCompanyLink":case"dept/addDept":case"dept/updateDept":case"user/addUser":case"user/resetPassWord":case"user/updateUser":case"template/createTemplate":case"template/fileExchange":case"template/updateTemplate":case"template/uploadingXmind":case"template/addTemplateNodeModelFile":case"template/createNestedRelevance":case"template/connectNestTemplateFolder":case"folder/createSubfolder":case"project/createProject":case"project/editProject":case"project/assignedWork":case"file/addArchMilesStone":case"file/addFile":case"file/updateFile":case"file/fileCoordinationChange":case"file/setShareFile":case"operation/record":case"file/updateProjArchiveHistory":i="POST";break;default:i="GET";break}return[i,o]}o.a.defaults.withCredentials=!0,o.a.interceptors.request.use((function(e){return 0===e.url.indexOf("api/")&&(e.url="".concat("/api/").concat(e.url.slice(4))),e}),(function(e){return Promise.reject(e)})),o.a.interceptors.response.use((function(e){return e}),(function(e){if(e.response)switch(e.response.status){case 401:"/"!=u["a"].currentRoute.fullPath&&(s["d"].error("登录超时,请重新登录"),sessionStorage.clear(),u["a"].push({path:"/"}));break}return Promise.reject(e)})),n["a"]=o.a},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=[],c=(t("a9e3"),function(e,n){return{imgSrc:"/static/img/"+e,class:n}}),o={success:c("success.svg","notifyIcon"),error:c("严重警示.svg","notifyIcon"),warning:c("事件警示.svg","notifyIcon"),"file-txt":c("file_txt.png","fileIcon"),"file-pdf":c("file_pdf.png","fileIcon"),"file-word":c("file_word.png","fileIcon"),"file-excel":c("file_excel.png","fileIcon"),"file-ppt":c("file_ppt.png","fileIcon"),upload:c("upload.png","notifyIcon"),download:c("download.svg","notifyIcon"),cooperation:c("download.svg","notifyIcon")},i={name:"Notification",props:{type:{},inItem:{type:Boolean,defalt:!1},offset:{type:Number,default:100},title:{type:String,default:""},message:{type:String,default:""},duration:{type:Number,default:3e3}},data:function(){return{show:!1,typeList:o,timer:""}},watch:{show:function(e){var n=this;e||setTimeout((function(){n.destroyElement()}),1e3)}},methods:{destroyElement:function(){this.$destroy(!0),this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},handleClose:function(){this.show=!1}},created:function(){var e=this;this.timer=setTimeout((function(){e.show=!1}),this.duration)},mounted:function(){this.show=!0},beforeDestroy:function(){clearTimeout(this.timer)}},u=i,s=(t("5b49"),t("99e1"),t("2877")),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 c={CompanyConsole:"company_console",ProjectManager:"project_manager"};function o(e,n){return-1!==e.indexOf(n)}},"1d40":function(e,n,t){"use strict";(function(e){t("99af"),t("4de4"),t("7db0"),t("c975"),t("a15b"),t("d81d"),t("fb6a"),t("b0c0"),t("d3b7"),t("07ac"),t("ac1f"),t("5319"),t("1276");var a=t("5530"),r=(t("96cf"),t("1da1")),c=t("b775"),o=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=[]},g=function(){},k=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:g},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=k("keeplive"),c=1,o=null,u=e.electron.ipcRenderer;function s(){n(!0),r.send(c)}u.on("detectWindowSize",(function(){t((arguments.length<=1?void 0:arguments[1])||!1)})),r.on("open",(function(){o=setInterval(s,2e3)})),r.on("close",(function(){clearInterval(o),n(!1)})),r.on("error",(function(){a(),n(!1)}))})),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=k("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=k("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=k("openFileWith");t.on("open",(function(){t.send(e)})),t.on("message",(function(e){if("-1"===e.data)return u["default"].prototype.$notify({message:"服务端出现错误, 请稍后重试。",type:["error"]}),void n(e)})),t.on("error",n)})),login:function(){},logout:function(){},entryProject:v(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(n,t,a,r){var c,o,u,s=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return c=s.length>4&&void 0!==s[4]?s[4]:i["identity"],e.next=3,y(k("init"),[t,n].join("|"));case 3:return o=e.sent,r(o.data),u=k("subscriptionFileChange"),u.on("open",(function(){u.send(n)})),u.on("message",a),u.on("error",c),e.abrupt("return",u);case 10:case"end":return e.stop()}}),e)})));return function(n,t,a,r){return e.apply(this,arguments)}}()),leaveProject:v((function(e){e.close(),b()})),downloadFile:v((function(e,n,t,a,r){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:i["identity"],d=function i(){var d=k("download"),l={API:"download",Action:"下载文件",CompanyName:sessionStorage.CompanyName,Subject:t,Source:sessionStorage.client,ProjectName:sessionStorage.projName};Object(c["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(c["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?(o["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(k("getFolderFileInfo"),n);case 2:return t=e.sent,e.prev=3,a=JSON.parse(t.data),r=Object.values(a).map((function(e){var n=e.name,t=e.extension,a=e.relativePath,r=e.absolutePath,c=0===t.indexOf(".")?t.slice(1):t,o=n.slice(0,-t.length);return{fileName:o,extension:c,relativePath:a.split("\\").filter(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,c;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("project-choose-files");case 3:if(a=n.sent,r=a.canceled,c=a.filePaths,!r){n.next=7;break}return n.abrupt("return",null);case 7:return n.abrupt("return",c);case 8:case"end":return n.stop()}}),n)})))),chooseFolders:v(Object(r["a"])(regeneratorRuntime.mark((function n(){var t,a,r,c;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("project-choose-folders");case 3:if(a=n.sent,r=a.canceled,c=a.filePaths,!r){n.next=7;break}return n.abrupt("return",null);case 7:return n.abrupt("return",c);case 8:case"end":return n.stop()}}),n)})))),uploadFile:v(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(n){var t,s,l,h,m,b,g,y,v,w,O,C,I,j,N,S,x,P,_,L,E,R,A,G,$;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=n.creator,s=n.projectId,l=n.projectName,h=n.folderId,m=n.folderName,b=n.folderLevelId,g=n.distFileRelativePath,y=void 0===g?"":g,v=n.fileName,w=n.fileExtension,O=n.sourceFilePath,C=n.fileList,I=n.onSuccess,j=n.onProgress,N=void 0===j?i["identity"]:j,S=n.onError,x=void 0===S?i["identity"]:S,P=n.successAllHandler,_=n.totalReadyUploadNum,L=n.tempNumWrap,E=w?"".concat(v,".").concat(w):v,R="".concat(m).concat(y?"/".concat(y):""),A=C.find((function(e){return y===e.relativePath&&"".concat(e.archName).concat(e.extension?".".concat(e.extension):"")===E})),G=A?Object(o["c"])(Object(a["a"])(Object(a["a"])({},A),{},{ModifyUserId:sessionStorage.userId})):{ArchName:v,CreateUserId:sessionStorage.userId,Extension:w,FolderId:h,FolderLevelId:b,Id:"upload:".concat("".concat(Math.random()).slice(2,8)),ProjId:s,RelativePath:y,Status:2,Version:1},N({process:0},G),$=function e(){var n=function(){if(f=f.filter((function(n){return n!==e})),p.length){var n=p.shift();f.push(n),n()}x.apply(void 0,arguments)},i=function(){if(f=f.filter((function(n){return n!==e})),p.length){var n=p.shift();f.push(n),n()}I.apply(void 0,arguments)},s=k("upload");s.on("open",(function(){var e="",n="",a=!1,r=[O,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 o["d"].error("文件上传失败"),n(t,G),e.abrupt("return");case 4:if("-2"!==t.data){e.next=8;break}return o["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(c["b"])("file/".concat(A?"updateFile":"addFile"),h);case 22:if(m=e.sent,Object(c["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=k("upload"),g=e.archName,y=e.extension,v=(e.id,"".concat(g).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,g,k;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if("-1"!==t.data){n.next=4;break}return o["d"].error("文件上传失败"),m(t),n.abrupt("return");case 4:if("-2"!==t.data){n.next=8;break}return o["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(),g=Object(o["c"])(Object(i["cloneDeep"])(e)),g.ModifyUserId=sessionStorage.userId,g.HistoryPreIpfsCid=u,g.HistoryCurrentIpfsCid=l,f||(g.Size=+r,g.IpfsCid=d),n.next=23,Object(c["b"])("file/updateFile",g);case 23:return k=n.sent,Object(c["c"])(k),f&&(g.IpfsCid=d,g.Size=+r),p(g),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=k("queryCommitHistory");a.on("open",(function(){a.send([e,n].join("|"))})),a.on("message",(function(e){if("-1"===e.data)return o["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 c=k("editCommitHistoryMilestone");c.on("open",(function(){c.send([e,n,t,a].join("|"))})),c.on("message",(function(e){if("-1"!==e.data){var n=e.data;console.log("lcb",n),r(n)}else o["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 c})),t.d(n,"c",(function(){return o})),t.d(n,"e",(function(){return i})),t.d(n,"d",(function(){return u})),t.d(n,"a",(function(){return s}));t("99af"),t("13d5"),t("fb6a"),t("4fad"),t("d3b7");var a=t("3835"),r=t("2b0e");function c(e){return Object.entries(e).reduce((function(e,n){var t=Object(a["a"])(n,2),r=t[0],c=t[1];return e["".concat(r[0].toLocaleLowerCase()).concat(r.slice(1))]=c,e}),{})}function o(e){return Object.entries(e).reduce((function(e,n){var t=Object(a["a"])(n,2),r=t[0],c=t[1];return e["".concat(r[0].toLocaleUpperCase()).concat(r.slice(1))]=c,e}),{})}var i=function(e){return new Promise((function(n){return setTimeout(n,e)}))},u={success:function(e){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"),c={login:"LOCKING | 登录",project:"LOCKING | 项目编辑",platform:"LOCKING | 平台选择",template:"LOCKING | 模板控制台",projnotice:"LOCKING | 更新提醒",notFound:"404 | 未找到该页面",workspace:"LOCKING | 项目详情",search:"LOCKING | 搜索",recycle:"LOCKING | 回收站",cloud:"LOCKING | 云盘",cloudrecycle:"LOCKING | 云回收站",cloudsource:"LOCKING | 云资源管理器",company:"LOCKING | 企业后台",message2:"LOCKING | 企业后台",company_message:"LOCKING | 平台消息",company_user:"LOCKING | 通讯录",company_project:"LOCKING | 项目管理",company_template:"LOCKING | 模板与应用",company_setting:"LOCKING | 通用设置",company_template_detail:"LOCKING | 模板查看",company_app:"LOCKING | 应用",company_template_market:"LOCKING | 应用市场",system:"LOCKING | 总后台",system_template:"LOCKING | 流程模板",system_template_mind:"LOCKING | 思维导图",system_template_matrix:"LOCKING | 矩阵模板",system_runmanage:"LOCKING | 运行管理",system_appcenter:"LOCKING | 应用管理",system_setting:"LOCKING | 总体权限",system_appinfo:"LOCKING | 应用介绍",system_template_file:"流程模板 | 样板文件"};a["default"].use(r["a"]);var o=new r["a"]({mode:"hash",routes:[{path:"/",name:"login",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-347878ae")]).then(t.bind(null,"9ed6"))}},{path:"/demo",name:"demo",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-4c803a36")]).then(t.bind(null,"46a4"))}},{path:"/projdetail",name:"projdetail",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-3fbc85f3"),t.e("chunk-e8c15138")]).then(t.bind(null,"47c5"))}},{path:"/watch",name:"watch",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-6cb025ae")]).then(t.bind(null,"1670"))}},{path:"/notification",name:"notification",component:function(){return Promise.resolve().then(t.bind(null,"d2ad"))}},{path:"/newproject",name:"newproject",component:function(){return Promise.all([t.e("chunk-131f93ca"),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-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-1eaf12ce")]).then(t.bind(null,"80fb"))}},{path:"/platform",name:"platform",component:function(){return Promise.all([t.e("chunk-131f93ca"),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-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-6a615eb9")]).then(t.bind(null,"011a"))}},{path:"/projnotice",name:"projnotice",component:function(){return t.e("chunk-05bf99c1").then(t.bind(null,"00ec"))}},{path:"/email",name:"email",component:function(){return t.e("chunk-2d0ac90d").then(t.bind(null,"19a0"))}},{path:"/workspace",name:"workspace",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-3fbc85f3"),t.e("chunk-805bd970"),t.e("chunk-33d2c21e")]).then(t.bind(null,"11f4"))}},{path:"/recycle",name:"recycle",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-584d398d")]).then(t.bind(null,"8b1e"))}},{path:"/history",name:"history",component:function(){return Promise.all([t.e("chunk-805bd970"),t.e("chunk-2d0d2af5")]).then(t.bind(null,"a2d2"))}},{path:"/cloud",name:"cloud",component:function(){return Promise.all([t.e("chunk-131f93ca"),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-131f93ca"),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-131f93ca"),t.e("chunk-2d0cf6a4")]).then(t.bind(null,"642b"))}},{path:"user",name:"company_user",component:function(){return t.e("chunk-145b0de7").then(t.bind(null,"29c0"))}},{path:"project",name:"company_project",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-038ce22f")]).then(t.bind(null,"e984"))}},{path:"template",name:"company_template",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-2d0dddf0")]).then(t.bind(null,"82dd"))}},{path:"template/detail",name:"company_template_detail",component:function(){return t.e("chunk-1662b2cc").then(t.bind(null,"ce1d"))}},{path:"template/market",name:"company_template_market",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-2d207f39")]).then(t.bind(null,"a35f"))}},{path:"setting",name:"company_setting",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-1fe39068")]).then(t.bind(null,"cda4"))}},{path:"app",name:"company_app",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-2d0b3688")]).then(t.bind(null,"27f3"))}}]},{path:"/template",name:"template",component:function(e){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-ef8ce8b2")]).then(function(){var n=[t("65b7")];e.apply(null,n)}.bind(this)).catch(t.oe)}},{path:"/template/create",name:"template_create",component:function(e){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-74b26ff1")]).then(function(){var n=[t("d235")];e.apply(null,n)}.bind(this)).catch(t.oe)}},{path:"/system",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-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-131f93ca"),t.e("chunk-11067227")]).then(t.bind(null,"d798"))}},{path:"template/matrix",name:"system_template_matrix",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-12a7ad0b")]).then(t.bind(null,"2275"))}},{path:"template/mind",name:"system_template_mind",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-638e5b5a"),t.e("chunk-7a18b3e4")]).then(t.bind(null,"bccc"))}},{path:"template/tempfile",name:"system_template_file",component:function(){return t.e("chunk-28990618").then(t.bind(null,"f1f7"))}},{path:"appcenter",name:"system_appcenter",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-2d0e148e")]).then(t.bind(null,"7a7e"))}},{path:"appinfo",name:"system_appinfo",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-2d21b850")]).then(t.bind(null,"bfb8"))}},{path:"setting",name:"system_setting",component:function(){return Promise.all([t.e("chunk-131f93ca"),t.e("chunk-1fe40532")]).then(t.bind(null,"ddca"))}},{path:"*",redirect:{name:"system_customer"}}]},{path:"*",name:"notfound",component:function(){return t.e("chunk-05a1125b").then(t.bind(null,"9403"))}}]});o.beforeEach((function(e,n,t){"/"===e.path||sessionStorage.getItem("userId")?t():t({path:"/"})})),o.afterEach((function(e){window.document.title=c[e.name]||"LOCKING | 云建筑"}));n["a"]=o},"51b0":function(e,n,t){},"53be":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("4de4"),t("e260"),t("e6cf"),t("cca6"),t("a79d");var a=t("2b0e"),r=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("router-view",{ref:"mainpage",staticClass:"mt-40",class:{"mt-64":e.setMarginTop,"calc-height":e.setMarginTop,"workspace-bigbody":e.$route.path.indexOf("/workspace")>=0,"mt-76":"newproject"==e.$route.name||"projdetail"==e.$route.name},attrs:{id:"bigbody"}})],1)},c=[],o=(t("c975"),t("b0c0"),t("1d40")),i={components:{},name:"App",data:function(){return{header_show:!0,companyName:"",mypath:"/",showIndexOption:!1,showHelpPage:!1,searchName:"",isShowOutWorkSpace:!1,outWorkSpace:!1,isClient:o["a"].isClient,onlineStatus:!1,state:this.$store.state}},created:function(){var e=this;console.log("版本编译时间:","2021.03.10 14:29"),null!=document.getElementById("Loading")&&null!=document.getElementById("Loading").nodeName&&""!=document.getElementById("Loading").nodeName&&document.body.removeChild(document.getElementById("Loading")),"login"!=this.$route.name&&"notfound"!=this.$route.name&&"platform"!==this.$route.name||(this.header_show=!1),this.isClient&&o["a"].keepLiveTest((function(n){e.onlineStatus=n,e.$store.changeGatewayState(n),sessionStorage.setItem("isOnLine",String(n&&navigator.onLine))}),(function(n){e.$store.state.isMaxWindowSize=n}))},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,c,!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"),g=t("0f13"),k=t("3de1"),y=function(){return{gatewayState:!1,isMaxWindowSize:!1,client:o["a"].isClient?"桌面端":"WEB端"}},v=function(){return{isLogin:!1,accountId:void 0,accountName:void 0,userName:void 0,platformList:[],currentPlatform:{},currentCompanyId:void 0,avator:void 0,userInfo:{}}},w=function(){var e=Object.assign(y(),v());try{var n=JSON.parse(sessionStorage.getItem("user")),t=sessionStorage.getItem("companyId"),a=JSON.parse(sessionStorage.getItem("platform")||"{}");n&&n.accountId&&(e.isLogin=!0,Object.assign(e,n),e.currentCompanyId=t,e.currentPlatform=a)}catch(r){console.log("加载session数据失败"),e=Object.assign(y(),v())}return e},O={state:w(),setCurrentPlatform:function(e){this.state.currentPlatform=e,this.state.currentCompanyId=e.orgId,sessionStorage.companyId=e.orgId,sessionStorage.platform=JSON.stringify(e),sessionStorage.CompanyName=JSON.parse(sessionStorage.platform).orgName,sessionStorage.accountName=JSON.parse(sessionStorage.user).accountName;var n={API:"authentication/login",Action:"登录",CompanyName:sessionStorage.CompanyName,Subject:sessionStorage.accountName,Source:sessionStorage.client};Object(b["b"])("operation/record",n)},setIsMaxWindowSize:function(e){this.state.isMaxWindowSize=e},changeGatewayState:function(e){this.state.gatewayState=e},login:function(e,n){var t=this;return Object(m["a"])(regeneratorRuntime.mark((function a(){var r,c,o,i,u,s,d,l,f,p,h,m,y,v,w,O,C,I,j;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(b["b"])("authentication/login",{UserName:e,PassWord:n});case 2:if(r=a.sent,c=0===r.Code,c){a.next=6;break}return a.abrupt("return",r);case 6:if(t.state.isLogin=!0,o=Object(k["b"])(r.Data||{}),delete o.userExt,i=o.companyId,u=o.cnName,s=o.id,d=o.permission,l=o.backgroundPermission,f=[],p={accountId:s,accountName:e,userName:u,platformList:f,userInfo:o},h=3===l,m=2===l,!h){a.next=18;break}f.push(Object(g["d"])(g["b"].MANAGE_CENTER,i,"LOCKING 总后台",void 0,[])),a.next=29;break;case 18:return a.next=20,Object(b["b"])("company/queryFrontDeskCompanyById",{id:i});case 20:if(y=a.sent,0===y.Code){a.next=23;break}return a.abrupt("return",y);case 23:v=y.Data,w=void 0===v?{}:v,O=w.company,C=O.LogoUrl,I=O.CompanyName,j=[],m&&j.push(g["a"].CompanyConsole),1===d&&j.push(g["a"].ProjectManager),f.push(Object(g["d"])(g["b"].COMPANY,i,I,C,j));case 29:return t.state.isLogin=!0,Object.assign(t.state,p),sessionStorage.client=t.state.client,sessionStorage.userId=s,sessionStorage.accountId=s,sessionStorage.user=JSON.stringify(p),a.abrupt("return",{Code:r.Code,Data:p});case 36:case"end":return a.stop()}}),a)})))()},logout:function(){var e={API:"authentication/loginOut",Action:"注销",CompanyName:sessionStorage.CompanyName,Subject:sessionStorage.accountName,Source:sessionStorage.client};Object(b["b"])("operation/record",e),this.state=Object.assign(this.state,v()),Object(b["b"])("authentication/loginOut"),sessionStorage.clear()}},C=t("2f62"),I=t("a78e"),j=t.n(I),N=t("5ab9"),S=function(e){return Object(N["a"])(e)||"/static/img/avator_default.svg"},x=function(e,n){var t="avator"===n?"/static/img/avator_default.svg":"";return Object(N["a"])(e)||t},P=t("caf9"),_=t("32ed"),L=t.n(_),E=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.src,expression:"src"}]})},R=[],A={props:{src:String}},G=A,$=Object(s["a"])(G,E,R,!1,null,null,null),T=$.exports,M=(t("856b"),t("d903"),t("c610"),t("935a"),t("51b0"),t("53be"),t("1f94"),t("d2ad")),K=a["default"].extend(M["default"]),F=document.createElement("div");F.style="position: fixed; right: 32px; top: 68px;z-index:99999",document.body.appendChild(F);var W=function(e){var n=new K({propsData:e});n.vm=n.$mount(),F.appendChild(n.vm.$el)},H=W;a["default"].use(h.a),a["default"].use(P["a"]),a["default"].use(C["a"]),a["default"].prototype.$cookie=j.a,a["default"].component("ImgLazy",T),a["default"].prototype.$axios=b["a"],a["default"].prototype.$fetch=b["a"],a["default"].prototype.$fetchApi=b["b"],a["default"].filter("resolveImg",x),a["default"].filter("resolveAvator",S),a["default"].prototype.$bus=new a["default"],a["default"].prototype.$notify=H,a["default"].use(L.a),a["default"].config.productionTip=!1,new a["default"]({router:f["a"],store:O,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"),c=t("2ef0"),o=new r({region:"oss-cn-hangzhou",accessKeyId:"LTAI4G2BEDNpfdLmquYYMaMV",accessKeySecret:"tPhAL3qAgF9Tq67h73snAmwu8iPZ5t",bucket:"yiyun-client-files",secure:!0}),i=function(e){return"".concat((new Date).getTime(),"/").concat(e)},u=function(e){return"oss://".concat(e)};function s(e,n){return d.apply(this,arguments)}function d(){return d=Object(a["a"])(regeneratorRuntime.mark((function e(n,t){var a,r,c,u=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=u.length>2&&void 0!==u[2]?u[2]:{},e.prev=1,r=i(n),e.next=5,o.multipartUpload(r,t,a);case 5:return c=e.sent,e.abrupt("return",c);case 9:return e.prev=9,e.t0=e["catch"](1),console.error("file upload failed:",e.t0),e.abrupt("return",null);case 13:case"end":return e.stop()}}),e,null,[[1,9]])}))),d.apply(this,arguments)}var l=Object(c["memoize"])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;if(0!==e.indexOf("oss://"))return e;var t=e.substr(6),a=n||t.split("/").pop();try{var r=3600,c=o.signatureUrl(t,{expires:r,response:{"content-disposition":'attachment; filename="'.concat(a,'"')}});return setTimeout((function(){l.cache.delete(e)}),1e3*r),c}catch(i){return null}}))},"5b49":function(e,n,t){"use strict";var a=t("1f09"),r=t.n(a);r.a},"5c0b":function(e,n,t){"use strict";var a=t("9c0c"),r=t.n(a);r.a},6964:function(e,n,t){"use strict";var a=t("7dff"),r=t.n(a);r.a},"7dff":function(e,n,t){},"856b":function(e,n,t){},"935a":function(e,n,t){},"99e1":function(e,n,t){"use strict";var a=t("f225"),r=t.n(a);r.a},"9c0c":function(e,n,t){},b775:function(e,n,t){"use strict";t.d(n,"b",(function(){return 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"),c=t("bc3a"),o=t.n(c),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 c,i,u,s,d;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return c=p(n),i=Object(a["a"])(c,2),u=i[0],s=i[1],e.prev=1,e.next=4,"GET"===u?o.a.get(s,{params:t},r):o.a.post(s,t,r);case 4:return 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],c=-1!==["template","project","folder","file"].indexOf(r)?"pms":"cms",o="api/".concat(c,"/").concat("authentication"===r?"":"v1/").concat(e),i="GET";switch(e){case"authentication/login":case"authentication/passwordCheck":case"company/addCompany":case"company/queryGeneralOverview":case"company/queryProviceTree":case"company/updateCompanyById":case"company/link/addCompanyLink":case"company/link/updateCompanyLink":case"dept/addDept":case"dept/updateDept":case"user/addUser":case"user/resetPassWord":case"user/updateUser":case"template/createTemplate":case"template/fileExchange":case"template/updateTemplate":case"template/uploadingXmind":case"template/addTemplateNodeModelFile":case"template/createNestedRelevance":case"template/connectNestTemplateFolder":case"folder/createSubfolder":case"project/createProject":case"project/editProject":case"project/assignedWork":case"file/addArchMilesStone":case"file/addFile":case"file/updateFile":case"file/fileCoordinationChange":case"file/setShareFile":case"operation/record":case"file/updateProjArchiveHistory":i="POST";break;default:i="GET";break}return[i,o]}o.a.defaults.withCredentials=!0,o.a.interceptors.request.use((function(e){return 0===e.url.indexOf("api/")&&(e.url="".concat("/api/").concat(e.url.slice(4))),e}),(function(e){return Promise.reject(e)})),o.a.interceptors.response.use((function(e){return e}),(function(e){if(e.response)switch(e.response.status){case 401:"/"!=u["a"].currentRoute.fullPath&&(s["d"].error("登录超时,请重新登录"),sessionStorage.clear(),u["a"].push({path:"/"}));break}return Promise.reject(e)})),n["a"]=o.a},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=[],c=(t("a9e3"),function(e,n){return{imgSrc:"/static/img/"+e,class:n}}),o={success:c("success.svg","notifyIcon"),error:c("严重警示.svg","notifyIcon"),warning:c("事件警示.svg","notifyIcon"),"file-txt":c("file_txt.png","fileIcon"),"file-pdf":c("file_pdf.png","fileIcon"),"file-word":c("file_word.png","fileIcon"),"file-excel":c("file_excel.png","fileIcon"),"file-ppt":c("file_ppt.png","fileIcon"),upload:c("upload.png","notifyIcon"),download:c("download.svg","notifyIcon"),cooperation:c("download.svg","notifyIcon")},i={name:"Notification",props:{type:{},inItem:{type:Boolean,defalt:!1},offset:{type:Number,default:100},title:{type:String,default:""},message:{type:String,default:""},duration:{type:Number,default:3e3}},data:function(){return{show:!1,typeList:o,timer:""}},watch:{show:function(e){var n=this;e||setTimeout((function(){n.destroyElement()}),1e3)}},methods:{destroyElement:function(){this.$destroy(!0),this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},handleClose:function(){this.show=!1}},created:function(){var e=this;this.timer=setTimeout((function(){e.show=!1}),this.duration)},mounted:function(){this.show=!0},beforeDestroy:function(){clearTimeout(this.timer)}},u=i,s=(t("5b49"),t("99e1"),t("2877")),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.71b89b35.js b/static/js/chunk-038ce22f.d52f52a6.js similarity index 100% rename from static/js/chunk-038ce22f.71b89b35.js rename to static/js/chunk-038ce22f.d52f52a6.js diff --git a/static/js/chunk-05a1125b.78abb9a2.js b/static/js/chunk-05a1125b.b70d8222.js similarity index 100% rename from static/js/chunk-05a1125b.78abb9a2.js rename to static/js/chunk-05a1125b.b70d8222.js diff --git a/static/js/chunk-05bf99c1.856d5d22.js b/static/js/chunk-05bf99c1.ad769061.js similarity index 100% rename from static/js/chunk-05bf99c1.856d5d22.js rename to static/js/chunk-05bf99c1.ad769061.js diff --git a/static/js/chunk-11067227.37436149.js b/static/js/chunk-11067227.fd7bc2ca.js similarity index 100% rename from static/js/chunk-11067227.37436149.js rename to static/js/chunk-11067227.fd7bc2ca.js diff --git a/static/js/chunk-12a7ad0b.4606570e.js b/static/js/chunk-12a7ad0b.26670564.js similarity index 100% rename from static/js/chunk-12a7ad0b.4606570e.js rename to static/js/chunk-12a7ad0b.26670564.js diff --git a/static/js/chunk-131f93ca.f7bfb9a5.js b/static/js/chunk-131f93ca.35af715b.js similarity index 100% rename from static/js/chunk-131f93ca.f7bfb9a5.js rename to static/js/chunk-131f93ca.35af715b.js diff --git a/static/js/chunk-1354e183.b87f1735.js b/static/js/chunk-1354e183.b87f1735.js deleted file mode 100644 index 895db6d5..00000000 --- a/static/js/chunk-1354e183.b87f1735.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1354e183"],{5192:function(e,t,n){},"9a3e":function(e,t,n){},a2d2:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"milestone_panel"},[n("div",{staticClass:"flex_right_pain",class:{AnimatedRightIn:e.visible}},[e.milestoneManage?n("div",{staticClass:"flex_right_pain_body_box"},[n("div",{staticClass:"flex_right_pain_head"},[e._m(0),n("div",{staticClass:"EC_col_12"},[n("div",{staticClass:"close-wrap",class:{"close-hover":e.isCloseHover},on:{click:function(t){return t.stopPropagation(),e.closeSetPain(t)},mouseenter:function(t){e.isCloseHover=!0},mouseleave:function(t){e.isCloseHover=!1}}},[n("img",{directives:[{name:"show",rawName:"v-show",value:!e.isCloseHover,expression:"!isCloseHover"}],staticClass:"close-icon vert-hori-center",attrs:{src:"/static/img/operate-pop-window/关闭.svg",alt:""}}),n("img",{directives:[{name:"show",rawName:"v-show",value:e.isCloseHover,expression:"isCloseHover"}],staticClass:"close-icon vert-hori-center",attrs:{src:"/static/img/operate-pop-window/关闭激活.svg",alt:""}})])])]),n("div",{staticClass:"pxline"}),n("div",{ref:"milestoneManageRef",staticClass:"flex_right_pain_body"},[e.fileNowVersion?n("div",[n("version-item",{attrs:{localWorkspacePrefix:e.localWorkspacePrefix,nowVersion:"",commitInfo:e.fileNowVersion,active:e.activeVersion===e.fileNowVersion,file:e.file},on:{makeCopy:e.onMakeCopy,openFile:e.openFile,select:e.selectVersion,setHeadVersion:e.setHeadVersion}}),n("div",{staticClass:"title"},[e._v("里程碑")]),e._l(e.fileOtherVersion,(function(t){return n("version-item",{key:t.currentHash,attrs:{localWorkspacePrefix:e.localWorkspacePrefix,commitInfo:t,active:e.activeVersion===t,fileId:e.file.id,file:e.file},on:{select:e.selectVersion,setHeadVersion:e.setHeadVersion,makeCopy:e.onMakeCopy}})}))],2):n("div",{staticClass:"empty"},[n("span",[e._v("暂无历史版本")])])]),e.fileNowVersion?n("div",{staticClass:"bottombtnitem"},[n("div",{staticClass:"bottombtnitemlonBtn"},[n("el-button",{staticClass:"longBtn defualtBtnInfo quitBtn",attrs:{type:"primary",round:""},on:{click:e.checkAllMilestone}},[e._v("查看所有历史提交版本")])],1)]):e._e()]):e._e(),e.milestoneCheck?n("div",{staticClass:"flex_right_pain_body_box"},[n("div",{staticClass:"flex_right_pain_head"},[n("div",{staticClass:"EC_col_4"},[n("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(t){return t.stopPropagation(),e.enterMilestoneManage(t)}}})]),e._m(1),n("div",{staticClass:"EC_col_4"},[n("i",{staticClass:"Cicon icon font_family icon-icon_quxiaohuoguanbi fr",attrs:{title:"关闭"},on:{click:e.closeSetPain}})])]),n("div",{staticClass:"pxline"}),n("div",{ref:"milestoneCheckRef",staticClass:"flex_right_pain_body"},[n("div",[e._l(e.fileHistoryList,(function(t){return n("version-item",{key:t.currentHash,attrs:{localWorkspacePrefix:e.localWorkspacePrefix,nowVersion:e.fileNowVersion===t,commitInfo:t,active:e.activeVersion===t,fileId:e.file.id,file:e.file},on:{select:e.selectVersion,setHeadVersion:e.setHeadVersion,makeCopy:e.onMakeCopy}})})),e._v("= ")],2)])]):e._e()])])},r=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"EC_col_12"},[n("h4",{staticClass:"RdiaheaderTitle"},[e._v("历史版本管理")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"EC_col_16"},[n("h4",{staticClass:"centertext"},[e._v("所有历史提交版本")])])}],o=(n("4de4"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("transition",{attrs:{name:"info-fade"}},[e.active?n("div",{staticClass:"version_item",class:{set_item_position:!1}},[n("div",{staticClass:"content"},[n("div",{staticClass:"content_header"},[e.nowVersion?n("i",{staticClass:"iconfont icon-zhiding",attrs:{alt:""}}):e._e(),n("p",[e._v(e._s((e.nowVersion?"当前协同 - ":"")+"版本"+e.commitInfo.version))])]),n("div",{staticClass:"content_remark split"},[n("div",{staticClass:"content_remark_inner"},[n("div",[e._v(e._s(e.showAccountName)+"的备注")]),n("div",[e._v(e._s(e.commitInfo.note?e.commitInfo.note:"无备注"))])])]),n("div",{staticClass:"content_info split"},[n("div",{staticClass:"option",on:{click:function(t){t.stopPropagation(),e.infoPanelActive=!e.infoPanelActive}}},[n("i",{staticClass:"option_icon",class:{option_active:e.infoPanelActive}}),n("div",{staticClass:"option_label"},[e._v("更多信息")])]),n("div",{staticClass:"content_info_detail",class:{panel_inactive:!e.infoPanelActive}},[n("div",{staticClass:"content_info_detail_item"},[n("span",[e._v("提交人:")]),n("span",{staticStyle:{color:"#2869E6"}},[e._v(e._s(e.showAccountName))])]),n("div",{staticClass:"content_info_detail_item"},[n("span",[e._v("基于版本:")]),n("span",[e._v(e._s(e.commitInfo.creator)+" 提交的版本"+e._s(e.commitInfo.version))])]),n("div",{staticClass:"content_info_detail_item"},[n("span",[e._v("协同于:")]),n("span",[e._v(e._s(e.showTime))])])])]),n("div",{staticClass:"content_action split"},[n("div",{staticClass:"option",on:{click:function(t){t.stopPropagation(),e.actionPanelActive=!e.actionPanelActive}}},[n("i",{staticClass:"option_icon",class:{option_active:e.actionPanelActive}}),n("div",{staticClass:"option_label"},[e._v("更多操作")])]),n("div",{staticClass:"content_action_list",class:{panel_inactive:!e.actionPanelActive}},[n("div",{staticClass:"content_action_list_item milestone_set"},[n("div",{staticClass:"icon_box"},[n("i",{staticClass:"iconfont icon-lichengbei-qizhi"})]),n("p",[e._v("里程碑")]),n("div",{staticClass:"switch_btn"},[n("el-switch",{attrs:{"active-color":"#7850FF","inactive-color":"#fff"},on:{change:e.setMileStoneClick},model:{value:e.commitInfo.milestone,callback:function(t){e.$set(e.commitInfo,"milestone",t)},expression:"commitInfo.milestone"}})],1)]),e.nowVersion?e._e():n("div",{staticClass:"content_action_list_item button",on:{click:function(t){return t.stopPropagation(),e.showHistoryFile(t)}}},[e._v(" 查看版本 ")]),e.nowVersion?n("div",{staticClass:"content_action_list_item button",on:{click:function(t){return t.stopPropagation(),e.editCurrentFile(t)}}},[e._v(" 继续编辑 ")]):e._e(),e.nowVersion?e._e():n("div",{staticClass:"content_action_list_item button",on:{click:function(t){return t.stopPropagation(),e.setShare(t)}}},[n("i",{staticClass:"iconfont icon-zhiding"}),e._v("设为协同版本 ")]),e.nowVersion?e._e():n("div",{staticClass:"content_action_list_item button",on:{click:e.onMakeCopy}},[e._v(" 从该版本创建副本 ")])])])])]):e._e()]),e.active?e._e():n("div",{staticClass:"version_item_brief",on:{click:function(t){return t.stopPropagation(),e.clickVersion(t)}}},[n("div",{staticClass:"header"},[e._m(0),n("p",[e._v("版本"+e._s(e.commitInfo.version))]),n("p",{staticClass:"header_time"},[e._v(e._s(e.showTime))])]),n("div",{staticClass:"remarks_brief"},[n("div",{staticClass:"remarks_brief_content",class:{noremarks:!0}},[e._v(e._s(e.commitInfo.note?e.commitInfo.note:"无备注"))])])])],1)}),s=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"icon_box"},[n("span",{staticClass:"iconfont icon-lichengbei-qizhi"})])}],a=(n("99af"),n("ac1f"),n("5319"),n("96cf"),n("1da1")),c=n("5a0c"),l=n.n(c),u=(n("a471"),n("b428")),f=n("1d40");l.a.locale("zh-cn");var m={props:{localWorkspacePrefix:String,nowVersion:Boolean,active:Boolean,commitInfo:{type:Object,default:function(){return{}}},file:{type:Object,default:function(){return{}}},fileId:String},mounted:function(){this.remarkEl=this.$refs.remarksText,this.isShowOpenIcon=this.remarkEl&&this.remarkEl.clientHeight>22},data:function(){return{remarkEl:null,switchValue:!0,isRemarksEdit:!1,isShowAll:!1,isShowOpenIcon:!1,accountName:"",infoPanelActive:!1,actionPanelActive:!1}},methods:{showHistoryFile:function(){var e=this.file,t=this.commitInfo,n=e.archName,i=e.extension,r=e.relativePath,o=t.currentHash,s=t.version,a="".concat(n,"-版本").concat(s).concat(i?".".concat(i):""),c="历史版本查看\\".concat((new Date).getTime()).concat(r?"\\relativePath":"").replace(/\//g,"\\"),l=function(){},u="".concat(this.localWorkspacePrefix,"\\").concat(c,"\\").concat(a);f["a"].downloadFile(o,sessionStorage.projName,a,c,(function(e,t){console.log("receive download file message:",e,t);try{var n=JSON.parse(e.data),i=n.process;n.hash;if(100!==i)return;f["a"].openFile(u),t.close()}catch(r){console.error("socket-download-file parse data have error:",r),l(),t.close()}}),l)},onMakeCopy:function(){this.$emit("makeCopy",this.commitInfo)},clickVersion:function(){this.$emit("select",this.commitInfo)},editRemarks:function(){this.isRemarksEdit=!0,this.isShowAll=!0},showAll:function(){this.isShowAll=!this.isShowAll},changeRemarks:function(){this.remarkEl=this.$refs.remarksText,this.remarkEl&&(this.newremarks=this.remarkEl.innerText)},finishEditRemarks:function(){this.isRemarksEdit=!1,this.remarks=this.newremarks},setColor:function(e){this.toolboxShow=!0;var t=e.target.getBoundingClientRect();this.$emit("getToolboxTop",{top:t.top,isShow:!0})},selectColor:function(e){this.selectedColor=e,this.color=this.selectedColor},closeSetColor:function(){this.toolboxShow=!1},editCurrentFile:function(){this.$emit("openFile")},setShare:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(u["m"])(e.fileId,e.commitInfo.currentHash,sessionStorage.userId);case 2:n=t.sent,0==n.Code?(e.$notify({type:"success",message:"设置协同版本成功"}),e.$emit("setHeadVersion",e.commitInfo)):e.$notify({type:"error",message:n.Msg});case 4:case"end":return t.stop()}}),t)})))()},setMileStoneClick:function(e){this.$bus.$emit("setMileStoneClick",e,this.commitInfo)}},computed:{showAccountName:function(){return this.commitInfo.creator&&sessionStorage.accountName==this.commitInfo.creator?"我":this.commitInfo.creator},showTime:function(){return this.commitInfo.createTime&&l()(1e3*this.commitInfo.createTime).format("YYYY年MM月DD日 A HH:mm")}},watch:{newremarks:function(){this.remarkEl=this.$refs.remarksText,this.isShowOpenIcon=this.remarkEl&&this.remarkEl.clientHeight>22}}},d=m,h=(n("e3bd"),n("2877")),p=Object(h["a"])(d,o,s,!1,null,"1c611fae",null),v=p.exports,_=n("2ef0"),b={components:{VersionItem:v},props:{localWorkspacePrefix:String,visible:Boolean,fileMilestoneInfo:{type:Object,default:function(){return{}}},fileHistoryList:{type:Array,default:function(){return[]}},file:{type:Object,default:function(){return{}}}},watch:{fileHistoryList:function(){this.getFileMilestoneList(this.fileHistoryList),this.getFileNowVersion(this.fileHistoryList),this.getFileOtherVersion()},visible:function(e){if(e){var t=document.querySelector(".notify-mask");if(!t){var n=document.createElement("div");n.className="notify-mask",document.body.appendChild(n),t=n}t.addEventListener("click",this.closeSetPain)}}},mounted:function(){},data:function(){return{milestoneManageRefEl:null,milestoneCheckRefEl:null,isCloseHover:!1,isFileNameShow:!1,milestoneManage:!0,milestoneCheck:!1,toolboxTop:0,milestoneManageRefScroll:"",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){console.log("asdasda:",e,this.fileMilestoneInfo,this.file);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},getToolboxTop:function(e){console.log(e),this.toolboxTop=e.top-90,this.toolboxShow=e.isShow},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("afe4"),Object(h["a"])(w,i,r,!1,null,"22177449",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}))},afe4:function(e,t,n){"use strict";var i=n("9a3e"),r=n.n(i);r.a},b332:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"c",(function(){return u}));n("99af"),n("a15b"),n("d81d"),n("fb6a"),n("ac1f"),n("5319"),n("1276");var i=n("d4ec"),r={DOWNLOADING:100,UPLOADING:101},o={NOT_WORKING:1,WORKING:2},s=function(e,t){var n=e.nodeName,i=e.extension,r=e.archName,o=e.relativePath,s=n?"".concat(n,"\\协作文件"):t.folderName;return"".concat(s,"\\").concat(o?"".concat(o.replace(/\//g,"\\"),"\\"):"").concat(r).concat(i?".".concat(i):"")},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;if(!e)return[];var i=t?"".concat(t,"/"):t,r=e.split("/").map((function(e,t,r){var o="".concat(i).concat(r.slice(0,t+1).join("/"));return n&&n(o),o}));return r},c=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(i["a"])(this,e);var n=t.split("/"),r=n.pop();this.id=t,this.folderPath=t,this.folderName=r,this.parentFolderPath=n.join("/"),this.childCount=0,this.fileCount=0},l=["jpg","png","bmp","gif","jpeg"],u=["avi","mov","wav","mp4"]},b428:function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"h",(function(){return l})),n.d(t,"k",(function(){return f})),n.d(t,"d",(function(){return d})),n.d(t,"b",(function(){return p})),n.d(t,"g",(function(){return _})),n.d(t,"i",(function(){return w})),n.d(t,"a",(function(){return g})),n.d(t,"c",(function(){return y})),n.d(t,"f",(function(){return I})),n.d(t,"l",(function(){return j})),n.d(t,"j",(function(){return R})),n.d(t,"m",(function(){return F})),n.d(t,"n",(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"),r=n("b775"),o=n("3de1"),s=n("b332");function a(e,t){return c.apply(this,arguments)}function c(){return c=Object(i["a"])(regeneratorRuntime.mark((function e(t,n){var i,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("folder/queryNodeFolderListByProjectIdAndUserId",{projectId:t,userId:n});case 2:return i=e.sent,s=(i.Data||[]).map((function(e){var t=Object(o["b"])(e);return t.listsShareFrom=[[],[]],t})),e.abrupt("return",s);case 5:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function l(){return u.apply(this,arguments)}function u(){return u=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/queryFilesFromRecycleBin");case 2:if(t=e.sent,Object(r["c"])(t),0===t.Code){e.next=6;break}return e.abrupt("return",null);case 6:return n=(t.Data||[]).map((function(e){var t=Object(o["b"])(e);return t})),e.abrupt("return",n);case 8:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function f(e){return m.apply(this,arguments)}function m(){return m=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/removeFromRecycleBin",{fileId:t});case 2:return n=e.sent,e.abrupt("return",Object(r["c"])(n));case 4:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}function d(e,t,n){return h.apply(this,arguments)}function h(){return h=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i){var a,c,l,u,f,m;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("folder/queryFileListByFolderIdAndUserId",{folderId:t,userId:n,publicFolderId:i});case 2:if(a=e.sent,Object(r["c"])(a),0===a.Code){e.next=6;break}return e.abrupt("return",null);case 6:return c=a.Data||{},l=[],u={},f=(c.myFile||[]).concat(c.workFile||[]).map((function(e){var t=Object(o["b"])(e),n=t.relativePath;if(n){var i=n.split("/");i.forEach((function(e,t){var n=i.slice(0,t+1).join("/");if(!u[n]){var r=new s["d"](n),o=r.parentFolderPath;l.push(r),u[n]=r,u[o]&&u[o].childCount++}})),u[n].fileCount++}return t})),m={folder:l,folderMap:u,file:f,coordinationFiles:(c.coordinationFiles||[]).map(o["b"])},e.abrupt("return",m);case 12:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}function p(e,t){return v.apply(this,arguments)}function v(){return v=Object(i["a"])(regeneratorRuntime.mark((function e(t,n){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/changeFileWorkStatus",{fileId:t,workStatus:n});case 2:return i=e.sent,e.abrupt("return",Object(r["c"])(i));case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function _(e,t,n){return b.apply(this,arguments)}function b(){return b=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i){var o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/queryFileExchange",{currentTemplateId:t,currentNodeId:n,nestedNodeId:i});case 2:return o=e.sent,e.abrupt("return",Object(r["c"])(o));case 4:case"end":return e.stop()}}),e)}))),b.apply(this,arguments)}function w(e){return C.apply(this,arguments)}function C(){return C=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/queryNestedTempFileExchange",{currentTemplateId:t});case 2:return n=e.sent,e.abrupt("return",Object(r["c"])(n));case 4:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function g(e){return k.apply(this,arguments)}function k(){return k=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/addFile",t);case 2:return n=e.sent,i={API:"file/addFile",Action:"新建文件",CompanyName:sessionStorage.CompanyName,Subject:t.archName+"."+t.extension,Source:sessionStorage.client,ProjectName:sessionStorage.projName},Object(r["b"])("operation/record",i),e.abrupt("return",n);case 6:case"end":return e.stop()}}),e)}))),k.apply(this,arguments)}function y(e){return x.apply(this,arguments)}function x(){return x=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/deleteFile",{fileId:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),x.apply(this,arguments)}function I(e){return O.apply(this,arguments)}function O(){return O=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("company/queryFileOnlineUrlByCompanyId",t);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),O.apply(this,arguments)}function j(e,t){return S.apply(this,arguments)}function S(){return S=Object(i["a"])(regeneratorRuntime.mark((function e(t,n){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/searchFileListByFolderIdAndFileName",{folderId:t,fileName:n});case 2:return i=e.sent,e.abrupt("return",i);case 4:case"end":return e.stop()}}),e)}))),S.apply(this,arguments)}function R(e){return M.apply(this,arguments)}function M(){return M=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/queryProjArchiveHistoryTbByArchId",{archId:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),M.apply(this,arguments)}function F(e,t,n){return N.apply(this,arguments)}function N(){return N=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i){var o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/setShareFile",{Id:t,IpfsCid:n,ModifyUserId:i});case 2:return o=e.sent,e.abrupt("return",o);case 4:case"end":return e.stop()}}),e)}))),N.apply(this,arguments)}function V(e){return P.apply(this,arguments)}function P(){return P=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/updateProjArchiveHistory",t);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),P.apply(this,arguments)}},d4ec:function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return i}))},e3bd:function(e,t,n){"use strict";var i=n("5192"),r=n.n(i);r.a}}]); \ No newline at end of file diff --git a/static/js/chunk-145b0de7.626e5ee4.js b/static/js/chunk-145b0de7.0768f911.js similarity index 100% rename from static/js/chunk-145b0de7.626e5ee4.js rename to static/js/chunk-145b0de7.0768f911.js diff --git a/static/js/chunk-1662b2cc.14ae1ccc.js b/static/js/chunk-1662b2cc.05f5eee7.js similarity index 100% rename from static/js/chunk-1662b2cc.14ae1ccc.js rename to static/js/chunk-1662b2cc.05f5eee7.js diff --git a/static/js/chunk-1eaf12ce.0fe3a1a0.js b/static/js/chunk-1eaf12ce.19226c6e.js similarity index 100% rename from static/js/chunk-1eaf12ce.0fe3a1a0.js rename to static/js/chunk-1eaf12ce.19226c6e.js diff --git a/static/js/chunk-1fe39068.69b1ce4d.js b/static/js/chunk-1fe39068.1871aad5.js similarity index 100% rename from static/js/chunk-1fe39068.69b1ce4d.js rename to static/js/chunk-1fe39068.1871aad5.js diff --git a/static/js/chunk-1fe40532.4df395df.js b/static/js/chunk-1fe40532.2dbac6c8.js similarity index 100% rename from static/js/chunk-1fe40532.4df395df.js rename to static/js/chunk-1fe40532.2dbac6c8.js diff --git a/static/js/chunk-23d16c0d.6c502660.js b/static/js/chunk-23d16c0d.628582b8.js similarity index 100% rename from static/js/chunk-23d16c0d.6c502660.js rename to static/js/chunk-23d16c0d.628582b8.js diff --git a/static/js/chunk-28990618.cbe622ff.js b/static/js/chunk-28990618.899622cd.js similarity index 100% rename from static/js/chunk-28990618.cbe622ff.js rename to static/js/chunk-28990618.899622cd.js diff --git a/static/js/chunk-2b38f122.c2ba2750.js b/static/js/chunk-2b38f122.31d9a0f5.js similarity index 100% rename from static/js/chunk-2b38f122.c2ba2750.js rename to static/js/chunk-2b38f122.31d9a0f5.js diff --git a/static/js/chunk-2d0ac90d.d61678e2.js b/static/js/chunk-2d0ac90d.c996a7a1.js similarity index 100% rename from static/js/chunk-2d0ac90d.d61678e2.js rename to static/js/chunk-2d0ac90d.c996a7a1.js diff --git a/static/js/chunk-2d0b3688.f48ac36c.js b/static/js/chunk-2d0b3688.c678f61a.js similarity index 100% rename from static/js/chunk-2d0b3688.f48ac36c.js rename to static/js/chunk-2d0b3688.c678f61a.js diff --git a/static/js/chunk-2d0c061a.e8fed28d.js b/static/js/chunk-2d0c061a.678e838f.js similarity index 100% rename from static/js/chunk-2d0c061a.e8fed28d.js rename to static/js/chunk-2d0c061a.678e838f.js diff --git a/static/js/chunk-2d0cf6a4.8f0fa9cd.js b/static/js/chunk-2d0cf6a4.4f266e68.js similarity index 100% rename from static/js/chunk-2d0cf6a4.8f0fa9cd.js rename to static/js/chunk-2d0cf6a4.4f266e68.js diff --git a/static/js/chunk-2d0dddf0.49ee67d9.js b/static/js/chunk-2d0dddf0.e77cfc6a.js similarity index 100% rename from static/js/chunk-2d0dddf0.49ee67d9.js rename to static/js/chunk-2d0dddf0.e77cfc6a.js diff --git a/static/js/chunk-2d0e148e.d7fa4208.js b/static/js/chunk-2d0e148e.1ad61f1e.js similarity index 100% rename from static/js/chunk-2d0e148e.d7fa4208.js rename to static/js/chunk-2d0e148e.1ad61f1e.js diff --git a/static/js/chunk-2d207f39.eb159224.js b/static/js/chunk-2d207f39.13e2668b.js similarity index 100% rename from static/js/chunk-2d207f39.eb159224.js rename to static/js/chunk-2d207f39.13e2668b.js diff --git a/static/js/chunk-2d21b850.791bc396.js b/static/js/chunk-2d21b850.13aa5d85.js similarity index 100% rename from static/js/chunk-2d21b850.791bc396.js rename to static/js/chunk-2d21b850.13aa5d85.js diff --git a/static/js/chunk-2d224b2b.80cb57c9.js b/static/js/chunk-2d224b2b.acbbe993.js similarity index 100% rename from static/js/chunk-2d224b2b.80cb57c9.js rename to static/js/chunk-2d224b2b.acbbe993.js diff --git a/static/js/chunk-309e49e4.e918dae9.js b/static/js/chunk-309e49e4.d538ec96.js similarity index 100% rename from static/js/chunk-309e49e4.e918dae9.js rename to static/js/chunk-309e49e4.d538ec96.js diff --git a/static/js/chunk-3261285a.6309c11e.js b/static/js/chunk-3261285a.b93fddd2.js similarity index 100% rename from static/js/chunk-3261285a.6309c11e.js rename to static/js/chunk-3261285a.b93fddd2.js diff --git a/static/js/chunk-33d2c21e.39491104.js b/static/js/chunk-33d2c21e.af387646.js similarity index 100% rename from static/js/chunk-33d2c21e.39491104.js rename to static/js/chunk-33d2c21e.af387646.js diff --git a/static/js/chunk-347878ae.1e5f2d3b.js b/static/js/chunk-347878ae.154aa5f7.js similarity index 100% rename from static/js/chunk-347878ae.1e5f2d3b.js rename to static/js/chunk-347878ae.154aa5f7.js diff --git a/static/js/chunk-3ccf94d4.b932a866.js b/static/js/chunk-3ccf94d4.1667d95c.js similarity index 100% rename from static/js/chunk-3ccf94d4.b932a866.js rename to static/js/chunk-3ccf94d4.1667d95c.js diff --git a/static/js/chunk-3fbc85f3.1921e1a9.js b/static/js/chunk-3fbc85f3.331e06cd.js similarity index 100% rename from static/js/chunk-3fbc85f3.1921e1a9.js rename to static/js/chunk-3fbc85f3.331e06cd.js diff --git a/static/js/chunk-4c803a36.dfff23b0.js b/static/js/chunk-4c803a36.c42e11ac.js similarity index 100% rename from static/js/chunk-4c803a36.dfff23b0.js rename to static/js/chunk-4c803a36.c42e11ac.js diff --git a/static/js/chunk-550c5be4.8b7b084d.js b/static/js/chunk-550c5be4.857ba9cb.js similarity index 100% rename from static/js/chunk-550c5be4.8b7b084d.js rename to static/js/chunk-550c5be4.857ba9cb.js diff --git a/static/js/chunk-584d398d.330bb7e6.js b/static/js/chunk-584d398d.b1f975fd.js similarity index 100% rename from static/js/chunk-584d398d.330bb7e6.js rename to static/js/chunk-584d398d.b1f975fd.js diff --git a/static/js/chunk-638e5b5a.d2744e55.js b/static/js/chunk-638e5b5a.5ba57e63.js similarity index 100% rename from static/js/chunk-638e5b5a.d2744e55.js rename to static/js/chunk-638e5b5a.5ba57e63.js diff --git a/static/js/chunk-6a615eb9.32c6dff7.js b/static/js/chunk-6a615eb9.5444617b.js similarity index 100% rename from static/js/chunk-6a615eb9.32c6dff7.js rename to static/js/chunk-6a615eb9.5444617b.js diff --git a/static/js/chunk-6cb025ae.5055f07c.js b/static/js/chunk-6cb025ae.b77419fd.js similarity index 100% rename from static/js/chunk-6cb025ae.5055f07c.js rename to static/js/chunk-6cb025ae.b77419fd.js diff --git a/static/js/chunk-74b26ff1.bb192716.js b/static/js/chunk-74b26ff1.19058c6a.js similarity index 100% rename from static/js/chunk-74b26ff1.bb192716.js rename to static/js/chunk-74b26ff1.19058c6a.js diff --git a/static/js/chunk-78390ace.0eeeb9d4.js b/static/js/chunk-78390ace.887dc9d4.js similarity index 100% rename from static/js/chunk-78390ace.0eeeb9d4.js rename to static/js/chunk-78390ace.887dc9d4.js diff --git a/static/js/chunk-7a18b3e4.17af580b.js b/static/js/chunk-7a18b3e4.61cf14fc.js similarity index 100% rename from static/js/chunk-7a18b3e4.17af580b.js rename to static/js/chunk-7a18b3e4.61cf14fc.js diff --git a/static/js/chunk-805bd970.00478e67.js b/static/js/chunk-805bd970.00478e67.js new file mode 100644 index 00000000..4b69e7ba --- /dev/null +++ b/static/js/chunk-805bd970.00478e67.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-805bd970"],{5192:function(e,t,n){},7578:function(e,t,n){},"82f6":function(e,t,n){"use strict";var i=n("7578"),r=n.n(i);r.a},a2d2:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"milestone_panel"},[n("div",{staticClass:"flex_right_pain",class:{AnimatedRightIn:e.visible}},[e.milestoneManage?n("div",{staticClass:"flex_right_pain_body_box"},[n("div",{staticClass:"flex_right_pain_head"},[e._m(0),n("div",{staticClass:"EC_col_12"},[n("div",{staticClass:"close-wrap",class:{"close-hover":e.isCloseHover},on:{click:function(t){return t.stopPropagation(),e.closeSetPain(t)},mouseenter:function(t){e.isCloseHover=!0},mouseleave:function(t){e.isCloseHover=!1}}},[n("img",{directives:[{name:"show",rawName:"v-show",value:!e.isCloseHover,expression:"!isCloseHover"}],staticClass:"close-icon vert-hori-center",attrs:{src:"/static/img/operate-pop-window/关闭.svg",alt:""}}),n("img",{directives:[{name:"show",rawName:"v-show",value:e.isCloseHover,expression:"isCloseHover"}],staticClass:"close-icon vert-hori-center",attrs:{src:"/static/img/operate-pop-window/关闭激活.svg",alt:""}})])])]),n("div",{staticClass:"pxline"}),n("div",{ref:"milestoneManageRef",staticClass:"flex_right_pain_body"},[e.fileNowVersion?n("div",[n("version-item",{attrs:{localWorkspacePrefix:e.localWorkspacePrefix,nowVersion:"",commitInfo:e.fileNowVersion,active:e.activeVersion===e.fileNowVersion,file:e.file},on:{makeCopy:e.onMakeCopy,openFile:e.openFile,select:e.selectVersion,setHeadVersion:e.setHeadVersion}}),n("div",{staticClass:"title"},[e._v("里程碑")]),e._l(e.fileOtherVersion,(function(t){return n("version-item",{key:t.currentHash,attrs:{localWorkspacePrefix:e.localWorkspacePrefix,commitInfo:t,active:e.activeVersion===t,fileId:e.file.id,file:e.file},on:{select:e.selectVersion,setHeadVersion:e.setHeadVersion,makeCopy:e.onMakeCopy}})}))],2):n("div",{staticClass:"empty"},[n("span",[e._v("暂无历史版本")])])]),e.fileNowVersion?n("div",{staticClass:"bottombtnitem"},[n("div",{staticClass:"bottombtnitemlonBtn"},[n("el-button",{staticClass:"longBtn defualtBtnInfo quitBtn",attrs:{type:"primary",round:""},on:{click:e.checkAllMilestone}},[e._v("查看所有历史提交版本")])],1)]):e._e()]):e._e(),e.milestoneCheck?n("div",{staticClass:"flex_right_pain_body_box"},[n("div",{staticClass:"flex_right_pain_head"},[n("div",{staticClass:"EC_col_4"},[n("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(t){return t.stopPropagation(),e.enterMilestoneManage(t)}}})]),e._m(1),n("div",{staticClass:"EC_col_4"},[n("i",{staticClass:"Cicon icon font_family icon-icon_quxiaohuoguanbi fr",attrs:{title:"关闭"},on:{click:e.closeSetPain}})])]),n("div",{staticClass:"pxline"}),n("div",{ref:"milestoneCheckRef",staticClass:"flex_right_pain_body"},[n("div",e._l(e.fileHistoryList,(function(t){return n("version-item",{key:t.currentHash,attrs:{localWorkspacePrefix:e.localWorkspacePrefix,nowVersion:e.fileNowVersion===t,commitInfo:t,active:e.activeVersion===t,fileId:e.file.id,file:e.file},on:{select:e.selectVersion,setHeadVersion:e.setHeadVersion,makeCopy:e.onMakeCopy}})})),1)])]):e._e()])])},r=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"EC_col_12"},[n("h4",{staticClass:"RdiaheaderTitle"},[e._v("历史版本管理")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"EC_col_16"},[n("h4",{staticClass:"centertext"},[e._v("所有历史提交版本")])])}],o=(n("4de4"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("transition",{attrs:{name:"info-fade"}},[e.active?n("div",{staticClass:"version_item",class:{set_item_position:!1}},[n("div",{staticClass:"content"},[n("div",{staticClass:"content_header"},[e.nowVersion?n("i",{staticClass:"iconfont icon-zhiding",attrs:{alt:""}}):e._e(),n("p",[e._v(e._s((e.nowVersion?"当前协同 - ":"")+"版本"+e.commitInfo.version))])]),n("div",{staticClass:"content_remark split"},[n("div",{staticClass:"content_remark_inner"},[n("div",[e._v(e._s(e.showAccountName)+"的备注")]),n("div",[e._v(e._s(e.commitInfo.note?e.commitInfo.note:"无备注"))])])]),n("div",{staticClass:"content_info split"},[n("div",{staticClass:"option",on:{click:function(t){t.stopPropagation(),e.infoPanelActive=!e.infoPanelActive}}},[n("i",{staticClass:"option_icon",class:{option_active:e.infoPanelActive}}),n("div",{staticClass:"option_label"},[e._v("更多信息")])]),n("div",{staticClass:"content_info_detail",class:{panel_inactive:!e.infoPanelActive}},[n("div",{staticClass:"content_info_detail_item"},[n("span",[e._v("提交人:")]),n("span",{staticStyle:{color:"#2869E6"}},[e._v(e._s(e.showAccountName))])]),n("div",{staticClass:"content_info_detail_item"},[n("span",[e._v("基于版本:")]),n("span",[e._v(e._s(e.commitInfo.creator)+" 提交的版本"+e._s(e.commitInfo.version))])]),n("div",{staticClass:"content_info_detail_item"},[n("span",[e._v("协同于:")]),n("span",[e._v(e._s(e.showTime))])])])]),n("div",{staticClass:"content_action split"},[n("div",{staticClass:"option",on:{click:function(t){t.stopPropagation(),e.actionPanelActive=!e.actionPanelActive}}},[n("i",{staticClass:"option_icon",class:{option_active:e.actionPanelActive}}),n("div",{staticClass:"option_label"},[e._v("更多操作")])]),n("div",{staticClass:"content_action_list",class:{panel_inactive:!e.actionPanelActive}},[n("div",{staticClass:"content_action_list_item milestone_set"},[n("div",{staticClass:"icon_box"},[n("i",{staticClass:"iconfont icon-lichengbei-qizhi"})]),n("p",[e._v("里程碑")]),n("div",{staticClass:"switch_btn"},[n("el-switch",{attrs:{"active-color":"#7850FF","inactive-color":"#fff"},on:{change:e.setMileStoneClick},model:{value:e.commitInfo.milestone,callback:function(t){e.$set(e.commitInfo,"milestone",t)},expression:"commitInfo.milestone"}})],1)]),e.nowVersion?e._e():n("div",{staticClass:"content_action_list_item button",on:{click:function(t){return t.stopPropagation(),e.showHistoryFile(t)}}},[e._v(" 查看版本 ")]),e.nowVersion?n("div",{staticClass:"content_action_list_item button",on:{click:function(t){return t.stopPropagation(),e.editCurrentFile(t)}}},[e._v(" 继续编辑 ")]):e._e(),e.nowVersion?e._e():n("div",{staticClass:"content_action_list_item button",on:{click:function(t){return t.stopPropagation(),e.setShare(t)}}},[n("i",{staticClass:"iconfont icon-zhiding"}),e._v("设为协同版本 ")]),e.nowVersion?e._e():n("div",{staticClass:"content_action_list_item button",on:{click:e.onMakeCopy}},[e._v(" 从该版本创建副本 ")])])])])]):e._e()]),e.active?e._e():n("div",{staticClass:"version_item_brief",on:{click:function(t){return t.stopPropagation(),e.clickVersion(t)}}},[n("div",{staticClass:"header"},[e._m(0),n("p",[e._v("版本"+e._s(e.commitInfo.version))]),n("p",{staticClass:"header_time"},[e._v(e._s(e.showTime))])]),n("div",{staticClass:"remarks_brief"},[n("div",{staticClass:"remarks_brief_content",class:{noremarks:!0}},[e._v(e._s(e.commitInfo.note?e.commitInfo.note:"无备注"))])])])],1)}),s=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"icon_box"},[n("span",{staticClass:"iconfont icon-lichengbei-qizhi"})])}],a=(n("99af"),n("ac1f"),n("5319"),n("96cf"),n("1da1")),c=n("5a0c"),l=n.n(c),u=(n("a471"),n("b428")),f=n("1d40");l.a.locale("zh-cn");var m={props:{localWorkspacePrefix:String,nowVersion:Boolean,active:Boolean,commitInfo:{type:Object,default:function(){return{}}},file:{type:Object,default:function(){return{}}},fileId:String},mounted:function(){this.remarkEl=this.$refs.remarksText,this.isShowOpenIcon=this.remarkEl&&this.remarkEl.clientHeight>22},data:function(){return{remarkEl:null,switchValue:!0,isRemarksEdit:!1,isShowAll:!1,isShowOpenIcon:!1,accountName:"",infoPanelActive:!1,actionPanelActive:!1}},methods:{showHistoryFile:function(){var e=this.file,t=this.commitInfo,n=e.archName,i=e.extension,r=e.relativePath,o=t.currentHash,s=t.version,a="".concat(n,"-版本").concat(s).concat(i?".".concat(i):""),c="历史版本查看\\".concat((new Date).getTime()).concat(r?"\\relativePath":"").replace(/\//g,"\\"),l=function(){},u="".concat(this.localWorkspacePrefix,"\\").concat(c,"\\").concat(a);f["a"].downloadFile(o,sessionStorage.projName,a,c,(function(e,t){console.log("receive download file message:",e,t);try{var n=JSON.parse(e.data),i=n.process;n.hash;if(100!==i)return;f["a"].openFile(u),t.close()}catch(r){console.error("socket-download-file parse data have error:",r),l(),t.close()}}),l)},onMakeCopy:function(){this.$emit("makeCopy",this.commitInfo)},clickVersion:function(){this.$emit("select",this.commitInfo)},editRemarks:function(){this.isRemarksEdit=!0,this.isShowAll=!0},showAll:function(){this.isShowAll=!this.isShowAll},changeRemarks:function(){this.remarkEl=this.$refs.remarksText,this.remarkEl&&(this.newremarks=this.remarkEl.innerText)},finishEditRemarks:function(){this.isRemarksEdit=!1,this.remarks=this.newremarks},setColor:function(e){this.toolboxShow=!0;var t=e.target.getBoundingClientRect();this.$emit("getToolboxTop",{top:t.top,isShow:!0})},selectColor:function(e){this.selectedColor=e,this.color=this.selectedColor},closeSetColor:function(){this.toolboxShow=!1},editCurrentFile:function(){this.$emit("openFile")},setShare:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(u["m"])(e.fileId,e.commitInfo.currentHash,sessionStorage.userId);case 2:n=t.sent,0==n.Code?(e.$notify({type:"success",message:"设置协同版本成功"}),e.$emit("setHeadVersion",e.commitInfo)):e.$notify({type:"error",message:n.Msg});case 4:case"end":return t.stop()}}),t)})))()},setMileStoneClick:function(e){this.$bus.$emit("setMileStoneClick",e,this.commitInfo)}},computed:{showAccountName:function(){return this.commitInfo.creator&&sessionStorage.accountName==this.commitInfo.creator?"我":this.commitInfo.creator},showTime:function(){return this.commitInfo.createTime&&l()(1e3*this.commitInfo.createTime).format("YYYY年MM月DD日 A HH:mm")}},watch:{newremarks:function(){this.remarkEl=this.$refs.remarksText,this.isShowOpenIcon=this.remarkEl&&this.remarkEl.clientHeight>22}}},d=m,h=(n("e3bd"),n("2877")),p=Object(h["a"])(d,o,s,!1,null,"1c611fae",null),v=p.exports,_=n("2ef0"),b={components:{VersionItem:v},props:{localWorkspacePrefix:String,visible:Boolean,fileMilestoneInfo:{type:Object,default:function(){return{}}},fileHistoryList:{type:Array,default:function(){return[]}},file:{type:Object,default:function(){return{}}}},watch:{fileHistoryList:function(){this.getFileMilestoneList(this.fileHistoryList),this.getFileNowVersion(this.fileHistoryList),this.getFileOtherVersion()},visible:function(e){if(e){var t=document.querySelector(".notify-mask");if(!t){var n=document.createElement("div");n.className="notify-mask",document.body.appendChild(n),t=n}t.addEventListener("click",this.closeSetPain),this.milestoneManage=!0,this.milestoneCheck=!1,this.fileMilestoneList=[],this.fileNowVersion=null,this.fileOtherVersion=[],this.activeVersion=null}}},data:function(){return{milestoneManageRefEl:null,milestoneCheckRefEl:null,isCloseHover:!1,isFileNameShow:!1,milestoneManage:!0,milestoneCheck:!1,fileMilestoneList:[],fileNowVersion:null,fileOtherVersion:[],activeVersion:null}},methods:{setHeadVersion:function(e){this.fileNowVersion=e},selectVersion:function(e){this.activeVersion=e},openFile:function(){this.$emit("openFile",this.file)},onMakeCopy:function(e){var t=Object(_["cloneDeep"])(this.file);t.ipfsCid=e.currentHash,this.$emit("makeCopy",t,e.version)},clickVersion:function(){this.isFileNameShow=!0},editRemarks:function(){this.isEdit=!0},setRemarks:function(){this.isFileNameShow=!1,this.isEdit=!1},cancelEdit:function(){},checkAllMilestone:function(){this.milestoneManage=!1,this.milestoneCheck=!0},enterMilestoneManage:function(){this.milestoneManage=!0,this.milestoneCheck=!1},openSetPain:function(){var e=document.querySelector(".notify-mask");if(!e){var t=document.createElement("div");t.className="notify-mask",document.body.appendChild(t)}},closeSetPain:function(){this.$emit("closeMilestonePain",!1);var e=document.querySelector(".notify-mask");document.body.removeChild(e)},setColor:function(){this.toolboxShow=!0,this.isFileNameShow=!0},selectColor:function(e){this.selectedColor=e,this.color=e},closeSetColor:function(){this.toolboxShow=!1},createMilestone:function(){this.toolboxShow=!1,this.color=this.selectedColor},getFileMilestoneList:function(e){this.fileMilestoneList=e.filter((function(e){return e.milestone}))},getFileNowVersion:function(e){var t=this,n=e.filter((function(e){return e.currentHash==t.file.ipfsCid}));this.fileNowVersion=n[0],this.activeVersion=this.fileNowVersion},getFileOtherVersion:function(){var e=this;this.fileOtherVersion=this.fileMilestoneList.filter((function(t){return t.currentHash!=e.file.ipfsCid}))},refresh:function(){}}},w=b,C=(n("82f6"),Object(h["a"])(w,i,r,!1,null,"54dacae5",null));t["default"]=C.exports},a471:function(e,t,n){!function(t,i){e.exports=i(n("5a0c"))}(0,(function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){switch(t){case"W":return e+"周";default:return e+"日"}},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"}};return e.locale(t,null,!0),t}))},b332:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"c",(function(){return u}));n("99af"),n("a15b"),n("d81d"),n("fb6a"),n("ac1f"),n("5319"),n("1276");var i=n("d4ec"),r={DOWNLOADING:100,UPLOADING:101},o={NOT_WORKING:1,WORKING:2},s=function(e,t){var n=e.nodeName,i=e.extension,r=e.archName,o=e.relativePath,s=n?"".concat(n,"\\协作文件"):t.folderName;return"".concat(s,"\\").concat(o?"".concat(o.replace(/\//g,"\\"),"\\"):"").concat(r).concat(i?".".concat(i):"")},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;if(!e)return[];var i=t?"".concat(t,"/"):t,r=e.split("/").map((function(e,t,r){var o="".concat(i).concat(r.slice(0,t+1).join("/"));return n&&n(o),o}));return r},c=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(i["a"])(this,e);var n=t.split("/"),r=n.pop();this.id=t,this.folderPath=t,this.folderName=r,this.parentFolderPath=n.join("/"),this.childCount=0,this.fileCount=0},l=["jpg","png","bmp","gif","jpeg"],u=["avi","mov","wav","mp4"]},b428:function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"h",(function(){return l})),n.d(t,"k",(function(){return f})),n.d(t,"d",(function(){return d})),n.d(t,"b",(function(){return p})),n.d(t,"g",(function(){return _})),n.d(t,"i",(function(){return w})),n.d(t,"a",(function(){return k})),n.d(t,"c",(function(){return y})),n.d(t,"f",(function(){return I})),n.d(t,"l",(function(){return j})),n.d(t,"j",(function(){return V})),n.d(t,"m",(function(){return N})),n.d(t,"n",(function(){return F}));n("99af"),n("4160"),n("a15b"),n("d81d"),n("fb6a"),n("ac1f"),n("1276"),n("159b"),n("96cf");var i=n("1da1"),r=n("b775"),o=n("3de1"),s=n("b332");function a(e,t){return c.apply(this,arguments)}function c(){return c=Object(i["a"])(regeneratorRuntime.mark((function e(t,n){var i,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("folder/queryNodeFolderListByProjectIdAndUserId",{projectId:t,userId:n});case 2:return i=e.sent,s=(i.Data||[]).map((function(e){var t=Object(o["b"])(e);return t.listsShareFrom=[[],[]],t})),e.abrupt("return",s);case 5:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function l(){return u.apply(this,arguments)}function u(){return u=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/queryFilesFromRecycleBin");case 2:if(t=e.sent,Object(r["c"])(t),0===t.Code){e.next=6;break}return e.abrupt("return",null);case 6:return n=(t.Data||[]).map((function(e){var t=Object(o["b"])(e);return t})),e.abrupt("return",n);case 8:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function f(e){return m.apply(this,arguments)}function m(){return m=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/removeFromRecycleBin",{fileId:t});case 2:return n=e.sent,e.abrupt("return",Object(r["c"])(n));case 4:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}function d(e,t,n){return h.apply(this,arguments)}function h(){return h=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i){var a,c,l,u,f,m;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("folder/queryFileListByFolderIdAndUserId",{folderId:t,userId:n,publicFolderId:i});case 2:if(a=e.sent,Object(r["c"])(a),0===a.Code){e.next=6;break}return e.abrupt("return",null);case 6:return c=a.Data||{},l=[],u={},f=(c.myFile||[]).concat(c.workFile||[]).map((function(e){var t=Object(o["b"])(e),n=t.relativePath;if(n){var i=n.split("/");i.forEach((function(e,t){var n=i.slice(0,t+1).join("/");if(!u[n]){var r=new s["d"](n),o=r.parentFolderPath;l.push(r),u[n]=r,u[o]&&u[o].childCount++}})),u[n].fileCount++}return t})),m={folder:l,folderMap:u,file:f,coordinationFiles:(c.coordinationFiles||[]).map(o["b"])},e.abrupt("return",m);case 12:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}function p(e,t){return v.apply(this,arguments)}function v(){return v=Object(i["a"])(regeneratorRuntime.mark((function e(t,n){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/changeFileWorkStatus",{fileId:t,workStatus:n});case 2:return i=e.sent,e.abrupt("return",Object(r["c"])(i));case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function _(e,t,n){return b.apply(this,arguments)}function b(){return b=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i){var o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/queryFileExchange",{currentTemplateId:t,currentNodeId:n,nestedNodeId:i});case 2:return o=e.sent,e.abrupt("return",Object(r["c"])(o));case 4:case"end":return e.stop()}}),e)}))),b.apply(this,arguments)}function w(e){return C.apply(this,arguments)}function C(){return C=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/queryNestedTempFileExchange",{currentTemplateId:t});case 2:return n=e.sent,e.abrupt("return",Object(r["c"])(n));case 4:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function k(e){return g.apply(this,arguments)}function g(){return g=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/addFile",t);case 2:return n=e.sent,i={API:"file/addFile",Action:"新建文件",CompanyName:sessionStorage.CompanyName,Subject:t.archName+"."+t.extension,Source:sessionStorage.client,ProjectName:sessionStorage.projName},Object(r["b"])("operation/record",i),e.abrupt("return",n);case 6:case"end":return e.stop()}}),e)}))),g.apply(this,arguments)}function y(e){return x.apply(this,arguments)}function x(){return x=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/deleteFile",{fileId:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),x.apply(this,arguments)}function I(e){return O.apply(this,arguments)}function O(){return O=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("company/queryFileOnlineUrlByCompanyId",t);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),O.apply(this,arguments)}function j(e,t){return S.apply(this,arguments)}function S(){return S=Object(i["a"])(regeneratorRuntime.mark((function e(t,n){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/searchFileListByFolderIdAndFileName",{folderId:t,fileName:n});case 2:return i=e.sent,e.abrupt("return",i);case 4:case"end":return e.stop()}}),e)}))),S.apply(this,arguments)}function V(e){return M.apply(this,arguments)}function M(){return M=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/queryProjArchiveHistoryTbByArchId",{archId:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),M.apply(this,arguments)}function N(e,t,n){return R.apply(this,arguments)}function R(){return R=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i){var o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/setShareFile",{Id:t,IpfsCid:n,ModifyUserId:i});case 2:return o=e.sent,e.abrupt("return",o);case 4:case"end":return e.stop()}}),e)}))),R.apply(this,arguments)}function F(e){return P.apply(this,arguments)}function P(){return P=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/updateProjArchiveHistory",t);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),P.apply(this,arguments)}},d4ec:function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return i}))},e3bd:function(e,t,n){"use strict";var i=n("5192"),r=n.n(i);r.a}}]); \ No newline at end of file diff --git a/static/js/chunk-da5f603a.7d919794.js b/static/js/chunk-da5f603a.5cf0acfb.js similarity index 100% rename from static/js/chunk-da5f603a.7d919794.js rename to static/js/chunk-da5f603a.5cf0acfb.js diff --git a/static/js/chunk-e8c15138.dfa272be.js b/static/js/chunk-e8c15138.e25d8dd3.js similarity index 100% rename from static/js/chunk-e8c15138.dfa272be.js rename to static/js/chunk-e8c15138.e25d8dd3.js diff --git a/static/js/chunk-ef8ce8b2.ba5bdd59.js b/static/js/chunk-ef8ce8b2.9002bee5.js similarity index 100% rename from static/js/chunk-ef8ce8b2.ba5bdd59.js rename to static/js/chunk-ef8ce8b2.9002bee5.js