diff --git a/dist/index.html b/dist/index.html
index bef070a7..f76221b6 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -1 +1 @@
-
LOCKING | 云建筑
\ No newline at end of file
+LOCKING | 云建筑
\ No newline at end of file
diff --git a/dist/static/css/chunk-09fc4146.db67abb8.css b/dist/static/css/chunk-09fc4146.db67abb8.css
new file mode 100644
index 00000000..71dd13ea
--- /dev/null
+++ b/dist/static/css/chunk-09fc4146.db67abb8.css
@@ -0,0 +1 @@
+.proj_manage[data-v-41299aa1]{width:100%;height:100%;padding:0 64px;box-sizing:border-box}.proj_manage .proj_manage_content[data-v-41299aa1]{width:100%;height:100%;position:relative}.projModule[data-v-41299aa1]{width:50%;min-width:660px;height:100%;right:0;position:absolute;box-shadow:0 4px 10px 1px rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.1)}.finish-edit-btn[data-v-41299aa1]{position:relative;left:-24px;cursor:pointer;background-color:#7850ff;color:#fff;border-radius:8px;height:32px;line-height:32px;text-align:center;font-size:14px;padding:0 10px;margin:9px 0}.question[data-v-41299aa1]{display:flex;align-items:center;position:relative;left:24px;width:100%;color:#4b4d4f;font-size:13px;text-align:left;font-family:PingFangSC-Regular}.question .ques-icon[data-v-41299aa1]{display:inline-block;width:20px;height:20px;background:url(/static/img/了解工作负责人.svg);cursor:pointer}.question .ques-text[data-v-41299aa1]{margin:0 0 0 8px}.manager-tips[data-v-41299aa1]{position:absolute;top:8px;left:24px;right:24px;z-index:99;text-align:center;padding:0 24px;height:84px;border-radius:8px;border:1px solid #449aff;background-color:#fcfcfc}.manager-tips .close-icon[data-v-41299aa1]{position:absolute;right:5px;top:5px;width:20px;height:20px;background:url(/static/img/了解负责人关闭.svg);cursor:pointer}.manager-tips .tips-text[data-v-41299aa1]{margin:24px 0 0 0;color:#32323c;font-size:14px;font-family:PingFangSC-Regular}.content-wrap[data-v-41299aa1]{display:flex;align-items:flex-start;justify-content:center;padding:0 64px;height:100%;background-color:#ebebeb}.content-wrap .graph-left-part .node-viewer[data-v-41299aa1],.content-wrap .graph-left-part[data-v-41299aa1]{height:100%}.content-wrap .graph-left-part[data-v-41299aa1],.content-wrap .right-part[data-v-41299aa1]{width:50%;min-width:480px;max-width:660px}.right-part[data-v-41299aa1]{box-sizing:border-box;border-top-left-radius:8px;border-top-right-radius:8px;overflow:hidden;background-color:#fcfcfc;transition:width .5s ease;box-shadow:0 4px 10px 1px rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.1)}.right-part .proj-desc[data-v-41299aa1]{background-color:#fcfcfc;min-height:calc(100vh - 96px)}.right-part .proj-desc .title[data-v-41299aa1]{position:relative;left:-24px;color:#0c0d10;font-size:20px;text-align:left;font-family:PingFangSC-Medium}.proj-desc-wrap[data-v-41299aa1]{padding:0 24px;height:calc(100vh - 126px);overflow:scroll;background-color:#f8f8f8}.proj-desc-wrap.dialog-detail[data-v-41299aa1]{height:auto;background:#fff}.proj-desc-wrap .cover-container[data-v-41299aa1]{height:226px;margin:0 0 32px 0!important;border-radius:8px}.proj-desc-wrap .cover-container .cover-img-wrap[data-v-41299aa1]{position:relative;width:293px;height:226px;overflow:hidden;border-radius:8px;box-shadow:0 7px 16px 0 rgba(0,0,0,.2)}.proj-desc-wrap .cover-container .cover-img-wrap .cover-img[data-v-41299aa1]{position:absolute;top:50%;left:50%;height:100%;border-radius:8px;transform:translate(-50%,-50%)}.proj-desc-wrap .cover-container .edit-cover-btn[data-v-41299aa1]{position:absolute;left:12px;bottom:12px;width:64px;height:28px;line-height:28px;border-radius:4px;background-color:#fff;border:.5px solid #979797;color:#32323c;font-size:14px;text-align:center;font-family:PingFangSC-Regular}.proj-desc-wrap .proj-main-template+.item-value[data-v-41299aa1]{position:relative;top:-2.5px;color:#32323c;font-size:18px}.item[data-v-41299aa1]{display:flex;width:100%;margin:12px 0;font-size:14px;line-height:24px;font-family:PingFangSC-Regular;color:#32323c}.item .item-title[data-v-41299aa1]{color:#62492f;width:24%;text-align:right}.item .item-value[data-v-41299aa1]{position:relative;margin:0 0 0 12px}.item .item-value[data-v-41299aa1]:not(.cover-img-wrap){flex:1;display:flex}.item .item-value.edit[data-v-41299aa1]{display:inline-flex}.item .field-input[data-v-41299aa1]{flex:1;width:140px;margin-right:10px;line-height:0}.item .field-input[data-v-41299aa1] .el-input__inner{margin-top:0;height:24px;line-height:24px}.item .float-button[data-v-41299aa1]{margin-left:10px}.nest-project-modal[data-v-41299aa1] .el-dialog{overflow:hidden}.nest-project-modal[data-v-41299aa1] .el-dialog__header{text-align:left;background-color:#f8f8f8;padding:15px 24px}.nest-project-modal-title[data-v-41299aa1]{display:flex;font-size:20px;line-height:30px;justify-content:space-between}.nest-project-modal .remove-button[data-v-41299aa1]{width:100%}.edit-template-btn[data-v-41299aa1],.to-distwork-btn[data-v-41299aa1]{position:relative;left:24px;cursor:pointer;padding:0 16px;height:32px;line-height:32px;margin:9px 0;border-radius:8px;background-color:#7850ff;color:#f5f5f7;font-size:14px;text-align:center;font-family:PingFangSC-Regular}.header-bottom-shadow[data-v-41299aa1]:after{content:"";display:block;width:100%;height:30px;background:linear-gradient(rgba(0,0,0,.06),transparent)}.adjust-title-position[data-v-41299aa1]{position:relative;top:11px}.distwork-page[data-v-41299aa1]{position:relative}.right-part .part-wrap[data-v-41299aa1]{padding:0 4px 0 12px;height:calc(100vh - 126px);overflow-y:scroll;background-color:#f8f8f8}.right-part .part-wrap .proj-manager-row[data-v-41299aa1]{margin:0 0 8px 0}.right-part .part-wrap .only-manager-see[data-v-41299aa1]:hover{border-radius:8px;background-color:rgba(50,50,60,.1)}.right-part .part-wrap .row-title[data-v-41299aa1]{padding:6px 0 0 0;margin:10px 0 6px 12px;height:20px;line-height:20px;color:#32323c;font-size:14px;text-align:left;font-family:PingFangSC-Regular}.template-summary[data-v-41299aa1]{background-color:#f8f8f8}.template-summary .summary-wrap[data-v-41299aa1]{height:calc(100vh - 142px);overflow:scroll;padding:0 24px;margin:16px 0 0 0;background-color:#f8f8f8}.template-summary .summary-wrap .prop-value-input[data-v-41299aa1]{width:100%;height:44px;border-radius:4px;color:rgba(0,0,0,.56);background-color:#e9e9eb;border:.5px solid #aeaeae;font-size:16px;padding-left:16px}.set-right-part-width[data-v-41299aa1]{min-width:300px;width:63.768%!important;margin-right:10px}.set-personnel-list-width[data-v-41299aa1]{min-width:375px;max-width:375px;width:36.231%!important;transition:width 2.5s ease}.set-header-position[data-v-41299aa1]{position:relative!important;color:#32323c!important;z-index:99}.template-detail-btn[data-v-41299aa1]{height:40px;line-height:40px;border-radius:8px;color:#32323c;background-color:#fff;border:.5px solid #979797;text-align:center;margin:15px 12px 8px;cursor:pointer}.proj-detail .app-header-center{font-size:20px}.proj-summary .back_title{color:#0c0d10;font-size:15px;font-family:PingFangSC-Regular}.proj-detail .right-part .app-header-back-btn{background:url(/static/img/yiyunicon.png) no-repeat -28px -84px!important}.plain-folder-list{padding:0 0 28px 0}.right-part .app-header-content{background-color:#f8f8f8}.manager-folder-wrap{border-radius:8px;background-color:#fff;box-shadow:0 0 8px 0 rgba(0,0,0,.02)}
\ No newline at end of file
diff --git a/dist/static/css/chunk-1a5b0b1c.84d0ed36.css b/dist/static/css/chunk-1a5b0b1c.84d0ed36.css
deleted file mode 100644
index 85ccedab..00000000
--- a/dist/static/css/chunk-1a5b0b1c.84d0ed36.css
+++ /dev/null
@@ -1 +0,0 @@
-.rt-2[data-v-a9676b70]{top:2px!important}.rt-0[data-v-a9676b70]{top:0!important}.rt-4[data-v-a9676b70]{top:4px!important}.empty[data-v-a9676b70]{background-color:#eaeaea}.people-item[data-v-a9676b70]{display:flex;position:relative;z-index:9;box-sizing:border-box;text-align:center;width:64px;padding:0 0 8px 0}.people-item .people-wrap[data-v-a9676b70]{position:relative;top:4px;border-radius:50%;margin:0 auto;width:100%}.people-item .people[data-v-a9676b70]{border-radius:50%}.active-manager-mark .people-name[data-v-a9676b70]{top:-2px}.people-item .el-icon-plus[data-v-a9676b70]{display:block;text-align:center;height:48px;line-height:48px;font-size:24px;color:#999b9d}.proj-avatarface[data-v-a9676b70]{vertical-align:bottom;width:48px;height:48px;border-radius:50%;overflow:hidden;background-color:#f6f6f6}.people-name[data-v-a9676b70]{position:relative;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:16px;line-height:16px;color:#111315;font-size:12px;text-align:center;font-family:PingFangSC-Regular;margin:8px auto 0}.add-btn[data-v-a9676b70]{cursor:pointer;margin:0 4px}.stand-place[data-v-78c01f61]{width:64px;height:72px}.extra-buttons[data-v-78c01f61]{position:absolute;right:12px;top:4px}.extra-buttons .extra-button[data-v-78c01f61]{position:relative}.extra-buttons .extra-button-icon[data-v-78c01f61]{position:absolute;left:0;top:0;bottom:0;margin:auto 0}.add_nest[data-v-78c01f61]{position:absolute;right:10px;bottom:-6px;z-index:9;width:64px;height:80px;box-sizing:border-box}.add_nest .add_nest_box[data-v-78c01f61]{cursor:pointer;width:64px;height:64px;box-sizing:border-box;border:1px solid #7850ff;border-radius:8px}.add_nest .add_nest_box .el-icon-plus[data-v-78c01f61]{font-size:24px;color:#7850ff}.add_nest .add_nest_box p[data-v-78c01f61]{color:#7850ff;font-size:14px;text-align:center;margin-top:10px}.opacity-5[data-v-78c01f61]{opacity:.5}.user-perm-text[data-v-78c01f61]{margin:0 0 0 8px}.notclick[data-v-78c01f61]{cursor:not-allowed!important;opacity:.5}.notclick .avtarface[data-v-78c01f61]{cursor:not-allowed}.allopacity[data-v-78c01f61]{opacity:1}.noManagerText[data-v-78c01f61]{font-size:0}.active-folder .people-item[data-v-78c01f61]{cursor:pointer}.folder-name[data-v-78c01f61]{height:20px;line-height:20px;margin:0 0 6px 12px;color:#32323c;font-size:14px;text-align:left;font-family:PingFangSC-Regular}.adjust-position[data-v-78c01f61]{position:relative;left:4px}.folder-wrap[data-v-78c01f61]{position:relative;padding:6px 0 0 0;margin:12px 0 0 0;border-radius:8px;background-color:#fff;box-shadow:0 0 8px 0 rgba(0,0,0,.02)}.edit-btn[data-v-78c01f61]{position:absolute;top:4px;right:4px;width:64px;height:24px;line-height:24px;font-size:14px;text-align:center;font-family:PingFangSC-Regular;color:#979797;border-radius:4px;background-color:#fff;border:.5px solid #979797;cursor:pointer}.adjust-margin[data-v-78c01f61]{margin-bottom:0}.mb-6[data-v-78c01f61]{margin:0 0 6px 0}.hori-line[data-v-58e87d7b]{border:.5px solid #eaeaea;margin:13px 0 0 0}.member-list[data-v-58e87d7b]{width:100%;min-width:375px;max-width:375px;background-color:#fcfcfc;border-top-left-radius:8px;border-top-right-radius:8px;box-shadow:0 4px 10px 1px rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.1)}.member-list .top-title[data-v-58e87d7b]{height:50px;line-height:50px;padding:0 0 0 24px;color:#0c0d10;font-size:20px;text-align:left;font-family:PingFangSC-Medium}.member-list .search-bar[data-v-58e87d7b]{position:relative;margin:6px 15px 7px;padding:0 5px}.member-list .search-bar .search-icon[data-v-58e87d7b]{position:absolute;left:10px;width:22px;height:22px;background:url(/static/img/搜索.svg) 50%/100%;margin:4px 0}.member-list .search-bar .search-input[data-v-58e87d7b]{box-sizing:border-box;outline:none;width:100%;height:30px;padding:0 0 0 30px;border-radius:8px;background-color:#e9e9eb;border:.5px solid #aeaeae;cursor:not-allowed}.member-list .content-wrap[data-v-58e87d7b]{padding:0 0 0 8px;overflow-y:scroll;height:calc(100vh - 177px)}.member-list .content-wrap .company-title[data-v-58e87d7b]{margin:12px 0 10px 16px;height:22px;line-height:22px;color:#32323c;font-size:18px;text-align:left;font-family:PingFangSC-Regular}.member-list .content-wrap .dept-name[data-v-58e87d7b]{margin:0 0 0 16px;flex:1}.member-list .people-wrap[data-v-58e87d7b]{padding:0 0 40px 0}.search-input[data-v-58e87d7b]::-webkit-input-placeholder{font-size:14px;font-family:Courier New,Courier,monospace;color:rgba(0,0,0,.56);height:20px!important;line-height:20px!important}.user-info-item[data-v-58e87d7b]:hover{background-color:rgba(50,50,60,.1)}.user-info-item[data-v-58e87d7b]{display:flex;padding:0 16px;height:44px;line-height:44px;align-items:center;cursor:pointer;border-radius:8px}.user-info-item .avatar-img[data-v-58e87d7b]{width:32px;height:32px;border-radius:50%;margin:0 13px 0 0}.user-info-item .user-info-name[data-v-58e87d7b]{flex:1;font-size:14px;font-family:PingFangSC-Regular}.member-list .el-collapse-item__wrap{border-bottom:none!important}.dept-select-all-btn .el-checkbox__label{padding:0 0 0 6px!important;margin:0 8px 0 0}.member-list .el-collapse{border:none!important}.member-list .el-collapse-item__arrow{position:relative;left:2px}.el-checkbox.dept-select-all-btn{position:absolute;right:15px}.member-list .el-collapse-item__header{height:44px!important;line-height:44px!important;border:none!important;position:relative}.user-info-item .el-checkbox__inner{width:20px;height:20px;color:#cbcbce}.member-list .el-collapse-item__header{margin:0 4px 0 0!important}.check-all-wrap{display:flex;align-items:center;margin:0 10px 0 0}.check-all-wrap .checkbox{width:10px;height:10px;margin:0 6px 0 0}.checkbox{float:right;width:20px;height:20px;border:1px solid #cbcbce;border-radius:50%}.checkbox.checked{background-color:#7850ff}.member-list .app-header-content{background-color:#f8f8f8}.empty-people-tips{font-size:16px;text-align:center;margin:20px 0}.slot_btn[data-v-3f290ff7]{position:relative;left:24px;cursor:pointer;padding:0 16px;height:32px;line-height:32px;margin:9px 0;border-radius:8px;background-color:#7850ff;color:#f5f5f7;font-size:14px;text-align:center;font-family:PingFangSC-Regular}.set_position[data-v-3f290ff7]{position:relative;border-top-right-radius:8px;border-top-left-radius:8px;box-shadow:none}.template_info_title[data-v-3f290ff7]{width:100%;line-height:44px;padding:0 24px;position:relative;box-sizing:border-box;border-bottom:1px solid #dededf}.template_select_content[data-v-3f290ff7]{height:calc(100vh - 100px);overflow-y:scroll}.template_select_content .template_info[data-v-3f290ff7]{width:100%;line-height:44px;padding:0 24px;position:relative;box-sizing:border-box;border-bottom:1px solid #dededf;transition:all .3s;cursor:pointer}.template_select_content .template_info .template_info_name[data-v-3f290ff7]{margin-left:38px;font-size:14px}.template_select_content .template_info_extra[data-v-3f290ff7]{position:absolute;right:20px;font-size:14px;color:rgba(0,0,0,.56)}.template_select_content .template_info .check_box[data-v-3f290ff7]{display:inline-block;width:28px;height:28px;border-radius:50%;position:absolute;top:50%;transform:translateY(-50%);background-color:#cbcbce;box-shadow:undefined,inset 0 1px 3px 0 rgba(0,0,0,.15)}.template_select_content .template_info .check_box.checked[data-v-3f290ff7]{background-color:#7850ff;text-align:center;line-height:28px;color:#fff}.template_select_content .template_info .check_box.checked .el-icon-check[data-v-3f290ff7]{display:inline-block}.template_select_content .template_info .check_box .el-icon-check[data-v-3f290ff7]{display:none}.template_info[data-v-3f290ff7]:hover{background-color:rgba(50,50,60,.15)}.edit-template-btn[data-v-3f290ff7],.to-distwork-btn[data-v-3f290ff7]{position:relative;left:24px;cursor:pointer;padding:0 16px;height:32px;line-height:32px;margin:9px 0;border-radius:8px;background-color:#7850ff;color:#f5f5f7;font-size:14px;text-align:center;font-family:PingFangSC-Regular}.template_improve .summary-wrap[data-v-3f290ff7]{height:calc(100vh - 116px);overflow:scroll;padding:0 24px;margin:16px 0 0 0;background-color:#fcfcfc}.template_improve .summary-wrap .prop-value-input[data-v-3f290ff7]{width:80%;height:44px;border-radius:4px;color:rgba(0,0,0,.56);background-color:#e9e9eb;border:.5px solid #aeaeae;font-size:16px;padding-left:16px}.item[data-v-3f290ff7]{display:flex;width:100%;margin:14px 0;font-size:14px;font-family:PingFangSC-Regular;color:#32323c}.item .item-title[data-v-3f290ff7]{color:#62492f;width:24%;text-align:right}.item .item-value[data-v-3f290ff7]{margin:0 0 0 12px}.item .item-value[data-v-3f290ff7]:not(.cover-img-wrap){flex:1}.set-header-position[data-v-3f290ff7]{position:relative!important;color:#32323c!important;z-index:99}.adjust-title-position[data-v-3f290ff7]{position:relative;top:11px}.proj_manage[data-v-348f3cd7]{width:100%;height:100%;padding:0 64px;box-sizing:border-box}.proj_manage .proj_manage_content[data-v-348f3cd7]{width:100%;height:100%;position:relative}.projModule[data-v-348f3cd7]{width:50%;min-width:660px;height:100%;right:0;position:absolute;box-shadow:0 4px 10px 1px rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.1)}.finish-edit-btn[data-v-348f3cd7]{position:relative;left:-24px;cursor:pointer;background-color:#7850ff;color:#fff;border-radius:8px;height:32px;line-height:32px;text-align:center;font-size:14px;padding:0 10px;margin:9px 0}.question[data-v-348f3cd7]{display:flex;align-items:center;position:relative;left:24px;width:100%;color:#4b4d4f;font-size:13px;text-align:left;font-family:PingFangSC-Regular}.question .ques-icon[data-v-348f3cd7]{display:inline-block;width:20px;height:20px;background:url(/static/img/了解工作负责人.svg);cursor:pointer}.question .ques-text[data-v-348f3cd7]{margin:0 0 0 8px}.manager-tips[data-v-348f3cd7]{position:absolute;top:8px;left:24px;right:24px;z-index:99;text-align:center;padding:0 24px;height:84px;border-radius:8px;border:1px solid #449aff;background-color:#fcfcfc}.manager-tips .close-icon[data-v-348f3cd7]{position:absolute;right:5px;top:5px;width:20px;height:20px;background:url(/static/img/了解负责人关闭.svg);cursor:pointer}.manager-tips .tips-text[data-v-348f3cd7]{margin:24px 0 0 0;color:#32323c;font-size:14px;font-family:PingFangSC-Regular}.content-wrap[data-v-348f3cd7]{display:flex;align-items:flex-start;justify-content:center;padding:0 64px;height:100%;background-color:#ebebeb}.content-wrap .graph-left-part .node-viewer[data-v-348f3cd7],.content-wrap .graph-left-part[data-v-348f3cd7]{height:100%}.content-wrap .graph-left-part[data-v-348f3cd7],.content-wrap .right-part[data-v-348f3cd7]{width:50%;min-width:480px;max-width:660px}.right-part[data-v-348f3cd7]{box-sizing:border-box;border-top-left-radius:8px;border-top-right-radius:8px;overflow:hidden;background-color:#fcfcfc;transition:width .5s ease;box-shadow:0 4px 10px 1px rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.1)}.right-part .proj-desc[data-v-348f3cd7]{background-color:#fcfcfc;min-height:calc(100vh - 96px)}.right-part .proj-desc .title[data-v-348f3cd7]{position:relative;left:-24px;color:#0c0d10;font-size:20px;text-align:left;font-family:PingFangSC-Medium}.proj-desc-wrap[data-v-348f3cd7]{padding:0 24px;height:calc(100vh - 126px);overflow:scroll;background-color:#f8f8f8}.proj-desc-wrap.dialog-detail[data-v-348f3cd7]{height:auto;background:#fff}.proj-desc-wrap .cover-container[data-v-348f3cd7]{height:226px;margin:0 0 32px 0!important;border-radius:8px}.proj-desc-wrap .cover-container .cover-img-wrap[data-v-348f3cd7]{position:relative;width:293px;height:226px;overflow:hidden;border-radius:8px;box-shadow:0 7px 16px 0 rgba(0,0,0,.2)}.proj-desc-wrap .cover-container .cover-img-wrap .cover-img[data-v-348f3cd7]{position:absolute;top:50%;left:50%;height:100%;border-radius:8px;transform:translate(-50%,-50%)}.proj-desc-wrap .cover-container .edit-cover-btn[data-v-348f3cd7]{position:absolute;left:12px;bottom:12px;width:64px;height:28px;line-height:28px;border-radius:4px;background-color:#fff;border:.5px solid #979797;color:#32323c;font-size:14px;text-align:center;font-family:PingFangSC-Regular}.proj-desc-wrap .proj-main-template+.item-value[data-v-348f3cd7]{position:relative;top:-2.5px;color:#32323c;font-size:18px}.item[data-v-348f3cd7]{display:flex;width:100%;margin:12px 0;font-size:14px;line-height:24px;font-family:PingFangSC-Regular;color:#32323c}.item .item-title[data-v-348f3cd7]{color:#62492f;width:24%;text-align:right}.item .item-value[data-v-348f3cd7]{position:relative;margin:0 0 0 12px}.item .item-value[data-v-348f3cd7]:not(.cover-img-wrap){flex:1;display:flex}.item .item-value.edit[data-v-348f3cd7]{display:inline-flex}.item .field-input[data-v-348f3cd7]{flex:1;width:140px;margin-right:10px;line-height:0}.item .field-input[data-v-348f3cd7] .el-input__inner{margin-top:0;height:24px;line-height:24px}.item .float-button[data-v-348f3cd7]{margin-left:10px}.nest-project-modal[data-v-348f3cd7] .el-dialog{overflow:hidden}.nest-project-modal[data-v-348f3cd7] .el-dialog__header{text-align:left;background-color:#f8f8f8;padding:15px 24px}.nest-project-modal-title[data-v-348f3cd7]{display:flex;font-size:20px;line-height:30px;justify-content:space-between}.nest-project-modal .remove-button[data-v-348f3cd7]{width:100%}.edit-template-btn[data-v-348f3cd7],.to-distwork-btn[data-v-348f3cd7]{position:relative;left:24px;cursor:pointer;padding:0 16px;height:32px;line-height:32px;margin:9px 0;border-radius:8px;background-color:#7850ff;color:#f5f5f7;font-size:14px;text-align:center;font-family:PingFangSC-Regular}.header-bottom-shadow[data-v-348f3cd7]:after{content:"";display:block;width:100%;height:30px;background:linear-gradient(rgba(0,0,0,.06),transparent)}.adjust-title-position[data-v-348f3cd7]{position:relative;top:11px}.distwork-page[data-v-348f3cd7]{position:relative}.right-part .part-wrap[data-v-348f3cd7]{padding:0 4px 0 12px;height:calc(100vh - 126px);overflow-y:scroll;background-color:#f8f8f8}.right-part .part-wrap .proj-manager-row[data-v-348f3cd7]{margin:0 0 8px 0}.right-part .part-wrap .only-manager-see[data-v-348f3cd7]:hover{border-radius:8px;background-color:rgba(50,50,60,.1)}.right-part .part-wrap .row-title[data-v-348f3cd7]{padding:6px 0 0 0;margin:10px 0 6px 12px;height:20px;line-height:20px;color:#32323c;font-size:14px;text-align:left;font-family:PingFangSC-Regular}.template-summary[data-v-348f3cd7]{background-color:#f8f8f8}.template-summary .summary-wrap[data-v-348f3cd7]{height:calc(100vh - 142px);overflow:scroll;padding:0 24px;margin:16px 0 0 0;background-color:#f8f8f8}.template-summary .summary-wrap .prop-value-input[data-v-348f3cd7]{width:100%;height:44px;border-radius:4px;color:rgba(0,0,0,.56);background-color:#e9e9eb;border:.5px solid #aeaeae;font-size:16px;padding-left:16px}.set-right-part-width[data-v-348f3cd7]{min-width:300px;width:63.768%!important;margin-right:10px}.set-personnel-list-width[data-v-348f3cd7]{min-width:375px;max-width:375px;width:36.231%!important;transition:width 2.5s ease}.set-header-position[data-v-348f3cd7]{position:relative!important;color:#32323c!important;z-index:99}.template-detail-btn[data-v-348f3cd7]{height:40px;line-height:40px;border-radius:8px;color:#32323c;background-color:#fff;border:.5px solid #979797;text-align:center;margin:15px 12px 8px;cursor:pointer}.proj-detail .app-header-center{font-size:20px}.proj-summary .back_title{color:#0c0d10;font-size:15px;font-family:PingFangSC-Regular}.proj-detail .right-part .app-header-back-btn{background:url(/static/img/yiyunicon.png) no-repeat -28px -84px!important}.plain-folder-list{padding:0 0 28px 0}.right-part .app-header-content{background-color:#f8f8f8}.manager-folder-wrap{border-radius:8px;background-color:#fff;box-shadow:0 0 8px 0 rgba(0,0,0,.02)}
\ No newline at end of file
diff --git a/dist/static/css/chunk-a2202954.12c53737.css b/dist/static/css/chunk-3e45e24c.76012ad0.css
similarity index 78%
rename from dist/static/css/chunk-a2202954.12c53737.css
rename to dist/static/css/chunk-3e45e24c.76012ad0.css
index e6258140..925524ce 100644
--- a/dist/static/css/chunk-a2202954.12c53737.css
+++ b/dist/static/css/chunk-3e45e24c.76012ad0.css
@@ -1 +1 @@
-.navtreebox[data-v-73a674da] .el-tree-node__content{height:40px}.card-header[data-v-983c43b0]{display:flex;justify-content:space-between;height:44px;line-height:44px}.card-header .title[data-v-983c43b0]{font-size:18px}.company-node-view-header[data-v-4b5641ed]{border-bottom:1px solid rgba(0,0,0,.2);padding:0 24px}.company-node-view-body[data-v-4b5641ed]{position:relative;padding:0 24px}.company-node-view .form-subtitle[data-v-4b5641ed]{color:#32323c;font-size:13px;height:44px;line-height:44px}.company-node-view .node-form-field[data-v-4b5641ed]{display:inline-block;box-sizing:border-box;vertical-align:top;width:50%;padding-right:20px}.company-node-view .company-access[data-v-4b5641ed]:before{content:"";position:absolute;left:0;right:0;height:1px;background-color:rgba(0,0,0,.2)}.company-node-view .company-access .node-form-field[data-v-4b5641ed]{display:inline-flex;justify-content:space-between;flex-direction:row;height:40px;line-height:40px;align-items:center}.dropdown-button.danger_button[data-v-4b5641ed]{color:red}.customer-view[data-v-bc486146]{height:100%;padding:0 64px}.customer-view-header[data-v-bc486146]{height:55px;line-height:55px;display:flex;flex-direction:row;justify-content:space-between;font-size:24px}.customer-view-header .header-title[data-v-bc486146]{color:rgba(0,0,0,.5);cursor:pointer}.customer-view-header .header-title~.header-title[data-v-bc486146]{margin-left:20px}.customer-view-header .header-title-active[data-v-bc486146]{color:#32323c}.customer-view-body[data-v-bc486146]{box-sizing:border-box;display:flex;flex-direction:row;justify-content:space-between;height:calc(100% - 55px);padding-bottom:20px}.customer-view-side[data-v-bc486146]{flex:none;width:400px;border-radius:10px;background-color:#424446;box-shadow:0 3px 11px 1px rgba(0,0,0,.2)}.customer-view-main[data-v-bc486146]{flex:1;margin-left:20px;border-radius:10px;background-color:#fcfcfc;box-shadow:0 4px 10px 1px rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.1)}.customer-view .general-node-view-header[data-v-bc486146]{border-bottom:1px solid rgba(0,0,0,.2);padding:0 24px}.customer-view .general-node-view-body[data-v-bc486146]{padding:0 24px}.customer-view .general-node-view .node-item[data-v-bc486146]{display:inline-block;vertical-align:top;height:40px;line-height:40px;width:50%}.customer-view .general-node-view .node-item>span[data-v-bc486146]{display:inline-block;vertical-align:top;font-size:16px}.customer-view .general-node-view .node-item>span[data-v-bc486146]:first-child{width:110px;color:grey}
\ No newline at end of file
+.navtreebox[data-v-73a674da] .el-tree-node__content{height:40px}.card-header[data-v-983c43b0]{display:flex;justify-content:space-between;height:44px;line-height:44px}.card-header .title[data-v-983c43b0]{font-size:18px}.company-node-view-header[data-v-ded20b7c]{border-bottom:1px solid rgba(0,0,0,.2);padding:0 24px}.company-node-view-body[data-v-ded20b7c]{position:relative;padding:0 24px}.company-node-view .form-subtitle[data-v-ded20b7c]{color:#32323c;font-size:13px;height:44px;line-height:44px}.company-node-view .node-form-field[data-v-ded20b7c]{display:inline-block;box-sizing:border-box;vertical-align:top;width:50%;padding-right:20px}.company-node-view .company-access[data-v-ded20b7c]:before{content:"";position:absolute;left:0;right:0;height:1px;background-color:rgba(0,0,0,.2)}.company-node-view .company-access .node-form-field[data-v-ded20b7c]{display:inline-flex;justify-content:space-between;flex-direction:row;height:40px;line-height:40px;align-items:center}.dropdown-button.danger_button[data-v-ded20b7c]{color:red}.customer-view[data-v-bc486146]{height:100%;padding:0 64px}.customer-view-header[data-v-bc486146]{height:55px;line-height:55px;display:flex;flex-direction:row;justify-content:space-between;font-size:24px}.customer-view-header .header-title[data-v-bc486146]{color:rgba(0,0,0,.5);cursor:pointer}.customer-view-header .header-title~.header-title[data-v-bc486146]{margin-left:20px}.customer-view-header .header-title-active[data-v-bc486146]{color:#32323c}.customer-view-body[data-v-bc486146]{box-sizing:border-box;display:flex;flex-direction:row;justify-content:space-between;height:calc(100% - 55px);padding-bottom:20px}.customer-view-side[data-v-bc486146]{flex:none;width:400px;border-radius:10px;background-color:#424446;box-shadow:0 3px 11px 1px rgba(0,0,0,.2)}.customer-view-main[data-v-bc486146]{flex:1;margin-left:20px;border-radius:10px;background-color:#fcfcfc;box-shadow:0 4px 10px 1px rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.1)}.customer-view .general-node-view-header[data-v-bc486146]{border-bottom:1px solid rgba(0,0,0,.2);padding:0 24px}.customer-view .general-node-view-body[data-v-bc486146]{padding:0 24px}.customer-view .general-node-view .node-item[data-v-bc486146]{display:inline-block;vertical-align:top;height:40px;line-height:40px;width:50%}.customer-view .general-node-view .node-item>span[data-v-bc486146]{display:inline-block;vertical-align:top;font-size:16px}.customer-view .general-node-view .node-item>span[data-v-bc486146]:first-child{width:110px;color:grey}
\ No newline at end of file
diff --git a/dist/static/css/chunk-0b7f5006.448cf3e3.css b/dist/static/css/chunk-57cedbde.448cf3e3.css
similarity index 100%
rename from dist/static/css/chunk-0b7f5006.448cf3e3.css
rename to dist/static/css/chunk-57cedbde.448cf3e3.css
diff --git a/dist/static/css/chunk-6e4601e4.ffd8d01d.css b/dist/static/css/chunk-6e4601e4.ffd8d01d.css
new file mode 100644
index 00000000..575d5487
--- /dev/null
+++ b/dist/static/css/chunk-6e4601e4.ffd8d01d.css
@@ -0,0 +1 @@
+.rt-2[data-v-a9676b70]{top:2px!important}.rt-0[data-v-a9676b70]{top:0!important}.rt-4[data-v-a9676b70]{top:4px!important}.empty[data-v-a9676b70]{background-color:#eaeaea}.people-item[data-v-a9676b70]{display:flex;position:relative;z-index:9;box-sizing:border-box;text-align:center;width:64px;padding:0 0 8px 0}.people-item .people-wrap[data-v-a9676b70]{position:relative;top:4px;border-radius:50%;margin:0 auto;width:100%}.people-item .people[data-v-a9676b70]{border-radius:50%}.active-manager-mark .people-name[data-v-a9676b70]{top:-2px}.people-item .el-icon-plus[data-v-a9676b70]{display:block;text-align:center;height:48px;line-height:48px;font-size:24px;color:#999b9d}.proj-avatarface[data-v-a9676b70]{vertical-align:bottom;width:48px;height:48px;border-radius:50%;overflow:hidden;background-color:#f6f6f6}.people-name[data-v-a9676b70]{position:relative;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:16px;line-height:16px;color:#111315;font-size:12px;text-align:center;font-family:PingFangSC-Regular;margin:8px auto 0}.add-btn[data-v-a9676b70]{cursor:pointer;margin:0 4px}.stand-place[data-v-112ed814]{width:64px;height:72px}.extra-buttons[data-v-112ed814]{position:absolute;right:12px;top:4px}.extra-buttons .extra-button[data-v-112ed814]{position:relative}.extra-buttons .extra-button-icon[data-v-112ed814]{position:absolute;left:0;top:0;bottom:0;margin:auto 0}.add_nest[data-v-112ed814]{position:absolute;right:10px;bottom:-6px;z-index:9;width:64px;height:80px;box-sizing:border-box}.add_nest .add_nest_box[data-v-112ed814]{cursor:pointer;width:64px;height:64px;box-sizing:border-box;border:1px solid #7850ff;border-radius:8px}.add_nest .add_nest_box .el-icon-plus[data-v-112ed814]{font-size:24px;color:#7850ff}.add_nest .add_nest_box p[data-v-112ed814]{color:#7850ff;font-size:14px;text-align:center;margin-top:10px}.opacity-5[data-v-112ed814]{opacity:.5}.user-perm-text[data-v-112ed814]{margin:0 0 0 8px}.notclick[data-v-112ed814]{cursor:not-allowed!important;opacity:.5}.notclick .avtarface[data-v-112ed814]{cursor:not-allowed}.allopacity[data-v-112ed814]{opacity:1}.noManagerText[data-v-112ed814]{font-size:0}.active-folder .people-item[data-v-112ed814]{cursor:pointer}.folder-name[data-v-112ed814]{height:20px;line-height:20px;margin:0 0 6px 12px;color:#32323c;font-size:14px;text-align:left;font-family:PingFangSC-Regular}.adjust-position[data-v-112ed814]{position:relative;left:4px}.folder-wrap[data-v-112ed814]{position:relative;padding:6px 0 0 0;margin:12px 0 0 0;border-radius:8px;background-color:#fff;box-shadow:0 0 8px 0 rgba(0,0,0,.02)}.edit-btn[data-v-112ed814]{position:absolute;top:4px;right:4px;width:64px;height:24px;line-height:24px;font-size:14px;text-align:center;font-family:PingFangSC-Regular;color:#979797;border-radius:4px;background-color:#fff;border:.5px solid #979797;cursor:pointer}.adjust-margin[data-v-112ed814]{margin-bottom:0}.mb-6[data-v-112ed814]{margin:0 0 6px 0}.hori-line[data-v-27cc7516]{border:.5px solid #eaeaea;margin:13px 0 0 0}.member-list[data-v-27cc7516]{width:100%;height:100%;min-width:375px;max-width:375px;background-color:#fcfcfc;border-top-left-radius:8px;border-top-right-radius:8px;box-shadow:0 4px 10px 1px rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.1)}.member-list .top-title[data-v-27cc7516]{height:50px;line-height:50px;padding:0 0 0 24px;color:#0c0d10;font-size:20px;text-align:left;font-family:PingFangSC-Medium}.member-list .search-bar[data-v-27cc7516]{position:relative;margin:6px 15px 7px;padding:0 5px}.member-list .search-bar .search-icon[data-v-27cc7516]{position:absolute;left:10px;width:22px;height:22px;background:url(/static/img/搜索.svg) 50%/100%;margin:4px 0}.member-list .search-bar .search-input[data-v-27cc7516]{box-sizing:border-box;outline:none;width:100%;height:30px;padding:0 0 0 30px;border-radius:8px;background-color:#e9e9eb;border:.5px solid #aeaeae;cursor:not-allowed}.member-list .content-wrap[data-v-27cc7516]{padding:0 0 0 8px;overflow-y:scroll;height:calc(100% - 110px)}.member-list .content-wrap .company-title[data-v-27cc7516]{margin:12px 0 10px 16px;height:22px;line-height:22px;color:#32323c;font-size:18px;text-align:left;font-family:PingFangSC-Regular}.member-list .content-wrap .dept-name[data-v-27cc7516]{margin:0 0 0 16px;flex:1}.member-list .people-wrap[data-v-27cc7516]{padding:0 0 40px 0}.search-input[data-v-27cc7516]::-webkit-input-placeholder{font-size:14px;font-family:Courier New,Courier,monospace;color:rgba(0,0,0,.56);height:20px!important;line-height:20px!important}.user-info-item[data-v-27cc7516]:hover{background-color:rgba(50,50,60,.1)}.user-info-item[data-v-27cc7516]{display:flex;padding:0 16px;height:44px;line-height:44px;align-items:center;cursor:pointer;border-radius:8px}.user-info-item .avatar-img[data-v-27cc7516]{width:32px;height:32px;border-radius:50%;margin:0 13px 0 0}.user-info-item .user-info-name[data-v-27cc7516]{flex:1;font-size:14px;font-family:PingFangSC-Regular}.member-list .el-collapse-item__wrap{border-bottom:none!important}.dept-select-all-btn .el-checkbox__label{padding:0 0 0 6px!important;margin:0 8px 0 0}.member-list .el-collapse{border:none!important}.member-list .el-collapse-item__arrow{position:relative;left:2px}.el-checkbox.dept-select-all-btn{position:absolute;right:15px}.member-list .el-collapse-item__header{height:44px!important;line-height:44px!important;border:none!important;position:relative}.user-info-item .el-checkbox__inner{width:20px;height:20px;color:#cbcbce}.member-list .el-collapse-item__header{margin:0 4px 0 0!important}.check-all-wrap{display:flex;align-items:center;margin:0 10px 0 0}.check-all-wrap .checkbox{width:10px;height:10px;margin:0 6px 0 0}.checkbox{float:right;width:20px;height:20px;border:1px solid #cbcbce;border-radius:50%}.checkbox.checked{background-color:#7850ff}.member-list .app-header-content{background-color:#f8f8f8}.empty-people-tips{font-size:16px;text-align:center;margin:20px 0}.slot_btn[data-v-2bc37b6d]{position:relative;left:24px;cursor:pointer;padding:0 16px;height:32px;line-height:32px;margin:9px 0;border-radius:8px;background-color:#7850ff;color:#f5f5f7;font-size:14px;text-align:center;font-family:PingFangSC-Regular}.set_position[data-v-2bc37b6d]{position:relative;border-top-right-radius:8px;border-top-left-radius:8px;box-shadow:none}.template_info_title[data-v-2bc37b6d]{width:100%;line-height:44px;padding:0 24px;position:relative;box-sizing:border-box;border-bottom:1px solid #dededf}.template_select_content[data-v-2bc37b6d]{height:calc(100vh - 100px);overflow-y:scroll}.template_select_content .template_info[data-v-2bc37b6d]{width:100%;line-height:44px;padding:0 24px;position:relative;box-sizing:border-box;border-bottom:1px solid #dededf;transition:all .3s;cursor:pointer}.template_select_content .template_info .template_info_name[data-v-2bc37b6d]{margin-left:38px;font-size:14px}.template_select_content .template_info_extra[data-v-2bc37b6d]{position:absolute;right:20px;font-size:14px;color:rgba(0,0,0,.56)}.template_select_content .template_info .check_box[data-v-2bc37b6d]{display:inline-block;width:28px;height:28px;border-radius:50%;position:absolute;top:50%;transform:translateY(-50%);background-color:#cbcbce;box-shadow:undefined,inset 0 1px 3px 0 rgba(0,0,0,.15)}.template_select_content .template_info .check_box.checked[data-v-2bc37b6d]{background-color:#7850ff;text-align:center;line-height:28px;color:#fff}.template_select_content .template_info .check_box.checked .el-icon-check[data-v-2bc37b6d]{display:inline-block}.template_select_content .template_info .check_box .el-icon-check[data-v-2bc37b6d]{display:none}.template_info[data-v-2bc37b6d]:hover{background-color:rgba(50,50,60,.15)}.edit-template-btn[data-v-2bc37b6d],.to-distwork-btn[data-v-2bc37b6d]{position:relative;left:24px;cursor:pointer;padding:0 16px;height:32px;line-height:32px;margin:9px 0;border-radius:8px;background-color:#7850ff;color:#f5f5f7;font-size:14px;text-align:center;font-family:PingFangSC-Regular}.template_improve .summary-wrap[data-v-2bc37b6d]{height:calc(100vh - 116px);overflow:scroll;padding:0 24px;margin:16px 0 0 0;background-color:#fcfcfc}.template_improve .summary-wrap .prop-value-input[data-v-2bc37b6d]{width:80%;height:44px;border-radius:4px;color:rgba(0,0,0,.56);background-color:#e9e9eb;border:.5px solid #aeaeae;font-size:16px;padding-left:16px}.item[data-v-2bc37b6d]{display:flex;width:100%;margin:14px 0;font-size:14px;font-family:PingFangSC-Regular;color:#32323c}.item .item-title[data-v-2bc37b6d]{color:#62492f;width:24%;text-align:right}.item .item-value[data-v-2bc37b6d]{margin:0 0 0 12px}.item .item-value[data-v-2bc37b6d]:not(.cover-img-wrap){flex:1}.set-header-position[data-v-2bc37b6d]{position:relative!important;color:#32323c!important;z-index:99}.adjust-title-position[data-v-2bc37b6d]{position:relative;top:11px}
\ No newline at end of file
diff --git a/dist/static/css/chunk-70e2cc9e.e424bfc9.css b/dist/static/css/chunk-70e2cc9e.e424bfc9.css
deleted file mode 100644
index 7cc23d60..00000000
--- a/dist/static/css/chunk-70e2cc9e.e424bfc9.css
+++ /dev/null
@@ -1 +0,0 @@
-.search-wrap[data-v-f20ebcbc]{position:relative;z-index:2}.search-entry[data-v-f20ebcbc]{position:absolute;right:0;cursor:pointer;width:29px;height:29px}.set-high-index[data-v-f20ebcbc]{z-index:3}.search-bar[data-v-f20ebcbc]{position:relative;overflow:hidden;width:32px;height:32px;transition:width .15s ease-in}.search-bar .search-active-img[data-v-f20ebcbc],.search-bar .search-img[data-v-f20ebcbc]{width:29px;height:29px}.search-bar .search-input[data-v-f20ebcbc]{box-sizing:border-box;color:#32323c;height:30px;border-radius:8px;background-color:#e9e9eb;border:.5px solid #aeaeae;padding:0 32px}.search-bar .close-icon[data-v-f20ebcbc],.search-bar .search-icon[data-v-f20ebcbc]{position:absolute;top:50%;transform:translateY(-50%);width:22px;height:22px;cursor:pointer}.search-bar .search-icon[data-v-f20ebcbc]{left:7px;background:url(/static/img/搜索.svg) 50%/100%}.search-bar .close-icon[data-v-f20ebcbc]{right:5px;background:url(/static/img/删除.svg) 50%/100%}.hide-search-bar[data-v-f20ebcbc]{width:0}.show-search-bar[data-v-f20ebcbc]{width:235px}[v-cloak][data-v-0481b847]{display:none!important}.nowTime[data-v-0481b847]{margin-left:6px}.now-time[data-v-0481b847]{margin:12px 0 0 0;color:#000;font-size:20px;font-family:PingFangSC-Regular}.big-time[data-v-0481b847]{height:41px;line-height:41px;color:#000;font-size:44px;text-align:left;font-family:PingFangSC-Regular}.prjitem[data-v-67b60490]{position:relative;display:inline-block;width:100%;border-radius:16px;margin:15px 0;transition:width .3s linear;overflow:hidden}.prjitem[data-v-67b60490]:hover{box-shadow:-8px 0 10px #e0e0e0,8px 0 10px #e0e0e0,0 10px 10px #e0e0e0;transform:scale(1.02)}.prjitem:hover .prjitem_settings[data-v-67b60490]{display:block}.prjitem[data-v-67b60490]:last-child:nth-child(3n){margin-right:32%}.prjitem_settings[data-v-67b60490]{display:none;cursor:pointer;width:40px;height:40px;line-height:40px;text-align:center;font-size:28px;border-radius:50%;background-color:#fff;color:#000}.prjitem_settings_wrapper[data-v-67b60490]{position:absolute;right:20px;top:20px}.prjitem_content[data-v-67b60490]{position:relative;width:100%;height:193px;background-color:#fff;overflow:hidden;border-top-left-radius:16px;border-top-right-radius:16px;cursor:pointer}.prjitem_img[data-v-67b60490]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);min-height:193px;cursor:pointer;margin:0 auto}.prjitem_title[data-v-67b60490]{position:absolute;bottom:24px;box-sizing:border-box;width:100%;font-size:25px;padding:0 0 0 24px;color:#fff;font-weight:500;text-shadow:0 2px 4px rgba(0,0,0,.5);-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left;cursor:pointer;transition:bottom .07s ease-in}.danger_button[data-v-67b60490]{color:#f56c6c}.newprj_icon[data-v-67b60490]{width:52px;height:20px;position:absolute;left:24px;top:20px;line-height:20px;background-color:#d6243a;color:#fff;font-size:12px;border-radius:10px;text-align:center}.operate-bar[data-v-67b60490]{position:absolute;bottom:11px;display:flex;justify-content:space-between;box-sizing:border-box;width:100%;opacity:0;transition:opacity .3s ease-in}.operate-bar .bar-item[data-v-67b60490]{flex:1;margin:0 11px;text-align:center}.operate-bar .bar-item[data-v-67b60490]:hover{color:#fff;background-color:#7850ff;border-color:#7850ff}.height-full[data-v-67b60490]{height:100%!important;min-height:100%;max-height:100%}.width-full[data-v-67b60490]{width:100%!important;min-width:100%;max-width:100%}.move-item-name[data-v-67b60490]{bottom:50%;transform:translateY(50%)}.show-operate-bar[data-v-67b60490]{opacity:1}.hide-operate-bar[data-v-67b60490]{opacity:0}.prjitemList[data-v-0c03f9f2]{padding:0 64px}.nest-project-modal[data-v-fc7cd510] .el-dialog{overflow:hidden}.nest-project-modal[data-v-fc7cd510] .el-dialog__header{text-align:left;background-color:#f8f8f8;padding:15px 24px}.nest-project-modal-title[data-v-fc7cd510]{display:flex;font-size:20px;line-height:30px;justify-content:space-between}.nest-project-modal .remove-button[data-v-fc7cd510]{width:100%}.dialog-detail[data-v-fc7cd510]{padding:0 24px;background:#fff}.dialog-detail .cover-container[data-v-fc7cd510]{height:226px;margin:0 0 32px 0!important;border-radius:8px}.dialog-detail .cover-container .cover-img-wrap[data-v-fc7cd510]{position:relative;width:293px;height:226px;overflow:hidden;border-radius:8px;box-shadow:0 7px 16px 0 rgba(0,0,0,.2)}.dialog-detail .cover-container .cover-img-wrap .cover-img[data-v-fc7cd510]{position:absolute;top:50%;left:50%;height:100%;border-radius:8px;transform:translate(-50%,-50%)}.dialog-detail .cover-container .edit-cover-btn[data-v-fc7cd510]{position:absolute;left:12px;bottom:12px;width:64px;height:28px;line-height:28px;border-radius:4px;background-color:#fff;border:.5px solid #979797;color:#32323c;font-size:14px;text-align:center;font-family:PingFangSC-Regular}.dialog-detail .item[data-v-fc7cd510]{display:flex;width:100%;margin:12px 0;font-size:14px;line-height:24px;font-family:PingFangSC-Regular;color:#32323c}.dialog-detail .item .item-title[data-v-fc7cd510]{color:#62492f;width:24%;text-align:right}.dialog-detail .item .item-value[data-v-fc7cd510]{position:relative;margin:0 0 0 12px}.dialog-detail .item .item-value[data-v-fc7cd510]:not(.cover-img-wrap){flex:1;display:flex}.dialog-detail .item .item-value.edit[data-v-fc7cd510]{display:inline-flex}.dialog-detail .item .field-input[data-v-fc7cd510]{flex:1;width:140px;margin-right:10px;line-height:0}.dialog-detail .item .field-input[data-v-fc7cd510] .el-input__inner{margin-top:0;height:24px;line-height:24px}.dialog-detail .item .float-button[data-v-fc7cd510]{margin-left:10px}.dialog-detail .proj-main-template+.item-value[data-v-fc7cd510]{position:relative;top:-2.5px;color:#32323c;font-size:18px}.user_info_role .el-icon-close{display:block}[v-cloak]{display:none!important}.icon-icon_huishouzhan[data-v-7799f1e9]{line-height:inherit}@media(max-width:600px){.timer-part{display:none}.adjust-position{width:100%!important;margin:0 auto}}#proj-list-page .app-header-content-right{display:flex}.new-btn-margin{margin:24px 0 0 64px}.org-button-icon[data-v-7799f1e9]{transform:rotate(90deg)}.group-title[data-v-7799f1e9]{margin-top:16px;padding-left:64px;font-size:24px;line-height:38px}.linkDialog[data-v-7799f1e9] .el-dialog__body{text-align:center}.linkDialog .icon-models[data-v-7799f1e9]{position:absolute;left:18px;top:18px}.linkDialog .el-icon-close[data-v-7799f1e9]{position:absolute;right:14px;top:14px;font-size:32px;color:rgba(0,0,0,.18)}.linkDialog .el-icon-close[data-v-7799f1e9]:before{content:""}.linkDialog .main-text[data-v-7799f1e9]{color:#32323c;font-size:18px}.linkDialog .block-button[data-v-7799f1e9]{display:block;width:100%;margin-left:0;margin-bottom:8px}.linkDialog .block-button[data-v-7799f1e9]:first-of-type{margin-top:40px}.linkDialog .block-button[data-v-7799f1e9]:nth-of-type(2){margin-bottom:16px}.linkDialog .block-button[data-v-7799f1e9]:last-of-type{color:rgba(17,17,17,.25)}.linkItem[data-v-7799f1e9]{position:relative;display:flex;flex-direction:column;width:100%;height:193px;border-radius:16px;box-sizing:border-box;background-color:#fff;box-shadow:0 4px 8px 0 rgba(0,0,0,.1),0 2px 4px 0 rgba(0,0,0,.05);cursor:pointer;margin-top:10px;padding:22px}.linkItem[data-v-7799f1e9]:hover{transform:scale(1.02)}.linkItem-list[data-v-7799f1e9]{padding:0 62px}.linkItem>div[data-v-7799f1e9]:first-child{flex:none;height:30px;color:#2896e6;line-height:30px}.linkItem>div:first-child>span[data-v-7799f1e9]{margin-left:10px}.linkItem>div[data-v-7799f1e9]:nth-child(2){flex:1;font-size:22px;display:flex;align-items:center}.linkItem>div[data-v-7799f1e9]:last-child{flex:none;height:26px;line-height:26px}.remove-button[data-v-7799f1e9]{width:100%}
\ No newline at end of file
diff --git a/dist/static/css/chunk-63d4ab7f.529f64d3.css b/dist/static/css/chunk-8252b0ee.529f64d3.css
similarity index 100%
rename from dist/static/css/chunk-63d4ab7f.529f64d3.css
rename to dist/static/css/chunk-8252b0ee.529f64d3.css
diff --git a/dist/static/css/chunk-90593496.67fbf73c.css b/dist/static/css/chunk-90593496.67fbf73c.css
new file mode 100644
index 00000000..8bcd3649
--- /dev/null
+++ b/dist/static/css/chunk-90593496.67fbf73c.css
@@ -0,0 +1 @@
+.search-wrap[data-v-f20ebcbc]{position:relative;z-index:2}.search-entry[data-v-f20ebcbc]{position:absolute;right:0;cursor:pointer;width:29px;height:29px}.set-high-index[data-v-f20ebcbc]{z-index:3}.search-bar[data-v-f20ebcbc]{position:relative;overflow:hidden;width:32px;height:32px;transition:width .15s ease-in}.search-bar .search-active-img[data-v-f20ebcbc],.search-bar .search-img[data-v-f20ebcbc]{width:29px;height:29px}.search-bar .search-input[data-v-f20ebcbc]{box-sizing:border-box;color:#32323c;height:30px;border-radius:8px;background-color:#e9e9eb;border:.5px solid #aeaeae;padding:0 32px}.search-bar .close-icon[data-v-f20ebcbc],.search-bar .search-icon[data-v-f20ebcbc]{position:absolute;top:50%;transform:translateY(-50%);width:22px;height:22px;cursor:pointer}.search-bar .search-icon[data-v-f20ebcbc]{left:7px;background:url(/static/img/搜索.svg) 50%/100%}.search-bar .close-icon[data-v-f20ebcbc]{right:5px;background:url(/static/img/删除.svg) 50%/100%}.hide-search-bar[data-v-f20ebcbc]{width:0}.show-search-bar[data-v-f20ebcbc]{width:235px}[v-cloak][data-v-645b3f62]{display:none!important}.nowTime[data-v-645b3f62]{margin-left:6px}.now-time[data-v-645b3f62]{margin:12px 0 0 0;color:#000;font-size:20px;font-family:PingFangSC-Regular}.big-time[data-v-645b3f62]{height:41px;line-height:41px;color:#000;font-size:44px;text-align:left;font-family:PingFangSC-Regular}.prjitem[data-v-67519102]{position:relative;display:inline-block;width:100%;border-radius:16px;margin:15px 0;transition:width .3s linear;overflow:hidden}.prjitem[data-v-67519102]:hover{box-shadow:-8px 0 10px #e0e0e0,8px 0 10px #e0e0e0,0 10px 10px #e0e0e0;transform:scale(1.02)}.prjitem:hover .prjitem_settings[data-v-67519102]{display:block}.prjitem[data-v-67519102]:last-child:nth-child(3n){margin-right:32%}.prjitem_settings[data-v-67519102]{display:none;cursor:pointer;width:40px;height:40px;line-height:40px;text-align:center;font-size:28px;border-radius:50%;background-color:#fff;color:#000}.prjitem_settings_wrapper[data-v-67519102]{position:absolute;right:20px;top:20px}.prjitem_content[data-v-67519102]{position:relative;width:100%;height:193px;background-color:#fff;overflow:hidden;border-top-left-radius:16px;border-top-right-radius:16px;cursor:pointer}.prjitem_img[data-v-67519102]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);min-height:193px;cursor:pointer;margin:0 auto}.prjitem_title[data-v-67519102]{position:absolute;bottom:24px;box-sizing:border-box;width:100%;font-size:25px;padding:0 0 0 24px;color:#fff;font-weight:500;text-shadow:0 2px 4px rgba(0,0,0,.5);-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left;cursor:pointer;transition:bottom .07s ease-in}.danger_button[data-v-67519102]{color:#f56c6c}.newprj_icon[data-v-67519102]{width:52px;height:20px;position:absolute;left:24px;top:20px;line-height:20px;background-color:#d6243a;color:#fff;font-size:12px;border-radius:10px;text-align:center}.operate-bar[data-v-67519102]{position:absolute;bottom:11px;display:flex;justify-content:space-between;box-sizing:border-box;width:100%;opacity:0;transition:opacity .3s ease-in}.operate-bar .bar-item[data-v-67519102]{flex:1;margin:0 11px;text-align:center}.operate-bar .bar-item[data-v-67519102]:hover{color:#fff;background-color:#7850ff;border-color:#7850ff}.operate-bar .bar-item-empty[data-v-67519102]{flex:1;margin:0 11px}.height-full[data-v-67519102]{height:100%!important;min-height:100%;max-height:100%}.width-full[data-v-67519102]{width:100%!important;min-width:100%;max-width:100%}.move-item-name[data-v-67519102]{bottom:50%;transform:translateY(50%)}.show-operate-bar[data-v-67519102]{opacity:1}.hide-operate-bar[data-v-67519102]{opacity:0}.prjitemList[data-v-30654a4e]{padding:0 64px}.nest-project-modal[data-v-fc7cd510] .el-dialog{overflow:hidden}.nest-project-modal[data-v-fc7cd510] .el-dialog__header{text-align:left;background-color:#f8f8f8;padding:15px 24px}.nest-project-modal-title[data-v-fc7cd510]{display:flex;font-size:20px;line-height:30px;justify-content:space-between}.nest-project-modal .remove-button[data-v-fc7cd510]{width:100%}.dialog-detail[data-v-fc7cd510]{padding:0 24px;background:#fff}.dialog-detail .cover-container[data-v-fc7cd510]{height:226px;margin:0 0 32px 0!important;border-radius:8px}.dialog-detail .cover-container .cover-img-wrap[data-v-fc7cd510]{position:relative;width:293px;height:226px;overflow:hidden;border-radius:8px;box-shadow:0 7px 16px 0 rgba(0,0,0,.2)}.dialog-detail .cover-container .cover-img-wrap .cover-img[data-v-fc7cd510]{position:absolute;top:50%;left:50%;height:100%;border-radius:8px;transform:translate(-50%,-50%)}.dialog-detail .cover-container .edit-cover-btn[data-v-fc7cd510]{position:absolute;left:12px;bottom:12px;width:64px;height:28px;line-height:28px;border-radius:4px;background-color:#fff;border:.5px solid #979797;color:#32323c;font-size:14px;text-align:center;font-family:PingFangSC-Regular}.dialog-detail .item[data-v-fc7cd510]{display:flex;width:100%;margin:12px 0;font-size:14px;line-height:24px;font-family:PingFangSC-Regular;color:#32323c}.dialog-detail .item .item-title[data-v-fc7cd510]{color:#62492f;width:24%;text-align:right}.dialog-detail .item .item-value[data-v-fc7cd510]{position:relative;margin:0 0 0 12px}.dialog-detail .item .item-value[data-v-fc7cd510]:not(.cover-img-wrap){flex:1;display:flex}.dialog-detail .item .item-value.edit[data-v-fc7cd510]{display:inline-flex}.dialog-detail .item .field-input[data-v-fc7cd510]{flex:1;width:140px;margin-right:10px;line-height:0}.dialog-detail .item .field-input[data-v-fc7cd510] .el-input__inner{margin-top:0;height:24px;line-height:24px}.dialog-detail .item .float-button[data-v-fc7cd510]{margin-left:10px}.dialog-detail .proj-main-template+.item-value[data-v-fc7cd510]{position:relative;top:-2.5px;color:#32323c;font-size:18px}.icon-icon_huishouzhan[data-v-35059ef9]{line-height:inherit}.org-button-icon[data-v-35059ef9]{transform:rotate(90deg)}.group-title[data-v-35059ef9]{margin-top:16px;padding-left:64px;font-size:24px;line-height:38px}.linkDialog[data-v-35059ef9] .el-dialog__body{text-align:center}.linkDialog .icon-models[data-v-35059ef9]{position:absolute;left:18px;top:18px}.linkDialog .el-icon-close[data-v-35059ef9]{position:absolute;right:14px;top:14px;font-size:32px;color:rgba(0,0,0,.18)}.linkDialog .el-icon-close[data-v-35059ef9]:before{content:""}.linkDialog .main-text[data-v-35059ef9]{color:#32323c;font-size:18px}.linkDialog .block-button[data-v-35059ef9]{display:block;width:100%;margin-left:0;margin-bottom:8px}.linkDialog .block-button[data-v-35059ef9]:first-of-type{margin-top:40px}.linkDialog .block-button[data-v-35059ef9]:nth-of-type(2){margin-bottom:16px}.linkDialog .block-button[data-v-35059ef9]:last-of-type{color:rgba(17,17,17,.25)}.linkItem[data-v-35059ef9]{position:relative;display:flex;flex-direction:column;width:100%;height:193px;border-radius:16px;box-sizing:border-box;background-color:#fff;box-shadow:0 4px 8px 0 rgba(0,0,0,.1),0 2px 4px 0 rgba(0,0,0,.05);cursor:pointer;margin-top:10px;padding:22px}.linkItem[data-v-35059ef9]:hover{transform:scale(1.02)}.linkItem-list[data-v-35059ef9]{padding:0 62px}.linkItem>div[data-v-35059ef9]:first-child{flex:none;height:30px;color:#2896e6;line-height:30px}.linkItem>div:first-child>span[data-v-35059ef9]{margin-left:10px}.linkItem>div[data-v-35059ef9]:nth-child(2){flex:1;font-size:22px;display:flex;align-items:center}.linkItem>div[data-v-35059ef9]:last-child{flex:none;height:26px;line-height:26px}.remove-button[data-v-35059ef9]{width:100%}.projModule[data-v-2b7dc732]{flex:none;background-color:#fff;padding-bottom:30px;border-radius:8px}.projModule .newProj_header[data-v-2b7dc732]{width:100%;padding:9px 24px 0 24px;box-sizing:border-box;height:64px}.projModule .newProj_header .newProj_title[data-v-2b7dc732]{font-size:20px;font-weight:700;float:left}.nextbtn[data-v-2b7dc732]{padding:6px 16px;color:#fff}.nextbtn[data-v-2b7dc732],.slot_btn[data-v-2b7dc732]{font-size:14px;border-radius:8px;background-color:#7850ff;cursor:pointer}.slot_btn[data-v-2b7dc732]{position:relative;left:24px;padding:0 16px;height:32px;line-height:32px;margin:9px 0;color:#f5f5f7;text-align:center;font-family:PingFangSC-Regular}.nextbtn[data-v-2b7dc732]{float:right}.newProj_content[data-v-2b7dc732]{box-sizing:border-box;padding-top:50px;text-align:center}.input_projname[data-v-2b7dc732]{width:60%;height:44px;border-radius:4px;color:rgba(0,0,0,.56);background-color:#e9e9eb;border:.5px solid #aeaeae;font-size:16px;padding-left:16px}.upload_img[data-v-2b7dc732]{text-align:center}.upload_imgBox[data-v-2b7dc732]{background-color:#32323c;border:1px solid #979797;margin-bottom:48px;text-align:center;width:293px;height:226px;border-radius:8px;box-shadow:0 7px 16px 0 rgba(0,0,0,.2);position:relative;overflow:hidden;border:0;display:inline-grid}.upload_imgBox>img[data-v-2b7dc732]{min-width:293px;min-height:226px;max-width:120%;max-height:120%;transform:scale(1);cursor:pointer;vertical-align:middle;margin:0 auto}.proj-detail[data-v-1d550f0c]{display:flex;justify-content:center;height:85vh}.finish-edit-btn[data-v-1d550f0c]{position:relative;left:-24px;cursor:pointer;background-color:#7850ff;color:#fff;border-radius:8px;height:32px;line-height:32px;text-align:center;font-size:14px;padding:0 10px;margin:9px 0}.question[data-v-1d550f0c]{display:flex;align-items:center;position:relative;left:24px;width:100%;color:#4b4d4f;font-size:13px;text-align:left;font-family:PingFangSC-Regular}.question .ques-icon[data-v-1d550f0c]{display:inline-block;width:20px;height:20px;background:url(/static/img/了解工作负责人.svg);cursor:pointer}.question .ques-text[data-v-1d550f0c]{margin:0 0 0 8px}.manager-tips[data-v-1d550f0c]{position:absolute;top:8px;left:24px;right:24px;z-index:99;text-align:center;padding:0 24px;height:84px;border-radius:8px;border:1px solid #449aff;background-color:#fcfcfc}.manager-tips .close-icon[data-v-1d550f0c]{position:absolute;right:5px;top:5px;width:20px;height:20px;background:url(/static/img/了解负责人关闭.svg);cursor:pointer}.manager-tips .tips-text[data-v-1d550f0c]{margin:24px 0 0 0;color:#32323c;font-size:14px;font-family:PingFangSC-Regular}.content-wrap[data-v-1d550f0c]{display:flex;align-items:flex-start;justify-content:center;width:660px;background-color:#f8f8f8;box-sizing:border-box;border-top-left-radius:8px;border-top-right-radius:8px;overflow:hidden;transition:width .5s ease;box-shadow:0 4px 10px 1px rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.1)}.content-wrap .proj-desc[data-v-1d550f0c]{width:100%}.content-wrap .proj-desc .title[data-v-1d550f0c]{position:relative;left:-24px;color:#0c0d10;font-size:20px;text-align:left;font-family:PingFangSC-Medium}.content-wrap .part-wrap[data-v-1d550f0c]{padding:0 4px 0 12px;height:calc(100% - 50px);overflow-y:auto;background-color:#f8f8f8}.content-wrap .part-wrap .proj-manager-row[data-v-1d550f0c]{margin:0 0 8px 0}.content-wrap .part-wrap .only-manager-see[data-v-1d550f0c]:hover{border-radius:8px;background-color:rgba(50,50,60,.1)}.content-wrap .part-wrap .row-title[data-v-1d550f0c]{padding:6px 0 0 0;margin:10px 0 6px 12px;height:20px;line-height:20px;color:#32323c;font-size:14px;text-align:left;font-family:PingFangSC-Regular}.proj-desc-wrap[data-v-1d550f0c]{padding:0 24px;height:calc(100vh - 126px);overflow:scroll;background-color:#f8f8f8}.proj-desc-wrap.dialog-detail[data-v-1d550f0c]{height:auto;background:#fff}.proj-desc-wrap .cover-container[data-v-1d550f0c]{height:226px;margin:0 0 32px 0!important;border-radius:8px}.proj-desc-wrap .cover-container .cover-img-wrap[data-v-1d550f0c]{position:relative;width:293px;height:226px;overflow:hidden;border-radius:8px;box-shadow:0 7px 16px 0 rgba(0,0,0,.2)}.proj-desc-wrap .cover-container .cover-img-wrap .cover-img[data-v-1d550f0c]{position:absolute;top:50%;left:50%;height:100%;border-radius:8px;transform:translate(-50%,-50%)}.proj-desc-wrap .cover-container .edit-cover-btn[data-v-1d550f0c]{position:absolute;left:12px;bottom:12px;width:64px;height:28px;line-height:28px;border-radius:4px;background-color:#fff;border:.5px solid #979797;color:#32323c;font-size:14px;text-align:center;font-family:PingFangSC-Regular}.proj-desc-wrap .proj-main-template+.item-value[data-v-1d550f0c]{position:relative;top:-2.5px;color:#32323c;font-size:18px}.item[data-v-1d550f0c]{display:flex;width:100%;margin:12px 0;font-size:14px;line-height:24px;font-family:PingFangSC-Regular;color:#32323c}.item .item-title[data-v-1d550f0c]{color:#62492f;width:24%;text-align:right}.item .item-value[data-v-1d550f0c]{position:relative;margin:0 0 0 12px}.item .item-value[data-v-1d550f0c]:not(.cover-img-wrap){flex:1;display:flex}.item .item-value.edit[data-v-1d550f0c]{display:inline-flex}.item .field-input[data-v-1d550f0c]{flex:1;width:140px;margin-right:10px;line-height:0}.item .field-input[data-v-1d550f0c] .el-input__inner{margin-top:0;height:24px;line-height:24px}.item .float-button[data-v-1d550f0c]{margin-left:10px}.nest-project-modal[data-v-1d550f0c] .el-dialog{overflow:hidden}.nest-project-modal[data-v-1d550f0c] .el-dialog__header{text-align:left;background-color:#f8f8f8;padding:15px 24px}.nest-project-modal-title[data-v-1d550f0c]{display:flex;font-size:20px;line-height:30px;justify-content:space-between}.nest-project-modal .remove-button[data-v-1d550f0c]{width:100%}.edit-template-btn[data-v-1d550f0c],.to-distwork-btn[data-v-1d550f0c]{position:relative;left:24px;cursor:pointer;padding:0 16px;height:32px;line-height:32px;margin:9px 0;border-radius:8px;background-color:#7850ff;color:#f5f5f7;font-size:14px;text-align:center;font-family:PingFangSC-Regular}.header-bottom-shadow[data-v-1d550f0c]:after{content:"";display:block;width:100%;height:30px;background:linear-gradient(rgba(0,0,0,.06),transparent)}.adjust-title-position[data-v-1d550f0c]{position:relative;top:11px}.distwork-page[data-v-1d550f0c]{position:relative;width:100%;height:100%}.personnel-list-part[data-v-1d550f0c]{width:375px;margin-left:10px}.set-header-position[data-v-1d550f0c]{position:relative!important;color:#32323c!important;z-index:99}.template-detail-btn[data-v-1d550f0c]{height:40px;line-height:40px;border-radius:8px;color:#32323c;background-color:#fff;border:.5px solid #979797;text-align:center;margin:15px 12px 8px;cursor:pointer}.proj-detail .app-header-back-btn{background:url(/static/img/yiyunicon.png) no-repeat -28px -84px!important}.plain-folder-list{padding:0 0 28px 0}.right-part .app-header-content{background-color:#f8f8f8}.manager-folder-wrap{border-radius:8px;background-color:#fff;box-shadow:0 0 8px 0 rgba(0,0,0,.02)}.project-modal[data-v-1c00bd1c] .el-dialog{width:auto;left:50%;transform:translateX(-50%);display:inline-block;background-color:transparent;box-shadow:none;margin-bottom:0}.project-modal[data-v-1c00bd1c] .el-dialog__header{display:none}.project-modal[data-v-1c00bd1c] .el-dialog__body{padding:0}.user_info_role .el-icon-close{display:block}[v-cloak]{display:none!important}.icon-icon_huishouzhan[data-v-a336cb46]{line-height:inherit}@media(max-width:600px){.timer-part{display:none}.adjust-position{width:100%!important;margin:0 auto}}#proj-list-page .app-header-content-right{display:flex}.new-btn-margin{margin:24px 0 0 64px}.org-button-icon[data-v-a336cb46]{transform:rotate(90deg)}.group-title[data-v-a336cb46]{margin-top:16px;padding-left:64px;font-size:24px;line-height:38px}.linkDialog[data-v-a336cb46] .el-dialog__body{text-align:center}.linkDialog .icon-models[data-v-a336cb46]{position:absolute;left:18px;top:18px}.linkDialog .el-icon-close[data-v-a336cb46]{position:absolute;right:14px;top:14px;font-size:32px;color:rgba(0,0,0,.18)}.linkDialog .el-icon-close[data-v-a336cb46]:before{content:""}.linkDialog .main-text[data-v-a336cb46]{color:#32323c;font-size:18px}.linkDialog .block-button[data-v-a336cb46]{display:block;width:100%;margin-left:0;margin-bottom:8px}.linkDialog .block-button[data-v-a336cb46]:first-of-type{margin-top:40px}.linkDialog .block-button[data-v-a336cb46]:nth-of-type(2){margin-bottom:16px}.linkDialog .block-button[data-v-a336cb46]:last-of-type{color:rgba(17,17,17,.25)}.linkItem[data-v-a336cb46]{position:relative;display:flex;flex-direction:column;width:100%;height:193px;border-radius:16px;box-sizing:border-box;background-color:#fff;box-shadow:0 4px 8px 0 rgba(0,0,0,.1),0 2px 4px 0 rgba(0,0,0,.05);cursor:pointer;margin-top:10px;padding:22px}.linkItem[data-v-a336cb46]:hover{transform:scale(1.02)}.linkItem-list[data-v-a336cb46]{padding:0 62px}.linkItem>div[data-v-a336cb46]:first-child{flex:none;height:30px;color:#2896e6;line-height:30px}.linkItem>div:first-child>span[data-v-a336cb46]{margin-left:10px}.linkItem>div[data-v-a336cb46]:nth-child(2){flex:1;font-size:22px;display:flex;align-items:center}.linkItem>div[data-v-a336cb46]:last-child{flex:none;height:26px;line-height:26px}.remove-button[data-v-a336cb46]{width:100%}
\ No newline at end of file
diff --git a/dist/static/css/chunk-7e46145d.8869ba98.css b/dist/static/css/chunk-d7352fc8.ddf3332e.css
similarity index 100%
rename from dist/static/css/chunk-7e46145d.8869ba98.css
rename to dist/static/css/chunk-d7352fc8.ddf3332e.css
diff --git a/dist/static/js/app.48f2f169.js b/dist/static/js/app.48f2f169.js
deleted file mode 100644
index 243fef47..00000000
--- a/dist/static/js/app.48f2f169.js
+++ /dev/null
@@ -1 +0,0 @@
-(function(e){function n(n){for(var a,r,i=n[0],u=n[1],s=n[2],d=0,l=[];d4&&void 0!==arguments[4]?arguments[4]:[];return{platformType:e,orgId:n,orgLogo:a,orgName:t,accessList:r}}var o={CompanyConsole:"company_console",ProjectManager:"project_manager"};function c(e,n){return-1!==e.indexOf(n)}},"1d40":function(e,n,t){"use strict";(function(e){t("99af"),t("4de4"),t("7db0"),t("c975"),t("a15b"),t("d81d"),t("fb6a"),t("b0c0"),t("d3b7"),t("07ac"),t("ac1f"),t("5319"),t("1276");var a=t("5530"),r=(t("96cf"),t("1da1")),o=t("3835"),c=t("b775"),i=t("3de1"),u=t("2ef0"),s=t("2b0e"),d=!!e.electron,l=5,f=5,p=[],h=[],m=[],b=[],g=function(){p=[],h=[],m=[],b=[]},k=function(){},y=function(e){var n=new WebSocket("ws://127.0.0.1:7777/".concat(e));return n.on=n.addEventListener,n},v=function(e,n){return new Promise((function(t,a){e.on("open",(function(){e.send(n)})),e.on("message",(function(n){t(n),e.close()})),e.on("error",(function(e){return a(e)}))}))},w=function(e){return d?e:k},O={isClient:d,init:w((function(){console.log("客户端 electron API 检测:",e.electron)})),keepLiveTest:w((function(n,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u["identity"],r=y("keeplive"),o=1,c=null,i=e.electron.ipcRenderer;function s(){n(!0),r.send(o)}i.on("detectWindowSize",(function(){t((arguments.length<=1?void 0:arguments[1])||!1)})),r.on("open",(function(){c=setInterval(s,2e3)})),r.on("close",(function(){clearInterval(c),n(!1)})),r.on("error",(function(){a(),n(!1)}))})),subscribeGatewayMessage:w((function(){var e=y("messageNotify");e.on("message",(function(e){var n=e.data;try{var t=n.split("\n"),a=Object(o["a"])(t,2),r=a[0],c=a[1];i["d"].warning(c,r)}catch(u){console.error("gateway message error:",n,u)}}))})),shrinkBrowserWindow:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("shrink-browser-window");case 3:case"end":return n.stop()}}),n)})))),enlargeBrowserWindow:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("enlarge-browser-window");case 3:case"end":return n.stop()}}),n)})))),unmaxBrowserWindow:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("unmax-browser-window");case 3:case"end":return n.stop()}}),n)})))),closeBrowserWindow:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("close-browser-window");case 3:case"end":return n.stop()}}),n)})))),isMaxWindowNow:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t,a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("is-max-window-now");case 3:return a=n.sent,n.abrupt("return",a);case 5:case"end":return n.stop()}}),n)})))),initClientConfig:w((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u["identity"],t=y("initClientConfig");t.on("open",(function(){t.send(e)})),t.on("message",(function(e){if("-1"===e.data)return s["default"].prototype.$notify({message:"请联系企业管理员检查存储节点配置项。",type:["error"]}),void n(e)}))})),checkForUpdates:w((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u["identity"],n=y("checkForUpdates"),t=1;n.on("open",(function(){n.send(t)})),n.on("message",(function(n){if("-1"===n.data)return s["default"].prototype.$notify({message:"已是最新版本。",type:["success"]}),void e(n)}))})),clientOpenFileWith:w((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u["identity"],t=y("openFileWith");t.on("open",(function(){t.send(e)})),t.on("message",(function(e){if("-1"===e.data)return s["default"].prototype.$notify({message:"服务端出现错误, 请稍后重试。",type:["error"]}),void n(e)})),t.on("error",n)})),login:function(){},logout:function(){},entryProject:w(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(n,t,a,r,o,c){var i,s,d,l=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=l.length>6&&void 0!==l[6]?l[6]:u["identity"],e.next=3,v(y("init"),[a,t,n].join("|"));case 3:s=e.sent,o(s.data),d=y("subscriptionFileChange"),d.on("open",(function(){d.send(n)})),d.on("message",r),d.on("error",i),c(d);case 10:case"end":return e.stop()}}),e)})));return function(n,t,a,r,o,c){return e.apply(this,arguments)}}()),leaveProject:w((function(e){e.close(),g()})),downloadFile:w((function(e,n,t,a,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:u["identity"],d=function u(){var d=y("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?(s["default"].prototype.$notify({message:"".concat(t,",网络请求失败。"),type:["warning","download"],title:"文件下载失败"}),void o(e)):"-2"===e.data?(i["d"].error("请先关闭本地文件后再下载"),void o(e)):void r(e,d)})),d.on("error",(function(e){o(e)})),d.on("close",(function(){if(m=m.filter((function(e){return e!==u})),b.length){var e=b.shift();m.push(e),e()}}))};m.length>=f?b.push(d):(m.push(d),d())})),analyzeSystemPath:w(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(n){var t,a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,v(y("getFolderFileInfo"),n);case 2:return t=e.sent,e.prev=3,a=JSON.parse(t.data),r=Object.values(a).map((function(e){var n=e.name,t=e.extension,a=e.relativePath,r=e.absolutePath,o=0===t.indexOf(".")?t.slice(1):t,c=n.slice(0,-t.length);return{fileName:c,extension:o,relativePath:a.split("\\").filter(u["identity"]).join("/"),fullPath:r}})),e.abrupt("return",r);case 9:return e.prev=9,e.t0=e["catch"](3),e.abrupt("return",[]);case 12:case"end":return e.stop()}}),e,null,[[3,9]])})));return function(n){return e.apply(this,arguments)}}()),chooseFiles:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t,a,r,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("project-choose-files");case 3:if(a=n.sent,r=a.canceled,o=a.filePaths,!r){n.next=7;break}return n.abrupt("return",null);case 7:return n.abrupt("return",o);case 8:case"end":return n.stop()}}),n)})))),chooseFolders:w(Object(r["a"])(regeneratorRuntime.mark((function n(){var t,a,r,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("project-choose-folders");case 3:if(a=n.sent,r=a.canceled,o=a.filePaths,!r){n.next=7;break}return n.abrupt("return",null);case 7:return n.abrupt("return",o);case 8:case"end":return n.stop()}}),n)})))),uploadFile:w(function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(n){var t,o,d,f,m,b,g,k,v,w,O,C,j,I,N,S,x,P,_,L,E,R,A,G,T;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=n.creator,o=n.projectId,d=n.projectName,f=n.folderId,m=n.folderName,b=n.folderLevelId,g=n.distFileRelativePath,k=void 0===g?"":g,v=n.fileName,w=n.fileExtension,O=n.sourceFilePath,C=n.fileList,j=n.onSuccess,I=n.onProgress,N=void 0===I?u["identity"]:I,S=n.onError,x=void 0===S?u["identity"]:S,P=n.successAllHandler,_=n.totalReadyUploadNum,L=n.tempNumWrap,E=w?"".concat(v,".").concat(w):v,R="".concat(m).concat(k?"/".concat(k):""),A=C.find((function(e){return k===e.relativePath&&"".concat(e.archName).concat(e.extension?".".concat(e.extension):"")===E})),G=A?Object(i["c"])(Object(a["a"])(Object(a["a"])({},A),{},{ModifyUserId:sessionStorage.userId})):{ArchName:v,CreateUserId:sessionStorage.userId,Extension:w,FolderId:f,FolderLevelId:b,Id:"upload:".concat("".concat(Math.random()).slice(2,8)),ProjId:o,RelativePath:k,Status:1,Version:1},N({process:0},G),T=function e(){var n=function(){if(p=p.filter((function(n){return n!==e})),h.length){var n=h.shift();p.push(n),n()}x.apply(void 0,arguments)},o=function(){if(p=p.filter((function(n){return n!==e})),h.length){var n=h.shift();p.push(n),n()}j.apply(void 0,arguments)},u=y("upload"),l="";u.on("open",Object(r["a"])(regeneratorRuntime.mark((function e(){var n,a,r,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!A){e.next=5;break}return e.next=3,Object(c["b"])("file/queryProjArchiveHistoryTbByArchId",{archId:A.id});case 3:n=e.sent,l=Object(i["b"])(n.Data||{}).currentIpfsCid||"";case 5:a="",r=!1,o=[O,E,d,R.replace(/\//g,"\\"),l,a,t,r].join("|"),u.send(o),N({process:0},G);case 9:case"end":return e.stop()}}),e)})))),u.on("message",function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t){var r,d,f,p,h,m,b,g;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("-1"!==t.data){e.next=4;break}return i["d"].error("文件上传失败"),n(t,G),e.abrupt("return");case 4:if("-2"!==t.data){e.next=8;break}return i["d"].error("请先关闭本地文件后再上传"),n(t,G),e.abrupt("return");case 8:if(e.prev=8,r=JSON.parse(t.data),d=r.size,f=r.process,p=r.hash,h=r.commitHistoryHash,m=r.version,N(r,G),100===f&&p){e.next=14;break}return e.abrupt("return");case 14:return u.close(),G.FileSize=+d,G.IpfsCid=p,b=Object(a["a"])({},G),A||delete b.Id,A?(b.HistoryCurrentIpfsCid=h,b.HistoryPreIpfsCid=l,b.Version=m):b.HistoryCurrentIpfsCid=h,e.next=22,Object(c["b"])("file/".concat(A?"updateFile":"addFile"),b);case 22:if(g=e.sent,Object(c["c"])(g),0===g.Code){e.next=27;break}return n(g,G),e.abrupt("return");case 27:L.tempNumCount+=1,L.tempNumCount==_&&(s["default"].prototype.$notify({type:["success","upload"],title:"文件上传成功",message:"".concat(G.ArchName)}),P()),o(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)}}()),u.on("error",(function(e){n(e,G)}))},p.length>=l?h.push(T):(p.push(T),T());case 9:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()),updateFile:w((function(e){var n=e.file,t=e.localFilePathPrefix,a=e.projectName,o=e.relativePath,s=e.historyPreIpfsCid,d=e.note,l=e.creator,f=e.milestone,p=e.isConflict,h=e.onSuccessHandler,m=e.onProgressHandler,b=void 0===m?u["identity"]:m,g=e.onErrorHandler,k=void 0===g?u["identity"]:g,v=y("upload"),w=n.archName,O=n.extension,C=(n.id,"".concat(w).concat(O?".".concat(O):"")),j="".concat(t,"\\").concat(o,"\\").concat(C);v.on("open",(function(){var e=[j,C,a,o,s,d,l,f].join("|");v.send(e)})),v.on("message",function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t){var a,r,o,d,l,f,m,g;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("-1"!==t.data){e.next=4;break}return i["d"].error("文件上传失败"),k(t),e.abrupt("return");case 4:if("-2"!==t.data){e.next=8;break}return i["d"].error("请先关闭本地文件后再上传"),k(t),e.abrupt("return");case 8:if(e.prev=8,a=JSON.parse(t.data),console.log("progressData"),r=a.size,o=a.process,d=a.hash,l=a.commitHistoryHash,f=a.version,b(a),100===o&&d){e.next=15;break}return e.abrupt("return");case 15:return v.close(),m=Object(i["c"])(Object(u["cloneDeep"])(n)),m.ModifyUserId=sessionStorage.userId,m.HistoryPreIpfsCid=s,m.HistoryCurrentIpfsCid=l,p||(m.Size=+r,m.IpfsCid=d,m.Version=f),e.next=23,Object(c["b"])("file/updateFile",m);case 23:return g=e.sent,Object(c["c"])(g),p&&(m.Size=+r,m.IpfsCid=d,m.Version=f),h(m),e.abrupt("return");case 30:e.prev=30,e.t0=e["catch"](8),console.error("socket-update-file parse data have error:",t);case 33:case"end":return e.stop()}}),e,null,[[8,30]])})));return function(n){return e.apply(this,arguments)}}()),v.on("error",(function(e){k(e,n)}))})),queryCommitHistory:w((function(e,n,t){var a=y("queryCommitHistory");a.on("open",(function(){a.send([e,n].join("|"))})),a.on("message",(function(e){if("-1"===e.data)return i["d"].error("查询历史文件失败"),void t([]);var n=JSON.parse(e.data),a=Object.values(n);t(a)}))})),editCommitHistoryMilestone:w((function(e,n,t,a,r){var o=y("editCommitHistoryMilestone");o.on("open",(function(){o.send([e,n,t,a].join("|"))})),o.on("message",(function(e){if("-1"!==e.data){var n=e.data;console.log("lcb",n),r(n)}else i["d"].error("设置里程碑失败")}))})),openFile:w((function(n){var t=e.electron.shell;t.openPath(n)})),openFolder:w((function(n){var t=e.electron.shell;t.showItemInFolder(n)}))};n["a"]=O}).call(this,t("c8ba"))},"1f09":function(e,n,t){},"3de1":function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return c})),t.d(n,"d",(function(){return i})),t.d(n,"a",(function(){return u}));t("99af"),t("13d5"),t("fb6a"),t("4fad"),t("d3b7");var a=t("3835"),r=t("2b0e");function o(e){return Object.entries(e).reduce((function(e,n){var t=Object(a["a"])(n,2),r=t[0],o=t[1];return e["".concat(r[0].toLocaleLowerCase()).concat(r.slice(1))]=o,e}),{})}function c(e){return Object.entries(e).reduce((function(e,n){var t=Object(a["a"])(n,2),r=t[0],o=t[1];return e["".concat(r[0].toLocaleUpperCase()).concat(r.slice(1))]=o,e}),{})}var i={success:function(e,n){r["default"].prototype.$notify({title:n,message:e,type:["success"],duration:2500})},error:function(e,n){r["default"].prototype.$notify({title:n,message:e,type:["error"],duration:2500})},warning:function(e,n){r["default"].prototype.$notify({title:n,message:e,type:["warning"],duration:2500})}};function u(e,n){var t=document.createElement("a");t.setAttribute("href",e),t.setAttribute("download",n),t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)}},"41cb":function(e,n,t){"use strict";t("b0c0"),t("d3b7");var a=t("2b0e"),r=t("8c4f"),o={login:"LOCKING | 登录",project:"LOCKING | 项目编辑",platform:"LOCKING | 平台选择",template:"LOCKING | 模板控制台",projnotice:"LOCKING | 更新提醒",notFound:"404 | 未找到该页面",workspace:"LOCKING | 项目详情",search:"LOCKING | 搜索",recycle:"LOCKING | 回收站",cloud:"LOCKING | 云盘",cloudrecycle:"LOCKING | 云回收站",cloudsource:"LOCKING | 云资源管理器",company:"LOCKING | 企业后台",message2:"LOCKING | 企业后台",company_message:"LOCKING | 平台消息",company_user:"LOCKING | 通讯录",company_project:"LOCKING | 项目管理",company_template:"LOCKING | 模板与应用",company_setting:"LOCKING | 通用设置",company_template_detail:"LOCKING | 模板查看",company_app:"LOCKING | 应用",company_template_market:"LOCKING | 应用市场",system:"LOCKING | 总后台",system_template:"LOCKING | 流程模板",system_template_mind:"LOCKING | 思维导图",system_template_matrix:"LOCKING | 矩阵模板",system_runmanage:"LOCKING | 运行管理",system_appcenter:"LOCKING | 应用管理",system_setting:"LOCKING | 总体权限",system_appinfo:"LOCKING | 应用介绍",system_template_file:"流程模板 | 样板文件"};a["default"].use(r["a"]);var c=new r["a"]({mode:"hash",routes:[{path:"/",name:"login",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-63d4ab7f")]).then(t.bind(null,"9ed6"))}},{path:"/demo",name:"demo",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-1f4d12f6")]).then(t.bind(null,"46a4"))}},{path:"/projdetail",name:"projdetail",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-0b7f5006"),t.e("chunk-1a5b0b1c")]).then(t.bind(null,"47c5"))}},{path:"/watch",name:"watch",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-1165d335")]).then(t.bind(null,"1670"))}},{path:"/notification",name:"notification",component:function(){return Promise.resolve().then(t.bind(null,"d2ad"))}},{path:"/newproject",name:"newproject",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-541eb54c")]).then(t.bind(null,"a341"))}},{path:"/watchlink",name:"watchlink",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-60c8f103")]).then(t.bind(null,"80fb"))}},{path:"/platform",name:"platform",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-6f87105f")]).then(t.bind(null,"0a7f"))}},{path:"/index",name:"index",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-70e2cc9e")]).then(t.bind(null,"011a"))}},{path:"/projnotice",name:"projnotice",component:function(){return t.e("chunk-2d0a3394").then(t.bind(null,"00ec"))}},{path:"/email",name:"email",component:function(){return t.e("chunk-2d0ac90d").then(t.bind(null,"19a0"))}},{path:"/workspace",name:"workspace",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-7e46145d"),t.e("chunk-0b7f5006"),t.e("chunk-653c31ce")]).then(t.bind(null,"3b2f"))}},{path:"/recycle",name:"recycle",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-4a29caee")]).then(t.bind(null,"c11e"))}},{path:"/history",name:"history",component:function(){return Promise.all([t.e("chunk-7e46145d"),t.e("chunk-2d0d2af5")]).then(t.bind(null,"a2d2"))}},{path:"/company",name:"company",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-2627340f")]).then(t.bind(null,"db21"))},redirect:{name:"company_home"},children:[{path:"home",name:"company_home",component:function(){return t.e("chunk-309e49e4").then(t.bind(null,"345a"))}},{path:"message",name:"company_message",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-2d0cf6a4")]).then(t.bind(null,"642b"))}},{path:"user",name:"company_user",component:function(){return t.e("chunk-0dd08121").then(t.bind(null,"29c0"))}},{path:"project",name:"company_project",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-038ce22f")]).then(t.bind(null,"e984"))}},{path:"template",name:"company_template",component:function(){return t.e("chunk-84f66ece").then(t.bind(null,"4083"))}},{path:"template/detail",name:"company_template_detail",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-1387bf96")]).then(t.bind(null,"df39"))}},{path:"template/market",name:"company_template_market",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-d1bd5818")]).then(t.bind(null,"be38"))}},{path:"setting",name:"company_setting",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-1fe39068")]).then(t.bind(null,"cda4"))}},{path:"app",name:"company_app",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-2d0b3688")]).then(t.bind(null,"27f3"))}}]},{path:"/template",name:"template",component:function(e){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-1f7519e6")]).then(function(){var n=[t("65b7")];e.apply(null,n)}.bind(this)).catch(t.oe)},redirect:{name:"template_console"},children:[{path:"console",name:"template_console",component:function(){return t.e("chunk-d4bc3576").then(t.bind(null,"8875"))}},{path:"console/detail",name:"template_console_detail",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-edf65c70")]).then(t.bind(null,"ccf7"))}},{path:"console/create",name:"template_console_create",component:function(e){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-15f86d65")]).then(function(){var n=[t("1fab7")];e.apply(null,n)}.bind(this)).catch(t.oe)}}]},{path:"/system",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-d4e6d2d8")]).then(t.bind(null,"f364"))},redirect:{name:"system_customer"},children:[{path:"customer",name:"system_customer",component:function(){return t.e("chunk-a2202954").then(t.bind(null,"f851"))}},{path:"template",name:"system_template",component:function(){return t.e("chunk-c54a701e").then(t.bind(null,"81b5"))}},{path:"runmanage",name:"system_runmanage",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-11067227")]).then(t.bind(null,"d798"))}},{path:"template/matrix",name:"system_template_matrix",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-3b425bf2")]).then(t.bind(null,"2275"))}},{path:"template/mind",name:"system_template_mind",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-50f34397")]).then(t.bind(null,"bccc"))}},{path:"template/tempfile",name:"system_template_file",component:function(){return t.e("chunk-28990618").then(t.bind(null,"f1f7"))}},{path:"appcenter",name:"system_appcenter",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-2d0e148e")]).then(t.bind(null,"7a7e"))}},{path:"appinfo",name:"system_appinfo",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-2d21b850")]).then(t.bind(null,"bfb8"))}},{path:"setting",name:"system_setting",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-1fe40532")]).then(t.bind(null,"ddca"))}},{path:"*",redirect:{name:"system_customer"}}]},{path:"*",name:"notfound",component:function(){return t.e("chunk-15a37012").then(t.bind(null,"9403"))}}]});c.beforeEach((function(e,n,t){"/"===e.path||sessionStorage.getItem("userId")?t():t({path:"/"})})),c.afterEach((function(e){window.document.title=o[e.name]||"LOCKING | 云建筑"}));n["a"]=c},"51b0":function(e,n,t){},"53be":function(e,n,t){},"56d7":function(e,n,t){"use strict";t.r(n);t("4de4"),t("e260"),t("e6cf"),t("cca6"),t("a79d");var a=t("2b0e"),r=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("router-view",{ref:"mainpage",staticClass:"mt-40",class:{"mt-64":e.setMarginTop,"calc-height":e.setMarginTop,"workspace-bigbody":e.$route.path.indexOf("/workspace")>=0,"mt-76":"newproject"==e.$route.name||"projdetail"==e.$route.name},attrs:{id:"bigbody"}})],1)},o=[],c=(t("c975"),t("b0c0"),t("1d40")),i={components:{},name:"App",data:function(){return{header_show:!0,companyName:"",mypath:"/",showIndexOption:!1,showHelpPage:!1,searchName:"",isShowOutWorkSpace:!1,outWorkSpace:!1,isClient:c["a"].isClient,onlineStatus:!1,state:this.$store.state}},created:function(){var e=this;console.log("版本编译时间:","2021.05.27 11:22"),null!=document.getElementById("Loading")&&null!=document.getElementById("Loading").nodeName&&""!=document.getElementById("Loading").nodeName&&document.body.removeChild(document.getElementById("Loading")),"login"!=this.$route.name&&"notfound"!=this.$route.name&&"platform"!==this.$route.name||(this.header_show=!1),this.isClient&&(c["a"].keepLiveTest((function(n){e.onlineStatus=n,e.$store.changeGatewayState(n),sessionStorage.setItem("isOnLine",String(n&&navigator.onLine))}),(function(n){e.$store.state.isMaxWindowSize=n})),c["a"].subscribeGatewayMessage())},computed:{setMarginTop:function(){return this.isClient||"workspace"==this.$route.name},currentRoutePath:function(){return this.$route.path}},mounted:function(){window.addEventListener("scroll",this.handleScroll,!0)},methods:{handleScroll:function(){},showOption:function(){this.showIndexOption=!0},showHelp:function(){this.showHelpPage=!0},closeShowOption:function(){this.showIndexOption=!1,this.showHelpPage=!1},closeWorkSet:function(){"workspace"==this.$route.name&&this.$refs["mainpage"].closeAppManagePain()},getSearchName:function(e){this.searchName=e},getIsShowOutWorkSpace:function(e){this.outWorkSpace=!1,this.isShowOutWorkSpace=e},getOutWorkSpace:function(e){this.outWorkSpace=e}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)},watch:{$route:function(e){this.mypath=e.path},currentRoutePath:function(e){e.indexOf("projdetail")>=0?document.body.classList.add("set-bgc"):document.body.classList.remove("set-bgc")}}},u=i,s=(t("5c0b"),t("c864"),t("6964"),t("2877")),d=Object(s["a"])(u,r,o,!1,null,"717d06a7",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:c["a"].isClient?"桌面端":"WEB端"}},v=function(){return{isLogin:!1,accountId:void 0,accountName:void 0,userName:void 0,platformList:[],currentPlatform:{},currentCompanyId:void 0,avator:void 0,userInfo:{}}},w=function(){var e=Object.assign(y(),v());try{var n=JSON.parse(sessionStorage.getItem("user")),t=sessionStorage.getItem("companyId"),a=JSON.parse(sessionStorage.getItem("platform")||"{}");n&&n.accountId&&(e.isLogin=!0,Object.assign(e,n),e.currentCompanyId=t,e.currentPlatform=a)}catch(r){console.log("加载session数据失败"),e=Object.assign(y(),v())}return e},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,o,c,i,u,s,d,l,f,p,h,m,y,v,w,O,C,j,I,N;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(b["b"])("authentication/login",{UserName:e,PassWord:n});case 2:if(r=a.sent,o=0===r.Code,o){a.next=6;break}return a.abrupt("return",r);case 6:if(t.state.isLogin=!0,c=Object(k["b"])(r.Data||{}),delete c.userExt,i=c.companyId,u=c.cnName,s=c.id,d=c.permission,l=c.backgroundPermission,f=[],p={accountId:s,accountName:e,userName:u,platformList:f,userInfo:c},h=3===l,m=2===l,!h){a.next=18;break}f.push(Object(g["d"])(g["b"].MANAGE_CENTER,i,"LOCKING 总后台",void 0,[])),a.next=30;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,j=O.CompanyName,I=O.ServiceProviderStatus,N=[],1==I&&f.push(Object(g["d"])(g["b"].TEMPLATE_CONSOLE,i,j,C,[])),m&&N.push(g["a"].CompanyConsole),1===d&&N.push(g["a"].ProjectManager),f.push(Object(g["d"])(g["b"].COMPANY,i,j,C,N));case 30: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 37: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"),j=t("a78e"),I=t.n(j),N=t("5ab9"),S=function(e){return Object(N["a"])(e)||"/static/img/avator_default.svg"},x=function(e,n){var t="avator"===n?"/static/img/avator_default.svg":"";return Object(N["a"])(e)||t},P=t("cee5"),_=t.n(P),L=function(e){return _()(e)},E=t("caf9"),R=t("32ed"),A=t.n(R),G=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"}]})},T=[],$={props:{src:String}},M=$,F=Object(s["a"])(M,G,T,!1,null,null,null),K=F.exports,W=(t("856b"),t("d903"),t("c610"),t("935a"),t("51b0"),t("53be"),t("1f94"),t("d2ad")),H=a["default"].extend(W["default"]),B=document.createElement("div");B.style="position: fixed; right: 32px; top: 68px;z-index:99999",document.body.appendChild(B);var z=function(e){var n=new H({propsData:e});n.vm=n.$mount(),B.appendChild(n.vm.$el)},D=z;a["default"].use(h.a),a["default"].use(E["a"]),a["default"].use(C["a"]),a["default"].prototype.$cookie=I.a,a["default"].component("ImgLazy",K),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"].filter("resolveFileSize",L),a["default"].prototype.$bus=new a["default"],a["default"].prototype.$notify=D,a["default"].use(A.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"),o=t("2ef0"),c=new r({region:"oss-cn-hangzhou",accessKeyId:"LTAI4G2BEDNpfdLmquYYMaMV",accessKeySecret:"tPhAL3qAgF9Tq67h73snAmwu8iPZ5t",bucket:"yiyun-client-files",secure:!0}),i=function(e){return"".concat((new Date).getTime(),"/").concat(e)},u=function(e){return"oss://".concat(e)};function s(e,n){return d.apply(this,arguments)}function d(){return d=Object(a["a"])(regeneratorRuntime.mark((function e(n,t){var a,r,o,u=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=u.length>2&&void 0!==u[2]?u[2]:{},e.prev=1,r=i(n),e.next=5,c.multipartUpload(r,t,a);case 5:return o=e.sent,e.abrupt("return",o);case 9:return e.prev=9,e.t0=e["catch"](1),console.error("file upload failed:",e.t0),e.abrupt("return",null);case 13:case"end":return e.stop()}}),e,null,[[1,9]])}))),d.apply(this,arguments)}var l=Object(o["memoize"])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;if(0!==e.indexOf("oss://"))return e;var t=e.substr(6),a=n||t.split("/").pop();try{var r=3600,o=c.signatureUrl(t,{expires:r,response:{"content-disposition":'attachment; filename="'.concat(a,'"')}});return setTimeout((function(){l.cache.delete(e)}),1e3*r),o}catch(i){return null}}))},"5b49":function(e,n,t){"use strict";var a=t("1f09"),r=t.n(a);r.a},"5c0b":function(e,n,t){"use strict";var a=t("9c0c"),r=t.n(a);r.a},6964:function(e,n,t){"use strict";var a=t("7dff"),r=t.n(a);r.a},"7cd6":function(e,n,t){},"7dff":function(e,n,t){},"856b":function(e,n,t){},"935a":function(e,n,t){},"99e1":function(e,n,t){"use strict";var a=t("f225"),r=t.n(a);r.a},"9c0c":function(e,n,t){},b775:function(e,n,t){"use strict";t.d(n,"b",(function(){return d})),t.d(n,"c",(function(){return f}));t("99af"),t("c975"),t("fb6a"),t("d3b7"),t("ac1f"),t("25f0"),t("1276"),t("96cf");var a=t("3835"),r=t("1da1"),o=t("bc3a"),c=t.n(o),i=t("2b0e"),u=t("41cb"),s=t("3de1");function d(e,n,t){return l.apply(this,arguments)}function l(){return l=Object(r["a"])(regeneratorRuntime.mark((function e(n,t,r){var o,i,u,s,d;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=p(n),i=Object(a["a"])(o,2),u=i[0],s=i[1],e.prev=1,e.next=4,"GET"===u?c.a.get(s,{params:t},r):c.a.post(s,t,r);case 4:return d=e.sent,e.abrupt("return",d.data);case 8:if(e.prev=8,e.t0=e["catch"](1),!e.t0.response||!e.t0.response.status){e.next=16;break}e.t1=e.t0.response.status,e.next=404===e.t1?14:15;break;case 14:return e.abrupt("return",{Code:404,Msg:"找不到指定的服务。"});case 15:return e.abrupt("return",{Code:503,Msg:"服务异常,请稍后再试。"});case 16:return console.error(e.t0),e.abrupt("return",{Code:503,Msg:"服务异常,请稍后再试。"});case 18:case"end":return e.stop()}}),e,null,[[1,8]])}))),l.apply(this,arguments)}function f(e){if(0!==e.Code){var n=e.Code?e.Code.toString():"",t="error";404===e.Code&&(t="warning"),i["default"].prototype.$notify({message:e.Msg,title:n+"错误",type:t})}return e}function p(e){var n=e.split("/"),t=Object(a["a"])(n,1),r=t[0],o=-1!==["template","project","folder","file","templateCompany","projectLinkInvite","lockingmsg"].indexOf(r)?"pms":"cms",c="api/".concat(o,"/").concat("authentication"===r?"":"v1/").concat(e),i="GET";switch(e){case"authentication/login":case"authentication/passwordCheck":case"company/addCompany":case"company/queryGeneralOverview":case"company/queryProviceTree":case"company/updateCompanyById":case"company/link/addCompanyLink":case"company/link/updateCompanyLink":case"dept/addDept":case"dept/updateDept":case"user/addUser":case"user/resetPassWord":case"user/updateUser":case"template/createTemplate":case"template/fileExchange":case"template/updateTemplate":case"template/uploadingXmind":case"template/addTemplateNodeModelFile":case"template/createNestedRelevance":case"template/connectNestTemplateFolder":case"folder/createSubfolder":case"project/createProject":case"project/editProject":case"project/assignedWork":case"file/addArchMilesStone":case"file/addFile":case"file/updateFile":case"file/fileCoordinationChange":case"file/setShareFile":case"operation/record":case"file/updateProjArchiveHistory":case"templateCompany/addTemplateCompany":case"project/addProjectGobalConfig":case"project/linkProject":case"file/submitDeliverables":case"lockingmsg/markRead":case"file/removeFromRecycleBin":case"file/batchAddFile":i="POST";break;default:i="GET";break}return[i,c]}c.a.defaults.withCredentials=!0,c.a.interceptors.request.use((function(e){return 0===e.url.indexOf("api/")&&(e.url="".concat("/api/").concat(e.url.slice(4))),e}),(function(e){return Promise.reject(e)})),c.a.interceptors.response.use((function(e){return e}),(function(e){if(e.response)switch(e.response.status){case 401:"/"!=u["a"].currentRoute.fullPath&&(s["d"].error("登录超时,请重新登录"),sessionStorage.clear(),u["a"].push({path:"/"}));break}return Promise.reject(e)})),n["a"]=c.a},c610:function(e,n,t){},c864:function(e,n,t){"use strict";var a=t("7cd6"),r=t.n(a);r.a},d2ad:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("transition",{attrs:{name:"fade"}},[e.show?t("div",{staticClass:"notification_box"},[Array.isArray(e.type)?t("div",{staticClass:"notification_img"},[t("img",{class:e.type[1]?"leftIcon":""+e.typeList[e.type[0]].class,attrs:{src:e.typeList[e.type[0]].imgSrc,alt:""}}),e.type[1]?t("img",{staticClass:"righticon",attrs:{src:e.typeList[e.type[1]].imgSrc,alt:""}}):e._e()]):t("div",{staticClass:"notification_img"},[t("img",{class:e.typeList[e.type].class,attrs:{src:e.typeList[e.type].imgSrc,alt:""}})]),t("div",{staticClass:"notification_msg"},[t("div",{staticClass:"notification_msg_content"},[t("div",{staticClass:"notification_title",class:{hidden:!e.title}},[e._v(e._s(e.title))]),t("div",{staticClass:"notification_context",class:{middle:!e.title}},[e._v(e._s(e.message))])]),t("p",{staticClass:"closeBtn",attrs:{href:""},on:{click:e.handleClose}},[t("img",{attrs:{src:"/static/img/删除.svg",alt:""}})])])]):e._e()])},r=[],o=(t("a9e3"),function(e,n){return{imgSrc:"/static/img/"+e,class:n}}),c={success:o("success.svg","notifyIcon"),error:o("严重警示.svg","notifyIcon"),warning:o("事件警示.svg","notifyIcon"),"file-txt":o("file_txt.png","fileIcon"),"file-pdf":o("file_pdf.png","fileIcon"),"file-word":o("file_word.png","fileIcon"),"file-excel":o("file_excel.png","fileIcon"),"file-ppt":o("file_ppt.png","fileIcon"),upload:o("upload.png","notifyIcon"),download:o("download.svg","notifyIcon"),cooperation:o("download.svg","notifyIcon")},i={name:"Notification",props:{type:{},inItem:{type:Boolean,defalt:!1},offset:{type:Number,default:100},title:{type:String,default:""},message:{type:String,default:""},duration:{type:Number,default:3e3}},data:function(){return{show:!1,typeList:c,timer:""}},watch:{show:function(e){var n=this;e||setTimeout((function(){n.destroyElement()}),1e3)}},methods:{destroyElement:function(){this.$destroy(!0),this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},handleClose:function(){this.show=!1}},created:function(){var e=this;this.timer=setTimeout((function(){e.show=!1}),this.duration)},mounted:function(){this.show=!0},beforeDestroy:function(){clearTimeout(this.timer)}},u=i,s=(t("5b49"),t("99e1"),t("2877")),d=Object(s["a"])(u,a,r,!1,null,"3a7b0566",null);n["default"]=d.exports},d903:function(e,n,t){},f225:function(e,n,t){}});
\ No newline at end of file
diff --git a/dist/static/js/app.87c07260.js b/dist/static/js/app.87c07260.js
new file mode 100644
index 00000000..f2b5c2d6
--- /dev/null
+++ b/dist/static/js/app.87c07260.js
@@ -0,0 +1 @@
+(function(e){function n(n){for(var r,a,i=n[0],u=n[1],s=n[2],d=0,l=[];d4&&void 0!==arguments[4]?arguments[4]:[],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return Object(r["a"])({platformType:e,orgId:n,orgLogo:a,orgName:t,accessList:c},o)}var o={CompanyConsole:"company_console",ProjectManager:"project_manager"};function i(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 r=t("5530"),a=(t("96cf"),t("1da1")),c=t("3835"),o=t("b775"),i=t("3de1"),u=t("2ef0"),s=t("2b0e"),d=!!e.electron,l=5,f=5,p=[],h=[],m=[],b=[],k=function(){p=[],h=[],m=[],b=[]},g=function(){},y=function(e){var n=new WebSocket("ws://127.0.0.1:7777/".concat(e));return n.on=n.addEventListener,n},v=function(e,n){return new Promise((function(t,r){e.on("open",(function(){e.send(n)})),e.on("message",(function(n){t(n),e.close()})),e.on("error",(function(e){return r(e)}))}))},w=function(e){return d?e:g},O={isClient:d,init:w((function(){console.log("客户端 electron API 检测:",e.electron)})),keepLiveTest:w((function(n,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u["identity"],a=y("keeplive"),c=1,o=null,i=e.electron.ipcRenderer;function s(){n(!0),a.send(c)}i.on("detectWindowSize",(function(){t((arguments.length<=1?void 0:arguments[1])||!1)})),a.on("open",(function(){o=setInterval(s,2e3)})),a.on("close",(function(){clearInterval(o),n(!1)})),a.on("error",(function(){r(),n(!1)}))})),subscribeGatewayMessage:w((function(){var e=y("messageNotify");e.on("message",(function(e){var n=e.data;try{var t=n.split("\n"),r=Object(c["a"])(t,2),a=r[0],o=r[1];i["d"].warning(o,a)}catch(u){console.error("gateway message error:",n,u)}}))})),shrinkBrowserWindow:w(Object(a["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("shrink-browser-window");case 3:case"end":return n.stop()}}),n)})))),enlargeBrowserWindow:w(Object(a["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("enlarge-browser-window");case 3:case"end":return n.stop()}}),n)})))),unmaxBrowserWindow:w(Object(a["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("unmax-browser-window");case 3:case"end":return n.stop()}}),n)})))),closeBrowserWindow:w(Object(a["a"])(regeneratorRuntime.mark((function n(){var t;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.electron.ipcRenderer,n.next=3,t.invoke("close-browser-window");case 3:case"end":return n.stop()}}),n)})))),isMaxWindowNow:w(Object(a["a"])(regeneratorRuntime.mark((function n(){var t,r;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 r=n.sent,n.abrupt("return",r);case 5:case"end":return n.stop()}}),n)})))),initClientConfig:w((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u["identity"],t=y("initClientConfig");t.on("open",(function(){t.send(e)})),t.on("message",(function(e){if("-1"===e.data)return s["default"].prototype.$notify({message:"请联系企业管理员检查存储节点配置项。",type:["error"]}),void n(e)}))})),checkForUpdates:w((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u["identity"],n=y("checkForUpdates"),t=1;n.on("open",(function(){n.send(t)})),n.on("message",(function(n){if("-1"===n.data)return s["default"].prototype.$notify({message:"已是最新版本。",type:["success"]}),void e(n)}))})),clientOpenFileWith:w((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u["identity"],t=y("openFileWith");t.on("open",(function(){t.send(e)})),t.on("message",(function(e){if("-1"===e.data)return s["default"].prototype.$notify({message:"服务端出现错误, 请稍后重试。",type:["error"]}),void n(e)})),t.on("error",n)})),login:function(){},logout:function(){},entryProject:w(function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(n,t,r,a,c,o){var i,s,d,l=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=l.length>6&&void 0!==l[6]?l[6]:u["identity"],e.next=3,v(y("init"),[r,t,n].join("|"));case 3:s=e.sent,c(s.data),d=y("subscriptionFileChange"),d.on("open",(function(){d.send(n)})),d.on("message",a),d.on("error",i),o(d);case 10:case"end":return e.stop()}}),e)})));return function(n,t,r,a,c,o){return e.apply(this,arguments)}}()),leaveProject:w((function(e){e.close(),k()})),downloadFile:w((function(e,n,t,r,a){var c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:u["identity"],d=function u(){var d=y("download"),l={API:"download",Action:"下载文件",CompanyName:sessionStorage.CompanyName,Subject:t,Source:sessionStorage.client,ProjectName:sessionStorage.projName};Object(o["b"])("operation/record",l),d.on("open",(function(){var a={API:"open",Action:"打开文件",CompanyName:sessionStorage.CompanyName,Subject:t,Source:sessionStorage.client,ProjectName:sessionStorage.projName};Object(o["b"])("operation/record",a),d.send([e,n,t,r].join("|"))})),d.on("message",(function(e){return"-1"===e.data?(s["default"].prototype.$notify({message:"".concat(t,",网络请求失败。"),type:["warning","download"],title:"文件下载失败"}),void c(e)):"-2"===e.data?(i["d"].error("请先关闭本地文件后再下载"),void c(e)):void a(e,d)})),d.on("error",(function(e){c(e)})),d.on("close",(function(){if(m=m.filter((function(e){return e!==u})),b.length){var e=b.shift();m.push(e),e()}}))};m.length>=f?b.push(d):(m.push(d),d())})),analyzeSystemPath:w(function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(n){var t,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,v(y("getFolderFileInfo"),n);case 2:return t=e.sent,e.prev=3,r=JSON.parse(t.data),a=Object.values(r).map((function(e){var n=e.name,t=e.extension,r=e.relativePath,a=e.absolutePath,c=0===t.indexOf(".")?t.slice(1):t,o=n.slice(0,-t.length);return{fileName:o,extension:c,relativePath:r.split("\\").filter(u["identity"]).join("/"),fullPath:a}})),e.abrupt("return",a);case 9:return e.prev=9,e.t0=e["catch"](3),e.abrupt("return",[]);case 12:case"end":return e.stop()}}),e,null,[[3,9]])})));return function(n){return e.apply(this,arguments)}}()),chooseFiles:w(Object(a["a"])(regeneratorRuntime.mark((function n(){var t,r,a,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(r=n.sent,a=r.canceled,c=r.filePaths,!a){n.next=7;break}return n.abrupt("return",null);case 7:return n.abrupt("return",c);case 8:case"end":return n.stop()}}),n)})))),chooseFolders:w(Object(a["a"])(regeneratorRuntime.mark((function n(){var t,r,a,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(r=n.sent,a=r.canceled,c=r.filePaths,!a){n.next=7;break}return n.abrupt("return",null);case 7:return n.abrupt("return",c);case 8:case"end":return n.stop()}}),n)})))),uploadFile:w(function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(n){var t,c,d,f,m,b,k,g,v,w,O,C,j,I,N,S,x,P,_,L,E,R,A,G,T;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=n.creator,c=n.projectId,d=n.projectName,f=n.folderId,m=n.folderName,b=n.folderLevelId,k=n.distFileRelativePath,g=void 0===k?"":k,v=n.fileName,w=n.fileExtension,O=n.sourceFilePath,C=n.fileList,j=n.onSuccess,I=n.onProgress,N=void 0===I?u["identity"]:I,S=n.onError,x=void 0===S?u["identity"]:S,P=n.successAllHandler,_=n.totalReadyUploadNum,L=n.tempNumWrap,E=w?"".concat(v,".").concat(w):v,R="".concat(m).concat(g?"/".concat(g):""),A=C.find((function(e){return g===e.relativePath&&"".concat(e.archName).concat(e.extension?".".concat(e.extension):"")===E})),G=A?Object(i["c"])(Object(r["a"])(Object(r["a"])({},A),{},{ModifyUserId:sessionStorage.userId})):{ArchName:v,CreateUserId:sessionStorage.userId,Extension:w,FolderId:f,FolderLevelId:b,Id:"upload:".concat("".concat(Math.random()).slice(2,8)),ProjId:c,RelativePath:g,Status:1,Version:1},N({process:0},G),T=function e(){var n=function(){if(p=p.filter((function(n){return n!==e})),h.length){var n=h.shift();p.push(n),n()}x.apply(void 0,arguments)},c=function(){if(p=p.filter((function(n){return n!==e})),h.length){var n=h.shift();p.push(n),n()}j.apply(void 0,arguments)},u=y("upload"),l="";u.on("open",Object(a["a"])(regeneratorRuntime.mark((function e(){var n,r,a,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!A){e.next=5;break}return e.next=3,Object(o["b"])("file/queryProjArchiveHistoryTbByArchId",{archId:A.id});case 3:n=e.sent,l=Object(i["b"])(n.Data||{}).currentIpfsCid||"";case 5:r="",a=!1,c=[O,E,d,R.replace(/\//g,"\\"),l,r,t,a].join("|"),u.send(c),N({process:0},G);case 9:case"end":return e.stop()}}),e)})))),u.on("message",function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var a,d,f,p,h,m,b,k;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("-1"!==t.data){e.next=4;break}return i["d"].error("文件上传失败"),n(t,G),e.abrupt("return");case 4:if("-2"!==t.data){e.next=8;break}return i["d"].error("请先关闭本地文件后再上传"),n(t,G),e.abrupt("return");case 8:if(e.prev=8,a=JSON.parse(t.data),d=a.size,f=a.process,p=a.hash,h=a.commitHistoryHash,m=a.version,N(a,G),100===f&&p){e.next=14;break}return e.abrupt("return");case 14:return u.close(),G.FileSize=+d,G.IpfsCid=p,b=Object(r["a"])({},G),A||delete b.Id,A?(b.HistoryCurrentIpfsCid=h,b.HistoryPreIpfsCid=l,b.Version=m):b.HistoryCurrentIpfsCid=h,e.next=22,Object(o["b"])("file/".concat(A?"updateFile":"addFile"),b);case 22:if(k=e.sent,Object(o["c"])(k),0===k.Code){e.next=27;break}return n(k,G),e.abrupt("return");case 27:L.tempNumCount+=1,L.tempNumCount==_&&(s["default"].prototype.$notify({type:["success","upload"],title:"文件上传成功",message:"".concat(G.ArchName)}),P()),c(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)}}()),u.on("error",(function(e){n(e,G)}))},p.length>=l?h.push(T):(p.push(T),T());case 9:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()),updateFile:w((function(e){var n=e.file,t=e.localFilePathPrefix,r=e.projectName,c=e.relativePath,s=e.historyPreIpfsCid,d=e.note,l=e.creator,f=e.milestone,p=e.isConflict,h=e.onSuccessHandler,m=e.onProgressHandler,b=void 0===m?u["identity"]:m,k=e.onErrorHandler,g=void 0===k?u["identity"]:k,v=y("upload"),w=n.archName,O=n.extension,C=(n.id,"".concat(w).concat(O?".".concat(O):"")),j="".concat(t,"\\").concat(c,"\\").concat(C);v.on("open",(function(){var e=[j,C,r,c,s,d,l,f].join("|");v.send(e)})),v.on("message",function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var r,a,c,d,l,f,m,k;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("-1"!==t.data){e.next=4;break}return i["d"].error("文件上传失败"),g(t),e.abrupt("return");case 4:if("-2"!==t.data){e.next=8;break}return i["d"].error("请先关闭本地文件后再上传"),g(t),e.abrupt("return");case 8:if(e.prev=8,r=JSON.parse(t.data),console.log("progressData"),a=r.size,c=r.process,d=r.hash,l=r.commitHistoryHash,f=r.version,b(r),100===c&&d){e.next=15;break}return e.abrupt("return");case 15:return v.close(),m=Object(i["c"])(Object(u["cloneDeep"])(n)),m.ModifyUserId=sessionStorage.userId,m.HistoryPreIpfsCid=s,m.HistoryCurrentIpfsCid=l,p||(m.Size=+a,m.IpfsCid=d,m.Version=f),e.next=23,Object(o["b"])("file/updateFile",m);case 23:return k=e.sent,Object(o["c"])(k),p&&(m.Size=+a,m.IpfsCid=d,m.Version=f),h(m),e.abrupt("return");case 30:e.prev=30,e.t0=e["catch"](8),console.error("socket-update-file parse data have error:",t);case 33:case"end":return e.stop()}}),e,null,[[8,30]])})));return function(n){return e.apply(this,arguments)}}()),v.on("error",(function(e){g(e,n)}))})),queryCommitHistory:w((function(e,n,t){var r=y("queryCommitHistory");r.on("open",(function(){r.send([e,n].join("|"))})),r.on("message",(function(e){if("-1"===e.data)return i["d"].error("查询历史文件失败"),void t([]);var n=JSON.parse(e.data),r=Object.values(n);t(r)}))})),editCommitHistoryMilestone:w((function(e,n,t,r,a){var c=y("editCommitHistoryMilestone");c.on("open",(function(){c.send([e,n,t,r].join("|"))})),c.on("message",(function(e){if("-1"!==e.data){var n=e.data;console.log("lcb",n),a(n)}else i["d"].error("设置里程碑失败")}))})),openFile:w((function(n){var t=e.electron.shell;t.openPath(n)})),openFolder:w((function(n){var t=e.electron.shell;t.showItemInFolder(n)}))};n["a"]=O}).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,"d",(function(){return i})),t.d(n,"a",(function(){return u}));t("99af"),t("13d5"),t("fb6a"),t("4fad"),t("d3b7");var r=t("3835"),a=t("2b0e");function c(e){return Object.entries(e).reduce((function(e,n){var t=Object(r["a"])(n,2),a=t[0],c=t[1];return e["".concat(a[0].toLocaleLowerCase()).concat(a.slice(1))]=c,e}),{})}function o(e){return Object.entries(e).reduce((function(e,n){var t=Object(r["a"])(n,2),a=t[0],c=t[1];return e["".concat(a[0].toLocaleUpperCase()).concat(a.slice(1))]=c,e}),{})}var i={success:function(e,n){a["default"].prototype.$notify({title:n,message:e,type:["success"],duration:2500})},error:function(e,n){a["default"].prototype.$notify({title:n,message:e,type:["error"],duration:2500})},warning:function(e,n){a["default"].prototype.$notify({title:n,message:e,type:["warning"],duration:2500})}};function u(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 r=t("2b0e"),a=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:"流程模板 | 样板文件"};r["default"].use(a["a"]);var o=new a["a"]({mode:"hash",routes:[{path:"/",name:"login",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-8252b0ee")]).then(t.bind(null,"9ed6"))}},{path:"/demo",name:"demo",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-1f4d12f6")]).then(t.bind(null,"46a4"))}},{path:"/projdetail",name:"projdetail",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-57cedbde"),t.e("chunk-6e4601e4"),t.e("chunk-09fc4146")]).then(t.bind(null,"6e0a"))}},{path:"/watch",name:"watch",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-1165d335")]).then(t.bind(null,"1670"))}},{path:"/notification",name:"notification",component:function(){return Promise.resolve().then(t.bind(null,"d2ad"))}},{path:"/newproject",name:"newproject",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-541eb54c")]).then(t.bind(null,"a341"))}},{path:"/watchlink",name:"watchlink",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-60c8f103")]).then(t.bind(null,"80fb"))}},{path:"/platform",name:"platform",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-6f87105f")]).then(t.bind(null,"0a7f"))}},{path:"/index",name:"index",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-57cedbde"),t.e("chunk-6e4601e4"),t.e("chunk-90593496")]).then(t.bind(null,"47c5"))}},{path:"/projnotice",name:"projnotice",component:function(){return t.e("chunk-2d0a3394").then(t.bind(null,"00ec"))}},{path:"/email",name:"email",component:function(){return t.e("chunk-2d0ac90d").then(t.bind(null,"19a0"))}},{path:"/workspace",name:"workspace",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-57cedbde"),t.e("chunk-d7352fc8"),t.e("chunk-653c31ce")]).then(t.bind(null,"3b2f"))}},{path:"/recycle",name:"recycle",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-4a29caee")]).then(t.bind(null,"c11e"))}},{path:"/history",name:"history",component:function(){return Promise.all([t.e("chunk-d7352fc8"),t.e("chunk-2faa6b7a")]).then(t.bind(null,"a2d2"))}},{path:"/company",name:"company",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-2627340f")]).then(t.bind(null,"db21"))},redirect:{name:"company_home"},children:[{path:"home",name:"company_home",component:function(){return t.e("chunk-309e49e4").then(t.bind(null,"345a"))}},{path:"message",name:"company_message",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-2d0cf6a4")]).then(t.bind(null,"642b"))}},{path:"user",name:"company_user",component:function(){return t.e("chunk-0dd08121").then(t.bind(null,"29c0"))}},{path:"project",name:"company_project",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-038ce22f")]).then(t.bind(null,"e984"))}},{path:"template",name:"company_template",component:function(){return t.e("chunk-84f66ece").then(t.bind(null,"4083"))}},{path:"template/detail",name:"company_template_detail",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-1387bf96")]).then(t.bind(null,"df39"))}},{path:"template/market",name:"company_template_market",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-d1bd5818")]).then(t.bind(null,"be38"))}},{path:"setting",name:"company_setting",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-1fe39068")]).then(t.bind(null,"cda4"))}},{path:"app",name:"company_app",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-2d0b3688")]).then(t.bind(null,"27f3"))}}]},{path:"/template",name:"template",component:function(e){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-1f7519e6")]).then(function(){var n=[t("65b7")];e.apply(null,n)}.bind(this)).catch(t.oe)},redirect:{name:"template_console"},children:[{path:"console",name:"template_console",component:function(){return t.e("chunk-d4bc3576").then(t.bind(null,"8875"))}},{path:"console/detail",name:"template_console_detail",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-edf65c70")]).then(t.bind(null,"ccf7"))}},{path:"console/create",name:"template_console_create",component:function(e){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-15f86d65")]).then(function(){var n=[t("1fab7")];e.apply(null,n)}.bind(this)).catch(t.oe)}}]},{path:"/system",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-d4e6d2d8")]).then(t.bind(null,"f364"))},redirect:{name:"system_customer"},children:[{path:"customer",name:"system_customer",component:function(){return t.e("chunk-3e45e24c").then(t.bind(null,"f851"))}},{path:"template",name:"system_template",component:function(){return t.e("chunk-c54a701e").then(t.bind(null,"81b5"))}},{path:"runmanage",name:"system_runmanage",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-11067227")]).then(t.bind(null,"d798"))}},{path:"template/matrix",name:"system_template_matrix",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-3b425bf2")]).then(t.bind(null,"2275"))}},{path:"template/mind",name:"system_template_mind",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-63477c88"),t.e("chunk-50f34397")]).then(t.bind(null,"bccc"))}},{path:"template/tempfile",name:"system_template_file",component:function(){return t.e("chunk-28990618").then(t.bind(null,"f1f7"))}},{path:"appcenter",name:"system_appcenter",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-2d0e148e")]).then(t.bind(null,"7a7e"))}},{path:"appinfo",name:"system_appinfo",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-2d21b850")]).then(t.bind(null,"bfb8"))}},{path:"setting",name:"system_setting",component:function(){return Promise.all([t.e("chunk-7d913a8a"),t.e("chunk-1fe40532")]).then(t.bind(null,"ddca"))}},{path:"*",redirect:{name:"system_customer"}}]},{path:"*",name:"notfound",component:function(){return t.e("chunk-15a37012").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 r=t("2b0e"),a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("router-view",{ref:"mainpage",staticClass:"mt-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.06.02 11:21"),null!=document.getElementById("Loading")&&null!=document.getElementById("Loading").nodeName&&""!=document.getElementById("Loading").nodeName&&document.body.removeChild(document.getElementById("Loading")),"login"!=this.$route.name&&"notfound"!=this.$route.name&&"platform"!==this.$route.name||(this.header_show=!1),this.isClient&&(o["a"].keepLiveTest((function(n){e.onlineStatus=n,e.$store.changeGatewayState(n),sessionStorage.setItem("isOnLine",String(n&&navigator.onLine))}),(function(n){e.$store.state.isMaxWindowSize=n})),o["a"].subscribeGatewayMessage())},computed:{setMarginTop:function(){return this.isClient||"workspace"==this.$route.name},currentRoutePath:function(){return this.$route.path}},mounted:function(){window.addEventListener("scroll",this.handleScroll,!0)},methods:{handleScroll:function(){},showOption:function(){this.showIndexOption=!0},showHelp:function(){this.showHelpPage=!0},closeShowOption:function(){this.showIndexOption=!1,this.showHelpPage=!1},closeWorkSet:function(){"workspace"==this.$route.name&&this.$refs["mainpage"].closeAppManagePain()},getSearchName:function(e){this.searchName=e},getIsShowOutWorkSpace:function(e){this.outWorkSpace=!1,this.isShowOutWorkSpace=e},getOutWorkSpace:function(e){this.outWorkSpace=e}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)},watch:{$route:function(e){this.mypath=e.path},currentRoutePath:function(e){e.indexOf("projdetail")>=0?document.body.classList.add("set-bgc"):document.body.classList.remove("set-bgc")}}},u=i,s=(t("5c0b"),t("c864"),t("6964"),t("2877")),d=Object(s["a"])(u,a,c,!1,null,"717d06a7",null),l=d.exports,f=t("41cb"),p=t("5c96"),h=t.n(p),m=(t("0fae"),t("96cf"),t("1da1")),b=t("b775"),k=t("0f13"),g=t("3de1"),y=function(){return{gatewayState:!1,isMaxWindowSize:!1,client: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"),r=JSON.parse(sessionStorage.getItem("platform")||"{}");n&&n.accountId&&(e.isLogin=!0,Object.assign(e,n),e.currentCompanyId=t,e.currentPlatform=r)}catch(a){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 r(){var a,c,o,i,u,s,d,l,f,p,h,m,y,v,w,O,C,j,I,N,S;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,Object(b["b"])("authentication/login",{UserName:e,PassWord:n});case 2:if(a=r.sent,c=0===a.Code,c){r.next=6;break}return r.abrupt("return",a);case 6:if(t.state.isLogin=!0,o=Object(g["b"])(a.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){r.next=18;break}f.push(Object(k["d"])(k["b"].MANAGE_CENTER,i,"LOCKING 总后台",void 0,[])),r.next=30;break;case 18:return r.next=20,Object(b["b"])("company/queryFrontDeskCompanyById",{id:i});case 20:if(y=r.sent,0===y.Code){r.next=23;break}return r.abrupt("return",y);case 23:v=y.Data,w=void 0===v?{}:v,O=w.company,C=O.LogoUrl,j=O.CompanyName,I=O.ServiceProviderStatus,N=O.SoftwareVersion,S=[],1==I&&f.push(Object(k["d"])(k["b"].TEMPLATE_CONSOLE,i,j,C,[])),m&&S.push(k["a"].CompanyConsole),1===d&&S.push(k["a"].ProjectManager),f.push(Object(k["d"])(k["b"].COMPANY,i,j,C,S,{softwareVersion:N}));case 30: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),r.abrupt("return",{Code:a.Code,Data:p});case 37:case"end":return r.stop()}}),r)})))()},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"),j=t("a78e"),I=t.n(j),N=t("5ab9"),S=function(e){return Object(N["a"])(e)||"/static/img/avator_default.svg"},x=function(e,n){var t="avator"===n?"/static/img/avator_default.svg":"";return Object(N["a"])(e)||t},P=t("cee5"),_=t.n(P),L=function(e){return _()(e)},E=t("caf9"),R=t("32ed"),A=t.n(R),G=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"}]})},T=[],$={props:{src:String}},M=$,F=Object(s["a"])(M,G,T,!1,null,null,null),K=F.exports,W=(t("856b"),t("d903"),t("c610"),t("935a"),t("51b0"),t("53be"),t("1f94"),t("d2ad")),H=r["default"].extend(W["default"]),B=document.createElement("div");B.style="position: fixed; right: 32px; top: 68px;z-index:99999",document.body.appendChild(B);var z=function(e){var n=new H({propsData:e});n.vm=n.$mount(),B.appendChild(n.vm.$el)},D=z;r["default"].use(h.a),r["default"].use(E["a"]),r["default"].use(C["a"]),r["default"].prototype.$cookie=I.a,r["default"].component("ImgLazy",K),r["default"].prototype.$axios=b["a"],r["default"].prototype.$fetch=b["a"],r["default"].prototype.$fetchApi=b["b"],r["default"].filter("resolveImg",x),r["default"].filter("resolveAvator",S),r["default"].filter("resolveFileSize",L),r["default"].prototype.$bus=new r["default"],r["default"].prototype.$notify=D,r["default"].use(A.a),r["default"].config.productionTip=!1,new r["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 r=t("1da1"),a=t("9b15"),c=t("2ef0"),o=new a({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(r["a"])(regeneratorRuntime.mark((function e(n,t){var r,a,c,u=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=u.length>2&&void 0!==u[2]?u[2]:{},e.prev=1,a=i(n),e.next=5,o.multipartUpload(a,t,r);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),r=n||t.split("/").pop();try{var a=3600,c=o.signatureUrl(t,{expires:a,response:{"content-disposition":'attachment; filename="'.concat(r,'"')}});return setTimeout((function(){l.cache.delete(e)}),1e3*a),c}catch(i){return null}}))},"5b49":function(e,n,t){"use strict";var r=t("1f09"),a=t.n(r);a.a},"5c0b":function(e,n,t){"use strict";var r=t("9c0c"),a=t.n(r);a.a},6964:function(e,n,t){"use strict";var r=t("7dff"),a=t.n(r);a.a},"7cd6":function(e,n,t){},"7dff":function(e,n,t){},"856b":function(e,n,t){},"935a":function(e,n,t){},"99e1":function(e,n,t){"use strict";var r=t("f225"),a=t.n(r);a.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 r=t("3835"),a=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(a["a"])(regeneratorRuntime.mark((function e(n,t,a){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(r["a"])(c,2),u=i[0],s=i[1],e.prev=1,e.next=4,"GET"===u?o.a.get(s,{params:t},a):o.a.post(s,t,a);case 4:return d=e.sent,e.abrupt("return",d.data);case 8:if(e.prev=8,e.t0=e["catch"](1),!e.t0.response||!e.t0.response.status){e.next=16;break}e.t1=e.t0.response.status,e.next=404===e.t1?14:15;break;case 14:return e.abrupt("return",{Code:404,Msg:"找不到指定的服务。"});case 15:return e.abrupt("return",{Code:503,Msg:"服务异常,请稍后再试。"});case 16:return console.error(e.t0),e.abrupt("return",{Code:503,Msg:"服务异常,请稍后再试。"});case 18:case"end":return e.stop()}}),e,null,[[1,8]])}))),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(r["a"])(n,1),a=t[0],c=-1!==["template","project","folder","file","templateCompany","projectLinkInvite","lockingmsg"].indexOf(a)?"pms":"cms",o="api/".concat(c,"/").concat("authentication"===a?"":"v1/").concat(e),i="GET";switch(e){case"authentication/login":case"authentication/passwordCheck":case"company/addCompany":case"company/queryGeneralOverview":case"company/queryProviceTree":case"company/updateCompanyById":case"company/link/addCompanyLink":case"company/link/updateCompanyLink":case"dept/addDept":case"dept/updateDept":case"user/addUser":case"user/resetPassWord":case"user/updateUser":case"template/createTemplate":case"template/fileExchange":case"template/updateTemplate":case"template/uploadingXmind":case"template/addTemplateNodeModelFile":case"template/createNestedRelevance":case"template/connectNestTemplateFolder":case"folder/createSubfolder":case"project/createProject":case"project/editProject":case"project/assignedWork":case"file/addArchMilesStone":case"file/addFile":case"file/updateFile":case"file/fileCoordinationChange":case"file/setShareFile":case"operation/record":case"file/updateProjArchiveHistory":case"templateCompany/addTemplateCompany":case"project/addProjectGobalConfig":case"project/linkProject":case"file/submitDeliverables":case"lockingmsg/markRead":case"file/removeFromRecycleBin":case"file/batchAddFile":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){},c864:function(e,n,t){"use strict";var r=t("7cd6"),a=t.n(r);a.a},d2ad:function(e,n,t){"use strict";t.r(n);var r=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()])},a=[],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,r,a,!1,null,"3a7b0566",null);n["default"]=d.exports},d903:function(e,n,t){},f225:function(e,n,t){}});
\ No newline at end of file
diff --git a/dist/static/js/chunk-038ce22f.ff26257d.js b/dist/static/js/chunk-038ce22f.4926b1b8.js
similarity index 100%
rename from dist/static/js/chunk-038ce22f.ff26257d.js
rename to dist/static/js/chunk-038ce22f.4926b1b8.js
diff --git a/dist/static/js/chunk-09fc4146.b12da9d9.js b/dist/static/js/chunk-09fc4146.b12da9d9.js
new file mode 100644
index 00000000..4468b26b
--- /dev/null
+++ b/dist/static/js/chunk-09fc4146.b12da9d9.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-09fc4146"],{"03e0":function(e,t,s){"use strict";var r=s("c9ee"),i=s.n(r);i.a},"32cb":function(e,t,s){"use strict";var r=s("a8f6"),i=s.n(r);i.a},"6e0a":function(e,t,s){"use strict";s.r(t);var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"proj-detail"},[s("app-header",{attrs:{theme:"basis",isShowTopBar:!0,backBtnTitle:e.isEnterEdit?"":"退出项目编辑",showUserCenter:!1,showBackBtn:!e.isEnterEdit,onBackBtnClick:e.returnToProjListPage}}),s("div",{staticClass:"content-wrap",class:{"set-content-wrap":e.isEnterEdit}},[e.isEnterEdit?e._e():s("div",{staticClass:"graph-left-part"},[s("nodes-viewer",{staticClass:"node-viewer",attrs:{node:e.treeNode}})],1),s("div",{staticClass:"right-part",class:{"set-right-part-width":e.isEnterEdit}},[!e.isShowDistWorkPage&&e.isShowStartProjDesc?s("div",{ref:"projdesc",staticClass:"proj-desc adjust-top-radius"},[s("top-header",{staticClass:"set-header-position header-wrap",class:{"header-bottom-shadow":e.isProjDescScroll},attrs:{showUserCenter:!1}},[s("div",{staticClass:"title",attrs:{slot:"left"},slot:"left"},[e._v("项目概况")]),s("div",{staticClass:"to-distwork-btn",attrs:{slot:"right"},on:{click:function(t){return t.stopPropagation(),e.handleShowDistWorkPage(t)}},slot:"right"},[e._v("开始")])]),s("div",{staticClass:"proj-desc-wrap"},[s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("项目名称")]),e.projectNameEditFlag?s("div",{staticClass:"item-value edit"},[s("el-input",{staticClass:"field-input",attrs:{size:"mini",autofocus:!0},model:{value:e.editingProjectName,callback:function(t){e.editingProjectName=t},expression:"editingProjectName"}}),s("el-button",{attrs:{size:"mini"},on:{click:function(t){return t.stopPropagation(),e.renameProjectName(t)}}},[e._v("确认")]),s("el-button",{attrs:{size:"mini"},on:{click:function(t){t.stopPropagation(),e.projectNameEditFlag=!1}}},[e._v("取消")])],1):s("div",{staticClass:"item-value"},[s("span",{staticStyle:{flex:"1"}},[e._v(e._s(e.nowProject.ProjName))]),e.isProjManager?s("el-button",{staticClass:"float-button",attrs:{size:"mini"},on:{click:function(t){t.stopPropagation(),e.projectNameEditFlag=!0}}},[e._v("编辑")]):e._e()],1)]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("项目负责")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nowProject.ProjCreateUserName))])]),s("div",{staticClass:"item cover-container"},[s("div",{staticClass:"item-title"},[e._v("封面")]),s("div",{staticClass:"item-value cover-img-wrap use-relative",style:e.showBackground(e.coverSrc)},[s("file-uploader",{staticClass:"listUpdateBtn editCoverBtn",attrs:{"on-success":e.coverUploadSuccess}},[s("div",[e._v("编辑")])])],1)]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title proj-main-template"},[e._v("项目主要模板")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nowProject.TempName))])]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("模板负责")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nowProject.TempCreateUserName))])]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("创建时间")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nowProject.ProjCreateTime))])]),e._l(e.listProjProp,(function(t){return s("div",{key:t.TempPropId,staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v(e._s(t.PropertyName?t.PropertyName:"自定义字段"))]),s("div",{staticClass:"item-value"},[e._v(e._s(t.PropValue))])])}))],2)],1):e._e(),e.isShowDistWorkPage&&!e.isShowTemplateSummary?s("div",{staticClass:"distwork-page"},[e.isEnterEdit?s("top-header",{staticClass:"set-header-position header-wrap",class:{"header-bottom-shadow":e.isDistWorkPartScroll},attrs:{title:"指派工作",showUserCenter:!1}},[s("div",{staticClass:"finish-edit-btn",attrs:{slot:"left"},on:{click:function(t){return t.stopPropagation(),e.finishEditClick(t)}},slot:"left"},[e._v("完成编辑")]),s("div",{staticClass:"question",attrs:{slot:"right"},slot:"right"},[s("i",{staticClass:"ques-icon",on:{click:function(t){t.stopPropagation(),e.isShowManagerTips=!e.isShowManagerTips}}}),s("span",{staticClass:"ques-text"},[e._v("了解工作负责人")])])]):s("top-header",{staticClass:"set-header-position header-wrap",class:{"header-bottom-shadow":e.isDistWorkPartScroll},attrs:{backBtnTitle:"项目概况",onBackBtnClick:e.showProjDetailClick,title:e.nowProject.TempName,showUserCenter:!1,showBackBtn:!0}}),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowManagerTips,expression:"isShowManagerTips"}],staticClass:"manager-tips"},[s("i",{staticClass:"close-icon",on:{click:function(t){t.stopPropagation(),e.isShowManagerTips=!e.isShowManagerTips}}}),s("div",{staticClass:"tips-text"},[e._v("工作负责人将有权管理“负责工作中的成员”,点击用户头像变更工作负责人。")])]),s("div",{ref:"distworkpart",staticClass:"part-wrap"},[e.isEnterEdit?e._e():s("div",{staticClass:"template-detail-btn",on:{click:function(t){t.stopPropagation(),e.isShowTemplateSummary=!0,e.isEnterEditPropValue=!1}}},[e._v("模板概况")]),e.isProjManager?s("div",{staticClass:"manager-folder-wrap",class:{"active-folder mb-36":e.isEditProjManager,"only-manager-see folder-click":!e.isEnterEdit}},[s("div",{staticClass:"row-title"},[e._v("项目管理权限")]),s("div",{staticClass:"proj-manager-row use-relative",on:{click:function(t){return t.stopPropagation(),e.activeManagerClick(t)}}},[e.isEnterEdit&&e.isEditProjManager?e._e():s("div",{staticClass:"use-relative ml-4 clear-fix"},[s("div",{staticClass:"use-relative fl"},[s("people-item",{class:{"mr-8":!e.isEnterEdit},attrs:{user:e.currUser,isShowManagerMark:e.isEnterEdit}})],1),s("div",{directives:[{name:"show",rawName:"v-show",value:!e.isEnterEdit,expression:"!isEnterEdit"}],staticClass:"vertical-line"}),s("div",{staticClass:"use-flex fl"},[e.listManagerUser&&e.listManagerUser.length>0?s("div",{staticClass:"use-flex fl"},e._l(e.filterManageFromListUser(e.currUser.id,e.listManagerUser),(function(t){return s("people-item",{key:t.id,attrs:{user:t,isEnterEdit:e.isEnterEdit}})})),1):e._e(),!e.isEnterEdit&&e.isProjCreator?s("people-item",{nativeOn:{click:function(t){return t.stopPropagation(),e.addProjManager(t)}}}):e._e()],1)]),e.isEnterEdit&&e.isEditProjManager?s("div",{staticClass:"use-relative ml-4 use-flex"},[s("temp-selected-user-list",{attrs:{memberList:e.selectedUser},on:{changeManagerClick:e.changeManagerClick,setFirstPeopleToManager:e.setFirstPeopleToManager}})],1):e._e()])]):e._e(),s("plain-folder-list",{staticClass:"plain-folder-list",attrs:{nestNodeList:e.nestNodeList,isEnterEdit:e.isEnterEdit,id:e.userId,lastFolderId:e.lastFolderId,folderList:e.listNewFolder,allManager:e.currUser,allManagerChild:e.listManagerUser,aloneAddUserForFolder:e.aloneAddUserForFolder,aloneAddUserOnlyStaff:e.aloneAddUserOnlyStaff,allChildrenLists:e.allChildrenLists,activeFolderId:e.activeFolderId,selectedUser:e.selectedUser,isProjManager:e.isProjManager}})],1)],1):e._e(),e.isShowTemplateSummary?s("div",{staticClass:"template-summary"},[s("top-header",{staticClass:"set-header-position header-wrap",class:{"header-bottom-shadow":e.isTemplateDescScroll},attrs:{backBtnTitle:"返回",theme:"",onBackBtnClick:e.returnToDistWorkClick,title:e.nowProject.TempName,showUserCenter:!1,showBackBtn:!0}},[e.isProjManager?s("div",{staticClass:"edit-template-btn",attrs:{slot:"right"},on:{click:function(t){return t.stopPropagation(),e.handleEditTemplate(t)}},slot:"right"},[e._v(" "+e._s(e.isEnterEditPropValue?"完成编辑":"修改")+" ")]):e._e()]),Object.keys(e.nowProject).length>0?s("div",{ref:"templatedesc",staticClass:"summary-wrap"},[s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("模板负责")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nowProject.TempCreateUserName))])]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("创建时间")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nowProject.ProjCreateTime))])]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("工程名称")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nowProject.ProjName))])]),e._l(e.listProjProp,(function(t){return s("div",{key:t.TempPropId,staticClass:"item"},[s("div",{staticClass:"item-title",class:{"adjust-title-position":e.isEnterEditPropValue}},[e._v(e._s(t.PropertyName?t.PropertyName:"自定义字段"))]),s("div",{staticClass:"item-value"},[e.isEnterEditPropValue?s("input",{directives:[{name:"model",rawName:"v-model",value:t.PropValue,expression:"prop.PropValue"}],staticClass:"prop-value-input",attrs:{type:"text"},domProps:{value:t.PropValue},on:{input:function(s){s.target.composing||e.$set(t,"PropValue",s.target.value)}}}):s("div",[e._v(e._s(t.PropValue))])])])}))],2):e._e()],1):e._e(),e.isStartEditNestTemp?s("link-project",{attrs:{isTemNestInProp:e.isTemNest,nestNodeFolder:e.nestNodeFolder},on:{enterDistWork:e.enterDistWork}}):e._e()],1),e.isEnterEdit?s("div",{staticClass:"personnel-list-part",class:{"set-personnel-list-width":e.isEnterEdit}},[s("personnel-list",{attrs:{treeList:e.memberTree,selectedKeys:e.selectedMemberKeys},on:{select:e.onSelectMembers}})],1):e._e()]),e.nestNodeFolder?s("el-dialog",{staticClass:"nest-project-modal",attrs:{visible:e.nestProjectModalVisible,center:"",top:"48px",width:"660px"},on:{"update:visible":function(t){e.nestProjectModalVisible=t}},scopedSlots:e._u([{key:"title",fn:function(){return[s("div",{staticClass:"nest-project-modal-title"},[s("span",[e._v(e._s(e.nestNodeFolder.folderName)+"的互链项目")]),s("el-button",{on:{click:function(t){t.stopPropagation(),e.nestProjectModalVisible=!1}}},[e._v("关闭")])],1)]},proxy:!0}],null,!1,1702687869)},[e.nestProjectInfo?s("div",{staticClass:"proj-desc-wrap dialog-detail"},[s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("项目名称")]),s("div",{staticClass:"item-value"},[s("span",{staticStyle:{flex:"1"}},[e._v(e._s(e.nestProjectInfo.projName))])])]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("项目负责")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nestProjectInfo.projCreateUserName))])]),s("div",{staticClass:"item cover-container"},[s("div",{staticClass:"item-title"},[e._v("封面")]),s("div",{staticClass:"item-value cover-img-wrap use-relative",style:e.showBackground(e.nestProjectInfo.showImgUrl)})]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title proj-main-template"},[e._v("项目主要模板")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nestProjectInfo.tempName))])]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("模板负责")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nestProjectInfo.tempCreateUserName))])]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("创建时间")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nestProjectInfo.projCreateTime))])]),e._l(e.nestProjectInfo.customProps||[],(function(t){return s("div",{key:t.TempPropId,staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v(e._s(t.PropertyName?t.PropertyName:"自定义字段"))]),s("div",{staticClass:"item-value"},[e._v(e._s(t.PropValue))])])}))],2):e._e(),s("div",[s("el-button",{staticClass:"remove-button",attrs:{type:"danger",plain:""},on:{click:function(t){return t.stopPropagation(),e.severNestProject(t)}}},[e._v("解除项目互链")])],1)]):e._e()],1)},i=[],a=(s("4de4"),s("7db0"),s("c740"),s("4160"),s("caad"),s("a15b"),s("d81d"),s("fb6a"),s("a434"),s("d3b7"),s("ac1f"),s("2532"),s("3ca3"),s("1276"),s("159b"),s("ddb0"),s("4f96")),n=s("3835"),o=s("5530"),l=s("2909"),c=(s("96cf"),s("1da1")),d=s("5ab9"),h=s("b1f3"),u=s("f96e"),m=s("0558"),p=s("efa4"),f=s("7e1d"),v=s("b386"),g=s("9e5b"),P=s("93d6"),j=s("2ef0"),w=s("8a67"),C=s("3de1"),E=s("a06e"),U=s("b0f9"),k=s("5a0c"),D=s.n(k),S=s("4767"),b=s("de58"),M=s("b775"),I={data:function(){return{nestNodeFolder:{},nestNodeList:[],nowProject:{},listProjProp:[],cnName:"",selectedUser:[],selectedManageUser:[],isShowFirstPage:!0,isShowSecondPage:!1,isShowThreePage:!1,InitData:{},listNewFolder:[],oldFolderList:[],oldPlainFolderList:[],listDept:[],curProjCreatePeop:[],currWorkName:"",newProjFolderIndex:1,tempIndex:0,isShowdivid2:!1,currSelectData:[],currUser:{},isShowManager:!0,listManagerUser:[],oldListManagerUser:[],isProjManager:!1,isProjCreator:!1,currListDeptUserData:[],userList:[],memberTree:[],finishBtnClickCount:0,userId:sessionStorage.userId,allChildrenLists:[],isShowStartProjDesc:!0,isShowTemplateSummary:!1,isShowDistWorkPage:!1,isEnterEdit:!1,distWorkPartEl:null,isDistWorkPartScroll:!1,dlastScrollTime:null,isProjDescScroll:!1,projDescEl:null,isTemplateDescScroll:!1,templateDescEl:null,tlastScrollTime:null,isEditProjManager:!1,activeFolderId:"",activeFolder:null,coverSrc:"/static/img/faceImg/face01.png",isStartEditNestTemp:!1,isTemNest:!1,activeDeptName:"",isShowManagerTips:!1,isEnterEditPropValue:!1,isDistworkDone:!1,isDistworkSuccess:!1,lastFolderId:"",originPropListCopy:[],selectedMemberKeys:[],projectNameEditFlag:!1,editingProjectName:"",treeNode:null,nestProjectInfo:{},nestProjectModalVisible:!1}},components:{AppHeader:u["a"],TopHeader:h["a"],PlainFolderList:m["a"],PeopleItem:p["a"],PersonnelList:f["a"],TempSelectedUserList:v["a"],FileUploader:g["a"],LinkProject:S["a"],NodesViewer:b["a"]},updated:function(){this.$refs.projdesc&&(this.projDescEl=this.$refs.projdesc,this.projDescEl.removeEventListener("scroll",this.watchProjDescScroll),this.projDescEl.addEventListener("scroll",this.watchProjDescScroll)),this.$refs.distworkpart&&(this.distWorkPartEl=this.$refs.distworkpart,this.distWorkPartEl.removeEventListener("scroll",this.watchDistWorkPartScroll),this.distWorkPartEl.addEventListener("scroll",this.watchDistWorkPartScroll)),this.$refs.templateDescEl&&(this.templateDescEl=this.$refs.templatedesc,this.templateDescEl.removeEventListener("scroll",this.watchTemplateDescScroll),this.templateDescEl.addEventListener("scroll",this.watchTemplateDescScroll))},watch:{isEnterEdit:function(e){e&&(this.projectNameEditFlag=!1)},projectNameEditFlag:function(e){e&&(this.editingProjectName=this.nowProject.ProjName)},nestProjectModalVisible:function(e){e||(this.nestProjectInfo={})}},mounted:function(){this.isShowDistWorkPage=this.$route.query.isShowDistworkPage?this.$route.query.isShowDistworkPage:this.isShowDistworkPage,this.isShowStartProjDesc=!this.isShowDistWorkPage,this._getUserInfo(sessionStorage.userId),this.projInfo(sessionStorage.projId),this.cnName=JSON.parse(sessionStorage.user).cnName,this.fetchProjectDetail(),this.getNestNode(sessionStorage.templateID),this.projDescEl=this.$refs.projdesc,this.projDescEl&&this.projDescEl.addEventListener("scroll",this.watchProjDescScroll),this.distWorkPartEl=this.$refs.distworkpart,this.distWorkPartEl&&this.distWorkPartEl.addEventListener("scroll",this.watchDistWorkPartScroll),this.templateDescEl=this.$refs.templatedesc,this.templateDescEl&&this.templateDescEl.addEventListener("scroll",this.watchTemplateDescScroll),this.$bus.$on("enterEditFolderClick",this.enterEditFolderClick),this.$bus.$on("activeFolderClick",this.activeFolderClick),this.$bus.$on("changeManagerClick",this.changeManagerClick),this.$bus.$on("setFirstPeopleToManager",this.setFirstPeopleToManager),this.$bus.$on("enterNestTemp",this.enterNestTemp),this.$bus.$on("checkNestProject",this.checkNestProject)},beforeDestroy:function(){this.projDescEl&&this.projDescEl.removeEventListener("scroll",this.watchProjDescScroll),this.distWorkPartEl&&this.distWorkPartEl.removeEventListener("scroll",this.watchDistWorkPartScroll),this.templateDescEl&&this.templateDescEl.removeEventListener("scroll",this.watchTemplateDescScroll),this.$bus.$off("enterEditFolderClick",this.enterEditFolderClick),this.$bus.$off("activeFolderClick",this.activeFolderClick),this.$bus.$off("changeManagerClick",this.changeManagerClick),this.$bus.$off("setFirstPeopleToManager",this.setFirstPeopleToManager),this.$bus.$off("enterNestTemp",this.enterNestTemp),this.$bus.$off("checkNestProject",this.checkNestProject)},methods:{showBackground:function(e){var t=this.$options.filters["resolveImg"],s=t(e);return{background:"center/cover no-repeat url(".concat(s,")")}},handleShowDistWorkPage:function(){this.isShowDistWorkPage=!0},handleEditTemplate:function(){this.isEnterEditPropValue=!this.isEnterEditPropValue,this.isEnterEditPropValue||(this.originPropListCopy=this.listProjProp,this.$notify({type:["success"],message:"修改模板概况成功"}))},checkNestProject:function(e){var t=this;return Object(c["a"])(regeneratorRuntime.mark((function s(){var r,i,a;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return r=e.nestProjectId,t.nestNodeFolder=e,t.nestProjectModalVisible=!0,s.next=5,E["c"](r);case 5:if(i=s.sent,Object(M["c"])(i),0===i.Code){s.next=9;break}return s.abrupt("return");case 9:a=Object(C["b"])(i.Data||{}),a.projCreateTime=D()(a.projCreateTime).format("YYYY/MM/DD"),t.nestProjectInfo=a;case 12:case"end":return s.stop()}}),s)})))()},severNestProject:function(){var e=this,t=this.nestNodeFolder;this.$confirm("解除互链不会影响双方项目的文件数据,解除后将无法进行文件交付,确定解除吗?",{confirmButtonText:"解除互链关系",cancelButtonText:"取消",type:"danger"}).then(Object(c["a"])(regeneratorRuntime.mark((function s(){var r;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.next=2,e.$fetchApi("project/deleteProjectLink",{folderId:t.id,nestProjectId:t.nestProjectId});case 2:if(r=s.sent,Object(M["c"])(r),0===r.Code){s.next=6;break}return s.abrupt("return");case 6:C["d"].success("互链项目已移除"),e.nestProjectModalVisible=!1,e.fetchProjectDetail();case 9:case"end":return s.stop()}}),s)}))))},enterNestTemp:function(e){this.isShowDistWorkPage=!1,this.isShowStartProjDesc=!1,this.isShowTemplateSummary=!1,this.isStartEditNestTemp=!0,this.isTemNest=!0,this.nestNodeFolder=e},enterDistWork:function(){var e=this;return Object(c["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.isShowDistWorkPage=!0,e.isShowStartProjDesc=!0,e.isShowTemplateSummary=!1,e.isStartEditNestTemp=!1,e.isTemNest=!1,e.fetchProjectDetail();case 6:case"end":return t.stop()}}),t)})))()},returnToProjListPage:function(){this.isDistworkDone&&this.isDistworkSuccess&&this.$notify({message:"工作指派完成。",type:["success"]}),this.$router.push({path:"/index"}).catch((function(e){return console.log(e)}))},getNestNode:function(e){var t=this;return Object(c["a"])(regeneratorRuntime.mark((function s(){var r,i,a,n;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return n=function(e,t){e.forEach(function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(s){var r,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,U["l"](s.TemplateId);case 2:r=e.sent,i=r.Data||[],i.length>0&&t.push.apply(t,Object(l["a"])(i));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},s.next=3,U["l"](e);case 3:r=s.sent,i=r.Data||[],a=Object(l["a"])(r.Data),n(i,a),t.nestNodeList=a;case 8:case"end":return s.stop()}}),s)})))()},projInfo:function(e){var t=this;return Object(c["a"])(regeneratorRuntime.mark((function s(){var r;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.next=2,E["c"](e);case 2:if(r=s.sent,-1!=r.Code){s.next=6;break}return t.$notify({type:["error"],message:"项目概况信息查询失败"}),s.abrupt("return");case 6:t.nowProject=r.Data||{},t.nowProject.ProjCreateTime=D()(t.nowProject.ProjCreateTime).format("YYYY/MM/DD"),t.nowProject=Object(o["a"])({},t.nowProject),t.listProjProp=r.Data.CustomProps||[],t.listProjProp=Object(l["a"])(t.listProjProp),t.originPropListCopy=Object(j["cloneDeep"])(t.listProjProp),t.coverSrc=r.Data.ShowImgUrl;case 13:case"end":return s.stop()}}),s)})))()},renameProjectName:function(){var e=this;return Object(c["a"])(regeneratorRuntime.mark((function t(){var s,r,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=e.editingProjectName,r={ProjId:sessionStorage.projId,ProjName:s,ImgUrl:e.coverSrc},t.next=4,Object(E["b"])(r);case 4:if(i=t.sent,-1!=i.Code){t.next=8;break}return e.$notify({message:"修改失败",type:"success"}),t.abrupt("return");case 8:e.projectNameEditFlag=!1,e.nowProject.ProjName=s;case 10:case"end":return t.stop()}}),t)})))()},coverUploadSuccess:function(e){var t=this;return Object(c["a"])(regeneratorRuntime.mark((function s(){var r,i,a;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return r=Object(d["c"])(e.ossUrl),t.coverSrc=r,i={ProjId:sessionStorage.projId,ImgUrl:t.coverSrc,ProjName:t.nowProject.ProjName},s.next=5,Object(E["b"])(i);case 5:a=s.sent,-1==a.Code&&t.$notify({message:"封面修改失败。",type:"success"});case 7:case"end":return s.stop()}}),s)})))()},setSystemCoverRandom:function(){},returnToDistWorkClick:function(){var e=this;this.isEnterEditPropValue?this.$confirm("是否保存当前项目的模板概况信息","",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(c["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.isShowTemplateSummary=!1,e.originPropListCopy=e.listProjProp;case 2:case"end":return t.stop()}}),t)})))).catch((function(){e.listProjProp=e.originPropListCopy})):this.isShowTemplateSummary=!1},showProjDetailClick:function(){this.isShowDistWorkPage=!1,this.isShowStartProjDesc=!0},setFirstPeopleToManager:function(e){0==this.selectedManageUser.length&&0!==this.selectedUser.length&&this.selectedManageUser.push(e)},filterManageFromListUser:function(e,t){return t.filter((function(t){return t.id!==e}))},watchProjDescScroll:function(){this.isProjDescScroll=this.projDescEl.scrollTop>0},watchTemplateDescScroll:function(){this.isTemplateDescScroll=this.templateDescEl.scrollTop>0},watchDistWorkPartScroll:function(){this.isDistWorkPartScroll=this.distWorkPartEl.scrollTop>0},activeManagerClick:function(){this.isProjCreator&&(this.isEditProjManager=!0,this.enterEditOperate(),this.activeFolderId="",this.activeFolder=null,this.addProjManager())},activeFolderClick:function(e){this.isEditProjManager=!1,this.activeFolderId=e.id,this.activeFolder=e,e.listUser&&0==e.listUser.length?this.aloneAddUserForFolder(e):this.aloneAddUserOnlyStaff(e)},enterEditFolderClick:function(e){this.activeFolderId=e.id,this.activeFolder=e,this.enterEditOperate()},enterEditOperate:function(){this.isEnterEdit=!0},finishEditClick:function(){this.isDistworkDone=!0,this.isEnterEdit=!1,this.selectedManageUser=[],this.selectedUser=[],this.isEditProjManager&&(this.isEditProjManager=!1),this.createFolders(),this.activeDeptName=""},addProjMangerBtnClick:function(){this.isEditProjManager=!0,this.enterEditOperate()},_getUserInfo:function(e){var t=this;return Object(c["a"])(regeneratorRuntime.mark((function s(){var r;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,Object(P["f"])(e);case 3:return s.sent,s.next=6,Object(P["f"])(sessionStorage.createUserID);case 6:r=s.sent,t.curProjCreatePeop=r.cnName+" 指派了新工作,请完成工作指派",1==sessionStorage.allocated&&(t.curProjCreatePeop="项目管理"),s.next=14;break;case 11:s.prev=11,s.t0=s["catch"](0),console.log(s.t0);case 14:case"end":return s.stop()}}),s,null,[[0,11]])})))()},isAllowedDelete:function(e){return!(!this.listManagerUser.includes(e)&&this.currUser.id!==e.id&&this.InitData.manageUser&&this.InitData.manageUser.length>0&&this.InitData.manageUser[0].id==sessionStorage.userId&&!this.allChildrenLists.includes(this.InitData)&&e.id==this.InitData.manageUser[0].id)},changeManagerClick:function(e){var t=this;if(this.isEditProjManager)this.$notify({message:"项目负责人无法更换。",type:"warning",offset:100,duration:5e3});else{var s=this.listManagerUser.map((function(e){return e.id}))||[];!s.includes(sessionStorage.userId)&&this.currUser.id!==sessionStorage.userId&&this.InitData.manageUser&&this.InitData.manageUser.length>0&&this.InitData.manageUser[0].id==sessionStorage.userId&&!this.allChildrenLists.includes(this.InitData)?this.$notify({message:"没有权限更换工作负责人。",type:"warning",offset:100,duration:5e3}):this.selectedUser.forEach((function(s){s.folderPerm=s.id===e.id?2:1,2===s.folderPerm&&t.InitData&&t.InitData.manageUser&&t.InitData.manageUser.splice(0,1,s)}))}},aloneAddUserForFolder:function(e){this.currSelectData=e,this.currWorkName=e.folderName,null==e.listUser&&(e.listUser=[]),this.InitData=e,this.setFolderPerm(e),this.selectedUser=e.listUser,this.selectedManageUser=e.manageUser,this.isShowSecondPage=!0,this.isShowFirstPage=!1},setFolderPerm:function(e){var t=e.listUser;this.selectedMemberKeys=t.map((function(e){return e.id}))},aloneAddUserOnlyStaff:function(e){this.isShowManager=!0,this.currWorkName=e.folderName,null==e.listUser&&(e.listUser=[]),this.InitData=e,this.setFolderPerm(e),this.selectedUser=e.listUser,this.selectedManageUser=e.manageUser,this.isShowThreePage=!0,this.isShowFirstPage=!1},addProjManager:function(){var e=this;this.activeFolderId="",this.isEditProjManager=!0,this.enterEditOperate(),this.isShowManager=!1;var t={listUser:[]};t.listUser=this.listManagerUser;var s=t.listUser.find((function(t){return t.id===e.currUser.id}));s&&0!=t.listUser.length||(this.currUser.folderPerm=2,t.listUser.unshift(this.currUser)),this.setFolderPerm(t),this.selectedUser=t.listUser,this.selectedManageUser=this.listManagerUser},onSelectMembers:function(e,t){var s=this,r=Object(l["a"])(this.selectedMemberKeys);e.forEach((function(e){var i=Object(j["cloneDeep"])(e.data),a=function(){s.checkDeptUserName(i,t),i.folderPerm=1,1==s.selectedUser.length&&1==t&&(i.folderPerm=2)};if(t){if(r.find((function(t){return t===e.id})))return;return r.push(e.id),void a()}if(s.isAllowedDelete(i))if(s.isEditProjManager&&i.id===s.currUser.id)s.$notify({message:"不可以移除项目创建者。",type:"warning",offset:100,duration:5e3});else{if(r=r.filter((function(e){return i.id!==e})),s.activeFolder&&s.activeFolder.manageUser.find((function(e){return e.id===i.id})))return s.removeManageUser(i),void s.activeFolder.manageUser.splice(0);if(s.isEditProjManager){var n=s.listManagerUser.findIndex((function(e){return e.id===i.id}));n>-1&&s.listManagerUser.splice(n,1)}a()}else s.$notify({message:"不能移除自己。",type:"warning",offset:100,duration:5e3})})),this.selectedMemberKeys=r},removeManageUser:function(e){e.folderPerm=1,this.selectedManageUser.splice(0,1);for(var t=0;t0&&(e.manageUser[0].folderPerm=2,e.listUser.unshift(e.manageUser[0])),e.listChildren&&e.listChildren.length>0&&t.getfolderPerm(e.listChildren)}))},getPlainOldFolderList:function(){var e=[];function t(s){s.length>0&&s.forEach((function(s){e.push(s),s.listChildren&&s.listChildren.length>0&&t(s.listChildren)}))}t(this.oldFolderList),this.oldPlainFolderList=e,this.lastFolderId=this.oldPlainFolderList[this.oldPlainFolderList.length-1].id},fetchProjectDetail:function(){var e=this;return Object(c["a"])(regeneratorRuntime.mark((function t(){var s,r,i,a,o,l,c,d,h,u,m,p;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=e.$store.state.currentCompanyId,t.next=3,Promise.all([e.$fetchApi("folder/queryNodeFolderListByProjectId",{projectId:sessionStorage.projId}),Object(w["a"])(s)]);case 3:r=t.sent,i=Object(n["a"])(r,2),a=i[0],o=i[1],l=o.treeList,c=o.memberMap,d=a.Data||{},h=d.folder,u=d.manager,e.memberTree=l,e.listManagerUser=u.map((function(e){var t;return null===(t=c[e.UserId])||void 0===t?void 0:t.data})),e.listManagerUser.length&&(e.currUser=e.listManagerUser[0]||{},e.isProjCreator=e.currUser.id===e.userId,e.listManagerUser=e.listManagerUser.slice(1),e.isProjManager=!!e.listManagerUser.find((function(t){return t.id==e.userId}))||e.currUser.id==e.userId),e.oldListManagerUser=Object(j["cloneDeep"])(e.listManagerUser),m=Object(j["uniqBy"])(h,"Id"),p=N(m,c),e.treeNode=_(m),e.getfolderPerm(p),e.listNewFolder=p,e.oldFolderList=Object(j["cloneDeep"])(e.listNewFolder),e.getPlainOldFolderList(),e.getAllChildrenLists(e.listNewFolder,e.userId,e.allChildrenLists);case 22:case"end":return t.stop()}}),t)})))()},getChildren:function(e,t){var s=this;e.forEach((function(e){t.push(e),e.listChildren.length>0&&s.getChildren(e.listChildren,t)}))},getAllChildrenLists:function(e,t,s){var r=this;e.forEach((function(e){e.manageUser.length>0&&e.manageUser[0].id==t&&e.listChildren&&e.listChildren.length>0&&r.getChildren(e.listChildren,s)}))},createFolders:function(){var e=this;return Object(c["a"])(regeneratorRuntime.mark((function t(){var s,r,i,a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=function(e){e.length>0&&e.forEach((function(e){var t={FolderId:"",ManagerUserId:"",GeneralId:"",OldManager:"",OldGeneralId:""};t.FolderId=e.id;var a=[];t.ManagerUserId=e.manageUser.length>0?e.manageUser.map((function(e){return a.push(e.id),e.id})).join(","):"";var n=e.listUser.filter((function(e){return!a.includes(e.id)}));t.GeneralId=e.listUser.length>0?n.map((function(e){return e.id})).join(","):"";var o=r.find((function(t){return t.id==e.id})),l=o.manageUser.length>0?o.manageUser[0].id:"";t.OldManager=l,t.OldGeneralId=o.listUser.length>0?o.listUser.filter((function(e){return e.id!==l})).map((function(e){return e.id})).join(","):"",s.Work.push(t),i(e.listChildren)}))},s={Id:sessionStorage.createUserID,ProjId:sessionStorage.projId,ProjectManagerId:"",OldProjectManagerId:e.oldListManagerUser.map((function(e){return e.id})).join(","),Work:[]},s.ProjectManagerId=e.listManagerUser.length>0?e.listManagerUser.map((function(e){if(e.id!==sessionStorage.createUserID)return e.id})).join(","):"",r=e.oldPlainFolderList,i(e.listNewFolder),t.next=7,Object(E["a"])(s);case 7:a=t.sent,n=e,0===a.Code?(e.isDistworkSuccess=!0,e.oldFolderList=Object(j["cloneDeep"])(e.listNewFolder),e.getPlainOldFolderList()):(e.isDistworkSuccess=!1,n.$notify({message:"服务器异常,工作指派失败。",type:["error"],duration:5e3}));case 10:case"end":return t.stop()}}),t)})))()}}};function N(e,t){var s=Object(a["a"])(e),r=s[0],i=(s[1],s.slice(2)),n=r.Id,l=[],c={};return i.forEach((function(e){var s=Object(C["b"])(e);c[s.id]=s,s.listChildren=[],s.listUser=s.oldGeneralId.split(",").filter((function(e){return e&&t[e]})).map((function(e){return Object(o["a"])({},t[e].data)})),s.manageUser=("0"===s.oldManager?"":s.oldManager).split(",").filter((function(e){return e&&t[e]})).map((function(e){return Object(o["a"])({},t[e].data)}));var r=s.superId;if(r!==n){var i=c[r];i&&i.listChildren.push(s)}else l.push(s)})),l}function _(e){var t=null,s={};return e.forEach((function(e){if("0"!==e.NodeId){var r=e.LevelId,i={id:e.Id,levelId:r,topic:e.FolderName};if(s[i.levelId]=i,i.levelId===e.FirstFolderId)return t=i,void(t.levelId=t.id);var a=e.LevelId.split("_").slice(0,-1).join("_"),n=s[a];n&&(n.children||(n.children=[]),n.children.push(i))}})),t}var F=I,T=(s("03e0"),s("32cb"),s("2877")),y=Object(T["a"])(F,r,i,!1,null,"41299aa1",null);t["default"]=y.exports},a8f6:function(e,t,s){},c9ee:function(e,t,s){},de58:function(e,t,s){"use strict";var r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{ref:"mindDom",staticClass:"nodes-viewer",style:{width:e.width,height:e.height},attrs:{id:e.domId},on:{mousewheel:function(t){return t.stopPropagation(),e.onWheel(t)}}})},i=[],a=(s("fb6a"),function(){return"xmind_".concat("".concat(Math.random()).slice(2,8))}),n=window.jsMind,o={props:{node:{type:Object,default:null},width:{type:String,default:""},height:{type:String,default:""}},data:function(){return{domId:a(),mindIns:null,domMindInner:null,zoom:1}},mounted:function(){this.init()},watch:{node:function(e){e&&this.show()}},methods:{init:function(){var e={container:this.domId,editable:!1,theme:"",mode:"side",support_html:!1,view:{engine:"canvas",hmargin:100,vmargin:50,line_width:1,line_color:"#cccdd7"}},t=new n(e);t.disable_edit(),t.end_edit(),this.mindIns=t,this.node&&this.show()},getMindInnerDom:function(){if(this.domMindInner)return this.domMindInner;if(this.$refs.mindDom){var e=this.$refs.mindDom.querySelector(".jsmind-inner");return this.domMindInner=e,e}},onWheel:function(e){if(e.ctrlKey){e.returnValue=!1;var t=-e.wheelDelta||e.detail,s=this.getMindInnerDom();if(s){var r=this.zoom+(t>0?-.1:.1),i=Math.max(.2,Math.min(r,1.8));this.zoom=i,s.style.zoom=this.zoom}}},show:function(){var e={meta:{name:"mindhh",author:"hh",version:"0.2"},format:"node_tree",data:this.node};this.mindIns.show(e)}}},l=o,c=s("2877"),d=Object(c["a"])(l,r,i,!1,null,"2aa6cc14",null);t["a"]=d.exports}}]);
\ No newline at end of file
diff --git a/dist/static/js/chunk-0dd08121.3b9b74a1.js b/dist/static/js/chunk-0dd08121.3b9b74a1.js
deleted file mode 100644
index ad6bcb07..00000000
--- a/dist/static/js/chunk-0dd08121.3b9b74a1.js
+++ /dev/null
@@ -1 +0,0 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0dd08121","chunk-2d0d2af5"],{"063e":function(e,t,a){},1921:function(e,t,a){},"29c0":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a(e.view,{tag:"component"},[a("div",{staticClass:"adminnavBox",attrs:{slot:"nav"},slot:"nav"},[a("Employees"===e.view?"h3":"span",{tag:"component",on:{click:function(t){e.view="Employees"}}},[e._v(" 组织架构 ")]),a("RelationCompany"===e.view?"h3":"span",{tag:"component",on:{click:function(t){e.view="RelationCompany"}}},[e._v(" 互链企业 ")])],1)])],1)},r=[],i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"layout_content"},[a("section",{staticClass:"title_section"},[a("div",{staticClass:"EC_col_8"},[e._t("nav")],2),a("div",{staticClass:"EC_col_8"},[a("div",{staticClass:"EC_searchBox"},[a("el-input",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],staticClass:"el-input_mini",attrs:{placeholder:"搜索姓名、部门、职位、角色",clearable:""},on:{clear:e.clearSearchUser},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchUser(t)}},model:{value:e.searchCnName,callback:function(t){e.searchCnName=t},expression:"searchCnName"}},[a("template",{slot:"prepend"},[a("i",{staticClass:"Cicon icon font_family icon-icon_sousuo iconsize_mini",on:{click:e.searchUser,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchUser(t)}}})])],2)],1)]),a("div",{staticClass:"EC_col_8"},[a("div",{staticClass:"fr mt-15",staticStyle:{"margin-top":"22px"}},[a("button",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],staticClass:"EC_button normal shadow",on:{click:e.downLoadUserModel}},[e._v(" 下载通讯录模板 ")])])])]),a("section",{staticClass:"yiyun_section houtai"},[a("div",{staticClass:"fl_navBox"},[a("div",{staticClass:"fl_navBox_body"},[a("div",{staticClass:"admin_treeBox navtree"},[a("div",{staticClass:"navtreebox fulltreebox list-company-dept"},[[a("el-tree",{ref:"tree",staticClass:"toptree",attrs:{data:e.listCompanyDept,"node-key":"id","expand-on-click-node":!1,"default-expand-all":"","highlight-current":!0,indent:8},on:{"node-click":e.nodeClick},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.node,r=t.data;return a("span",{staticClass:"custom-tree-node"},[a("span",{staticClass:"easycloudTreeleafe"},[1==r.isLeaf?a("i",{}):e._e(),1==r.isLeaf?a("i",{staticClass:"el-tree-node__expand-icon el-icon-caret-right bianjutop",style:{opacity:0}}):e._e(),0==r.isLeaf?a("i",{}):e._e(),a("div",{staticClass:"treeeditInput fl"},[a("span",{staticClass:"yiyunnodelabel"},[e._v(e._s(s.label))])]),a("div",{staticClass:"fr"},[a("el-dropdown",[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-more morebtn iconmidle"})]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[a("span",{on:{click:function(t){return e.addPartName(r)}}},[e._v("设置子部门")])]),a("el-dropdown-item",[1!=s.level?a("span",{on:{click:function(t){return e.eidtPartName(r)}}},[e._v("编辑部门")]):e._e()]),a("el-dropdown-item",[1!=s.level?a("span",{on:{click:function(t){return e.deleteDept(r)}}},[e._v("删除部门")]):e._e()])],1)],1)],1)])])}}])})]],2)])])]),a("div",{staticClass:"fl_contentBox dept-personnel-list"},[a("div",{staticClass:"admin_contentBox_body"},[1==e.currentPain?a("div",{staticClass:"admin_contentBox_bodyPain"},[a("div",{staticClass:"mlr-10"},[""!=e.searchCnName?a("h4",{staticClass:"admintitle"},[e._v(" "+e._s("["+e.searchCnName+"]查询结果 ("+e.currUserCount+" 人)")+" ")]):e._e(),""==e.searchCnName?a("h4",{staticClass:"admintitle"},[e._v(" "+e._s(e.currentDeptTitle+"("+e.currUserCount+" 人)")+" ")]):e._e()]),e._m(0),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"topOption"},[a("div",{staticClass:"fl"},[a("div",{staticClass:"ecBtngroup"},[a("div",{staticClass:"ecBtngroup_Item"},[a("button",{staticClass:"EC_button shadow bt_small_20 primaryBtn",attrs:{type:"button"},on:{click:e.addUserInfo}},[e._v(" 添加成员 ")])]),a("div",{staticClass:"ecBtngroup_Item"},[a("file-Uploader",{ref:"webUploadExcel",staticClass:"yiyunfile-Uploader ecload",attrs:{multiple:!1,label:"导入通讯录",auto:!0,accept:"xlsx, xls","btn-id":"filePicker",companyId:e.uploadCompId,typeId:e.uploadTypeOther,url:e.chunkUploadUrl},on:{"upload-success":e.excelUploadSuccess}})],1),a("div",{staticClass:"ecBtngroup_Item"},[a("button",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],staticClass:"EC_button bt_small_20",attrs:{type:"button"},on:{click:e.exportUser}},[e._v(" 导出通讯录 ")])]),a("div",{staticClass:"ecBtngroup_Item"},[a("button",{staticClass:"EC_button shadow bt_small_20",class:{notclick:!this.multipleSelection[0]},attrs:{type:"button"},on:{click:e.addDept}},[e._v(" 设置所在部门 ")])]),a("div",{staticClass:"ecBtngroup_Item"},[a("button",{staticClass:"EC_button shadow bt_small_20",class:{notclick:!this.multipleSelection[0]},attrs:{type:"button"},on:{click:e.deleteUsers}},[e._v(" 删除 ")])])])]),a("div",{staticClass:"fr page_button"},[a("span",{staticClass:"finger",on:{click:e.prePage}},[e._v("上一页")]),a("span",[e._v(e._s(e.pageIndex))]),e._v(" / "),a("span",[e._v(e._s(e.pageTotal))]),a("span",{staticClass:"finger",on:{click:e.nextPage}},[e._v("下一页")])])])]),a("div",{staticClass:"clear"}),a("div",{staticClass:"largecontentBox"},[a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"yiyunTable_list mt-10"},[[a("el-table",{staticClass:"listmaxheight userlist_table",staticStyle:{width:"100%"},attrs:{data:e.listUserData},on:{"selection-change":e.changeFun}},[a("el-table-column",{attrs:{type:"selection",width:"38",align:"center"}}),a("el-table-column",{attrs:{prop:"headImgUrl",label:"",width:"55"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"toxiang_box"},[a("img",{staticClass:"imgHead",attrs:{src:e._f("resolveAvator")(t.row.headImgUrl)}})])]}}],null,!1,929877235)}),a("el-table-column",{attrs:{prop:"cnName",label:"姓名",width:"80"}}),a("el-table-column",{attrs:{prop:"deptName",label:"部门",width:"80"}}),a("el-table-column",{attrs:{prop:"position",label:"职位",width:"80"}}),a("el-table-column",{attrs:{prop:"phone",label:"电话"}}),a("el-table-column",{attrs:{prop:"email",label:"邮箱"}}),a("el-table-column",{attrs:{prop:"",width:"80",align:"center",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("button",{staticClass:"EC_button textStrong bt_mini",on:{click:function(a){return e.scanUserInfo(t.row)}}},[e._v(" 查看 ")])]}}],null,!1,2242891039)})],1)]],2)])])]):e._e(),2==e.currentPain?a("div",{staticClass:"admin_contentBox_bodyPain"},[e._m(1),e._m(2),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"topOption"},[a("div",{staticClass:"fl"},[1==e.editButtonGroup?a("div",[a("button",{staticClass:"EC_button shadow bt_small_20",attrs:{type:"button"},on:{click:e.backUserInfo}},[e._v(" 返回 ")]),a("button",{staticClass:"EC_button bt_small_20",attrs:{type:"button"},on:{click:e.editUserInfo}},[e._v(" 编辑 ")]),0==e.currentUser.disable&&1!==e.currentUser.default?a("button",{staticClass:"EC_button bt_small_20",attrs:{type:"button"},on:{click:function(t){return e.disableUserInfo(1)}}},[e._v(" 禁用 ")]):e._e(),1==e.currentUser.disable?a("button",{staticClass:"EC_button bt_small_20",attrs:{type:"button"},on:{click:function(t){return e.disableUserInfo(0)}}},[e._v(" 启用 ")]):e._e(),1!==e.currentUser.default?a("button",{staticClass:"EC_button bt_small_20",attrs:{type:"button"},on:{click:e.deleteUserInfo}},[e._v(" 删除 ")]):e._e()]):e._e(),2==e.editButtonGroup?a("div",[a("button",{staticClass:"EC_button shadow bt_small_20 primaryBtn",attrs:{type:"button"},on:{click:e.modifyUser}},[e._v(" 保存 ")]),a("button",{staticClass:"EC_button bt_small_20",attrs:{type:"button"},on:{click:e.cancerEditUserInfo}},[e._v(" 取消 ")])]):e._e()]),a("div",{staticClass:"fr page_button"})])]),a("div",{staticClass:"clear"}),a("div",{staticClass:"largecontentBox"},[a("div",{staticClass:"yiyunTable_list mt-10"},[a("el-form",{ref:"form",attrs:{rules:e.newUserRules,model:e.currentUser,"label-width":"110px","label-position":"left"}},[a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("基本信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{class:e.el_formLabelcolor+" UserEditinfoBox DivInputHeight DivInputHeight_first noborder"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"姓名",prop:"cnName"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.cnName)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{model:{value:e.currentUser.cnName,callback:function(t){e.$set(e.currentUser,"cnName",t)},expression:"currentUser.cnName"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"用户头像"}},[a("div",{staticClass:"large_headImg"},[a("img",{staticClass:"imgHead",attrs:{src:e._f("resolveAvator")(e.currentUser.headImgUrl)}})]),a("div",{directives:[{name:"show",rawName:"v-show",value:1==e.eidit,expression:"eidit == true"}],staticClass:"uploadImg"},[a("file-uploader",{staticClass:"avator-btn",attrs:{"on-success":e.headPicUploadSuccess}},[a("el-button",[e._v("上传头像")])],1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"用户名",prop:"userName"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.userName)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{disabled:!0},model:{value:e.currentUser.userName,callback:function(t){e.$set(e.currentUser,"userName",t)},expression:"currentUser.userName"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"性别"}},[0==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-radio-group",{model:{value:e.currentUser.sex,callback:function(t){e.$set(e.currentUser,"sex",t)},expression:"currentUser.sex"}},[a("el-radio",{attrs:{label:1,disabled:""}},[e._v("男")]),a("el-radio",{attrs:{label:0,disabled:""}},[e._v("女")])],1)],1):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-radio-group",{model:{value:e.currentUser.sex,callback:function(t){e.$set(e.currentUser,"sex",t)},expression:"currentUser.sex"}},[a("el-radio",{attrs:{label:1}},[e._v("男")]),a("el-radio",{attrs:{label:0}},[e._v("女")])],1)],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"平台权限",prop:"permission"}},[0==e.eidit?a("div",{staticClass:"eidit_Input"},[e._v(" "+e._s(e.currentUser.roleName)+" ")]):e._e(),1==e.eidit&&1==e.currentUser.default?a("div",{staticClass:"eidit_Input"},[e._v(" "+e._s(e.currentUser.roleName)+" ")]):e._e(),1==e.eidit&&0==e.currentUser.default?a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.currentUser.permission,callback:function(t){e.$set(e.currentUser,"permission",t)},expression:"currentUser.permission"}},e._l(e.roleOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"后台角色",prop:"backgroundPermission"}},[0==e.eidit?a("div",{staticClass:"eidit_Input"},[e._v(" "+e._s(e.currentUser.backgroundRoleName)+" ")]):e._e(),1==e.eidit&&1==e.currentUser.default?a("div",{staticClass:"eidit_Input"},[e._v(" "+e._s(e.currentUser.backgroundRoleName)+" ")]):e._e(),1==e.eidit&&0==e.currentUser.default?a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.currentUser.backgroundPermission,callback:function(t){e.$set(e.currentUser,"backgroundPermission",t)},expression:"currentUser.backgroundPermission"}},e._l(e.backgroundRoleOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"互链企业角色",prop:"linkCompanyRole"}},[0==e.eidit?a("div",{staticClass:"eidit_Input"},[e._v(" "+e._s(e.linkCompanyRoleMap[e.currentUser.linkCompanyRole]||"")+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.currentUser.linkCompanyRole,callback:function(t){e.$set(e.currentUser,"linkCompanyRole",t)},expression:"currentUser.linkCompanyRole"}},e._l(e.linkCompanyRoleOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"手机:",prop:"phone"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.phone)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{disabled:1==e.currentUser.default,placeholder:"输入内容"},model:{value:e.currentUser.phone,callback:function(t){e.$set(e.currentUser,"phone",t)},expression:"currentUser.phone"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"邮箱:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.email)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.currentUser.email,callback:function(t){e.$set(e.currentUser,"email",t)},expression:"currentUser.email"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"民族:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.national)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.currentUser.national,callback:function(t){e.$set(e.currentUser,"national",t)},expression:"currentUser.national"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"籍贯:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.nativePlace)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.currentUser.nativePlace,callback:function(t){e.$set(e.currentUser,"nativePlace",t)},expression:"currentUser.nativePlace"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"政治面貌:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.politicalLandscape)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.currentUser.politicalLandscape,callback:function(t){e.$set(e.currentUser,"politicalLandscape",t)},expression:"currentUser.politicalLandscape"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"婚姻状况:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.maritalStatus)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.currentUser.maritalStatus,callback:function(t){e.$set(e.currentUser,"maritalStatus",t)},expression:"currentUser.maritalStatus"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"生日:"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:0==e.eidit&&null!=e.currentUser.birthday,expression:"\n eidit == false && currentUser.birthday != null\n "}]},[e._v(" "+e._s(e._f("formatDate")(e.currentUser.birthday))+" ")]),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-date-picker",{attrs:{align:"right",type:"date",placeholder:"选择日期"},model:{value:e.currentUser.birthday,callback:function(t){e.$set(e.currentUser,"birthday",t)},expression:"currentUser.birthday"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"地址:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.address)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.currentUser.address,callback:function(t){e.$set(e.currentUser,"address",t)},expression:"currentUser.address"}})],1):e._e()])],1)])])]),a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("学历信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{class:e.el_formLabelcolor+" UserEditinfoBox DivInputHeight noborder"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"最高学历:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.education)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.currentUser.education,callback:function(t){e.$set(e.currentUser,"education",t)},expression:"currentUser.education"}},e._l(e.educationOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"毕业时间:"}},[0==e.eidit&&null!=e.currentUser.gradutionDate?a("div",[e._v(" "+e._s(e._f("formatDate")(e.currentUser.gradutionDate))+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-date-picker",{attrs:{align:"right",type:"date",placeholder:"选择日期"},model:{value:e.currentUser.gradutionDate,callback:function(t){e.$set(e.currentUser,"gradutionDate",t)},expression:"currentUser.gradutionDate"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"毕业院校:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.gradutionSchool)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.currentUser.gradutionSchool,callback:function(t){e.$set(e.currentUser,"gradutionSchool",t)},expression:"currentUser.gradutionSchool"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"专业:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.specialty)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.currentUser.specialty,callback:function(t){e.$set(e.currentUser,"specialty",t)},expression:"currentUser.specialty"}},e._l(e.specOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e()])],1)])])]),a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("职务信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{class:e.el_formLabelcolor+" UserEditinfoBox DivInputHeight noborder"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"部门:",prop:"arraySuper"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.deptName)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("div",{staticClass:"eidit_Input"},[a("el-cascader",{attrs:{options:e.deptOptions,props:e.selectProps,"change-on-select":""},model:{value:e.currentUser.arraySuper,callback:function(t){e.$set(e.currentUser,"arraySuper",t)},expression:"currentUser.arraySuper"}})],1)]):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"现任职务*:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.position)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.currentUser.position,callback:function(t){e.$set(e.currentUser,"position",t)},expression:"currentUser.position"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"入职时间:"}},[0==e.eidit&&null!=e.currentUser.hireDate?a("div",[e._v(" "+e._s(e._f("formatDate")(e.currentUser.hireDate))+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-date-picker",{attrs:{align:"right",type:"date",placeholder:"选择日期","picker-options":e.pickerOptionsIn},model:{value:e.currentUser.hireDate,callback:function(t){e.$set(e.currentUser,"hireDate",t)},expression:"currentUser.hireDate"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-3"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"员工状态"}},[0==e.eidit?a("div",{staticClass:"eidit_Input"},[e._v(" "+e._s(e.currentUser.userState)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.currentUser.isDeparture,callback:function(t){e.$set(e.currentUser,"isDeparture",t)},expression:"currentUser.isDeparture"}},e._l(e.stateOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e()])],1)]),1==e.currentUser.isDeparture?a("div",{staticClass:"yiyun_col-3"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"离职时间:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e._f("formatDate")(e.currentUser.departureDate))+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-date-picker",{attrs:{align:"right",type:"date",placeholder:"选择日期","picker-options":e.pickerOptionsIn},model:{value:e.currentUser.departureDate,callback:function(t){e.$set(e.currentUser,"departureDate",t)},expression:"currentUser.departureDate"}})],1):e._e()])],1)]):e._e()])])])],1)])]):e._e(),3==e.currentPain?a("div",{staticClass:"admin_contentBox_bodyPain"},[e._m(3),e._m(4),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"topOption"},[a("div",{staticClass:"fl"},[a("div",[a("button",{staticClass:"EC_button shadow bt_small_20 primaryBtn",attrs:{type:"button"},on:{click:function(t){return e.createUser(!0)}}},[e._v(" 保存并继续添加 ")]),a("button",{staticClass:"EC_button bt_small_20",attrs:{type:"button"},on:{click:function(t){return e.createUser()}}},[e._v(" 保存 ")]),a("button",{staticClass:"EC_button bt_small_20",attrs:{type:"button"},on:{click:e.cancerSaveUserInfo}},[e._v(" 取消 ")])])]),a("div",{staticClass:"fr page_button"})])]),a("div",{staticClass:"clear"}),a("div",{staticClass:"largecontentBox"},[a("div",{staticClass:"yiyunTable_list mt-10"},[a("el-form",{ref:"form",attrs:{model:e.newUser,rules:e.newUserRules,"label-width":"110px","label-position":"left"}},[a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("基本信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"UserEditinfoBox DivInputHeight DivInputHeight_first noborder"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"姓名:",prop:"cnName"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.cnName,callback:function(t){e.$set(e.newUser,"cnName",t)},expression:"newUser.cnName"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("el-form-item",{attrs:{label:"用户头像"}},[a("div",{staticClass:"fl"},[a("div",{staticClass:"large_headImg"},[a("img",{staticClass:"imgHead",attrs:{src:e.headSrc+e.newUser.headImgUrl,alt:""}})])]),a("div",{staticClass:"uploadImg"},[a("file-uploader",{staticClass:"avator-btn",attrs:{"on-success":e.headPicUploadSuccess}},[a("el-button",[e._v("上传头像")])],1)],1)])],1),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"用户名*:",prop:"userName"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.userName,callback:function(t){e.$set(e.newUser,"userName",t)},expression:"newUser.userName"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"性别:"}},[a("div",{staticClass:"eidit_Input"},[a("el-radio-group",{model:{value:e.newUser.sex,callback:function(t){e.$set(e.newUser,"sex",t)},expression:"newUser.sex"}},[a("el-radio",{attrs:{label:1}},[e._v("男")]),a("el-radio",{attrs:{label:0}},[e._v("女")])],1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"平台权限:",prop:"permission"}},[a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.newUser.permission,callback:function(t){e.$set(e.newUser,"permission",t)},expression:"newUser.permission"}},e._l(e.roleOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"后台角色:",prop:"backgroundPermission"}},[a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.newUser.backgroundPermission,callback:function(t){e.$set(e.newUser,"backgroundPermission",t)},expression:"newUser.backgroundPermission"}},e._l(e.backgroundRoleOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"互链企业角色:",prop:"linkCompanyRole"}},[a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.newUser.linkCompanyRole,callback:function(t){e.$set(e.newUser,"linkCompanyRole",t)},expression:"newUser.linkCompanyRole"}},e._l(e.linkCompanyRoleOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"手机:",prop:"phone"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.phone,callback:function(t){e.$set(e.newUser,"phone",t)},expression:"newUser.phone"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"邮箱:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.email,callback:function(t){e.$set(e.newUser,"email",t)},expression:"newUser.email"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"民族:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.national,callback:function(t){e.$set(e.newUser,"national",t)},expression:"newUser.national"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"籍贯:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.nativePlace,callback:function(t){e.$set(e.newUser,"nativePlace",t)},expression:"newUser.nativePlace"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"政治面貌:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.politicalLandscape,callback:function(t){e.$set(e.newUser,"politicalLandscape",t)},expression:"newUser.politicalLandscape"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"婚姻状况:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.maritalStatus,callback:function(t){e.$set(e.newUser,"maritalStatus",t)},expression:"newUser.maritalStatus"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"生日:"}},[a("div",{staticClass:"eidit_Input"},[a("el-date-picker",{attrs:{align:"right",type:"date",placeholder:"选择日期"},model:{value:e.newUser.birthday,callback:function(t){e.$set(e.newUser,"birthday",t)},expression:"newUser.birthday"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"地址:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.address,callback:function(t){e.$set(e.newUser,"address",t)},expression:"newUser.address"}})],1)])],1)])])]),a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("学历信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"UserEditinfoBox DivInputHeight noborder"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"最高学历:"}},[a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.newUser.education,callback:function(t){e.$set(e.newUser,"education",t)},expression:"newUser.education"}},e._l(e.educationOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"毕业时间:"}},[a("div",{staticClass:"eidit_Input"},[a("el-date-picker",{attrs:{align:"right",type:"date",placeholder:"选择日期"},model:{value:e.newUser.gradutionDate,callback:function(t){e.$set(e.newUser,"gradutionDate",t)},expression:"newUser.gradutionDate"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"毕业院校:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.gradutionSchool,callback:function(t){e.$set(e.newUser,"gradutionSchool",t)},expression:"newUser.gradutionSchool"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"专业:"}},[a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.newUser.specialty,callback:function(t){e.$set(e.newUser,"specialty",t)},expression:"newUser.specialty"}},e._l(e.specOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)])],1)])])]),a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("职务信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"UserEditinfoBox DivInputHeight noborder"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"部门:",prop:"arraySuper"}},[a("div",{staticClass:"eidit_Input"},[a("el-cascader",{attrs:{options:e.deptOptions,props:e.selectProps,"change-on-select":""},model:{value:e.newUser.arraySuper,callback:function(t){e.$set(e.newUser,"arraySuper",t)},expression:"newUser.arraySuper"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"现任职务:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.position,callback:function(t){e.$set(e.newUser,"position",t)},expression:"newUser.position"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"入职时间:"}},[a("div",{staticClass:"eidit_Input"},[a("el-date-picker",{attrs:{align:"right",type:"date",placeholder:"选择日期","picker-options":e.pickerOptionsIn},model:{value:e.newUser.hireDate,callback:function(t){e.$set(e.newUser,"hireDate",t)},expression:"newUser.hireDate"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-3"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"员工状态"}},[a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.newUser.isDeparture,callback:function(t){e.$set(e.newUser,"isDeparture",t)},expression:"newUser.isDeparture"}},e._l(e.stateOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)])],1)]),1==e.newUser.isDeparture?a("div",{staticClass:"yiyun_col-3"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"离职时间:"}},[a("div",{staticClass:"eidit_Input"},[a("el-date-picker",{attrs:{align:"right",type:"date",placeholder:"选择日期","picker-options":e.pickerOptionsIn},model:{value:e.newUser.departureDate,callback:function(t){e.$set(e.newUser,"departureDate",t)},expression:"newUser.departureDate"}})],1)])],1)]):e._e()])])])],1)])]):e._e(),4==e.currentPain?a("div",{staticClass:"admin_contentBox_bodyPain"},[e._m(5),e._m(6),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"topOption"},[a("div",{staticClass:"fl"},[a("div",[a("el-button",{attrs:{type:"primary"},on:{click:e.updateDept}},[e._v("保存")]),a("el-button",{attrs:{type:"text"},on:{click:e.cancerSaveUserInfo}},[e._v("取消")])],1)]),a("div",{staticClass:"fr page_button"})])]),a("div",{staticClass:"clear"}),a("div",{staticClass:"largecontentBox"},[a("div",{staticClass:"yiyunTable_list mt-10"},[a("el-form",{ref:"form",attrs:{rules:e.deptRules,model:e.deptData,"label-width":"110px","label-position":"left"}},[a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("部门信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"UserEditinfoBox DivInputHeight DivInputHeight_first noborder"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"部门名称",prop:"deptName"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.deptData.deptName,callback:function(t){e.$set(e.deptData,"deptName",t)},expression:"deptData.deptName"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"上级部门"}},[a("div",{staticClass:"eidit_Input"},[a("el-cascader",{attrs:{options:e.deptOptions,props:e.selectProps,"change-on-select":""},model:{value:e.deptData.arraySuper,callback:function(t){e.$set(e.deptData,"arraySuper",t)},expression:"deptData.arraySuper"}})],1)])],1)])])])])],1)])]):e._e(),5==e.currentPain?a("div",{staticClass:"admin_contentBox_bodyPain"},[e._m(7),e._m(8),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"topOption"},[a("div",{staticClass:"fl"},[a("div",[a("el-button",{attrs:{type:"primary",disabled:e.addDeptDisable},on:{click:e.createDept}},[e._v("保存")]),a("el-button",{attrs:{type:"text"},on:{click:e.cancerSaveUserInfo}},[e._v("取消")])],1)])])]),a("div",{staticClass:"clear"}),a("div",{staticClass:"largecontentBox"},[a("div",{staticClass:"yiyunTable_list mt-10"},[a("el-form",{ref:"form",attrs:{rules:e.deptRules,model:e.deptData,"label-width":"110px","label-position":"left"}},[a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("部门信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"UserEditinfoBox DivInputHeight noborder"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"部门名称",prop:"deptName"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"请输入子部门名称"},model:{value:e.deptData.deptName,callback:function(t){e.$set(e.deptData,"deptName",t)},expression:"deptData.deptName"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"上级部门"}},[a("div",{staticClass:"eidit_Input"},[a("el-cascader",{attrs:{options:e.deptOptions,props:e.selectProps,"change-on-select":""},model:{value:e.deptData.arraySuper,callback:function(t){e.$set(e.deptData,"arraySuper",t)},expression:"deptData.arraySuper"}})],1)])],1)])])])])],1)])]):e._e()])])])]),e.isDistWorkDeptDialog?a("div",{staticClass:"ec_dialog"},[a("div",{staticClass:"ec_dialogBox"},[a("div",{staticClass:"ec_dialogBoxHead"},[a("h3",{staticClass:"ec_dialogBoxHeadTitle fl"},[e._v("设置职员所在部门")]),a("i",{staticClass:"Cicon icon font_family icon-icon_quxiaohuoguanbi ec_dialogBoxHeadclose fr",attrs:{title:"关闭"},on:{click:e.colseSet}})]),a("div",{staticClass:"line"}),a("div",{staticClass:"ec_dialogBoxBody"},[a("el-cascader-panel",{attrs:{options:e.deptOptions,props:e.selectProps},model:{value:e.currentUser.arraySuper,callback:function(t){e.$set(e.currentUser,"arraySuper",t)},expression:"currentUser.arraySuper"}})],1),a("div",{staticClass:"line"}),a("div",{staticClass:"ec_dialogBoxfooter"},[a("el-button",{on:{click:function(t){return e.cancelAddDept()}}},[e._v("取 消")]),a("el-button",{on:{click:function(t){return e.enterAddDept()}}},[e._v("指派至所选部门")])],1)])]):e._e()])},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("h4",{staticClass:"admintitle"},[e._v("职员详情")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("h4",{staticClass:"admintitle"},[e._v("添加成员")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("h4",{staticClass:"admintitle"},[e._v("修改名称")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("h4",{staticClass:"admintitle"},[e._v("设置子部门")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])}],l=(a("99af"),a("4160"),a("a15b"),a("45fc"),a("ac1f"),a("1276"),a("159b"),a("96cf"),a("1da1")),o=a("9e5b"),c=a("93d6"),u=a("5ab9"),d=a("3de1"),p={components:{FileUploader:o["a"]},data:function(){return{headSrc:"/api/archives/head?path=",chunkUploadUrl:"/api/webupload/chunks",uploadTypeOther:5,currentDeptTitle:"",currUserCount:0,currentDeptName:"",searchCnName:"",anniutype:"graybtn",currentNode:{},rootNode:{},clickNode:{},currentPain:"1",editButtonGroup:"1",el_formLabelcolor:"textlabelgray",nodeQuery:{name:""},isShowDlg:!1,isDistWorkDeptDialog:!1,listCompanyDept:[],selectProps:{value:"id",label:"label",children:"children",checkStrictly:!0,expandTrigger:"hover"},listUpdateUserID:[],deptOptions:[],eidit:!1,form:{name:"",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:""},deptData:{deptName:"",arraySuper:[]},pageIndex:1,pageSize:15,pageTotal:1,listUserData:[],currentUser:{},uploadCompId:sessionStorage.companyId,uploadTypeHead:3,newUser:{headImgUrl:"",isDeparture:0,linkCompanyRole:0},newUserDeptArry:[],multipleSelection:[],deptRules:{deptName:[{required:!0,message:"请输入部门名称",trigger:"blur"}]},newUserRules:{cnName:[{required:!0,message:"请输入姓名",trigger:"blur"}],userName:[{required:!0,message:"请输入用户名",trigger:"blur"}],permission:[{required:!0,message:"请选择平台权限",trigger:"blur"}],backgroundPermission:[{required:!0,message:"请选择后台角色",trigger:"blur"}],phone:[{required:!0,message:"请输入手机号",trigger:"blur"}],arraySuper:[{required:!0,message:"请选择部门",trigger:"blur"}]},pickerOptionsIn:{disabledDate:function(e){return e.getTime()>Date.now()},shortcuts:[{text:"今天",onClick:function(e){e.$emit("pick",new Date)}},{text:"昨天",onClick:function(e){var t=new Date;t.setTime(t.getTime()-864e5),e.$emit("pick",t)}},{text:"一周前",onClick:function(e){var t=new Date;t.setTime(t.getTime()-6048e5),e.$emit("pick",t)}}]},pickerOptionsGraduate:{disabledDate:function(e){return e.getTime()>Date.now()},shortcuts:[{text:"今天",onClick:function(e){e.$emit("pick",new Date)}},{text:"一年前",onClick:function(e){var t=new Date;t.setTime(t.getTime()-31536e6),e.$emit("pick",t)}},{text:"三年前",onClick:function(e){var t=new Date;t.setTime(t.getTime()-94608e6),e.$emit("pick",t)}}]},specOptions:[{value:"选项1",label:"机务专业"},{value:"选项2",label:"设计专业"},{value:"选项3",label:"机电专业"},{value:"选项4",label:"水暖电"},{value:"选项5",label:"结构设计"}],roleOptions:c["j"],linkCompanyRoleOptions:c["i"],linkCompanyRoleMap:c["h"],backgroundRoleOptions:c["b"],stateOptions:c["k"],educationOptions:[{value:"博士",label:"博士"},{value:"硕士研究生",label:"硕士研究生"},{value:"本科",label:"本科"},{value:"专科",label:"专科"},{value:"自考",label:"自考"}],addDeptDisable:!1}},filters:{formatDate:function(e){var t=new Date(e),a=t.getFullYear(),s=t.getMonth()+1,r=t.getDate();return s=s<10?"0"+s:s,r=r<10?"0"+r:r,a+"-"+s+"-"+r}},mounted:function(){this.listDepts(),setInterval((function(){document.querySelectorAll(".el-cascader-node__label").forEach((function(e){e.onclick=function(){this.previousElementSibling&&this.previousElementSibling.click()}}))}),1e3)},methods:{changeFun:function(e){this.multipleSelection=e,this.anniutype=""},listDepts:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e,t.next=3,c["d"](sessionStorage.companyId);case 3:s=t.sent,a.listCompanyDept=s,a.deptOptions=s,r=s[0],a.rootNode=r,e.getUserList(r||void 0),void 0==a.currentNode.id&&(a.currentNode=r,setTimeout((function(){a.$refs.tree.setCurrentKey(r.id)}),50),a.currentDeptTitle=r.label);case 10:case"end":return t.stop()}}),t)})))()},getUserList:function(){var e=arguments,t=this;return Object(l["a"])(regeneratorRuntime.mark((function a(){var s,r,i,n,l,o;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(s=e.length>0&&void 0!==e[0]?e[0]:t.listCompanyDept[0],e.length>1&&void 0!==e[1]?e[1]:t.pageIndex,e.length>2&&void 0!==e[2]?e[2]:t.pageSize,r=e.length>3&&void 0!==e[3]?e[3]:t.searchCnName,s){a.next=7;break}return a.abrupt("return");case 7:return a.next=9,c["g"](s,t.pageIndex,t.pageSize,r);case 9:i=a.sent,n=i.list,i.page,l=i.pageSize,o=i.total,t.listUserData=n,t.pageTotal=Math.ceil(o/l),t.currUserCount=o;case 17:case"end":return a.stop()}}),a)})))()},prePage:function(){if(this.pageIndex>1){this.pageIndex=this.pageIndex-1;var e=this.$refs.tree.getCurrentNode();this.getUserList(e),this.currentPain=1}},nextPage:function(){if(this.pageIndex0)for(l=0;l0&&void 0!==arguments[0]&&arguments[0],a=this;this.$refs["form"].validate(function(){var s=Object(l["a"])(regeneratorRuntime.mark((function s(r){var i,n,l;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:if(r){s.next=2;break}return s.abrupt("return");case 2:return e.newUser.deptid=e.newUser.arraySuper[e.newUser.arraySuper.length-1],e.newUser.createUserId=sessionStorage.userId,e.newUser.companyId=sessionStorage.companyId,s.next=7,c["a"](e.newUser);case 7:if(i=s.sent,n=0===i.Code,n){s.next=12;break}return a.$notify({type:"error",message:i.Msg,offset:100,duration:5e3}),s.abrupt("return");case 12:a.$notify({message:"".concat(e.newUser.cnName,"添加成功。"),type:["success"],duration:2500}),l=e.$refs.tree.getCurrentNode(),e.newUser={headImgUrl:"",isDeparture:0,linkCompanyRole:0},e.getUserList(l||void 0),t||(e.currentPain=1);case 17:case"end":return s.stop()}}),s)})));return function(e){return s.apply(this,arguments)}}())},saveUserInfo:function(){this.editButtonGroup=1,this.eidit=!1},headPicUploadSuccess:function(e){var t=Object(u["c"])(e.ossUrl);1==this.eidit&&(this.currentUser.headImgUrl=t),3==this.currentPain&&(this.newUser.headImgUrl=t)},excelUploadSuccess:function(e){var t=this,a={filepath:e.filePath,companyId:sessionStorage.companyId,userId:sessionStorage.userId};this.$axios({method:"get",url:encodeURI("/api/sysinfo/users/import"),params:a}).then((function(e){if(null!=e.data){t.$notify({message:e.data.message,type:"success",offset:100,duration:5e3});var a=t.$refs.tree.getCurrentNode();t.currentPain=1,t.getUserList(a)}})).catch((function(e){console.log(e)}))},exportUser:function(){var e=this;this.listUserData.length<1?this.$notify({message:"当前列表用户为空,请先查询用户",type:"warning",offset:100,duration:2500}):this.$confirm("导出当前用户列表,是否继续?","",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var t=e.$refs.tree.getCurrentNode(),a=!1,s="";null==t?(a=!0,s=e.rootNode.id):1==e.clickNode.level?(a=!0,s=t.id):s=t.id;var r={deptId:s,userId:sessionStorage.userId,companyId:sessionStorage.companyId,isCompany:a};e.$axios({method:"post",url:encodeURI("/api/sysinfo/users/export/dept"),data:r}).then((function(t){if(200==t.status&&null!=t.data){e.$notify({message:"导出成功",type:"success",offset:100,duration:2500});var a=encodeURI("/api/archives/download/path?filepath="+t.data+"&filename=导出用户"),s=document.createElement("iframe");s.style.display="none",s.src=a,document.body.appendChild(s)}})).catch((function(e){console.log(e)}))}))},scanUserInfo:function(e){var t=this;return Object(l["a"])(regeneratorRuntime.mark((function a(){var s,r,i,n,l,o,u;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return s=t,a.next=3,c["f"](e.id);case 3:r=a.sent,r.arraySuper=(r.deptId||r.companyId)===r.companyId?[]:r.levelId.split("-").concat(r.deptId),s.currentPain=2,s.currentUser=r,i=new Date("0001-01-01T00:00:00Z").getTime(),n=new Date(r.departureDate).getTime(),l=new Date(r.birthday).getTime(),o=new Date(r.gradutionDate).getTime(),u=new Date(r.hireDate).getTime(),n==i&&(s.currentUser.departureDate=null),l==i&&(s.currentUser.birthday=null),o==i&&(s.currentUser.gradutionDate=null),u==i&&(s.currentUser.hireDate=null),s.eidit=!1;case 17:case"end":return a.stop()}}),a)})))()},backUserInfo:function(){this.currentPain=1},editUserInfo:function(){this.editButtonGroup=2,this.eidit=!0,this.el_formLabelcolor="textlabelblock"},modifyUser:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e,e.$refs["form"].validate(function(){var t=Object(l["a"])(regeneratorRuntime.mark((function t(s){var r,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(s){t.next=2;break}return t.abrupt("return");case 2:return e.currentUser.deptid=e.currentUser.arraySuper[e.currentUser.arraySuper.length-1],e.currentUser.modifyUserId=sessionStorage.userId,t.next=6,c["l"](e.currentUser);case 6:if(r=t.sent,i=0===r.Code,i){t.next=11;break}return a.$notify({type:"error",message:r.Msg,offset:100,duration:5e3}),t.abrupt("return");case 11:a.$notify({message:"修改成功。",type:"success",offset:100,duration:2500}),e.currentPain=1,e.editButtonGroup=1,e.getUserList(e.$refs.tree.getCurrentNode());case 15:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 2:case"end":return t.stop()}}),t)})))()},disableUserInfo:function(e){var t=this,a=this,s="";s=0==e?"启用":"禁用",this.$confirm("".concat(s,"的用户将").concat("禁用"==s?"无法":"有权","访问我司LOCKING,确定").concat(s,"“").concat(this.currentUser.cnName,"”的账户吗?"),"",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){t.currentUser.modifyUserId=sessionStorage.userId,t.currentUser.disable=e,t.$axios({method:"put",url:encodeURI("/api/sysinfo/userinfo"),data:t.currentUser}).then((function(e){1==e.data.state?a.$notify({message:"".concat(t.currentUser.cnName,"已").concat(s),type:"success",offset:100,duration:2500}):a.$notify({type:"error",message:e.data.message,offset:100,duration:5e3})})).catch((function(e){console.log(e)}))})).catch((function(){}))},deleteUserInfo:function(){var e=this,t=this;this.$confirm("账户删除后将无法恢复,是否继续删除“".concat(this.currentUser.cnName,"”的账户?"),"",{confirmButtonText:"确定",cancelButtonText:"取消",type:"error"}).then(Object(l["a"])(regeneratorRuntime.mark((function a(){var s;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,e.$fetchApi("user/deleteUser",{id:e.currentUser.id});case 2:if(s=a.sent,0===s.Code){a.next=6;break}return t.$notify({type:"error",message:s.Msg,offset:100,duration:5e3}),a.abrupt("return");case 6:t.currentPain=1,t.$notify({message:"“".concat(e.currentUser.cnName,"”的账户已删除。"),type:["success"],duration:2500}),t.listDepts();case 9:case"end":return a.stop()}}),a)})))).catch((function(){}))},cancerSaveUserInfo:function(){this.newUser={headImgUrl:"",isDeparture:0,linkCompanyRole:0},this.currentPain=1,this.editButtonGroup=1,this.eidit=!1},cancerEditUserInfo:function(){this.currentPain=1,this.editButtonGroup=1,this.eidit=!1,this.el_formLabelcolor="textlabelgray"},eidtPartName:function(e){this.currentPain=4,this.deptData=e.data,this.setDisabled(this.deptOptions[0].children,e.id)},setDisabled:function(e,t){if(null!=e)for(var a=0;a0){var t=JSON.parse(JSON.stringify(e.data.arraySuper));t.push(e.id),this.deptData.arraySuper=t}else this.deptData.arraySuper=[],this.deptData.arraySuper.push(e.id);this.setDisabled(this.deptOptions[0].children,"1")},downLoadUserModel:function(){var e=Object(u["a"])("oss://导入用户模板.xlsx","导入用户模板.xlsx");Object(d["a"])(e)}}},m=p,f=(a("dcb6"),a("696e"),a("4a1e"),a("2877")),v=Object(f["a"])(m,i,n,!1,null,"44ffd00e",null),h=v.exports,y=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"layout_content"},[a("section",{staticClass:"title_section"},[a("div",{staticClass:"EC_col_8"},[e._t("nav")],2)]),a("section",{staticClass:"yiyun_section houtai"},[a("div",{staticClass:"fl_navBox"},[a("div",{staticClass:"fl_navBox_body"},[a("div",{staticClass:"admin_treeBox navtree"},[a("div",{staticClass:"tree_list"},[e._l(e.relationList,(function(t){return a("div",{key:t.key,staticClass:"tree_list_item",class:{active:t===e.currentRelationInfo},on:{click:function(a){return e.checkRelationDetail(t)}}},[a("i",{staticClass:"el-icon-models"}),a("span",{staticClass:"tree_list_item_label"},[e._v(e._s(e.resolveListLabel(t)))])])})),e.relationList.length?e._e():a("div",{staticClass:"tree_list_empty"},[e._v(" 暂无互链企业,请添加 ")])],2),a("div",{staticClass:"bottombtn tree_list_bottom_button",on:{click:function(t){e.searchModalVisible=!0}}},[e._v(" 添加互链企业 ")])])])]),a("div",{staticClass:"fl_contentBox dept-personnel-list"},[a("div",{staticClass:"admin_contentBox_body"},[a("div",{staticClass:"admin_contentBox_bodyPain"},[e.currentRelationInfo?a("relation-company-info",{key:e.currentRelationInfo.key,attrs:{relationInfo:e.currentRelationInfo},on:{reload:e.fetchRelations}}):e._e()],1)])])])]),a("el-dialog",{attrs:{title:"通过手机号搜索外部企业职员",visible:e.searchModalVisible,width:"460px",top:"30vh"},on:{"update:visible":function(t){e.searchModalVisible=t}}},[a("el-form",{attrs:{model:e.searchForm}},[a("el-form-item",{attrs:{label:""}},[a("el-input",{attrs:{placeholder:"点击输入手机号"},model:{value:e.searchForm.keywords,callback:function(t){e.$set(e.searchForm,"keywords",t)},expression:"searchForm.keywords"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.searchModalVisible=!1}}},[e._v("取 消")]),a("el-button",{attrs:{disabled:!e.searchForm.keywords,type:"primary"},on:{click:e.searchCompanyByKeywords}},[e._v("查 询")])],1)],1),a("el-dialog",{attrs:{title:"已查询到用户,请选择所在企业关系",visible:e.searchResultModalVisible,"custom-class":"relation_company_search_modal",width:"460px",top:"30vh"},on:{"update:visible":function(t){e.searchResultModalVisible=t}}},e._l(e.searchResultsList,(function(t){return a("div",{key:t.companyId,staticClass:"search_result_item",on:{click:function(a){return e.generateRelation(t)}}},[a("div",{staticClass:"search_result_item_sub_label"},[e._v(e._s(t.contactor))]),a("div",{staticClass:"search_result_item_label"},[e._v(e._s(t.companyName))]),a("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right search_result_item_icon"})])})),0)],1)},b=[],_=(a("7db0"),a("d81d"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"relation_company_info"},[a("div",{staticClass:"mlr-20"},[a("card-header",{scopedSlots:e._u([e.isUnApply?{key:"left",fn:function(){return[a("span")]},proxy:!0}:null,{key:"title",fn:function(){return[e._v(" "+e._s(e.isUnApply?"申请互链企业":e.isApplying&&!e.isMyApply?"对方邀请建立互链":"企业信息")+" ")]},proxy:!0},{key:"right",fn:function(){return[e.isUnApply?a("el-button",{attrs:{size:"mini",type:"primary"},on:{click:e.sendApply}},[e._v("发起申请")]):e._e(),e.isApplying&&e.isMyApply?a("el-button",{attrs:{size:"mini"},on:{click:e.fallbackApply}},[e._v("取消申请")]):e._e(),e.isApplying&&!e.isMyApply?[a("el-button",{attrs:{size:"mini"},on:{click:e.fallbackApply}},[e._v("驳回申请")]),a("el-button",{attrs:{size:"mini",type:"primary"},on:{click:e.permitApply}},[e._v("建立互链")])]:e._e(),e.applyIsApproved&&!e.linkIsRemoved?[a("el-dropdown",{attrs:{placement:"bottom"}},[a("el-button",{attrs:{size:"mini"}},[e._v("权限管理")]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{nativeOn:{click:function(t){return e.toggleLinkStatus(t)}}},[e._v(e._s(e.linkIsPause?"恢复互链":"暂停互链"))]),a("el-dropdown-item",{style:{color:"red"},nativeOn:{click:function(t){e.authModalVisible=!0}}},[e._v("解除互链")])],1)],1)]:e._e()]},proxy:!0}],null,!0)})],1),a("div",{staticClass:"border-line"}),a("div",{staticClass:"clear"}),a("div",{staticClass:"largecontentBox"},[a("div",{staticClass:"mlr-20"},[a("div",{staticClass:"company_logo"},[a("img",{attrs:{src:e._f("resolveImg")(e.companyData.logoUrl),alt:""}})]),a("div",{staticClass:"info_item"},[a("span",{staticClass:"info_item_label"},[e._v("企业简称")]),a("span",{staticClass:"info_item_text"},[e._v(e._s(e.companyData.companyName))])]),a("div",{staticClass:"info_item"},[a("span",{staticClass:"info_item_label"},[e._v("企业全称")]),a("span",{staticClass:"info_item_text"},[e._v(e._s(e.companyData.compAllName))])]),a("div",{staticClass:"info_item"},[a("span",{staticClass:"info_item_label"},[e._v("地址")]),a("span",{staticClass:"info_item_text"},[e._v(e._s(e.companyData.address))])]),a("div",{staticClass:"info_item"},[a("span",{staticClass:"info_item_label"},[e._v("所属行业")]),a("span",{staticClass:"info_item_text"},[e._v(e._s(e.companyData.industryName))])]),a("div",{staticClass:"info_item"},[a("span",{staticClass:"info_item_label"},[e._v("法人")]),a("span",{staticClass:"info_item_text"},[e._v(e._s(e.companyData.cnName))])]),a("div",{staticClass:"info_item"},[a("span",{staticClass:"info_item_label"},[e._v("法人电话")]),a("span",{staticClass:"info_item_text"},[e._v(e._s(e.companyData.phone))])]),a("div",{staticClass:"info_item"},[a("span",{staticClass:"info_item_label"},[e._v("单位电话")]),a("span",{staticClass:"info_item_text"},[e._v(e._s(e.companyData.telphone))])]),a("div",{staticClass:"info_item"},[a("span",{staticClass:"info_item_label"},[e._v("企业成员")]),a("span",{staticClass:"info_item_text"},[e._v(e._s(e._f("displayText")(e.companyData.userCount,"人")))])]),a("div",{staticClass:"info_item"},[a("span",{staticClass:"info_item_label"},[e._v("企业部门")]),a("span",{staticClass:"info_item_text"},[e._v(e._s(e._f("displayText")(e.companyData.deptCount,"个部门")))])])]),e.projectList.length?[a("div",{staticClass:"border-line"}),a("div",{staticClass:"mlr-20 linkTitle"},[e._v("正在互链项目")]),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.projectList,"max-height":"250"}},[a("el-table-column",{attrs:{align:"right",width:"56px"},scopedSlots:e._u([{key:"header",fn:function(e){return[a("i",{staticClass:"el-icon-models"})]}},{key:"default",fn:function(e){return[a("i",{staticClass:"el-icon-models"})]}}],null,!1,2984380243)}),a("el-table-column",{attrs:{prop:"projName",label:"项目名称"}}),a("el-table-column",{attrs:{prop:"relation",label:"关系",width:"120"}}),a("el-table-column",{attrs:{prop:"projectManagerName",label:"项目负责人",width:"120"}}),a("el-table-column",{attrs:{prop:"otherNum",label:"对方企业参与人数",width:"120"}}),a("el-table-column",{attrs:{prop:"ourNum",label:"我企业参与认识",width:"180"}})],1)]:e._e()],2),a("el-dialog",{attrs:{title:"请输入密码以认证用户权限",visible:e.authModalVisible,width:"460px",top:"30vh"},on:{"update:visible":function(t){e.authModalVisible=t}}},[a("el-form",{attrs:{model:e.authForm}},[a("el-form-item",{attrs:{label:""}},[a("el-input",{attrs:{placeholder:"请输入密码",type:"password"},model:{value:e.authForm.password,callback:function(t){e.$set(e.authForm,"password",t)},expression:"authForm.password"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.searchModalVisible=!1}}},[e._v("取 消")]),a("el-button",{attrs:{disabled:!e.authForm.password,type:"primary"},on:{click:e.checkAuth}},[e._v("认 证")])],1)],1)],1)}),C=[],g=(a("d3b7"),a("3ca3"),a("ddb0"),a("5530")),U=a("3835"),x=a("8bde"),k=a("2ef0"),w=a("b775"),D={props:{relationInfo:{type:Object,default:function(){return{}}}},components:{CardHeader:x["a"]},data:function(){var e=this.$store.state.currentCompanyId,t=this.$store.state.accountName;return{mainCompanyId:e,accountName:t,companyData:{},authModalVisible:!1,authForm:{},projectList:[]}},mounted:function(){this.fetchCompanyDetail()},computed:{isUnApply:function(){return"-1"==this.relationInfo.auditStatus},isApplying:function(){return"0"==this.relationInfo.auditStatus},applyIsApproved:function(){return"1"==this.relationInfo.auditStatus},linkIsPause:function(){return 2==this.relationInfo.linkStatus},linkIsRemoved:function(){return 0==this.relationInfo.linkStatus},isMyApply:function(){return this.relationInfo.sendCompanyId===this.mainCompanyId}},filters:{displayText:function(e,t){return Object(k["isNil"])(e)?"":"".concat(e," ").concat(t)}},methods:{fetchCompanyDetail:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,s,r,i,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.relationInfo.thatCompanyId,t.next=3,Promise.all([e.$fetchApi("company/queryCompanyById",{id:a}),e.$fetchApi("project/queryLinkProjectListByCompanyId",{ourCompanyId:e.mainCompanyId,otherCompanyId:a})]);case 3:if(s=t.sent,r=Object(U["a"])(s,2),i=r[0],n=r[1],Object(w["c"])(i),!i.Code){t.next=10;break}return t.abrupt("return");case 10:e.companyData=Object(g["a"])(Object(g["a"])(Object(g["a"])({},Object(d["b"])(i.Data.company)),Object(d["b"])(i.Data.user)),{},{deptCount:i.Data.deptNum,userCount:i.Data.userNum}),e.projectList=(n.Data||[]).map(d["b"]);case 12:case"end":return t.stop()}}),t)})))()},sendApply:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=Object(d["c"])(Object(g["a"])({},e.relationInfo)),a.AuditStatus=0,a.LinkStatus=0,t.next=5,e.$fetchApi("company/link/addCompanyLink",a);case 5:if(s=t.sent,Object(w["c"])(s),!s.Code){t.next=9;break}return t.abrupt("return");case 9:e.$notify({message:"申请提交成功",type:"success"}),e.$emit("reload");case 11:case"end":return t.stop()}}),t)})))()},fallbackApply:function(){var e=this.isMyApply?"撤回":"驳回";this.abtractUpdateApply({confirmMessage:"确定".concat(e,"申请?"),successMessage:"申请已".concat(e),nextState:function(e){e.AuditStatus=2}})},permitApply:function(){this.abtractUpdateApply({confirmMessage:"建立企业互链关系后双方企业可以开展互链项目,确定建立互链?",successMessage:"互链建立成功",nextState:function(e){e.AuditStatus=1,e.LinkStatus=1}})},toggleLinkStatus:function(){var e=this,t=2==this.relationInfo.linkStatus?"恢复":"暂停";this.abtractUpdateApply({confirmMessage:"确定".concat(t,"互链?"),successMessage:"互链已".concat(t),nextState:function(t){t.LinkStatus=2==e.relationInfo.linkStatus?1:2}})},checkAuth:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.authForm.password,t.next=3,e.$fetchApi("authentication/passwordCheck",{password:a,userName:e.accountName});case 3:if(s=t.sent,Object(w["c"])(s),!s.Code){t.next=7;break}return t.abrupt("return");case 7:if(s.Data){t.next=10;break}return d["d"].error("密码错误"),t.abrupt("return");case 10:e.authForm={},e.authModalVisible=!1,e.removeLink();case 13:case"end":return t.stop()}}),t)})))()},removeLink:function(){this.relationInfo.linkStatus;this.abtractUpdateApply({confirmMessage:"解除企业互链将无法访问共同互链的项目,确定解除企业互链项目关系?",successMessage:"互链解除成功",nextState:function(e){e.LinkStatus=0}})},abtractUpdateApply:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.confirmMessage,s=t.confirmButtonText,r=void 0===s?"确定":s,i=t.cancelButtonText,n=void 0===i?"取消":i,o=t.successMessage,c=t.nextState;this.$confirm(a,"",{confirmButtonText:r,cancelButtonText:n,showClose:!1,type:"warning"}).then(Object(l["a"])(regeneratorRuntime.mark((function t(){var a,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=Object(d["c"])(Object(g["a"])({},e.relationInfo)),c(a),t.next=4,e.$fetchApi("company/link/updateCompanyLink",a);case 4:s=t.sent,Object(w["c"])(s),e.$notify({message:o,type:"success"}),e.$emit("reload");case 8:case"end":return t.stop()}}),t)})))).catch((function(){}))}}},I=D,S=(a("a250"),Object(f["a"])(I,_,C,!1,null,"2e531c5a",null)),$=S.exports,O={components:{RelationCompanyInfo:$},data:function(){var e=this.$store.state.currentCompanyId,t=this.$store.state.currentPlatform.orgName;return{mainCompanyId:e,mainCompanyName:t,relationList:[],searchModalVisible:!1,searchForm:{},searchResultModalVisible:!1,searchResultsList:[],currentRelationInfo:void 0}},mounted:function(){this.fetchRelations()},watch:{searchModalVisible:function(e){e||(this.searchForm={})}},methods:{resolveListLabel:function(e){var t="",a=e.thatCompanyName,s=this.mainCompanyId;return 1==e.auditStatus?(2==e.linkStatus&&(t="(暂停互链)"),0==e.linkStatus&&(t="(互链已解除)")):0==e.auditStatus?e.acceptCompanyId===s?a="新申请":t="(申请中)":2==e.auditStatus&&(e.acceptCompanyId===s?(a="新申请",t="(已驳回)"):t="(被驳回)"),"".concat(a," ").concat(t)},fetchRelations:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,s,r,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$fetchApi("company/link/queryCompanyLinkListByCompanyId",{companyId:e.mainCompanyId});case 2:if(a=t.sent,Object(w["c"])(a),!a.Code){t.next=6;break}return t.abrupt("return");case 6:if(s=(a.Data||[]).map((function(t){var a=Object(d["b"])(t),s=a.sendCompanyId===e.mainCompanyId;return a.thatCompanyId=s?a.acceptCompanyId:a.sendCompanyId,a.thatCompanyName=s?a.acceptCompanyName:a.sendCompanyName,a.key="".concat(a.thatCompanyId,"_").concat(a.auditStatus,"_").concat(a.linkStatus),a})),e.relationList=s,s.length){t.next=10;break}return t.abrupt("return");case 10:if(r=e.currentRelationInfo,r){t.next=14;break}return e.checkRelationDetail(s[0]),t.abrupt("return");case 14:if(i=s.find((function(e){return e.thatCompanyId===r.thatCompanyId})),i){t.next=18;break}return e.checkRelationDetail(s[0]),t.abrupt("return");case 18:e.currentRelationInfo=i;case 19:case"end":return t.stop()}}),t)})))()},checkRelationDetail:function(e){this.currentRelationInfo=e},searchCompanyByKeywords:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.searchForm.keywords,t.next=3,e.$fetchApi("user/queryUserAndCompanyByUserPhone",{phone:a});case 3:if(s=t.sent,Object(w["c"])(s),0===s.Code){t.next=7;break}return t.abrupt("return");case 7:if(r=s.Data,r.companyId!==e.mainCompanyId){t.next=11;break}return e.$notify({type:"error",message:"该职员与您在同一个企业。"}),t.abrupt("return");case 11:if(!e.relationList.find((function(e){return e.thatCompanyId===r.companyId}))){t.next=14;break}return e.$notify({type:"error",message:"已存在与目标企业的互链或申请"}),t.abrupt("return");case 14:e.searchResultsList=[{companyId:r.companyId,companyName:r.companyName,contactor:r.userName}],e.searchModalVisible=!1,e.searchResultModalVisible=!0;case 17:case"end":return t.stop()}}),t)})))()},generateRelation:function(e){var t={sendCompanyId:this.mainCompanyId,sendCompanyName:this.mainCompanyName,acceptCompanyId:e.companyId,acceptCompanyName:e.companyName,auditStatus:"-1",key:e.companyId,thatCompanyId:e.companyId,thatCompanyName:e.companyName};this.currentRelationInfo=t,this.searchResultModalVisible=!1}}},B=O,N=(a("d666"),a("d36a"),Object(f["a"])(B,y,b,!1,null,"2e6d402e",null)),R=N.exports,j={components:{Employees:h,RelationCompany:R},data:function(){return{view:"Employees"}},filters:{},mounted:function(){},methods:{}},M=j,L=(a("b440"),Object(f["a"])(M,s,r,!1,null,"0d35df63",null));t["default"]=L.exports},4588:function(e,t,a){},"45fc":function(e,t,a){"use strict";var s=a("23e7"),r=a("b727").some,i=a("a640"),n=a("ae40"),l=i("some"),o=n("some");s({target:"Array",proto:!0,forced:!l||!o},{some:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},"4a1e":function(e,t,a){"use strict";var s=a("063e"),r=a.n(s);r.a},"54c6":function(e,t,a){},"5a0c":function(e,t,a){!function(t,a){e.exports=a()}(0,(function(){"use strict";var e="millisecond",t="second",a="minute",s="hour",r="day",i="week",n="month",l="quarter",o="year",c="date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,d=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p=function(e,t,a){var s=String(e);return!s||s.length>=t?e:""+Array(t+1-s.length).join(a)+e},m={s:p,z:function(e){var t=-e.utcOffset(),a=Math.abs(t),s=Math.floor(a/60),r=a%60;return(t<=0?"+":"-")+p(s,2,"0")+":"+p(r,2,"0")},m:function e(t,a){if(t.date()3&&void 0!==arguments[3]?arguments[3]:{},r=arguments.length>5&&void 0!==arguments[5]&&arguments[5],i=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return{id:t,label:a,nodeType:e,isLeaf:r,disabled:i,data:s}}function y(e){return b.apply(this,arguments)}function b(){return b=Object(r["a"])(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=Object(n["c"])(t),e.next=3,Object(i["b"])("dept/addDept",a);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),b.apply(this,arguments)}function _(e,t,a,s){return C.apply(this,arguments)}function C(){return C=Object(r["a"])(regeneratorRuntime.mark((function e(t,a,s,r){var l,o,c,u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,r?Object(i["b"])("user/fuzzyQueryUserOnOneCompany",{companyId:t.id,fuzzy:r}):Object(i["b"])("user/queryUsersByDeptId",{deptId:t.id,idType:"company"===t.nodeType?0:1,pageIndex:a,pageSize:s});case 2:return l=e.sent,o=l.Data||{},c=o.data,u=o.total,e.abrupt("return",{list:(c||[]).map(n["b"]),page:a,pageSize:s,total:u});case 5:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function g(e){return U.apply(this,arguments)}function U(){return U=Object(r["a"])(regeneratorRuntime.mark((function e(t){var a,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("user/queryUserByUserId",{id:t});case 2:return a=e.sent,s=Object(n["b"])(Object.assign({},Object(l["propertyOf"])(a)("Data.UserExt",{}),a.Data||{})),s.roleName=k[s.permission]||"",s.backgroundRoleName=S[s.backgroundPermission]||"",s.userState=O[s.staffStatus]||"",s.isDeparture=s.staffStatus,e.abrupt("return",s);case 9:case"end":return e.stop()}}),e)}))),U.apply(this,arguments)}var x=[{value:99,label:"无权限"},{value:0,label:"普通职员"},{value:1,label:"项目负责人"}],k=x.reduce((function(e,t){var a=t.value,s=t.label;return e[a]=s,e}),{}),w=[{value:99,label:"无权限"},{value:2,label:"企业管理员"}],D=[{value:0,label:"普通职员"},{value:1,label:"互链职员"}],I=D.reduce((function(e,t){var a=t.value,s=t.label;return e[a]=s,e}),{}),S=w.reduce((function(e,t){var a=t.value,s=t.label;return e[a]=s,e}),{}),$=[{value:0,label:"在职"},{value:1,label:"离职"}],O=$.reduce((function(e,t){var a=t.value,s=t.label;return e[a]=s,e}),{});function B(e){return N.apply(this,arguments)}function N(){return N=Object(r["a"])(regeneratorRuntime.mark((function e(t){var a,r,l;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=Object(n["c"])(Object(s["a"])({},t)),a.Birthday&&(a.Birthday=c()(a.Birthday).toISOString()),a.DepartureDate&&(a.DepartureDate=c()(a.DepartureDate).toISOString()),a.GradutionDate&&(a.GradutionDate=c()(a.GradutionDate).toISOString()),a.HireDate&&(a.HireDate=c()(a.HireDate).toISOString()),r={Address:a.Address,Birthday:a.Birthday,DepartureDate:a.DepartureDate,Education:a.Education,GradutionDate:a.GradutionDate,GradutionSchool:a.GradutionSchool,HireDate:a.HireDate,MaritalStatus:a.MaritalStatus,National:a.National,NativePlace:a.NativePlace,PoliticalLandscape:a.PoliticalLandscape,Specialty:a.Specialty,StaffStatus:a.IsDeparture},a.UserExt=r,e.next=9,Object(i["b"])("user/addUser",a);case 9:return l=e.sent,e.abrupt("return",l);case 11:case"end":return e.stop()}}),e)}))),N.apply(this,arguments)}function R(e){return j.apply(this,arguments)}function j(){return j=Object(r["a"])(regeneratorRuntime.mark((function e(t){var a,r,l;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=Object(n["c"])(Object(s["a"])({},t)),a.Birthday&&(a.Birthday=c()(a.Birthday).toISOString()),a.DepartureDate&&(a.DepartureDate=c()(a.DepartureDate).toISOString()),a.GradutionDate&&(a.GradutionDate=c()(a.GradutionDate).toISOString()),a.HireDate&&(a.HireDate=c()(a.HireDate).toISOString()),r={Address:a.Address,Birthday:a.Birthday,DepartureDate:a.DepartureDate,Education:a.Education,GradutionDate:a.GradutionDate,GradutionSchool:a.GradutionSchool,HireDate:a.HireDate,Id:a.Id,MaritalStatus:a.MaritalStatus,National:a.National,NativePlace:a.NativePlace,PoliticalLandscape:a.PoliticalLandscape,Specialty:a.Specialty,StaffStatus:a.IsDeparture},a.UserExt=r,console.log(a),e.next=10,Object(i["b"])("user/updateUser",a);case 10:return l=e.sent,e.abrupt("return",l);case 12:case"end":return e.stop()}}),e)}))),j.apply(this,arguments)}function M(e,t){return L.apply(this,arguments)}function L(){return L=Object(r["a"])(regeneratorRuntime.mark((function e(t,a){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return s=Object.assign({},t,{headImgUrl:a}),e.next=3,R(s);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),L.apply(this,arguments)}},"9e5b":function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-upload",{attrs:{action:"","http-request":e.httpRequest||e.handleUpload,"before-upload":e.beforeUpload,showFileList:e.showFileList,"on-success":e.handleSuccess},scopedSlots:e._u([e._l(e.$slots,(function(t,a){return{key:a,fn:function(){return[e._t(a)]},proxy:!0}}))],null,!0)})},r=[],i=(a("b0c0"),a("5530")),n=a("5ab9"),l=a("2ef0"),o={name:"Upload",props:{showFileList:{type:Boolean,default:!1},onSuccess:{type:Function,default:l["noop"]},httpRequest:{type:Function,default:null}},methods:{handleSuccess:function(e,t,a){e?this.onSuccess(Object(i["a"])(Object(i["a"])({},t),{},{ossUrl:e.name}),a):console.log(e,t)},beforeUpload:function(e){return console.log("fileInfo: ",e),!0},handleUpload:function(e){var t=e.file;e.onSuccess,e.onError,e.file.name;return n["b"](t.name,t)}}},c=o,u=a("2877"),d=Object(u["a"])(c,s,r,!1,null,null,null);t["a"]=d.exports},a250:function(e,t,a){"use strict";var s=a("c108"),r=a.n(s);r.a},b440:function(e,t,a){"use strict";var s=a("b7a7"),r=a.n(s);r.a},b7a7:function(e,t,a){},c108:function(e,t,a){},d36a:function(e,t,a){"use strict";var s=a("ecb3"),r=a.n(s);r.a},d666:function(e,t,a){"use strict";var s=a("54c6"),r=a.n(s);r.a},dcb6:function(e,t,a){"use strict";var s=a("1921"),r=a.n(s);r.a},e668:function(e,t,a){},ecb3:function(e,t,a){},fdc5:function(e,t,a){"use strict";var s=a("e668"),r=a.n(s);r.a}}]);
\ No newline at end of file
diff --git a/dist/static/js/chunk-0dd08121.d3d90bf2.js b/dist/static/js/chunk-0dd08121.d3d90bf2.js
new file mode 100644
index 00000000..5b061281
--- /dev/null
+++ b/dist/static/js/chunk-0dd08121.d3d90bf2.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0dd08121"],{"063e":function(e,t,a){},1921:function(e,t,a){},"29c0":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a(e.view,{tag:"component"},[a("div",{staticClass:"adminnavBox",attrs:{slot:"nav"},slot:"nav"},[a("Employees"===e.view?"h3":"span",{tag:"component",on:{click:function(t){e.view="Employees"}}},[e._v(" 组织架构 ")]),a("RelationCompany"===e.view?"h3":"span",{tag:"component",on:{click:function(t){e.view="RelationCompany"}}},[e._v(" 互链企业 ")])],1)])],1)},r=[],i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"layout_content"},[a("section",{staticClass:"title_section"},[a("div",{staticClass:"EC_col_8"},[e._t("nav")],2),a("div",{staticClass:"EC_col_8"},[a("div",{staticClass:"EC_searchBox"},[a("el-input",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],staticClass:"el-input_mini",attrs:{placeholder:"搜索姓名、部门、职位、角色",clearable:""},on:{clear:e.clearSearchUser},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchUser(t)}},model:{value:e.searchCnName,callback:function(t){e.searchCnName=t},expression:"searchCnName"}},[a("template",{slot:"prepend"},[a("i",{staticClass:"Cicon icon font_family icon-icon_sousuo iconsize_mini",on:{click:e.searchUser,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchUser(t)}}})])],2)],1)]),a("div",{staticClass:"EC_col_8"},[a("div",{staticClass:"fr mt-15",staticStyle:{"margin-top":"22px"}},[a("button",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],staticClass:"EC_button normal shadow",on:{click:e.downLoadUserModel}},[e._v(" 下载通讯录模板 ")])])])]),a("section",{staticClass:"yiyun_section houtai"},[a("div",{staticClass:"fl_navBox"},[a("div",{staticClass:"fl_navBox_body"},[a("div",{staticClass:"admin_treeBox navtree"},[a("div",{staticClass:"navtreebox fulltreebox list-company-dept"},[[a("el-tree",{ref:"tree",staticClass:"toptree",attrs:{data:e.listCompanyDept,"node-key":"id","expand-on-click-node":!1,"default-expand-all":"","highlight-current":!0,indent:8},on:{"node-click":e.nodeClick},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.node,r=t.data;return a("span",{staticClass:"custom-tree-node"},[a("span",{staticClass:"easycloudTreeleafe"},[1==r.isLeaf?a("i",{}):e._e(),1==r.isLeaf?a("i",{staticClass:"el-tree-node__expand-icon el-icon-caret-right bianjutop",style:{opacity:0}}):e._e(),0==r.isLeaf?a("i",{}):e._e(),a("div",{staticClass:"treeeditInput fl"},[a("span",{staticClass:"yiyunnodelabel"},[e._v(e._s(s.label))])]),a("div",{staticClass:"fr"},[a("el-dropdown",[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-more morebtn iconmidle"})]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[a("span",{on:{click:function(t){return e.addPartName(r)}}},[e._v("设置子部门")])]),a("el-dropdown-item",[1!=s.level?a("span",{on:{click:function(t){return e.eidtPartName(r)}}},[e._v("编辑部门")]):e._e()]),a("el-dropdown-item",[1!=s.level?a("span",{on:{click:function(t){return e.deleteDept(r)}}},[e._v("删除部门")]):e._e()])],1)],1)],1)])])}}])})]],2)])])]),a("div",{staticClass:"fl_contentBox dept-personnel-list"},[a("div",{staticClass:"admin_contentBox_body"},[1==e.currentPain?a("div",{staticClass:"admin_contentBox_bodyPain"},[a("div",{staticClass:"mlr-10"},[""!=e.searchCnName?a("h4",{staticClass:"admintitle"},[e._v(" "+e._s("["+e.searchCnName+"]查询结果 ("+e.currUserCount+" 人)")+" ")]):e._e(),""==e.searchCnName?a("h4",{staticClass:"admintitle"},[e._v(" "+e._s(e.currentDeptTitle+"("+e.currUserCount+" 人)")+" ")]):e._e()]),e._m(0),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"topOption"},[a("div",{staticClass:"fl"},[a("div",{staticClass:"ecBtngroup"},[a("div",{staticClass:"ecBtngroup_Item"},[a("button",{staticClass:"EC_button shadow bt_small_20 primaryBtn",attrs:{type:"button"},on:{click:e.addUserInfo}},[e._v(" 添加成员 ")])]),a("div",{staticClass:"ecBtngroup_Item"},[a("file-Uploader",{ref:"webUploadExcel",staticClass:"yiyunfile-Uploader ecload",attrs:{multiple:!1,label:"导入通讯录",auto:!0,accept:"xlsx, xls","btn-id":"filePicker",companyId:e.uploadCompId,typeId:e.uploadTypeOther,url:e.chunkUploadUrl},on:{"upload-success":e.excelUploadSuccess}})],1),a("div",{staticClass:"ecBtngroup_Item"},[a("button",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],staticClass:"EC_button bt_small_20",attrs:{type:"button"},on:{click:e.exportUser}},[e._v(" 导出通讯录 ")])]),a("div",{staticClass:"ecBtngroup_Item"},[a("button",{staticClass:"EC_button shadow bt_small_20",class:{notclick:!this.multipleSelection[0]},attrs:{type:"button"},on:{click:e.addDept}},[e._v(" 设置所在部门 ")])]),a("div",{staticClass:"ecBtngroup_Item"},[a("button",{staticClass:"EC_button shadow bt_small_20",class:{notclick:!this.multipleSelection[0]},attrs:{type:"button"},on:{click:e.deleteUsers}},[e._v(" 删除 ")])])])]),a("div",{staticClass:"fr page_button"},[a("span",{staticClass:"finger",on:{click:e.prePage}},[e._v("上一页")]),a("span",[e._v(e._s(e.pageIndex))]),e._v(" / "),a("span",[e._v(e._s(e.pageTotal))]),a("span",{staticClass:"finger",on:{click:e.nextPage}},[e._v("下一页")])])])]),a("div",{staticClass:"clear"}),a("div",{staticClass:"largecontentBox"},[a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"yiyunTable_list mt-10"},[[a("el-table",{staticClass:"listmaxheight userlist_table",staticStyle:{width:"100%"},attrs:{data:e.listUserData},on:{"selection-change":e.changeFun}},[a("el-table-column",{attrs:{type:"selection",width:"38",align:"center"}}),a("el-table-column",{attrs:{prop:"headImgUrl",label:"",width:"55"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"toxiang_box"},[a("img",{staticClass:"imgHead",attrs:{src:e._f("resolveAvator")(t.row.headImgUrl)}})])]}}],null,!1,929877235)}),a("el-table-column",{attrs:{prop:"cnName",label:"姓名",width:"80"}}),a("el-table-column",{attrs:{prop:"deptName",label:"部门",width:"80"}}),a("el-table-column",{attrs:{prop:"position",label:"职位",width:"80"}}),a("el-table-column",{attrs:{prop:"phone",label:"电话"}}),a("el-table-column",{attrs:{prop:"email",label:"邮箱"}}),a("el-table-column",{attrs:{prop:"",width:"80",align:"center",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("button",{staticClass:"EC_button textStrong bt_mini",on:{click:function(a){return e.scanUserInfo(t.row)}}},[e._v(" 查看 ")])]}}],null,!1,2242891039)})],1)]],2)])])]):e._e(),2==e.currentPain?a("div",{staticClass:"admin_contentBox_bodyPain"},[e._m(1),e._m(2),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"topOption"},[a("div",{staticClass:"fl"},[1==e.editButtonGroup?a("div",[a("button",{staticClass:"EC_button shadow bt_small_20",attrs:{type:"button"},on:{click:e.backUserInfo}},[e._v(" 返回 ")]),a("button",{staticClass:"EC_button bt_small_20",attrs:{type:"button"},on:{click:e.editUserInfo}},[e._v(" 编辑 ")]),0==e.currentUser.disable&&1!==e.currentUser.default?a("button",{staticClass:"EC_button bt_small_20",attrs:{type:"button"},on:{click:function(t){return e.disableUserInfo(1)}}},[e._v(" 禁用 ")]):e._e(),1==e.currentUser.disable?a("button",{staticClass:"EC_button bt_small_20",attrs:{type:"button"},on:{click:function(t){return e.disableUserInfo(0)}}},[e._v(" 启用 ")]):e._e(),1!==e.currentUser.default?a("button",{staticClass:"EC_button bt_small_20",attrs:{type:"button"},on:{click:e.deleteUserInfo}},[e._v(" 删除 ")]):e._e()]):e._e(),2==e.editButtonGroup?a("div",[a("button",{staticClass:"EC_button shadow bt_small_20 primaryBtn",attrs:{type:"button"},on:{click:e.modifyUser}},[e._v(" 保存 ")]),a("button",{staticClass:"EC_button bt_small_20",attrs:{type:"button"},on:{click:e.cancerEditUserInfo}},[e._v(" 取消 ")])]):e._e()]),a("div",{staticClass:"fr page_button"})])]),a("div",{staticClass:"clear"}),a("div",{staticClass:"largecontentBox"},[a("div",{staticClass:"yiyunTable_list mt-10"},[a("el-form",{ref:"form",attrs:{rules:e.newUserRules,model:e.currentUser,"label-width":"110px","label-position":"left"}},[a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("基本信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{class:e.el_formLabelcolor+" UserEditinfoBox DivInputHeight DivInputHeight_first noborder"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"姓名",prop:"cnName"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.cnName)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{model:{value:e.currentUser.cnName,callback:function(t){e.$set(e.currentUser,"cnName",t)},expression:"currentUser.cnName"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"用户头像"}},[a("div",{staticClass:"large_headImg"},[a("img",{staticClass:"imgHead",attrs:{src:e._f("resolveAvator")(e.currentUser.headImgUrl)}})]),a("div",{directives:[{name:"show",rawName:"v-show",value:1==e.eidit,expression:"eidit == true"}],staticClass:"uploadImg"},[a("file-uploader",{staticClass:"avator-btn",attrs:{"on-success":e.headPicUploadSuccess}},[a("el-button",[e._v("上传头像")])],1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"用户名",prop:"userName"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.userName)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{disabled:!0},model:{value:e.currentUser.userName,callback:function(t){e.$set(e.currentUser,"userName",t)},expression:"currentUser.userName"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"性别"}},[0==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-radio-group",{model:{value:e.currentUser.sex,callback:function(t){e.$set(e.currentUser,"sex",t)},expression:"currentUser.sex"}},[a("el-radio",{attrs:{label:1,disabled:""}},[e._v("男")]),a("el-radio",{attrs:{label:0,disabled:""}},[e._v("女")])],1)],1):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-radio-group",{model:{value:e.currentUser.sex,callback:function(t){e.$set(e.currentUser,"sex",t)},expression:"currentUser.sex"}},[a("el-radio",{attrs:{label:1}},[e._v("男")]),a("el-radio",{attrs:{label:0}},[e._v("女")])],1)],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"平台权限",prop:"permission"}},[0==e.eidit?a("div",{staticClass:"eidit_Input"},[e._v(" "+e._s(e.currentUser.roleName)+" ")]):e._e(),1==e.eidit&&1==e.currentUser.default?a("div",{staticClass:"eidit_Input"},[e._v(" "+e._s(e.currentUser.roleName)+" ")]):e._e(),1==e.eidit&&0==e.currentUser.default?a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.currentUser.permission,callback:function(t){e.$set(e.currentUser,"permission",t)},expression:"currentUser.permission"}},e._l(e.roleOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"后台角色",prop:"backgroundPermission"}},[0==e.eidit?a("div",{staticClass:"eidit_Input"},[e._v(" "+e._s(e.currentUser.backgroundRoleName)+" ")]):e._e(),1==e.eidit&&1==e.currentUser.default?a("div",{staticClass:"eidit_Input"},[e._v(" "+e._s(e.currentUser.backgroundRoleName)+" ")]):e._e(),1==e.eidit&&0==e.currentUser.default?a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.currentUser.backgroundPermission,callback:function(t){e.$set(e.currentUser,"backgroundPermission",t)},expression:"currentUser.backgroundPermission"}},e._l(e.backgroundRoleOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"互链企业角色",prop:"linkCompanyRole"}},[0==e.eidit?a("div",{staticClass:"eidit_Input"},[e._v(" "+e._s(e.linkCompanyRoleMap[e.currentUser.linkCompanyRole]||"")+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.currentUser.linkCompanyRole,callback:function(t){e.$set(e.currentUser,"linkCompanyRole",t)},expression:"currentUser.linkCompanyRole"}},e._l(e.linkCompanyRoleOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"手机:",prop:"phone"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.phone)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{disabled:1==e.currentUser.default,placeholder:"输入内容"},model:{value:e.currentUser.phone,callback:function(t){e.$set(e.currentUser,"phone",t)},expression:"currentUser.phone"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"邮箱:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.email)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.currentUser.email,callback:function(t){e.$set(e.currentUser,"email",t)},expression:"currentUser.email"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"民族:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.national)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.currentUser.national,callback:function(t){e.$set(e.currentUser,"national",t)},expression:"currentUser.national"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"籍贯:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.nativePlace)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.currentUser.nativePlace,callback:function(t){e.$set(e.currentUser,"nativePlace",t)},expression:"currentUser.nativePlace"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"政治面貌:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.politicalLandscape)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.currentUser.politicalLandscape,callback:function(t){e.$set(e.currentUser,"politicalLandscape",t)},expression:"currentUser.politicalLandscape"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"婚姻状况:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.maritalStatus)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.currentUser.maritalStatus,callback:function(t){e.$set(e.currentUser,"maritalStatus",t)},expression:"currentUser.maritalStatus"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"生日:"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:0==e.eidit&&null!=e.currentUser.birthday,expression:"\n eidit == false && currentUser.birthday != null\n "}]},[e._v(" "+e._s(e._f("formatDate")(e.currentUser.birthday))+" ")]),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-date-picker",{attrs:{align:"right",type:"date",placeholder:"选择日期"},model:{value:e.currentUser.birthday,callback:function(t){e.$set(e.currentUser,"birthday",t)},expression:"currentUser.birthday"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"地址:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.address)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.currentUser.address,callback:function(t){e.$set(e.currentUser,"address",t)},expression:"currentUser.address"}})],1):e._e()])],1)])])]),a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("学历信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{class:e.el_formLabelcolor+" UserEditinfoBox DivInputHeight noborder"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"最高学历:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.education)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.currentUser.education,callback:function(t){e.$set(e.currentUser,"education",t)},expression:"currentUser.education"}},e._l(e.educationOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"毕业时间:"}},[0==e.eidit&&null!=e.currentUser.gradutionDate?a("div",[e._v(" "+e._s(e._f("formatDate")(e.currentUser.gradutionDate))+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-date-picker",{attrs:{align:"right",type:"date",placeholder:"选择日期"},model:{value:e.currentUser.gradutionDate,callback:function(t){e.$set(e.currentUser,"gradutionDate",t)},expression:"currentUser.gradutionDate"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"毕业院校:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.gradutionSchool)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.currentUser.gradutionSchool,callback:function(t){e.$set(e.currentUser,"gradutionSchool",t)},expression:"currentUser.gradutionSchool"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"专业:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.specialty)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.currentUser.specialty,callback:function(t){e.$set(e.currentUser,"specialty",t)},expression:"currentUser.specialty"}},e._l(e.specOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e()])],1)])])]),a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("职务信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{class:e.el_formLabelcolor+" UserEditinfoBox DivInputHeight noborder"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"部门:",prop:"arraySuper"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.deptName)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("div",{staticClass:"eidit_Input"},[a("el-cascader",{attrs:{options:e.deptOptions,props:e.selectProps,"change-on-select":""},model:{value:e.currentUser.arraySuper,callback:function(t){e.$set(e.currentUser,"arraySuper",t)},expression:"currentUser.arraySuper"}})],1)]):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"现任职务*:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e.currentUser.position)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.currentUser.position,callback:function(t){e.$set(e.currentUser,"position",t)},expression:"currentUser.position"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"入职时间:"}},[0==e.eidit&&null!=e.currentUser.hireDate?a("div",[e._v(" "+e._s(e._f("formatDate")(e.currentUser.hireDate))+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-date-picker",{attrs:{align:"right",type:"date",placeholder:"选择日期","picker-options":e.pickerOptionsIn},model:{value:e.currentUser.hireDate,callback:function(t){e.$set(e.currentUser,"hireDate",t)},expression:"currentUser.hireDate"}})],1):e._e()])],1)]),a("div",{staticClass:"yiyun_col-3"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"员工状态"}},[0==e.eidit?a("div",{staticClass:"eidit_Input"},[e._v(" "+e._s(e.currentUser.userState)+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.currentUser.isDeparture,callback:function(t){e.$set(e.currentUser,"isDeparture",t)},expression:"currentUser.isDeparture"}},e._l(e.stateOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e()])],1)]),1==e.currentUser.isDeparture?a("div",{staticClass:"yiyun_col-3"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"离职时间:"}},[0==e.eidit?a("div",[e._v(" "+e._s(e._f("formatDate")(e.currentUser.departureDate))+" ")]):e._e(),1==e.eidit?a("div",{staticClass:"eidit_Input"},[a("el-date-picker",{attrs:{align:"right",type:"date",placeholder:"选择日期","picker-options":e.pickerOptionsIn},model:{value:e.currentUser.departureDate,callback:function(t){e.$set(e.currentUser,"departureDate",t)},expression:"currentUser.departureDate"}})],1):e._e()])],1)]):e._e()])])])],1)])]):e._e(),3==e.currentPain?a("div",{staticClass:"admin_contentBox_bodyPain"},[e._m(3),e._m(4),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"topOption"},[a("div",{staticClass:"fl"},[a("div",[a("button",{staticClass:"EC_button shadow bt_small_20 primaryBtn",attrs:{type:"button"},on:{click:function(t){return e.createUser(!0)}}},[e._v(" 保存并继续添加 ")]),a("button",{staticClass:"EC_button bt_small_20",attrs:{type:"button"},on:{click:function(t){return e.createUser()}}},[e._v(" 保存 ")]),a("button",{staticClass:"EC_button bt_small_20",attrs:{type:"button"},on:{click:e.cancerSaveUserInfo}},[e._v(" 取消 ")])])]),a("div",{staticClass:"fr page_button"})])]),a("div",{staticClass:"clear"}),a("div",{staticClass:"largecontentBox"},[a("div",{staticClass:"yiyunTable_list mt-10"},[a("el-form",{ref:"form",attrs:{model:e.newUser,rules:e.newUserRules,"label-width":"110px","label-position":"left"}},[a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("基本信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"UserEditinfoBox DivInputHeight DivInputHeight_first noborder"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"姓名:",prop:"cnName"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.cnName,callback:function(t){e.$set(e.newUser,"cnName",t)},expression:"newUser.cnName"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("el-form-item",{attrs:{label:"用户头像"}},[a("div",{staticClass:"fl"},[a("div",{staticClass:"large_headImg"},[a("img",{staticClass:"imgHead",attrs:{src:e.headSrc+e.newUser.headImgUrl,alt:""}})])]),a("div",{staticClass:"uploadImg"},[a("file-uploader",{staticClass:"avator-btn",attrs:{"on-success":e.headPicUploadSuccess}},[a("el-button",[e._v("上传头像")])],1)],1)])],1),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"用户名*:",prop:"userName"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.userName,callback:function(t){e.$set(e.newUser,"userName",t)},expression:"newUser.userName"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"性别:"}},[a("div",{staticClass:"eidit_Input"},[a("el-radio-group",{model:{value:e.newUser.sex,callback:function(t){e.$set(e.newUser,"sex",t)},expression:"newUser.sex"}},[a("el-radio",{attrs:{label:1}},[e._v("男")]),a("el-radio",{attrs:{label:0}},[e._v("女")])],1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"平台权限:",prop:"permission"}},[a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.newUser.permission,callback:function(t){e.$set(e.newUser,"permission",t)},expression:"newUser.permission"}},e._l(e.roleOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"后台角色:",prop:"backgroundPermission"}},[a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.newUser.backgroundPermission,callback:function(t){e.$set(e.newUser,"backgroundPermission",t)},expression:"newUser.backgroundPermission"}},e._l(e.backgroundRoleOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"互链企业角色:",prop:"linkCompanyRole"}},[a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.newUser.linkCompanyRole,callback:function(t){e.$set(e.newUser,"linkCompanyRole",t)},expression:"newUser.linkCompanyRole"}},e._l(e.linkCompanyRoleOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"手机:",prop:"phone"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.phone,callback:function(t){e.$set(e.newUser,"phone",t)},expression:"newUser.phone"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"邮箱:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.email,callback:function(t){e.$set(e.newUser,"email",t)},expression:"newUser.email"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"民族:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.national,callback:function(t){e.$set(e.newUser,"national",t)},expression:"newUser.national"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"籍贯:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.nativePlace,callback:function(t){e.$set(e.newUser,"nativePlace",t)},expression:"newUser.nativePlace"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"政治面貌:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.politicalLandscape,callback:function(t){e.$set(e.newUser,"politicalLandscape",t)},expression:"newUser.politicalLandscape"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"婚姻状况:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.maritalStatus,callback:function(t){e.$set(e.newUser,"maritalStatus",t)},expression:"newUser.maritalStatus"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"生日:"}},[a("div",{staticClass:"eidit_Input"},[a("el-date-picker",{attrs:{align:"right",type:"date",placeholder:"选择日期"},model:{value:e.newUser.birthday,callback:function(t){e.$set(e.newUser,"birthday",t)},expression:"newUser.birthday"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"地址:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.address,callback:function(t){e.$set(e.newUser,"address",t)},expression:"newUser.address"}})],1)])],1)])])]),a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("学历信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"UserEditinfoBox DivInputHeight noborder"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"最高学历:"}},[a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.newUser.education,callback:function(t){e.$set(e.newUser,"education",t)},expression:"newUser.education"}},e._l(e.educationOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"毕业时间:"}},[a("div",{staticClass:"eidit_Input"},[a("el-date-picker",{attrs:{align:"right",type:"date",placeholder:"选择日期"},model:{value:e.newUser.gradutionDate,callback:function(t){e.$set(e.newUser,"gradutionDate",t)},expression:"newUser.gradutionDate"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"毕业院校:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.gradutionSchool,callback:function(t){e.$set(e.newUser,"gradutionSchool",t)},expression:"newUser.gradutionSchool"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"专业:"}},[a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.newUser.specialty,callback:function(t){e.$set(e.newUser,"specialty",t)},expression:"newUser.specialty"}},e._l(e.specOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)])],1)])])]),a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("职务信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"UserEditinfoBox DivInputHeight noborder"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"部门:",prop:"arraySuper"}},[a("div",{staticClass:"eidit_Input"},[a("el-cascader",{attrs:{options:e.deptOptions,props:e.selectProps,"change-on-select":""},model:{value:e.newUser.arraySuper,callback:function(t){e.$set(e.newUser,"arraySuper",t)},expression:"newUser.arraySuper"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"现任职务:"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.newUser.position,callback:function(t){e.$set(e.newUser,"position",t)},expression:"newUser.position"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"入职时间:"}},[a("div",{staticClass:"eidit_Input"},[a("el-date-picker",{attrs:{align:"right",type:"date",placeholder:"选择日期","picker-options":e.pickerOptionsIn},model:{value:e.newUser.hireDate,callback:function(t){e.$set(e.newUser,"hireDate",t)},expression:"newUser.hireDate"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-3"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"员工状态"}},[a("div",{staticClass:"eidit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.newUser.isDeparture,callback:function(t){e.$set(e.newUser,"isDeparture",t)},expression:"newUser.isDeparture"}},e._l(e.stateOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)])],1)]),1==e.newUser.isDeparture?a("div",{staticClass:"yiyun_col-3"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"离职时间:"}},[a("div",{staticClass:"eidit_Input"},[a("el-date-picker",{attrs:{align:"right",type:"date",placeholder:"选择日期","picker-options":e.pickerOptionsIn},model:{value:e.newUser.departureDate,callback:function(t){e.$set(e.newUser,"departureDate",t)},expression:"newUser.departureDate"}})],1)])],1)]):e._e()])])])],1)])]):e._e(),4==e.currentPain?a("div",{staticClass:"admin_contentBox_bodyPain"},[e._m(5),e._m(6),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"topOption"},[a("div",{staticClass:"fl"},[a("div",[a("el-button",{attrs:{type:"primary"},on:{click:e.updateDept}},[e._v("保存")]),a("el-button",{attrs:{type:"text"},on:{click:e.cancerSaveUserInfo}},[e._v("取消")])],1)]),a("div",{staticClass:"fr page_button"})])]),a("div",{staticClass:"clear"}),a("div",{staticClass:"largecontentBox"},[a("div",{staticClass:"yiyunTable_list mt-10"},[a("el-form",{ref:"form",attrs:{rules:e.deptRules,model:e.deptData,"label-width":"110px","label-position":"left"}},[a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("部门信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"UserEditinfoBox DivInputHeight DivInputHeight_first noborder"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"部门名称",prop:"deptName"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"输入内容"},model:{value:e.deptData.deptName,callback:function(t){e.$set(e.deptData,"deptName",t)},expression:"deptData.deptName"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"上级部门"}},[a("div",{staticClass:"eidit_Input"},[a("el-cascader",{attrs:{options:e.deptOptions,props:e.selectProps,"change-on-select":""},model:{value:e.deptData.arraySuper,callback:function(t){e.$set(e.deptData,"arraySuper",t)},expression:"deptData.arraySuper"}})],1)])],1)])])])])],1)])]):e._e(),5==e.currentPain?a("div",{staticClass:"admin_contentBox_bodyPain"},[e._m(7),e._m(8),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"topOption"},[a("div",{staticClass:"fl"},[a("div",[a("el-button",{attrs:{type:"primary",disabled:e.addDeptDisable},on:{click:e.createDept}},[e._v("保存")]),a("el-button",{attrs:{type:"text"},on:{click:e.cancerSaveUserInfo}},[e._v("取消")])],1)])])]),a("div",{staticClass:"clear"}),a("div",{staticClass:"largecontentBox"},[a("div",{staticClass:"yiyunTable_list mt-10"},[a("el-form",{ref:"form",attrs:{rules:e.deptRules,model:e.deptData,"label-width":"110px","label-position":"left"}},[a("div",{staticClass:"yiyunTable_list_item"},[a("div",{staticClass:"mlr-10"},[a("h3",{staticClass:"secondListTitle"},[e._v("部门信息")])]),a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line_light"})]),a("div",{staticClass:"UserEditinfoBox DivInputHeight noborder"},[a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"部门名称",prop:"deptName"}},[a("div",{staticClass:"eidit_Input"},[a("el-input",{attrs:{placeholder:"请输入子部门名称"},model:{value:e.deptData.deptName,callback:function(t){e.$set(e.deptData,"deptName",t)},expression:"deptData.deptName"}})],1)])],1)]),a("div",{staticClass:"yiyun_col-6"},[a("div",{staticClass:"el-form-itemBox"},[a("el-form-item",{attrs:{label:"上级部门"}},[a("div",{staticClass:"eidit_Input"},[a("el-cascader",{attrs:{options:e.deptOptions,props:e.selectProps,"change-on-select":""},model:{value:e.deptData.arraySuper,callback:function(t){e.$set(e.deptData,"arraySuper",t)},expression:"deptData.arraySuper"}})],1)])],1)])])])])],1)])]):e._e()])])])]),e.isDistWorkDeptDialog?a("div",{staticClass:"ec_dialog"},[a("div",{staticClass:"ec_dialogBox"},[a("div",{staticClass:"ec_dialogBoxHead"},[a("h3",{staticClass:"ec_dialogBoxHeadTitle fl"},[e._v("设置职员所在部门")]),a("i",{staticClass:"Cicon icon font_family icon-icon_quxiaohuoguanbi ec_dialogBoxHeadclose fr",attrs:{title:"关闭"},on:{click:e.colseSet}})]),a("div",{staticClass:"line"}),a("div",{staticClass:"ec_dialogBoxBody"},[a("el-cascader-panel",{attrs:{options:e.deptOptions,props:e.selectProps},model:{value:e.currentUser.arraySuper,callback:function(t){e.$set(e.currentUser,"arraySuper",t)},expression:"currentUser.arraySuper"}})],1),a("div",{staticClass:"line"}),a("div",{staticClass:"ec_dialogBoxfooter"},[a("el-button",{on:{click:function(t){return e.cancelAddDept()}}},[e._v("取 消")]),a("el-button",{on:{click:function(t){return e.enterAddDept()}}},[e._v("指派至所选部门")])],1)])]):e._e()])},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("h4",{staticClass:"admintitle"},[e._v("职员详情")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("h4",{staticClass:"admintitle"},[e._v("添加成员")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("h4",{staticClass:"admintitle"},[e._v("修改名称")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("h4",{staticClass:"admintitle"},[e._v("设置子部门")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mlr-10"},[a("div",{staticClass:"border-line"})])}],l=(a("99af"),a("4160"),a("a15b"),a("45fc"),a("ac1f"),a("1276"),a("159b"),a("96cf"),a("1da1")),o=a("9e5b"),c=a("93d6"),u=a("5ab9"),d=a("3de1"),p={components:{FileUploader:o["a"]},data:function(){return{headSrc:"/api/archives/head?path=",chunkUploadUrl:"/api/webupload/chunks",uploadTypeOther:5,currentDeptTitle:"",currUserCount:0,currentDeptName:"",searchCnName:"",anniutype:"graybtn",currentNode:{},rootNode:{},clickNode:{},currentPain:"1",editButtonGroup:"1",el_formLabelcolor:"textlabelgray",nodeQuery:{name:""},isShowDlg:!1,isDistWorkDeptDialog:!1,listCompanyDept:[],selectProps:{value:"id",label:"label",children:"children",checkStrictly:!0,expandTrigger:"hover"},listUpdateUserID:[],deptOptions:[],eidit:!1,form:{name:"",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:""},deptData:{deptName:"",arraySuper:[]},pageIndex:1,pageSize:15,pageTotal:1,listUserData:[],currentUser:{},uploadCompId:sessionStorage.companyId,uploadTypeHead:3,newUser:{headImgUrl:"",isDeparture:0,linkCompanyRole:0},newUserDeptArry:[],multipleSelection:[],deptRules:{deptName:[{required:!0,message:"请输入部门名称",trigger:"blur"}]},newUserRules:{cnName:[{required:!0,message:"请输入姓名",trigger:"blur"}],userName:[{required:!0,message:"请输入用户名",trigger:"blur"}],permission:[{required:!0,message:"请选择平台权限",trigger:"blur"}],backgroundPermission:[{required:!0,message:"请选择后台角色",trigger:"blur"}],phone:[{required:!0,message:"请输入手机号",trigger:"blur"}],arraySuper:[{required:!0,message:"请选择部门",trigger:"blur"}]},pickerOptionsIn:{disabledDate:function(e){return e.getTime()>Date.now()},shortcuts:[{text:"今天",onClick:function(e){e.$emit("pick",new Date)}},{text:"昨天",onClick:function(e){var t=new Date;t.setTime(t.getTime()-864e5),e.$emit("pick",t)}},{text:"一周前",onClick:function(e){var t=new Date;t.setTime(t.getTime()-6048e5),e.$emit("pick",t)}}]},pickerOptionsGraduate:{disabledDate:function(e){return e.getTime()>Date.now()},shortcuts:[{text:"今天",onClick:function(e){e.$emit("pick",new Date)}},{text:"一年前",onClick:function(e){var t=new Date;t.setTime(t.getTime()-31536e6),e.$emit("pick",t)}},{text:"三年前",onClick:function(e){var t=new Date;t.setTime(t.getTime()-94608e6),e.$emit("pick",t)}}]},specOptions:[{value:"选项1",label:"机务专业"},{value:"选项2",label:"设计专业"},{value:"选项3",label:"机电专业"},{value:"选项4",label:"水暖电"},{value:"选项5",label:"结构设计"}],roleOptions:c["j"],linkCompanyRoleOptions:c["i"],linkCompanyRoleMap:c["h"],backgroundRoleOptions:c["b"],stateOptions:c["k"],educationOptions:[{value:"博士",label:"博士"},{value:"硕士研究生",label:"硕士研究生"},{value:"本科",label:"本科"},{value:"专科",label:"专科"},{value:"自考",label:"自考"}],addDeptDisable:!1}},filters:{formatDate:function(e){var t=new Date(e),a=t.getFullYear(),s=t.getMonth()+1,r=t.getDate();return s=s<10?"0"+s:s,r=r<10?"0"+r:r,a+"-"+s+"-"+r}},mounted:function(){this.listDepts(),setInterval((function(){document.querySelectorAll(".el-cascader-node__label").forEach((function(e){e.onclick=function(){this.previousElementSibling&&this.previousElementSibling.click()}}))}),1e3)},methods:{changeFun:function(e){this.multipleSelection=e,this.anniutype=""},listDepts:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e,t.next=3,c["d"](sessionStorage.companyId);case 3:s=t.sent,a.listCompanyDept=s,a.deptOptions=s,r=s[0],a.rootNode=r,e.getUserList(r||void 0),void 0==a.currentNode.id&&(a.currentNode=r,setTimeout((function(){a.$refs.tree.setCurrentKey(r.id)}),50),a.currentDeptTitle=r.label);case 10:case"end":return t.stop()}}),t)})))()},getUserList:function(){var e=arguments,t=this;return Object(l["a"])(regeneratorRuntime.mark((function a(){var s,r,i,n,l,o;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(s=e.length>0&&void 0!==e[0]?e[0]:t.listCompanyDept[0],e.length>1&&void 0!==e[1]?e[1]:t.pageIndex,e.length>2&&void 0!==e[2]?e[2]:t.pageSize,r=e.length>3&&void 0!==e[3]?e[3]:t.searchCnName,s){a.next=7;break}return a.abrupt("return");case 7:return a.next=9,c["g"](s,t.pageIndex,t.pageSize,r);case 9:i=a.sent,n=i.list,i.page,l=i.pageSize,o=i.total,t.listUserData=n,t.pageTotal=Math.ceil(o/l),t.currUserCount=o;case 17:case"end":return a.stop()}}),a)})))()},prePage:function(){if(this.pageIndex>1){this.pageIndex=this.pageIndex-1;var e=this.$refs.tree.getCurrentNode();this.getUserList(e),this.currentPain=1}},nextPage:function(){if(this.pageIndex0)for(l=0;l0&&void 0!==arguments[0]&&arguments[0],a=this;this.$refs["form"].validate(function(){var s=Object(l["a"])(regeneratorRuntime.mark((function s(r){var i,n,l;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:if(r){s.next=2;break}return s.abrupt("return");case 2:return e.newUser.deptid=e.newUser.arraySuper[e.newUser.arraySuper.length-1],e.newUser.createUserId=sessionStorage.userId,e.newUser.companyId=sessionStorage.companyId,s.next=7,c["a"](e.newUser);case 7:if(i=s.sent,n=0===i.Code,n){s.next=12;break}return a.$notify({type:"error",message:i.Msg,offset:100,duration:5e3}),s.abrupt("return");case 12:a.$notify({message:"".concat(e.newUser.cnName,"添加成功。"),type:["success"],duration:2500}),l=e.$refs.tree.getCurrentNode(),e.newUser={headImgUrl:"",isDeparture:0,linkCompanyRole:0},e.getUserList(l||void 0),t||(e.currentPain=1);case 17:case"end":return s.stop()}}),s)})));return function(e){return s.apply(this,arguments)}}())},saveUserInfo:function(){this.editButtonGroup=1,this.eidit=!1},headPicUploadSuccess:function(e){var t=Object(u["c"])(e.ossUrl);1==this.eidit&&(this.currentUser.headImgUrl=t),3==this.currentPain&&(this.newUser.headImgUrl=t)},excelUploadSuccess:function(e){var t=this,a={filepath:e.filePath,companyId:sessionStorage.companyId,userId:sessionStorage.userId};this.$axios({method:"get",url:encodeURI("/api/sysinfo/users/import"),params:a}).then((function(e){if(null!=e.data){t.$notify({message:e.data.message,type:"success",offset:100,duration:5e3});var a=t.$refs.tree.getCurrentNode();t.currentPain=1,t.getUserList(a)}})).catch((function(e){console.log(e)}))},exportUser:function(){var e=this;this.listUserData.length<1?this.$notify({message:"当前列表用户为空,请先查询用户",type:"warning",offset:100,duration:2500}):this.$confirm("导出当前用户列表,是否继续?","",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var t=e.$refs.tree.getCurrentNode(),a=!1,s="";null==t?(a=!0,s=e.rootNode.id):1==e.clickNode.level?(a=!0,s=t.id):s=t.id;var r={deptId:s,userId:sessionStorage.userId,companyId:sessionStorage.companyId,isCompany:a};e.$axios({method:"post",url:encodeURI("/api/sysinfo/users/export/dept"),data:r}).then((function(t){if(200==t.status&&null!=t.data){e.$notify({message:"导出成功",type:"success",offset:100,duration:2500});var a=encodeURI("/api/archives/download/path?filepath="+t.data+"&filename=导出用户"),s=document.createElement("iframe");s.style.display="none",s.src=a,document.body.appendChild(s)}})).catch((function(e){console.log(e)}))}))},scanUserInfo:function(e){var t=this;return Object(l["a"])(regeneratorRuntime.mark((function a(){var s,r,i,n,l,o,u;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return s=t,a.next=3,c["f"](e.id);case 3:r=a.sent,r.arraySuper=(r.deptId||r.companyId)===r.companyId?[]:r.levelId.split("-").concat(r.deptId),s.currentPain=2,s.currentUser=r,i=new Date("0001-01-01T00:00:00Z").getTime(),n=new Date(r.departureDate).getTime(),l=new Date(r.birthday).getTime(),o=new Date(r.gradutionDate).getTime(),u=new Date(r.hireDate).getTime(),n==i&&(s.currentUser.departureDate=null),l==i&&(s.currentUser.birthday=null),o==i&&(s.currentUser.gradutionDate=null),u==i&&(s.currentUser.hireDate=null),s.eidit=!1;case 17:case"end":return a.stop()}}),a)})))()},backUserInfo:function(){this.currentPain=1},editUserInfo:function(){this.editButtonGroup=2,this.eidit=!0,this.el_formLabelcolor="textlabelblock"},modifyUser:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e,e.$refs["form"].validate(function(){var t=Object(l["a"])(regeneratorRuntime.mark((function t(s){var r,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(s){t.next=2;break}return t.abrupt("return");case 2:return e.currentUser.deptid=e.currentUser.arraySuper[e.currentUser.arraySuper.length-1],e.currentUser.modifyUserId=sessionStorage.userId,t.next=6,c["l"](e.currentUser);case 6:if(r=t.sent,i=0===r.Code,i){t.next=11;break}return a.$notify({type:"error",message:r.Msg,offset:100,duration:5e3}),t.abrupt("return");case 11:a.$notify({message:"修改成功。",type:"success",offset:100,duration:2500}),e.currentPain=1,e.editButtonGroup=1,e.getUserList(e.$refs.tree.getCurrentNode());case 15:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 2:case"end":return t.stop()}}),t)})))()},disableUserInfo:function(e){var t=this,a=this,s="";s=0==e?"启用":"禁用",this.$confirm("".concat(s,"的用户将").concat("禁用"==s?"无法":"有权","访问我司LOCKING,确定").concat(s,"“").concat(this.currentUser.cnName,"”的账户吗?"),"",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){t.currentUser.modifyUserId=sessionStorage.userId,t.currentUser.disable=e,t.$axios({method:"put",url:encodeURI("/api/sysinfo/userinfo"),data:t.currentUser}).then((function(e){1==e.data.state?a.$notify({message:"".concat(t.currentUser.cnName,"已").concat(s),type:"success",offset:100,duration:2500}):a.$notify({type:"error",message:e.data.message,offset:100,duration:5e3})})).catch((function(e){console.log(e)}))})).catch((function(){}))},deleteUserInfo:function(){var e=this,t=this;this.$confirm("账户删除后将无法恢复,是否继续删除“".concat(this.currentUser.cnName,"”的账户?"),"",{confirmButtonText:"确定",cancelButtonText:"取消",type:"error"}).then(Object(l["a"])(regeneratorRuntime.mark((function a(){var s;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,e.$fetchApi("user/deleteUser",{id:e.currentUser.id});case 2:if(s=a.sent,0===s.Code){a.next=6;break}return t.$notify({type:"error",message:s.Msg,offset:100,duration:5e3}),a.abrupt("return");case 6:t.currentPain=1,t.$notify({message:"“".concat(e.currentUser.cnName,"”的账户已删除。"),type:["success"],duration:2500}),t.listDepts();case 9:case"end":return a.stop()}}),a)})))).catch((function(){}))},cancerSaveUserInfo:function(){this.newUser={headImgUrl:"",isDeparture:0,linkCompanyRole:0},this.currentPain=1,this.editButtonGroup=1,this.eidit=!1},cancerEditUserInfo:function(){this.currentPain=1,this.editButtonGroup=1,this.eidit=!1,this.el_formLabelcolor="textlabelgray"},eidtPartName:function(e){this.currentPain=4,this.deptData=e.data,this.setDisabled(this.deptOptions[0].children,e.id)},setDisabled:function(e,t){if(null!=e)for(var a=0;a0){var t=JSON.parse(JSON.stringify(e.data.arraySuper));t.push(e.id),this.deptData.arraySuper=t}else this.deptData.arraySuper=[],this.deptData.arraySuper.push(e.id);this.setDisabled(this.deptOptions[0].children,"1")},downLoadUserModel:function(){var e=Object(u["a"])("oss://导入用户模板.xlsx","导入用户模板.xlsx");Object(d["a"])(e)}}},m=p,f=(a("dcb6"),a("696e"),a("4a1e"),a("2877")),v=Object(f["a"])(m,i,n,!1,null,"44ffd00e",null),h=v.exports,y=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"layout_content"},[a("section",{staticClass:"title_section"},[a("div",{staticClass:"EC_col_8"},[e._t("nav")],2)]),a("section",{staticClass:"yiyun_section houtai"},[a("div",{staticClass:"fl_navBox"},[a("div",{staticClass:"fl_navBox_body"},[a("div",{staticClass:"admin_treeBox navtree"},[a("div",{staticClass:"tree_list"},[e._l(e.relationList,(function(t){return a("div",{key:t.key,staticClass:"tree_list_item",class:{active:t===e.currentRelationInfo},on:{click:function(a){return e.checkRelationDetail(t)}}},[a("i",{staticClass:"el-icon-models"}),a("span",{staticClass:"tree_list_item_label"},[e._v(e._s(e.resolveListLabel(t)))])])})),e.relationList.length?e._e():a("div",{staticClass:"tree_list_empty"},[e._v(" 暂无互链企业,请添加 ")])],2),a("div",{staticClass:"bottombtn tree_list_bottom_button",on:{click:function(t){e.searchModalVisible=!0}}},[e._v(" 添加互链企业 ")])])])]),a("div",{staticClass:"fl_contentBox dept-personnel-list"},[a("div",{staticClass:"admin_contentBox_body"},[a("div",{staticClass:"admin_contentBox_bodyPain"},[e.currentRelationInfo?a("relation-company-info",{key:e.currentRelationInfo.key,attrs:{relationInfo:e.currentRelationInfo},on:{reload:e.fetchRelations}}):e._e()],1)])])])]),a("el-dialog",{attrs:{title:"通过手机号搜索外部企业职员",visible:e.searchModalVisible,width:"460px",top:"30vh"},on:{"update:visible":function(t){e.searchModalVisible=t}}},[a("el-form",{attrs:{model:e.searchForm}},[a("el-form-item",{attrs:{label:""}},[a("el-input",{attrs:{placeholder:"点击输入手机号"},model:{value:e.searchForm.keywords,callback:function(t){e.$set(e.searchForm,"keywords",t)},expression:"searchForm.keywords"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.searchModalVisible=!1}}},[e._v("取 消")]),a("el-button",{attrs:{disabled:!e.searchForm.keywords,type:"primary"},on:{click:e.searchCompanyByKeywords}},[e._v("查 询")])],1)],1),a("el-dialog",{attrs:{title:"已查询到用户,请选择所在企业关系",visible:e.searchResultModalVisible,"custom-class":"relation_company_search_modal",width:"460px",top:"30vh"},on:{"update:visible":function(t){e.searchResultModalVisible=t}}},e._l(e.searchResultsList,(function(t){return a("div",{key:t.companyId,staticClass:"search_result_item",on:{click:function(a){return e.generateRelation(t)}}},[a("div",{staticClass:"search_result_item_sub_label"},[e._v(e._s(t.contactor))]),a("div",{staticClass:"search_result_item_label"},[e._v(e._s(t.companyName))]),a("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right search_result_item_icon"})])})),0)],1)},b=[],_=(a("7db0"),a("d81d"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"relation_company_info"},[a("div",{staticClass:"mlr-20"},[a("card-header",{scopedSlots:e._u([e.isUnApply?{key:"left",fn:function(){return[a("span")]},proxy:!0}:null,{key:"title",fn:function(){return[e._v(" "+e._s(e.isUnApply?"申请互链企业":e.isApplying&&!e.isMyApply?"对方邀请建立互链":"企业信息")+" ")]},proxy:!0},{key:"right",fn:function(){return[e.isUnApply?a("el-button",{attrs:{size:"mini",type:"primary"},on:{click:e.sendApply}},[e._v("发起申请")]):e._e(),e.isApplying&&e.isMyApply?a("el-button",{attrs:{size:"mini"},on:{click:e.fallbackApply}},[e._v("取消申请")]):e._e(),e.isApplying&&!e.isMyApply?[a("el-button",{attrs:{size:"mini"},on:{click:e.fallbackApply}},[e._v("驳回申请")]),a("el-button",{attrs:{size:"mini",type:"primary"},on:{click:e.permitApply}},[e._v("建立互链")])]:e._e(),e.applyIsApproved&&!e.linkIsRemoved?[a("el-dropdown",{attrs:{placement:"bottom"}},[a("el-button",{attrs:{size:"mini"}},[e._v("权限管理")]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{nativeOn:{click:function(t){return e.toggleLinkStatus(t)}}},[e._v(e._s(e.linkIsPause?"恢复互链":"暂停互链"))]),a("el-dropdown-item",{style:{color:"red"},nativeOn:{click:function(t){e.authModalVisible=!0}}},[e._v("解除互链")])],1)],1)]:e._e()]},proxy:!0}],null,!0)})],1),a("div",{staticClass:"border-line"}),a("div",{staticClass:"clear"}),a("div",{staticClass:"largecontentBox"},[a("div",{staticClass:"mlr-20"},[a("div",{staticClass:"company_logo"},[a("img",{attrs:{src:e._f("resolveImg")(e.companyData.logoUrl),alt:""}})]),a("div",{staticClass:"info_item"},[a("span",{staticClass:"info_item_label"},[e._v("企业简称")]),a("span",{staticClass:"info_item_text"},[e._v(e._s(e.companyData.companyName))])]),a("div",{staticClass:"info_item"},[a("span",{staticClass:"info_item_label"},[e._v("企业全称")]),a("span",{staticClass:"info_item_text"},[e._v(e._s(e.companyData.compAllName))])]),a("div",{staticClass:"info_item"},[a("span",{staticClass:"info_item_label"},[e._v("地址")]),a("span",{staticClass:"info_item_text"},[e._v(e._s(e.companyData.address))])]),a("div",{staticClass:"info_item"},[a("span",{staticClass:"info_item_label"},[e._v("所属行业")]),a("span",{staticClass:"info_item_text"},[e._v(e._s(e.companyData.industryName))])]),a("div",{staticClass:"info_item"},[a("span",{staticClass:"info_item_label"},[e._v("法人")]),a("span",{staticClass:"info_item_text"},[e._v(e._s(e.companyData.cnName))])]),a("div",{staticClass:"info_item"},[a("span",{staticClass:"info_item_label"},[e._v("法人电话")]),a("span",{staticClass:"info_item_text"},[e._v(e._s(e.companyData.phone))])]),a("div",{staticClass:"info_item"},[a("span",{staticClass:"info_item_label"},[e._v("单位电话")]),a("span",{staticClass:"info_item_text"},[e._v(e._s(e.companyData.telphone))])]),a("div",{staticClass:"info_item"},[a("span",{staticClass:"info_item_label"},[e._v("企业成员")]),a("span",{staticClass:"info_item_text"},[e._v(e._s(e._f("displayText")(e.companyData.userCount,"人")))])]),a("div",{staticClass:"info_item"},[a("span",{staticClass:"info_item_label"},[e._v("企业部门")]),a("span",{staticClass:"info_item_text"},[e._v(e._s(e._f("displayText")(e.companyData.deptCount,"个部门")))])])]),e.projectList.length?[a("div",{staticClass:"border-line"}),a("div",{staticClass:"mlr-20 linkTitle"},[e._v("正在互链项目")]),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.projectList,"max-height":"250"}},[a("el-table-column",{attrs:{align:"right",width:"56px"},scopedSlots:e._u([{key:"header",fn:function(e){return[a("i",{staticClass:"el-icon-models"})]}},{key:"default",fn:function(e){return[a("i",{staticClass:"el-icon-models"})]}}],null,!1,2984380243)}),a("el-table-column",{attrs:{prop:"projName",label:"项目名称"}}),a("el-table-column",{attrs:{prop:"relation",label:"关系",width:"120"}}),a("el-table-column",{attrs:{prop:"projectManagerName",label:"项目负责人",width:"120"}}),a("el-table-column",{attrs:{prop:"otherNum",label:"对方企业参与人数",width:"120"}}),a("el-table-column",{attrs:{prop:"ourNum",label:"我企业参与认识",width:"180"}})],1)]:e._e()],2),a("el-dialog",{attrs:{title:"请输入密码以认证用户权限",visible:e.authModalVisible,width:"460px",top:"30vh"},on:{"update:visible":function(t){e.authModalVisible=t}}},[a("el-form",{attrs:{model:e.authForm}},[a("el-form-item",{attrs:{label:""}},[a("el-input",{attrs:{placeholder:"请输入密码",type:"password"},model:{value:e.authForm.password,callback:function(t){e.$set(e.authForm,"password",t)},expression:"authForm.password"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.searchModalVisible=!1}}},[e._v("取 消")]),a("el-button",{attrs:{disabled:!e.authForm.password,type:"primary"},on:{click:e.checkAuth}},[e._v("认 证")])],1)],1)],1)}),C=[],g=(a("d3b7"),a("3ca3"),a("ddb0"),a("5530")),U=a("3835"),x=a("8bde"),k=a("2ef0"),w=a("b775"),D={props:{relationInfo:{type:Object,default:function(){return{}}}},components:{CardHeader:x["a"]},data:function(){var e=this.$store.state.currentCompanyId,t=this.$store.state.accountName;return{mainCompanyId:e,accountName:t,companyData:{},authModalVisible:!1,authForm:{},projectList:[]}},mounted:function(){this.fetchCompanyDetail()},computed:{isUnApply:function(){return"-1"==this.relationInfo.auditStatus},isApplying:function(){return"0"==this.relationInfo.auditStatus},applyIsApproved:function(){return"1"==this.relationInfo.auditStatus},linkIsPause:function(){return 2==this.relationInfo.linkStatus},linkIsRemoved:function(){return 0==this.relationInfo.linkStatus},isMyApply:function(){return this.relationInfo.sendCompanyId===this.mainCompanyId}},filters:{displayText:function(e,t){return Object(k["isNil"])(e)?"":"".concat(e," ").concat(t)}},methods:{fetchCompanyDetail:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,s,r,i,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.relationInfo.thatCompanyId,t.next=3,Promise.all([e.$fetchApi("company/queryCompanyById",{id:a}),e.$fetchApi("project/queryLinkProjectListByCompanyId",{ourCompanyId:e.mainCompanyId,otherCompanyId:a})]);case 3:if(s=t.sent,r=Object(U["a"])(s,2),i=r[0],n=r[1],Object(w["c"])(i),!i.Code){t.next=10;break}return t.abrupt("return");case 10:e.companyData=Object(g["a"])(Object(g["a"])(Object(g["a"])({},Object(d["b"])(i.Data.company)),Object(d["b"])(i.Data.user)),{},{deptCount:i.Data.deptNum,userCount:i.Data.userNum}),e.projectList=(n.Data||[]).map(d["b"]);case 12:case"end":return t.stop()}}),t)})))()},sendApply:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=Object(d["c"])(Object(g["a"])({},e.relationInfo)),a.AuditStatus=0,a.LinkStatus=0,t.next=5,e.$fetchApi("company/link/addCompanyLink",a);case 5:if(s=t.sent,Object(w["c"])(s),!s.Code){t.next=9;break}return t.abrupt("return");case 9:e.$notify({message:"申请提交成功",type:"success"}),e.$emit("reload");case 11:case"end":return t.stop()}}),t)})))()},fallbackApply:function(){var e=this.isMyApply?"撤回":"驳回";this.abtractUpdateApply({confirmMessage:"确定".concat(e,"申请?"),successMessage:"申请已".concat(e),nextState:function(e){e.AuditStatus=2}})},permitApply:function(){this.abtractUpdateApply({confirmMessage:"建立企业互链关系后双方企业可以开展互链项目,确定建立互链?",successMessage:"互链建立成功",nextState:function(e){e.AuditStatus=1,e.LinkStatus=1}})},toggleLinkStatus:function(){var e=this,t=2==this.relationInfo.linkStatus?"恢复":"暂停";this.abtractUpdateApply({confirmMessage:"确定".concat(t,"互链?"),successMessage:"互链已".concat(t),nextState:function(t){t.LinkStatus=2==e.relationInfo.linkStatus?1:2}})},checkAuth:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.authForm.password,t.next=3,e.$fetchApi("authentication/passwordCheck",{password:a,userName:e.accountName});case 3:if(s=t.sent,Object(w["c"])(s),!s.Code){t.next=7;break}return t.abrupt("return");case 7:if(s.Data){t.next=10;break}return d["d"].error("密码错误"),t.abrupt("return");case 10:e.authForm={},e.authModalVisible=!1,e.removeLink();case 13:case"end":return t.stop()}}),t)})))()},removeLink:function(){this.relationInfo.linkStatus;this.abtractUpdateApply({confirmMessage:"解除企业互链将无法访问共同互链的项目,确定解除企业互链项目关系?",successMessage:"互链解除成功",nextState:function(e){e.LinkStatus=0}})},abtractUpdateApply:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.confirmMessage,s=t.confirmButtonText,r=void 0===s?"确定":s,i=t.cancelButtonText,n=void 0===i?"取消":i,o=t.successMessage,c=t.nextState;this.$confirm(a,"",{confirmButtonText:r,cancelButtonText:n,showClose:!1,type:"warning"}).then(Object(l["a"])(regeneratorRuntime.mark((function t(){var a,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=Object(d["c"])(Object(g["a"])({},e.relationInfo)),c(a),t.next=4,e.$fetchApi("company/link/updateCompanyLink",a);case 4:s=t.sent,Object(w["c"])(s),e.$notify({message:o,type:"success"}),e.$emit("reload");case 8:case"end":return t.stop()}}),t)})))).catch((function(){}))}}},I=D,S=(a("a250"),Object(f["a"])(I,_,C,!1,null,"2e531c5a",null)),$=S.exports,O={components:{RelationCompanyInfo:$},data:function(){var e=this.$store.state.currentCompanyId,t=this.$store.state.currentPlatform.orgName;return{mainCompanyId:e,mainCompanyName:t,relationList:[],searchModalVisible:!1,searchForm:{},searchResultModalVisible:!1,searchResultsList:[],currentRelationInfo:void 0}},mounted:function(){this.fetchRelations()},watch:{searchModalVisible:function(e){e||(this.searchForm={})}},methods:{resolveListLabel:function(e){var t="",a=e.thatCompanyName,s=this.mainCompanyId;return 1==e.auditStatus?(2==e.linkStatus&&(t="(暂停互链)"),0==e.linkStatus&&(t="(互链已解除)")):0==e.auditStatus?e.acceptCompanyId===s?a="新申请":t="(申请中)":2==e.auditStatus&&(e.acceptCompanyId===s?(a="新申请",t="(已驳回)"):t="(被驳回)"),"".concat(a," ").concat(t)},fetchRelations:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,s,r,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$fetchApi("company/link/queryCompanyLinkListByCompanyId",{companyId:e.mainCompanyId});case 2:if(a=t.sent,Object(w["c"])(a),!a.Code){t.next=6;break}return t.abrupt("return");case 6:if(s=(a.Data||[]).map((function(t){var a=Object(d["b"])(t),s=a.sendCompanyId===e.mainCompanyId;return a.thatCompanyId=s?a.acceptCompanyId:a.sendCompanyId,a.thatCompanyName=s?a.acceptCompanyName:a.sendCompanyName,a.key="".concat(a.thatCompanyId,"_").concat(a.auditStatus,"_").concat(a.linkStatus),a})),e.relationList=s,s.length){t.next=10;break}return t.abrupt("return");case 10:if(r=e.currentRelationInfo,r){t.next=14;break}return e.checkRelationDetail(s[0]),t.abrupt("return");case 14:if(i=s.find((function(e){return e.thatCompanyId===r.thatCompanyId})),i){t.next=18;break}return e.checkRelationDetail(s[0]),t.abrupt("return");case 18:e.currentRelationInfo=i;case 19:case"end":return t.stop()}}),t)})))()},checkRelationDetail:function(e){this.currentRelationInfo=e},searchCompanyByKeywords:function(){var e=this;return Object(l["a"])(regeneratorRuntime.mark((function t(){var a,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.searchForm.keywords,t.next=3,e.$fetchApi("user/queryUserAndCompanyByUserPhone",{phone:a});case 3:if(s=t.sent,Object(w["c"])(s),0===s.Code){t.next=7;break}return t.abrupt("return");case 7:if(r=s.Data,r.companyId!==e.mainCompanyId){t.next=11;break}return e.$notify({type:"error",message:"该职员与您在同一个企业。"}),t.abrupt("return");case 11:if(!e.relationList.find((function(e){return e.thatCompanyId===r.companyId}))){t.next=14;break}return e.$notify({type:"error",message:"已存在与目标企业的互链或申请"}),t.abrupt("return");case 14:e.searchResultsList=[{companyId:r.companyId,companyName:r.companyName,contactor:r.userName}],e.searchModalVisible=!1,e.searchResultModalVisible=!0;case 17:case"end":return t.stop()}}),t)})))()},generateRelation:function(e){var t={sendCompanyId:this.mainCompanyId,sendCompanyName:this.mainCompanyName,acceptCompanyId:e.companyId,acceptCompanyName:e.companyName,auditStatus:"-1",key:e.companyId,thatCompanyId:e.companyId,thatCompanyName:e.companyName};this.currentRelationInfo=t,this.searchResultModalVisible=!1}}},B=O,N=(a("d666"),a("d36a"),Object(f["a"])(B,y,b,!1,null,"2e6d402e",null)),R=N.exports,j={components:{Employees:h,RelationCompany:R},data:function(){return{view:"Employees"}},filters:{},mounted:function(){},methods:{}},M=j,L=(a("b440"),Object(f["a"])(M,s,r,!1,null,"0d35df63",null));t["default"]=L.exports},4588:function(e,t,a){},"45fc":function(e,t,a){"use strict";var s=a("23e7"),r=a("b727").some,i=a("a640"),n=a("ae40"),l=i("some"),o=n("some");s({target:"Array",proto:!0,forced:!l||!o},{some:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},"4a1e":function(e,t,a){"use strict";var s=a("063e"),r=a.n(s);r.a},"54c6":function(e,t,a){},"5a0c":function(e,t,a){!function(t,a){e.exports=a()}(0,(function(){"use strict";var e="millisecond",t="second",a="minute",s="hour",r="day",i="week",n="month",l="quarter",o="year",c="date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,d=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p=function(e,t,a){var s=String(e);return!s||s.length>=t?e:""+Array(t+1-s.length).join(a)+e},m={s:p,z:function(e){var t=-e.utcOffset(),a=Math.abs(t),s=Math.floor(a/60),r=a%60;return(t<=0?"+":"-")+p(s,2,"0")+":"+p(r,2,"0")},m:function e(t,a){if(t.date()3&&void 0!==arguments[3]?arguments[3]:{},r=arguments.length>5&&void 0!==arguments[5]&&arguments[5],i=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return{id:t,label:a,nodeType:e,isLeaf:r,disabled:i,data:s}}function y(e){return b.apply(this,arguments)}function b(){return b=Object(r["a"])(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=Object(n["c"])(t),e.next=3,Object(i["b"])("dept/addDept",a);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),b.apply(this,arguments)}function _(e,t,a,s){return C.apply(this,arguments)}function C(){return C=Object(r["a"])(regeneratorRuntime.mark((function e(t,a,s,r){var l,o,c,u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,r?Object(i["b"])("user/fuzzyQueryUserOnOneCompany",{companyId:t.id,fuzzy:r}):Object(i["b"])("user/queryUsersByDeptId",{deptId:t.id,idType:"company"===t.nodeType?0:1,pageIndex:a,pageSize:s});case 2:return l=e.sent,o=l.Data||{},c=o.data,u=o.total,e.abrupt("return",{list:(c||[]).map(n["b"]),page:a,pageSize:s,total:u});case 5:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function g(e){return U.apply(this,arguments)}function U(){return U=Object(r["a"])(regeneratorRuntime.mark((function e(t){var a,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["b"])("user/queryUserByUserId",{id:t});case 2:return a=e.sent,s=Object(n["b"])(Object.assign({},Object(l["propertyOf"])(a)("Data.UserExt",{}),a.Data||{})),s.roleName=k[s.permission]||"",s.backgroundRoleName=S[s.backgroundPermission]||"",s.userState=O[s.staffStatus]||"",s.isDeparture=s.staffStatus,e.abrupt("return",s);case 9:case"end":return e.stop()}}),e)}))),U.apply(this,arguments)}var x=[{value:99,label:"无权限"},{value:0,label:"普通职员"},{value:1,label:"项目负责人"}],k=x.reduce((function(e,t){var a=t.value,s=t.label;return e[a]=s,e}),{}),w=[{value:99,label:"无权限"},{value:2,label:"企业管理员"}],D=[{value:0,label:"普通职员"},{value:1,label:"互链职员"}],I=D.reduce((function(e,t){var a=t.value,s=t.label;return e[a]=s,e}),{}),S=w.reduce((function(e,t){var a=t.value,s=t.label;return e[a]=s,e}),{}),$=[{value:0,label:"在职"},{value:1,label:"离职"}],O=$.reduce((function(e,t){var a=t.value,s=t.label;return e[a]=s,e}),{});function B(e){return N.apply(this,arguments)}function N(){return N=Object(r["a"])(regeneratorRuntime.mark((function e(t){var a,r,l;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=Object(n["c"])(Object(s["a"])({},t)),a.Birthday&&(a.Birthday=c()(a.Birthday).toISOString()),a.DepartureDate&&(a.DepartureDate=c()(a.DepartureDate).toISOString()),a.GradutionDate&&(a.GradutionDate=c()(a.GradutionDate).toISOString()),a.HireDate&&(a.HireDate=c()(a.HireDate).toISOString()),r={Address:a.Address,Birthday:a.Birthday,DepartureDate:a.DepartureDate,Education:a.Education,GradutionDate:a.GradutionDate,GradutionSchool:a.GradutionSchool,HireDate:a.HireDate,MaritalStatus:a.MaritalStatus,National:a.National,NativePlace:a.NativePlace,PoliticalLandscape:a.PoliticalLandscape,Specialty:a.Specialty,StaffStatus:a.IsDeparture},a.UserExt=r,e.next=9,Object(i["b"])("user/addUser",a);case 9:return l=e.sent,e.abrupt("return",l);case 11:case"end":return e.stop()}}),e)}))),N.apply(this,arguments)}function R(e){return j.apply(this,arguments)}function j(){return j=Object(r["a"])(regeneratorRuntime.mark((function e(t){var a,r,l;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=Object(n["c"])(Object(s["a"])({},t)),a.Birthday&&(a.Birthday=c()(a.Birthday).toISOString()),a.DepartureDate&&(a.DepartureDate=c()(a.DepartureDate).toISOString()),a.GradutionDate&&(a.GradutionDate=c()(a.GradutionDate).toISOString()),a.HireDate&&(a.HireDate=c()(a.HireDate).toISOString()),r={Address:a.Address,Birthday:a.Birthday,DepartureDate:a.DepartureDate,Education:a.Education,GradutionDate:a.GradutionDate,GradutionSchool:a.GradutionSchool,HireDate:a.HireDate,Id:a.Id,MaritalStatus:a.MaritalStatus,National:a.National,NativePlace:a.NativePlace,PoliticalLandscape:a.PoliticalLandscape,Specialty:a.Specialty,StaffStatus:a.IsDeparture},a.UserExt=r,console.log(a),e.next=10,Object(i["b"])("user/updateUser",a);case 10:return l=e.sent,e.abrupt("return",l);case 12:case"end":return e.stop()}}),e)}))),j.apply(this,arguments)}function M(e,t){return L.apply(this,arguments)}function L(){return L=Object(r["a"])(regeneratorRuntime.mark((function e(t,a){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return s=Object.assign({},t,{headImgUrl:a}),e.next=3,R(s);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),L.apply(this,arguments)}},"9e5b":function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-upload",{attrs:{action:"","http-request":e.httpRequest||e.handleUpload,"before-upload":e.beforeUpload,showFileList:e.showFileList,"on-success":e.handleSuccess},scopedSlots:e._u([e._l(e.$slots,(function(t,a){return{key:a,fn:function(){return[e._t(a)]},proxy:!0}}))],null,!0)})},r=[],i=(a("b0c0"),a("5530")),n=a("5ab9"),l=a("2ef0"),o={name:"Upload",props:{showFileList:{type:Boolean,default:!1},onSuccess:{type:Function,default:l["noop"]},httpRequest:{type:Function,default:null}},methods:{handleSuccess:function(e,t,a){e?this.onSuccess(Object(i["a"])(Object(i["a"])({},t),{},{ossUrl:e.name}),a):console.log(e,t)},beforeUpload:function(e){return console.log("fileInfo: ",e),!0},handleUpload:function(e){var t=e.file;e.onSuccess,e.onError,e.file.name;return n["b"](t.name,t)}}},c=o,u=a("2877"),d=Object(u["a"])(c,s,r,!1,null,null,null);t["a"]=d.exports},a250:function(e,t,a){"use strict";var s=a("c108"),r=a.n(s);r.a},b440:function(e,t,a){"use strict";var s=a("b7a7"),r=a.n(s);r.a},b7a7:function(e,t,a){},c108:function(e,t,a){},d36a:function(e,t,a){"use strict";var s=a("ecb3"),r=a.n(s);r.a},d666:function(e,t,a){"use strict";var s=a("54c6"),r=a.n(s);r.a},dcb6:function(e,t,a){"use strict";var s=a("1921"),r=a.n(s);r.a},e668:function(e,t,a){},ecb3:function(e,t,a){},fdc5:function(e,t,a){"use strict";var s=a("e668"),r=a.n(s);r.a}}]);
\ No newline at end of file
diff --git a/dist/static/js/chunk-11067227.b8a4e252.js b/dist/static/js/chunk-11067227.50464d00.js
similarity index 100%
rename from dist/static/js/chunk-11067227.b8a4e252.js
rename to dist/static/js/chunk-11067227.50464d00.js
diff --git a/dist/static/js/chunk-1165d335.5740b1c4.js b/dist/static/js/chunk-1165d335.cfb91385.js
similarity index 100%
rename from dist/static/js/chunk-1165d335.5740b1c4.js
rename to dist/static/js/chunk-1165d335.cfb91385.js
diff --git a/dist/static/js/chunk-1387bf96.d438184e.js b/dist/static/js/chunk-1387bf96.f5d7b161.js
similarity index 100%
rename from dist/static/js/chunk-1387bf96.d438184e.js
rename to dist/static/js/chunk-1387bf96.f5d7b161.js
diff --git a/dist/static/js/chunk-15a37012.dd531273.js b/dist/static/js/chunk-15a37012.008c7ce1.js
similarity index 100%
rename from dist/static/js/chunk-15a37012.dd531273.js
rename to dist/static/js/chunk-15a37012.008c7ce1.js
diff --git a/dist/static/js/chunk-15f86d65.29c87ab8.js b/dist/static/js/chunk-15f86d65.6f359f57.js
similarity index 100%
rename from dist/static/js/chunk-15f86d65.29c87ab8.js
rename to dist/static/js/chunk-15f86d65.6f359f57.js
diff --git a/dist/static/js/chunk-1a5b0b1c.6d97b3a0.js b/dist/static/js/chunk-1a5b0b1c.6d97b3a0.js
deleted file mode 100644
index 9d4fce08..00000000
--- a/dist/static/js/chunk-1a5b0b1c.6d97b3a0.js
+++ /dev/null
@@ -1 +0,0 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1a5b0b1c"],{"14b7":function(e,t,s){},"1dff":function(e,t,s){},2532:function(e,t,s){"use strict";var i=s("23e7"),r=s("5a34"),a=s("1d80"),n=s("ab13");i({target:"String",proto:!0,forced:!n("includes")},{includes:function(e){return!!~String(a(this)).indexOf(r(e),arguments.length>1?arguments[1]:void 0)}})},"2fff":function(e,t,s){"use strict";var i=s("7e58"),r=s.n(i);r.a},"30c5":function(e,t,s){},"47c5":function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"proj-detail"},[s("app-header",{attrs:{theme:"basis",isShowTopBar:!0,backBtnTitle:e.isEnterEdit?"":"退出项目编辑",showUserCenter:!1,showBackBtn:!e.isEnterEdit,onBackBtnClick:e.returnToProjListPage}}),s("div",{staticClass:"content-wrap",class:{"set-content-wrap":e.isEnterEdit}},[e.isEnterEdit?e._e():s("div",{staticClass:"graph-left-part"},[s("nodes-viewer",{staticClass:"node-viewer",attrs:{node:e.treeNode}})],1),s("div",{staticClass:"right-part",class:{"set-right-part-width":e.isEnterEdit}},[!e.isShowDistWorkPage&&e.isShowStartProjDesc?s("div",{ref:"projdesc",staticClass:"proj-desc adjust-top-radius"},[s("top-header",{staticClass:"set-header-position header-wrap",class:{"header-bottom-shadow":e.isProjDescScroll},attrs:{showUserCenter:!1}},[s("div",{staticClass:"title",attrs:{slot:"left"},slot:"left"},[e._v("项目概况")]),s("div",{staticClass:"to-distwork-btn",attrs:{slot:"right"},on:{click:function(t){return t.stopPropagation(),e.handleShowDistWorkPage(t)}},slot:"right"},[e._v("开始")])]),s("div",{staticClass:"proj-desc-wrap"},[s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("项目名称")]),e.projectNameEditFlag?s("div",{staticClass:"item-value edit"},[s("el-input",{staticClass:"field-input",attrs:{size:"mini",autofocus:!0},model:{value:e.editingProjectName,callback:function(t){e.editingProjectName=t},expression:"editingProjectName"}}),s("el-button",{attrs:{size:"mini"},on:{click:function(t){return t.stopPropagation(),e.renameProjectName(t)}}},[e._v("确认")]),s("el-button",{attrs:{size:"mini"},on:{click:function(t){t.stopPropagation(),e.projectNameEditFlag=!1}}},[e._v("取消")])],1):s("div",{staticClass:"item-value"},[s("span",{staticStyle:{flex:"1"}},[e._v(e._s(e.nowProject.ProjName))]),e.isProjManager?s("el-button",{staticClass:"float-button",attrs:{size:"mini"},on:{click:function(t){t.stopPropagation(),e.projectNameEditFlag=!0}}},[e._v("编辑")]):e._e()],1)]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("项目负责")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nowProject.ProjCreateUserName))])]),s("div",{staticClass:"item cover-container"},[s("div",{staticClass:"item-title"},[e._v("封面")]),s("div",{staticClass:"item-value cover-img-wrap use-relative",style:e.showBackground(e.coverSrc)},[s("file-uploader",{staticClass:"listUpdateBtn editCoverBtn",attrs:{"on-success":e.coverUploadSuccess}},[s("div",[e._v("编辑")])])],1)]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title proj-main-template"},[e._v("项目主要模板")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nowProject.TempName))])]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("模板负责")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nowProject.TempCreateUserName))])]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("创建时间")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nowProject.ProjCreateTime))])]),e._l(e.listProjProp,(function(t){return s("div",{key:t.TempPropId,staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v(e._s(t.PropertyName?t.PropertyName:"自定义字段"))]),s("div",{staticClass:"item-value"},[e._v(e._s(t.PropValue))])])}))],2)],1):e._e(),e.isShowDistWorkPage&&!e.isShowTemplateSummary?s("div",{staticClass:"distwork-page"},[e.isEnterEdit?s("top-header",{staticClass:"set-header-position header-wrap",class:{"header-bottom-shadow":e.isDistWorkPartScroll},attrs:{title:"指派工作",showUserCenter:!1}},[s("div",{staticClass:"finish-edit-btn",attrs:{slot:"left"},on:{click:function(t){return t.stopPropagation(),e.finishEditClick(t)}},slot:"left"},[e._v("完成编辑")]),s("div",{staticClass:"question",attrs:{slot:"right"},slot:"right"},[s("i",{staticClass:"ques-icon",on:{click:function(t){t.stopPropagation(),e.isShowManagerTips=!e.isShowManagerTips}}}),s("span",{staticClass:"ques-text"},[e._v("了解工作负责人")])])]):s("top-header",{staticClass:"set-header-position header-wrap",class:{"header-bottom-shadow":e.isDistWorkPartScroll},attrs:{backBtnTitle:"项目概况",onBackBtnClick:e.showProjDetailClick,title:e.nowProject.TempName,showUserCenter:!1,showBackBtn:!0}}),s("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowManagerTips,expression:"isShowManagerTips"}],staticClass:"manager-tips"},[s("i",{staticClass:"close-icon",on:{click:function(t){t.stopPropagation(),e.isShowManagerTips=!e.isShowManagerTips}}}),s("div",{staticClass:"tips-text"},[e._v("工作负责人将有权管理“负责工作中的成员”,点击用户头像变更工作负责人。")])]),s("div",{ref:"distworkpart",staticClass:"part-wrap"},[e.isEnterEdit?e._e():s("div",{staticClass:"template-detail-btn",on:{click:function(t){t.stopPropagation(),e.isShowTemplateSummary=!0,e.isEnterEditPropValue=!1}}},[e._v("模板概况")]),e.isProjManager?s("div",{staticClass:"manager-folder-wrap",class:{"active-folder mb-36":e.isEditProjManager,"only-manager-see folder-click":!e.isEnterEdit}},[s("div",{staticClass:"row-title"},[e._v("项目管理权限")]),s("div",{staticClass:"proj-manager-row use-relative",on:{click:function(t){return t.stopPropagation(),e.activeManagerClick(t)}}},[e.isEnterEdit&&e.isEditProjManager?e._e():s("div",{staticClass:"use-relative ml-4 clear-fix"},[s("div",{staticClass:"use-relative fl"},[s("people-item",{class:{"mr-8":!e.isEnterEdit},attrs:{user:e.currUser,isShowManagerMark:e.isEnterEdit}})],1),s("div",{directives:[{name:"show",rawName:"v-show",value:!e.isEnterEdit,expression:"!isEnterEdit"}],staticClass:"vertical-line"}),s("div",{staticClass:"use-flex fl"},[e.listManagerUser&&e.listManagerUser.length>0?s("div",{staticClass:"use-flex fl"},e._l(e.filterManageFromListUser(e.currUser.id,e.listManagerUser),(function(t){return s("people-item",{key:t.id,attrs:{user:t,isEnterEdit:e.isEnterEdit}})})),1):e._e(),!e.isEnterEdit&&e.isProjCreator?s("people-item",{nativeOn:{click:function(t){return t.stopPropagation(),e.addProjManager(t)}}}):e._e()],1)]),e.isEnterEdit&&e.isEditProjManager?s("div",{staticClass:"use-relative ml-4 use-flex"},[s("temp-selected-user-list",{attrs:{memberList:e.selectedUser},on:{changeManagerClick:e.changeManagerClick,setFirstPeopleToManager:e.setFirstPeopleToManager}})],1):e._e()])]):e._e(),s("plain-folder-list",{staticClass:"plain-folder-list",attrs:{nestNodeList:e.nestNodeList,isEnterEdit:e.isEnterEdit,id:e.userId,lastFolderId:e.lastFolderId,folderList:e.listNewFolder,allManager:e.currUser,allManagerChild:e.listManagerUser,aloneAddUserForFolder:e.aloneAddUserForFolder,aloneAddUserOnlyStaff:e.aloneAddUserOnlyStaff,allChildrenLists:e.allChildrenLists,activeFolderId:e.activeFolderId,selectedUser:e.selectedUser,isProjManager:e.isProjManager}})],1)],1):e._e(),e.isShowTemplateSummary?s("div",{staticClass:"template-summary"},[s("top-header",{staticClass:"set-header-position header-wrap",class:{"header-bottom-shadow":e.isTemplateDescScroll},attrs:{backBtnTitle:"返回",theme:"",onBackBtnClick:e.returnToDistWorkClick,title:e.nowProject.TempName,showUserCenter:!1,showBackBtn:!0}},[e.isProjManager?s("div",{staticClass:"edit-template-btn",attrs:{slot:"right"},on:{click:function(t){return t.stopPropagation(),e.handleEditTemplate(t)}},slot:"right"},[e._v(" "+e._s(e.isEnterEditPropValue?"完成编辑":"修改")+" ")]):e._e()]),Object.keys(e.nowProject).length>0?s("div",{ref:"templatedesc",staticClass:"summary-wrap"},[s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("模板负责")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nowProject.TempCreateUserName))])]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("创建时间")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nowProject.ProjCreateTime))])]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("工程名称")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nowProject.ProjName))])]),e._l(e.listProjProp,(function(t){return s("div",{key:t.TempPropId,staticClass:"item"},[s("div",{staticClass:"item-title",class:{"adjust-title-position":e.isEnterEditPropValue}},[e._v(e._s(t.PropertyName?t.PropertyName:"自定义字段"))]),s("div",{staticClass:"item-value"},[e.isEnterEditPropValue?s("input",{directives:[{name:"model",rawName:"v-model",value:t.PropValue,expression:"prop.PropValue"}],staticClass:"prop-value-input",attrs:{type:"text"},domProps:{value:t.PropValue},on:{input:function(s){s.target.composing||e.$set(t,"PropValue",s.target.value)}}}):s("div",[e._v(e._s(t.PropValue))])])])}))],2):e._e()],1):e._e(),e.isStartEditNestTemp?s("link-project",{attrs:{isTemNestInProp:e.isTemNest,nestNodeFolder:e.nestNodeFolder},on:{enterDistWork:e.enterDistWork}}):e._e()],1),e.isEnterEdit?s("div",{staticClass:"personnel-list-part",class:{"set-personnel-list-width":e.isEnterEdit}},[s("personnel-list",{attrs:{treeList:e.memberTree,selectedKeys:e.selectedMemberKeys},on:{select:e.onSelectMembers}})],1):e._e()]),e.nestNodeFolder?s("el-dialog",{staticClass:"nest-project-modal",attrs:{visible:e.nestProjectModalVisible,center:"",top:"48px",width:"660px"},on:{"update:visible":function(t){e.nestProjectModalVisible=t}},scopedSlots:e._u([{key:"title",fn:function(){return[s("div",{staticClass:"nest-project-modal-title"},[s("span",[e._v(e._s(e.nestNodeFolder.folderName)+"的互链项目")]),s("el-button",{on:{click:function(t){t.stopPropagation(),e.nestProjectModalVisible=!1}}},[e._v("关闭")])],1)]},proxy:!0}],null,!1,1702687869)},[e.nestProjectInfo?s("div",{staticClass:"proj-desc-wrap dialog-detail"},[s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("项目名称")]),s("div",{staticClass:"item-value"},[s("span",{staticStyle:{flex:"1"}},[e._v(e._s(e.nestProjectInfo.projName))])])]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("项目负责")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nestProjectInfo.projCreateUserName))])]),s("div",{staticClass:"item cover-container"},[s("div",{staticClass:"item-title"},[e._v("封面")]),s("div",{staticClass:"item-value cover-img-wrap use-relative",style:e.showBackground(e.nestProjectInfo.showImgUrl)})]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title proj-main-template"},[e._v("项目主要模板")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nestProjectInfo.tempName))])]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("模板负责")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nestProjectInfo.tempCreateUserName))])]),s("div",{staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v("创建时间")]),s("div",{staticClass:"item-value"},[e._v(e._s(e.nestProjectInfo.projCreateTime))])]),e._l(e.nestProjectInfo.customProps||[],(function(t){return s("div",{key:t.TempPropId,staticClass:"item"},[s("div",{staticClass:"item-title"},[e._v(e._s(t.PropertyName?t.PropertyName:"自定义字段"))]),s("div",{staticClass:"item-value"},[e._v(e._s(t.PropValue))])])}))],2):e._e(),s("div",[s("el-button",{staticClass:"remove-button",attrs:{type:"danger",plain:""},on:{click:function(t){return t.stopPropagation(),e.severNestProject(t)}}},[e._v("解除项目互链")])],1)]):e._e()],1)},r=[],a=(s("4de4"),s("7db0"),s("c740"),s("4160"),s("caad"),s("a15b"),s("d81d"),s("fb6a"),s("a434"),s("d3b7"),s("ac1f"),s("2532"),s("3ca3"),s("1276"),s("159b"),s("ddb0"),s("0d21")),n=s("db90"),o=s("06c5"),l=s("3d8c");function c(e){return Object(a["a"])(e)||Object(n["a"])(e)||Object(o["a"])(e)||Object(l["a"])()}var d=s("3835"),u=s("5530"),h=s("2909"),p=(s("96cf"),s("1da1")),m=s("5ab9"),f=s("b1f3"),v=s("f96e"),g=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",e._l(e.folderList,(function(t){return s("div",{key:t.id},[s("div",[s("div",{ref:"activeFolder",refInFor:!0,staticClass:"folder-wrap folder-hover",class:{"active-folder":t.id==e.activeFolderId&&e.isEnterEdit,"folder-click":!e.isEnterEdit},on:{click:function(s){return s.stopPropagation(),e.activeFolderClick(t)}}},[s("div",{staticClass:"folder-name",class:{"opacity-5":!e.isAllowedAssignedStaffFolder(t)}},[s("span",[e._v(e._s(t.folderName))]),e.isProjManager?e._e():s("span",{staticClass:"user-perm-text"})]),e.isEnterEdit&&e.activeFolderId===t.id?e._e():s("div",{staticClass:"clear-fix border-box",class:{"mb-36":t.id===e.activeFolderId&&e.isEnterEdit,"ml-4":!e.isEnterEdit,"adjust-position":e.isEnterEdit}},[s("div",{staticClass:"fl"},[t.manageUser&&0==t.manageUser.length?s("div",[e.isAllowedAssignedFolder(t)?s("div",{staticClass:"use-relative"},[e.isEnterEdit?s("people-item"):s("people-item",{class:{"mr-8":!e.isEnterEdit},nativeOn:{click:function(s){s.stopPropagation(),e.aloneAddUserForFolder(t),e.enterEditFolderClick(t)}}})],1):s("div",{staticClass:"notclick"},[s("people-item",{class:{"mr-8":!e.isEnterEdit},attrs:{isShowEmptyAvatar:!0}})],1)]):s("div",{staticClass:"use-flex"},e._l(t.manageUser,(function(i,r){return s("div",{key:i.id},[s("div",{staticClass:"use-relative"},[s("people-item",{class:{notclick:!e.isAllowedAssignedStaffFolder(t),"mr-8":!e.isEnterEdit},attrs:{user:i,isShowManagerMark:e.isEnterEdit}})],1)])})),0)]),s("div",{directives:[{name:"show",rawName:"v-show",value:!e.isEnterEdit,expression:"!isEnterEdit"}],staticClass:"vertical-line"}),s("div",{staticClass:"use-flex",class:{"mb-6":e.isEnterEdit&&e.activeFolderId!==t.id}},[e._l(e.listUserComputed(t.listUser),(function(i){return s("div",{key:i.id,class:{notclick:!(e.isAllowedAssignedStaffFolder(t)||e.isStaff(t))}},[s("people-item",{attrs:{user:i,isEnterEdit:e.isEnterEdit}})],1)})),t.manageUser&&t.manageUser.length>0&&e.isAllowedAssignedStaffFolder(t)?s("div",{staticClass:"add-btn"},[e.isEnterEdit?e._e():s("people-item",{nativeOn:{click:function(s){s.stopPropagation(),e.aloneAddUserOnlyStaff(t),e.enterEditFolderClick(t)}}})],1):e._e(),e.canNest(t)?s("div",{staticClass:"stand-place"}):e._e(),e.canNest(t)&&!e.isEnterEdit&&e.isFolderManager(t)?s("div",{staticClass:"extra-buttons"},[t.nestProjectId&&"0"!==t.nestProjectId?s("el-button",{staticClass:"extra-button",attrs:{size:"mini"},on:{click:function(s){return s.stopPropagation(),e.checkNestProject(t)}}},[s("icon-triangle-circle",{staticClass:"extra-button-icon",attrs:{size:14,color:"#3C7DFF"}}),s("span",{style:{marginLeft:"13px"}},[e._v("管理分解项目")])],1):s("el-dropdown",{attrs:{trigger:"click"}},[s("el-button",{staticClass:"extra-button",attrs:{size:"mini"}},[s("icon-triangle-circle",{staticClass:"extra-button-icon",attrs:{size:14,color:"#999B9D"}}),s("span",{style:{marginLeft:"13px"}},[e._v("分解工作")])],1),s("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[s("el-dropdown-item",{nativeOn:{click:function(s){return e.createNestProject(t)}}},[e._v("通过新建项目分解")]),s("el-dropdown-item",{nativeOn:{click:function(s){return e.enterNestTemp(t)}}},[e._v("选择已有项目建立分解")])],1)],1)],1):e._e()],2)]),e.isEnterEdit&&e.activeFolderId==t.id?s("div",{staticClass:"use-relative ml-4 mb-36 use-flex border-box",class:{"adjust-margin":t.id===e.lastFolderId}},[s("temp-selected-user-list",{attrs:{memberList:e.selectedUser},on:{changeManagerClick:e.changeManagerClick,setFirstPeopleToManager:e.setFirstPeopleToManager}})],1):e._e()])]),t.listChildren&&t.listChildren.length>0?[s("plain-folder-list",{attrs:{folderList:t.listChildren,id:e.id,lastFolderId:e.lastFolderId,allManager:e.allManager,allManagerChild:e.allManagerChild,aloneAddUserForFolder:e.aloneAddUserForFolder,aloneAddUserOnlyStaff:e.aloneAddUserOnlyStaff,allChildrenLists:e.allChildrenLists,isEnterEdit:e.isEnterEdit,activeFolderId:e.activeFolderId,selectedUser:e.selectedUser,isProjManager:e.isProjManager,nestNodeList:e.nestNodeList}})]:e._e()],2)})),0)},P=[],C=(s("45fc"),function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"people-item",attrs:{title:e.user.cnName}},[s("div",{staticClass:"people-wrap",class:{"rt-0":e.isShowManagerMark}},[s("div",{staticClass:"people"},[Object.keys(e.user).length>0?s("img",{staticClass:"proj-avatarface",class:{"manager-mark":e.isShowManagerMark},attrs:{src:e._f("resolveAvator")(e.user.headImgUrl),alt:""}}):e.isShowEmptyAvatar?s("img",{staticClass:"proj-avatarface empty",attrs:{src:"/static/img/暂无2.svg",alt:""}}):s("div",{staticClass:"add-btn"},[s("i",{staticClass:"el-icon-plus proj-avatarface"})])]),s("div",{staticClass:"people-name",class:{"rt-2":e.isEnterEdit&&e.isShowManagerMark,"rt-4":e.isEnterEdit&&!e.isShowManagerMark}},[e._v(e._s(e.user.cnName))])])])}),j=[],w={data:function(){return{}},computed:{},props:{user:{type:Object,default:function(){return{}}},isShowManagerMark:{type:Boolean,default:!1},isEnterEdit:{type:Boolean,default:!1},isShowEmptyAvatar:{type:Boolean,defualt:!1}},methods:{}},E=w,k=(s("8015"),s("2877")),b=Object(k["a"])(E,C,j,!1,null,"a9676b70",null),U=b.exports,S=s("6b3d"),y=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"temp-selected-user-list",style:{height:e.showAdjustHeight}},[s("div",{ref:"membersView",staticClass:"use-flex"},[e._l(e.memberList,(function(t){return s("div",{key:t.id,staticClass:"use-relative"},[s("people-item",{class:{"active-manager-mark":2==t.folderPerm},attrs:{user:t},nativeOn:{click:function(s){return s.stopPropagation(),e.changeManagerClick(t)}}}),2==t.folderPerm?s("div",{staticClass:"active-manager-mark-bottom-name"},[e._v("工作负责人")]):e._e()],1)})),0==e.memberList.length?s("div",{staticClass:"use-relative",on:{click:function(t){return t.stopPropagation(),e.openPersonnelListClick(t)}}},[s("people-item",{staticClass:"active-manager-mark"}),s("div",{staticClass:"active-manager-mark-bottom-name"},[e._v("工作负责人")])],1):e._e()],2)])},I=[],_={data:function(){return{selectedUserListEl:null,selectedUserListElWidth:0,selectedUserListElHeight:0,renderHeight:0,isAdjustHeight:!1}},components:{PeopleItem:U},props:{memberList:{type:Array,default:function(){return[]}}},mounted:function(){var e=this;document.body.addEventListener("resize",(function(){e.adjustHeightOperate()})),this.selectedUserListEl=this.$refs.membersView,this.selectedUserListEl&&(this.selectedUserListElWidth=this.selectedUserListEl.clientWidth,this.selectedUserListElHeight=this.selectedUserListEl.clientHeight,this.adjustHeightOperate())},computed:{selectedUserListLength:function(){return this.memberList.length},showAdjustHeight:function(){return this.isAdjustHeight?"".concat(this.selectedUserListElHeight-31,"px"):"auto"}},watch:{memberList:{immediate:!0,handler:function(e){if(e.length>0){var t=e.find((function(e){return e.folderPerm&&2==e.folderPerm}));t||(e[0].folderPerm=2,this.$emit("setFirstPeopleToManager",e[0]))}}},selectedUserListLength:function(e){var t=this;setTimeout((function(){t.selectedUserListElWidth=t.selectedUserListEl.clientWidth,t.selectedUserListElHeight=t.selectedUserListEl.clientHeight,t.adjustHeightOperate()}),50)}},methods:{openPersonnelListClick:function(){this.$bus.$emit("openPersonnelListClick")},changeManagerClick:function(e){this.$emit("changeManagerClick",e),this.adjustHeightOperate()},adjustHeightOperate:function(){this.isAdjustHeight=!1;var e=parseInt(this.selectedUserListElWidth/64),t=this.selectedUserListLength,s=t/e,i=0;if(s<=1)return this.isAdjustHeight=!0,void(this.renderHeight=this.selectedUserListElHeight-31);for(var r=0;r0&&this.allManagerChild.find((function(e){return e.id==t.id}))||this.allChildrenLists.length>0&&this.allChildrenLists.includes(e)},isAllowedAssignedStaffFolder:function(e){return e.manageUser&&e.manageUser.length>0&&e.manageUser[0].id==this.id||this.isAllowedAssignedFolder(e)},isFolderManager:function(e){var t=this;return e.manageUser.find((function(e){return e.id===t.id}))},isStaff:function(e){var t=this;return e.listUser.some((function(e){return e.id===t.id}))}},computed:{listUserComputed:function(){return function(e){return e.filter((function(e){return 2!=e.folderPerm}))}}}},L=F,T=(s("efd5"),Object(k["a"])(L,g,P,!1,null,"78c01f61",null)),x=T.exports,O=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"member-list"},[s("div",{staticClass:"top-title"},[e._v("选择成员")]),e._m(0),s("div",{staticClass:"hori-line"}),s("div",{staticClass:"content-wrap"},[s("div",{staticClass:"people-wrap"},[s("el-collapse",{model:{value:e.activeCompanyName,callback:function(t){e.activeCompanyName=t},expression:"activeCompanyName"}},e._l(e.treeList,(function(t){return s("el-collapse-item",{key:t.id,attrs:{name:t.id}},[s("template",{slot:"title"},[s("span",{staticClass:"company-title"},[e._v(e._s(t.label))])]),t.hasChildren?s("el-collapse",{model:{value:e.activeDeptNameList,callback:function(t){e.activeDeptNameList=t},expression:"activeDeptNameList"}},e._l(t.children,(function(t){return s("el-collapse-item",{directives:[{name:"show",rawName:"v-show",value:t.hasChildren,expression:"deptNode.hasChildren"}],key:t.id,attrs:{name:t.id}},[s("template",{staticClass:"dept-entry",slot:"title"},[s("span",{staticClass:"dept-name"},[e._v(e._s(t.label))]),s("div",{staticClass:"check-all-wrap",on:{click:function(s){return s.stopPropagation(),e.toggleAllDept(t)}}},[s("div",{staticClass:"checkbox",class:{checked:e.deptNodeSelectedMap[t.id]}}),s("span",[e._v("全选")])])]),e._l(t.children,(function(t){return s("div",{key:t.id,staticClass:"user-info-item",attrs:{label:t.label},on:{click:function(s){return s.stopPropagation(),e.toggleMember(t)}}},[s("img",{staticClass:"avatar-img",attrs:{src:e._f("resolveAvator")(t.data.headImgUrl),alt:""}}),s("span",{staticClass:"user-info-name"},[e._v(e._s(t.label))]),s("div",{staticClass:"checkbox",class:{checked:e.isSelected(t.id)}})])}))],2)})),1):s("div",{staticClass:"empty-people-tips"},[e._v("暂未添加人员")])],2)})),1)],1)])])},$=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"search-bar"},[s("i",{staticClass:"search-icon"}),s("input",{staticClass:"search-input",attrs:{placeholder:"搜索功能正在内测中",disabled:""}})])}],A={data:function(){var e=this.treeList[0],t=e?[e.id]:[],s=e?e.mapChildren((function(e){return e.id})):[];return this.clacAllSelected(),{ischeckAll:!1,activeCompanyName:t,activeDeptNameList:s}},methods:{isSelected:function(e){return!!this.selectedKeys.find((function(t){return t===e}))},isChildrenAllSelected:function(e){var t=this.selectedKeys;return e.everyChildren((function(e){return t.find((function(t){return t===e.id}))}))},toggleAllDept:function(e){var t=!this.deptNodeSelectedMap[e.id];this.$emit("select",e.children,t)},toggleMember:function(e){var t=!this.isSelected(e.id);this.$emit("select",[e],t)},clacAllSelected:function(){var e=this,t={};this.treeList.forEach((function(s){s.mapChildren((function(s){var i=e.isChildrenAllSelected(s);i&&(t[s.id]=!0)}))})),this.deptNodeSelectedMap=t}},props:{treeList:{type:Array,default:function(){return[]}},selectedKeys:{type:Array,default:function(){return[]}}},watch:{selectedKeys:{immediate:!0,handler:function(e){this.clacAllSelected()}},treeList:{immediate:!0,handler:function(e){this.clacAllSelected()}}}},W=A,B=(s("e040"),s("c8e2"),Object(k["a"])(W,O,$,!1,null,"58e87d7b",null)),R=B.exports,V=s("9e5b"),H=s("93d6"),z=s("2ef0"),K=(s("a623"),s("ade3")),q=s("d4ec");function Y(e,t){for(var s=0;s0&&void 0!==arguments[0]?arguments[0]:ee;return this.hasChildren?(this.children.sort(e),this):this}},{key:"mapChildren",value:function(e){return this.hasChildren?this.children.map(e):[]}},{key:"everyChildren",value:function(e){return!!this.hasChildren&&this.children.every(e)}},{key:"hasChildren",get:function(){return this.children&&!!this.children.length}}]),e}(),se=s("a06e"),ie=s("b0f9"),re=s("5a0c"),ae=s.n(re),ne=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[e.isTemNest?s("div",{staticClass:"template_nest"},[s("top-header",{staticClass:"set-header-position header-wrap",class:{"header-bottom-shadow":e.isNestTempScroll},attrs:{theme:"basis",showBackBtn:"",backBtnTitle:"取消",onBackBtnClick:e.enterDistWork,title:"为“"+e.nestNodeFolder.folderName+"”选择互链项目"},scopedSlots:e._u([{key:"right",fn:function(){return[s("el-button",{attrs:{type:"primary",size:"small",disabled:!e.selectedProjectId},on:{click:function(t){return t.stopPropagation(),e.confirmProject(t)}}},[e._v("选定项目")])]},proxy:!0}],null,!1,4194601008)}),s("div",{ref:"nestTemplateDesc",staticClass:"template_select_content"},[s("div",{staticClass:"template_connect"},[e._m(0),e._l(e.linkableProjectList,(function(t){return s("div",{key:t.projId,staticClass:"template_info",on:{click:function(s){e.selectedProjectId=t.projId}}},[s("div",{staticClass:"check_box",class:{checked:e.selectedProjectId==t.projId}},[s("i",{staticClass:"el-icon-check"})]),s("span",{staticClass:"template_info_name"},[e._v(e._s(t.projName))]),s("span",{staticClass:"template_info_extra"},[e._v("模板: "+e._s(t.templateName))])])}))],2)])],1):e._e()])},oe=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"template_info_title"},[s("span",[e._v("我的项目")])])}],le={components:{TopHeader:f["a"]},props:{nestNodeFolder:Object,isTemNestInProp:{type:Boolean,default:!1}},data:function(){return{companyId:sessionStorage.companyId,userId:sessionStorage.userId,linkableProjectList:[],selectedProjectId:void 0}},methods:{enterDistWork:function(){this.$emit("enterDistWork")},addNestTemplate:function(){var e=this;this.$confirm("重要提示:一旦确定模板并创建后,您将无法删除模板。","",{confirmButtonText:"确定",cancelButtonText:"取消",showClose:!1,type:"error"}).then(Object(p["a"])(regeneratorRuntime.mark((function t(){var s,i,r,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,ie["p"](e.selectTemplate.TemplateId);case 2:return s=t.sent,i=s.Data,r={ProjId:e.nestNodeFolder.projId,NodeId:e.nestNodeFolder.nodeId,FolderId:e.nestNodeFolder.id,TemplateId:e.nestNodeFolder.templateId,NestJsmindData:i},t.next=7,ie["b"](r);case 7:a=t.sent,0===a.Code&&(e.$notify({message:"“".concat(e.selectTemplate.TemplateName,"”模板嵌套成功。"),type:["success"]}),e.$emit("enterDistWork"));case 9:case"end":return t.stop()}}),t)})))).catch((function(e){return console.log(e)}))},isChecked:function(e,t){this.checkedIndex=e,this.selectTemplate=t},confirmProject:function(){var e=this;return Object(p["a"])(regeneratorRuntime.mark((function t(){var s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return console.log(e.nestNodeFolder),t.next=3,e.$fetchApi("project/linkProject",{projectId:e.selectedProjectId,folderId:e.nestNodeFolder.id});case 3:if(s=t.sent,Object(J["c"])(s),0===s.Code){t.next=7;break}return t.abrupt("return");case 7:Q["d"].success("互链成功"),e.$emit("enterDistWork");case 9:case"end":return t.stop()}}),t)})))()},fetchLinkableProjectList:function(){var e=this;return Object(p["a"])(regeneratorRuntime.mark((function t(){var s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$fetchApi("project/queryProjectListByProjectManagerUserId",{userId:e.userId});case 2:if(s=t.sent,Object(J["c"])(s),e.linkableProjectList=[],0===s.Code){t.next=7;break}return t.abrupt("return");case 7:e.linkableProjectList=(s.Data||[]).map(Q["b"]);case 8:case"end":return t.stop()}}),t)})))()}},watch:{isTemNestInProp:{handler:function(e){this.isTemNest=e,e&&this.fetchLinkableProjectList()},immediate:!0}}},ce=le,de=(s("2fff"),Object(k["a"])(ce,ne,oe,!1,null,"3f290ff7",null)),ue=de.exports,he=s("de58"),pe={data:function(){return{nestNodeFolder:{},nestNodeList:[],nowProject:{},listProjProp:[],cnName:"",selectedUser:[],selectedManageUser:[],isShowFirstPage:!0,isShowSecondPage:!1,isShowThreePage:!1,InitData:{},listNewFolder:[],oldFolderList:[],oldPlainFolderList:[],listDept:[],curProjCreatePeop:[],currWorkName:"",newProjFolderIndex:1,tempIndex:0,isShowdivid2:!1,currSelectData:[],currUser:{},isShowManager:!0,listManagerUser:[],oldListManagerUser:[],isProjManager:!1,isProjCreator:!1,currListDeptUserData:[],userList:[],memberTree:[],finishBtnClickCount:0,userId:sessionStorage.userId,allChildrenLists:[],isShowStartProjDesc:!0,isShowTemplateSummary:!1,isShowDistWorkPage:!1,isEnterEdit:!1,distWorkPartEl:null,isDistWorkPartScroll:!1,dlastScrollTime:null,isProjDescScroll:!1,projDescEl:null,isTemplateDescScroll:!1,templateDescEl:null,tlastScrollTime:null,isEditProjManager:!1,activeFolderId:"",activeFolder:null,coverSrc:"/static/img/faceImg/face01.png",isStartEditNestTemp:!1,isTemNest:!1,activeDeptName:"",isShowManagerTips:!1,isEnterEditPropValue:!1,isDistworkDone:!1,isDistworkSuccess:!1,lastFolderId:"",originPropListCopy:[],selectedMemberKeys:[],projectNameEditFlag:!1,editingProjectName:"",treeNode:null,nestProjectInfo:{},nestProjectModalVisible:!1}},components:{AppHeader:v["a"],TopHeader:f["a"],PlainFolderList:x,PeopleItem:U,PersonnelList:R,TempSelectedUserList:D,FileUploader:V["a"],LinkProject:ue,NodesViewer:he["a"]},updated:function(){this.$refs.projdesc&&(this.projDescEl=this.$refs.projdesc,this.projDescEl.removeEventListener("scroll",this.watchProjDescScroll),this.projDescEl.addEventListener("scroll",this.watchProjDescScroll)),this.$refs.distworkpart&&(this.distWorkPartEl=this.$refs.distworkpart,this.distWorkPartEl.removeEventListener("scroll",this.watchDistWorkPartScroll),this.distWorkPartEl.addEventListener("scroll",this.watchDistWorkPartScroll)),this.$refs.templateDescEl&&(this.templateDescEl=this.$refs.templatedesc,this.templateDescEl.removeEventListener("scroll",this.watchTemplateDescScroll),this.templateDescEl.addEventListener("scroll",this.watchTemplateDescScroll))},watch:{isEnterEdit:function(e){e&&(this.projectNameEditFlag=!1)},projectNameEditFlag:function(e){e&&(this.editingProjectName=this.nowProject.ProjName)},nestProjectModalVisible:function(e){e||(this.nestProjectInfo={})}},mounted:function(){this.isShowDistWorkPage=this.$route.query.isShowDistworkPage?this.$route.query.isShowDistworkPage:this.isShowDistworkPage,this.isShowStartProjDesc=!this.isShowDistWorkPage,this._getUserInfo(sessionStorage.userId),this.projInfo(sessionStorage.projId),this.cnName=JSON.parse(sessionStorage.user).cnName,this.fetchProjectDetail(),this.getNestNode(sessionStorage.templateID),this.projDescEl=this.$refs.projdesc,this.projDescEl&&this.projDescEl.addEventListener("scroll",this.watchProjDescScroll),this.distWorkPartEl=this.$refs.distworkpart,this.distWorkPartEl&&this.distWorkPartEl.addEventListener("scroll",this.watchDistWorkPartScroll),this.templateDescEl=this.$refs.templatedesc,this.templateDescEl&&this.templateDescEl.addEventListener("scroll",this.watchTemplateDescScroll),this.$bus.$on("enterEditFolderClick",this.enterEditFolderClick),this.$bus.$on("activeFolderClick",this.activeFolderClick),this.$bus.$on("changeManagerClick",this.changeManagerClick),this.$bus.$on("setFirstPeopleToManager",this.setFirstPeopleToManager),this.$bus.$on("enterNestTemp",this.enterNestTemp),this.$bus.$on("checkNestProject",this.checkNestProject)},beforeDestroy:function(){this.projDescEl&&this.projDescEl.removeEventListener("scroll",this.watchProjDescScroll),this.distWorkPartEl&&this.distWorkPartEl.removeEventListener("scroll",this.watchDistWorkPartScroll),this.templateDescEl&&this.templateDescEl.removeEventListener("scroll",this.watchTemplateDescScroll),this.$bus.$off("enterEditFolderClick",this.enterEditFolderClick),this.$bus.$off("activeFolderClick",this.activeFolderClick),this.$bus.$off("changeManagerClick",this.changeManagerClick),this.$bus.$off("setFirstPeopleToManager",this.setFirstPeopleToManager),this.$bus.$off("enterNestTemp",this.enterNestTemp),this.$bus.$off("checkNestProject",this.checkNestProject)},methods:{showBackground:function(e){var t=this.$options.filters["resolveImg"],s=t(e);return{background:"center/cover no-repeat url(".concat(s,")")}},handleShowDistWorkPage:function(){this.isShowDistWorkPage=!0},handleEditTemplate:function(){this.isEnterEditPropValue=!this.isEnterEditPropValue,this.isEnterEditPropValue||(this.originPropListCopy=this.listProjProp,this.$notify({type:["success"],message:"修改模板概况成功"}))},checkNestProject:function(e){var t=this;return Object(p["a"])(regeneratorRuntime.mark((function s(){var i,r,a;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return i=e.nestProjectId,t.nestNodeFolder=e,t.nestProjectModalVisible=!0,s.next=5,se["c"](i);case 5:if(r=s.sent,Object(J["c"])(r),0===r.Code){s.next=9;break}return s.abrupt("return");case 9:a=Object(Q["b"])(r.Data||{}),a.projCreateTime=ae()(a.projCreateTime).format("YYYY/MM/DD"),t.nestProjectInfo=a;case 12:case"end":return s.stop()}}),s)})))()},severNestProject:function(){var e=this,t=this.nestNodeFolder;this.$confirm("解除互链不会影响双方项目的文件数据,解除后将无法进行文件交付,确定解除吗?",{confirmButtonText:"解除互链关系",cancelButtonText:"取消",type:"danger"}).then(Object(p["a"])(regeneratorRuntime.mark((function s(){var i;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.next=2,e.$fetchApi("project/deleteProjectLink",{folderId:t.id,nestProjectId:t.nestProjectId});case 2:if(i=s.sent,Object(J["c"])(i),0===i.Code){s.next=6;break}return s.abrupt("return");case 6:Q["d"].success("互链项目已移除"),e.nestProjectModalVisible=!1,e.fetchProjectDetail();case 9:case"end":return s.stop()}}),s)}))))},enterNestTemp:function(e){this.isShowDistWorkPage=!1,this.isShowStartProjDesc=!1,this.isShowTemplateSummary=!1,this.isStartEditNestTemp=!0,this.isTemNest=!0,this.nestNodeFolder=e},enterDistWork:function(){var e=this;return Object(p["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.isShowDistWorkPage=!0,e.isShowStartProjDesc=!0,e.isShowTemplateSummary=!1,e.isStartEditNestTemp=!1,e.isTemNest=!1,e.fetchProjectDetail();case 6:case"end":return t.stop()}}),t)})))()},returnToProjListPage:function(){this.isDistworkDone&&this.isDistworkSuccess&&this.$notify({message:"工作指派完成。",type:["success"]}),this.$router.push({path:"/index"}).catch((function(e){return console.log(e)}))},getNestNode:function(e){var t=this;return Object(p["a"])(regeneratorRuntime.mark((function s(){var i,r,a,n;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return n=function(e,t){e.forEach(function(){var e=Object(p["a"])(regeneratorRuntime.mark((function e(s){var i,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,ie["l"](s.TemplateId);case 2:i=e.sent,r=i.Data||[],r.length>0&&t.push.apply(t,Object(h["a"])(r));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},s.next=3,ie["l"](e);case 3:i=s.sent,r=i.Data||[],a=Object(h["a"])(i.Data),n(r,a),t.nestNodeList=a;case 8:case"end":return s.stop()}}),s)})))()},projInfo:function(e){var t=this;return Object(p["a"])(regeneratorRuntime.mark((function s(){var i;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.next=2,se["c"](e);case 2:if(i=s.sent,-1!=i.Code){s.next=6;break}return t.$notify({type:["error"],message:"项目概况信息查询失败"}),s.abrupt("return");case 6:t.nowProject=i.Data||{},t.nowProject.ProjCreateTime=ae()(t.nowProject.ProjCreateTime).format("YYYY/MM/DD"),t.nowProject=Object(u["a"])({},t.nowProject),t.listProjProp=i.Data.CustomProps||[],t.listProjProp=Object(h["a"])(t.listProjProp),t.originPropListCopy=Object(z["cloneDeep"])(t.listProjProp),t.coverSrc=i.Data.ShowImgUrl;case 13:case"end":return s.stop()}}),s)})))()},renameProjectName:function(){var e=this;return Object(p["a"])(regeneratorRuntime.mark((function t(){var s,i,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=e.editingProjectName,i={ProjId:sessionStorage.projId,ProjName:s,ImgUrl:e.coverSrc},t.next=4,Object(se["b"])(i);case 4:if(r=t.sent,-1!=r.Code){t.next=8;break}return e.$notify({message:"修改失败",type:"success"}),t.abrupt("return");case 8:e.projectNameEditFlag=!1,e.nowProject.ProjName=s;case 10:case"end":return t.stop()}}),t)})))()},coverUploadSuccess:function(e){var t=this;return Object(p["a"])(regeneratorRuntime.mark((function s(){var i,r,a;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return i=Object(m["c"])(e.ossUrl),t.coverSrc=i,r={ProjId:sessionStorage.projId,ImgUrl:t.coverSrc,ProjName:t.nowProject.ProjName},s.next=5,Object(se["b"])(r);case 5:a=s.sent,-1==a.Code&&t.$notify({message:"封面修改失败。",type:"success"});case 7:case"end":return s.stop()}}),s)})))()},setSystemCoverRandom:function(){},returnToDistWorkClick:function(){var e=this;this.isEnterEditPropValue?this.$confirm("是否保存当前项目的模板概况信息","",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(p["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.isShowTemplateSummary=!1,e.originPropListCopy=e.listProjProp;case 2:case"end":return t.stop()}}),t)})))).catch((function(){e.listProjProp=e.originPropListCopy})):this.isShowTemplateSummary=!1},showProjDetailClick:function(){this.isShowDistWorkPage=!1,this.isShowStartProjDesc=!0},setFirstPeopleToManager:function(e){0==this.selectedManageUser.length&&0!==this.selectedUser.length&&this.selectedManageUser.push(e)},filterManageFromListUser:function(e,t){return t.filter((function(t){return t.id!==e}))},watchProjDescScroll:function(){this.isProjDescScroll=this.projDescEl.scrollTop>0},watchTemplateDescScroll:function(){this.isTemplateDescScroll=this.templateDescEl.scrollTop>0},watchDistWorkPartScroll:function(){this.isDistWorkPartScroll=this.distWorkPartEl.scrollTop>0},activeManagerClick:function(){this.isProjCreator&&(this.isEditProjManager=!0,this.enterEditOperate(),this.activeFolderId="",this.activeFolder=null,this.addProjManager())},activeFolderClick:function(e){this.isEditProjManager=!1,this.activeFolderId=e.id,this.activeFolder=e,e.listUser&&0==e.listUser.length?this.aloneAddUserForFolder(e):this.aloneAddUserOnlyStaff(e)},enterEditFolderClick:function(e){this.activeFolderId=e.id,this.activeFolder=e,this.enterEditOperate()},enterEditOperate:function(){this.isEnterEdit=!0},finishEditClick:function(){this.isDistworkDone=!0,this.isEnterEdit=!1,this.selectedManageUser=[],this.selectedUser=[],this.isEditProjManager&&(this.isEditProjManager=!1),this.createFolders(),this.activeDeptName=""},addProjMangerBtnClick:function(){this.isEditProjManager=!0,this.enterEditOperate()},_getUserInfo:function(e){var t=this;return Object(p["a"])(regeneratorRuntime.mark((function s(){var i;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,Object(H["f"])(e);case 3:return s.sent,s.next=6,Object(H["f"])(sessionStorage.createUserID);case 6:i=s.sent,t.curProjCreatePeop=i.cnName+" 指派了新工作,请完成工作指派",1==sessionStorage.allocated&&(t.curProjCreatePeop="项目管理"),s.next=14;break;case 11:s.prev=11,s.t0=s["catch"](0),console.log(s.t0);case 14:case"end":return s.stop()}}),s,null,[[0,11]])})))()},isAllowedDelete:function(e){return!(!this.listManagerUser.includes(e)&&this.currUser.id!==e.id&&this.InitData.manageUser&&this.InitData.manageUser.length>0&&this.InitData.manageUser[0].id==sessionStorage.userId&&!this.allChildrenLists.includes(this.InitData)&&e.id==this.InitData.manageUser[0].id)},changeManagerClick:function(e){var t=this;if(this.isEditProjManager)this.$notify({message:"项目负责人无法更换。",type:"warning",offset:100,duration:5e3});else{var s=this.listManagerUser.map((function(e){return e.id}))||[];!s.includes(sessionStorage.userId)&&this.currUser.id!==sessionStorage.userId&&this.InitData.manageUser&&this.InitData.manageUser.length>0&&this.InitData.manageUser[0].id==sessionStorage.userId&&!this.allChildrenLists.includes(this.InitData)?this.$notify({message:"没有权限更换工作负责人。",type:"warning",offset:100,duration:5e3}):this.selectedUser.forEach((function(s){s.folderPerm=s.id===e.id?2:1,2===s.folderPerm&&t.InitData&&t.InitData.manageUser&&t.InitData.manageUser.splice(0,1,s)}))}},aloneAddUserForFolder:function(e){this.currSelectData=e,this.currWorkName=e.folderName,null==e.listUser&&(e.listUser=[]),this.InitData=e,this.setFolderPerm(e),this.selectedUser=e.listUser,this.selectedManageUser=e.manageUser,this.isShowSecondPage=!0,this.isShowFirstPage=!1},setFolderPerm:function(e){var t=e.listUser;this.selectedMemberKeys=t.map((function(e){return e.id}))},aloneAddUserOnlyStaff:function(e){this.isShowManager=!0,this.currWorkName=e.folderName,null==e.listUser&&(e.listUser=[]),this.InitData=e,this.setFolderPerm(e),this.selectedUser=e.listUser,this.selectedManageUser=e.manageUser,this.isShowThreePage=!0,this.isShowFirstPage=!1},addProjManager:function(){var e=this;this.activeFolderId="",this.isEditProjManager=!0,this.enterEditOperate(),this.isShowManager=!1;var t={listUser:[]};t.listUser=this.listManagerUser;var s=t.listUser.find((function(t){return t.id===e.currUser.id}));s&&0!=t.listUser.length||(this.currUser.folderPerm=2,t.listUser.unshift(this.currUser)),this.setFolderPerm(t),this.selectedUser=t.listUser,this.selectedManageUser=this.listManagerUser},onSelectMembers:function(e,t){var s=this,i=Object(h["a"])(this.selectedMemberKeys);e.forEach((function(e){var r=Object(z["cloneDeep"])(e.data),a=function(){s.checkDeptUserName(r,t),r.folderPerm=1,1==s.selectedUser.length&&1==t&&(r.folderPerm=2)};if(t){if(i.find((function(t){return t===e.id})))return;return i.push(e.id),void a()}if(s.isAllowedDelete(r))if(s.isEditProjManager&&r.id===s.currUser.id)s.$notify({message:"不可以移除项目创建者。",type:"warning",offset:100,duration:5e3});else{if(i=i.filter((function(e){return r.id!==e})),s.activeFolder&&s.activeFolder.manageUser.find((function(e){return e.id===r.id})))return s.removeManageUser(r),void s.activeFolder.manageUser.splice(0);if(s.isEditProjManager){var n=s.listManagerUser.findIndex((function(e){return e.id===r.id}));n>-1&&s.listManagerUser.splice(n,1)}a()}else s.$notify({message:"不能移除自己。",type:"warning",offset:100,duration:5e3})})),this.selectedMemberKeys=i},removeManageUser:function(e){e.folderPerm=1,this.selectedManageUser.splice(0,1);for(var t=0;t0&&(e.manageUser[0].folderPerm=2,e.listUser.unshift(e.manageUser[0])),e.listChildren&&e.listChildren.length>0&&t.getfolderPerm(e.listChildren)}))},getPlainOldFolderList:function(){var e=[];function t(s){s.length>0&&s.forEach((function(s){e.push(s),s.listChildren&&s.listChildren.length>0&&t(s.listChildren)}))}t(this.oldFolderList),this.oldPlainFolderList=e,this.lastFolderId=this.oldPlainFolderList[this.oldPlainFolderList.length-1].id},fetchProjectDetail:function(){var e=this;return Object(p["a"])(regeneratorRuntime.mark((function t(){var s,i,r,a,n,o,l,c,u,h,p,m;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=e.$store.state.currentCompanyId,t.next=3,Promise.all([e.$fetchApi("folder/queryNodeFolderListByProjectId",{projectId:sessionStorage.projId}),X(s)]);case 3:i=t.sent,r=Object(d["a"])(i,2),a=r[0],n=r[1],o=n.treeList,l=n.memberMap,c=a.Data||{},u=c.folder,h=c.manager,e.memberTree=o,e.listManagerUser=h.map((function(e){var t;return null===(t=l[e.UserId])||void 0===t?void 0:t.data})),e.listManagerUser.length&&(e.currUser=e.listManagerUser[0]||{},e.isProjCreator=e.currUser.id===e.userId,e.listManagerUser=e.listManagerUser.slice(1),e.isProjManager=!!e.listManagerUser.find((function(t){return t.id==e.userId}))||e.currUser.id==e.userId),e.oldListManagerUser=Object(z["cloneDeep"])(e.listManagerUser),p=Object(z["uniqBy"])(u,"Id"),m=me(p,l),e.treeNode=fe(p),e.getfolderPerm(m),e.listNewFolder=m,e.oldFolderList=Object(z["cloneDeep"])(e.listNewFolder),e.getPlainOldFolderList(),e.getAllChildrenLists(e.listNewFolder,e.userId,e.allChildrenLists);case 22:case"end":return t.stop()}}),t)})))()},getChildren:function(e,t){var s=this;e.forEach((function(e){t.push(e),e.listChildren.length>0&&s.getChildren(e.listChildren,t)}))},getAllChildrenLists:function(e,t,s){var i=this;e.forEach((function(e){e.manageUser.length>0&&e.manageUser[0].id==t&&e.listChildren&&e.listChildren.length>0&&i.getChildren(e.listChildren,s)}))},createFolders:function(){var e=this;return Object(p["a"])(regeneratorRuntime.mark((function t(){var s,i,r,a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=function(e){e.length>0&&e.forEach((function(e){var t={FolderId:"",ManagerUserId:"",GeneralId:"",OldManager:"",OldGeneralId:""};t.FolderId=e.id;var a=[];t.ManagerUserId=e.manageUser.length>0?e.manageUser.map((function(e){return a.push(e.id),e.id})).join(","):"";var n=e.listUser.filter((function(e){return!a.includes(e.id)}));t.GeneralId=e.listUser.length>0?n.map((function(e){return e.id})).join(","):"";var o=i.find((function(t){return t.id==e.id})),l=o.manageUser.length>0?o.manageUser[0].id:"";t.OldManager=l,t.OldGeneralId=o.listUser.length>0?o.listUser.filter((function(e){return e.id!==l})).map((function(e){return e.id})).join(","):"",s.Work.push(t),r(e.listChildren)}))},s={Id:sessionStorage.createUserID,ProjId:sessionStorage.projId,ProjectManagerId:"",OldProjectManagerId:e.oldListManagerUser.map((function(e){return e.id})).join(","),Work:[]},s.ProjectManagerId=e.listManagerUser.length>0?e.listManagerUser.map((function(e){if(e.id!==sessionStorage.createUserID)return e.id})).join(","):"",i=e.oldPlainFolderList,r(e.listNewFolder),t.next=7,Object(se["a"])(s);case 7:a=t.sent,n=e,0===a.Code?(e.isDistworkSuccess=!0,e.oldFolderList=Object(z["cloneDeep"])(e.listNewFolder),e.getPlainOldFolderList()):(e.isDistworkSuccess=!1,n.$notify({message:"服务器异常,工作指派失败。",type:["error"],duration:5e3}));case 10:case"end":return t.stop()}}),t)})))()}}};function me(e,t){var s=c(e),i=s[0],r=(s[1],s.slice(2)),a=i.Id,n=[],o={};return r.forEach((function(e){var s=Object(Q["b"])(e);o[s.id]=s,s.listChildren=[],s.listUser=s.oldGeneralId.split(",").filter((function(e){return e&&t[e]})).map((function(e){return Object(u["a"])({},t[e].data)})),s.manageUser=("0"===s.oldManager?"":s.oldManager).split(",").filter((function(e){return e&&t[e]})).map((function(e){return Object(u["a"])({},t[e].data)}));var i=s.superId;if(i!==a){var r=o[i];r&&r.listChildren.push(s)}else n.push(s)})),n}function fe(e){var t=null,s={};return e.forEach((function(e){if("0"!==e.NodeId){var i=e.LevelId,r={id:e.Id,levelId:i,topic:e.FolderName};if(s[r.levelId]=r,r.levelId===e.FirstFolderId)return t=r,void(t.levelId=t.id);var a=e.LevelId.split("_").slice(0,-1).join("_"),n=s[a];n&&(n.children||(n.children=[]),n.children.push(r))}})),t}var ve=pe,ge=(s("ce51"),s("685f"),Object(k["a"])(ve,i,r,!1,null,"348f3cd7",null));t["default"]=ge.exports},"5a34":function(e,t,s){var i=s("44e7");e.exports=function(e){if(i(e))throw TypeError("The method doesn't accept regular expressions");return e}},"5c69":function(e,t,s){},"685f":function(e,t,s){"use strict";var i=s("14b7"),r=s.n(i);r.a},"7e58":function(e,t,s){},8015:function(e,t,s){"use strict";var i=s("e3e1"),r=s.n(i);r.a},"8ed8":function(e,t,s){},ab13:function(e,t,s){var i=s("b622"),r=i("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(s){try{return t[r]=!1,"/./"[e](t)}catch(i){}}return!1}},c8e2:function(e,t,s){"use strict";var i=s("8ed8"),r=s.n(i);r.a},caad:function(e,t,s){"use strict";var i=s("23e7"),r=s("4d64").includes,a=s("44d2"),n=s("ae40"),o=n("indexOf",{ACCESSORS:!0,1:0});i({target:"Array",proto:!0,forced:!o},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},ce51:function(e,t,s){"use strict";var i=s("5c69"),r=s.n(i);r.a},d4ec:function(e,t,s){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}s.d(t,"a",(function(){return i}))},de58:function(e,t,s){"use strict";var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{ref:"mindDom",staticClass:"nodes-viewer",style:{width:e.width,height:e.height},attrs:{id:e.domId},on:{mousewheel:function(t){return t.stopPropagation(),e.onWheel(t)}}})},r=[],a=(s("fb6a"),function(){return"xmind_".concat("".concat(Math.random()).slice(2,8))}),n=window.jsMind,o={props:{node:{type:Object,default:null},width:{type:String,default:""},height:{type:String,default:""}},data:function(){return{domId:a(),mindIns:null,domMindInner:null,zoom:1}},mounted:function(){this.init()},watch:{node:function(e){e&&this.show()}},methods:{init:function(){var e={container:this.domId,editable:!1,theme:"",mode:"side",support_html:!1,view:{engine:"canvas",hmargin:100,vmargin:50,line_width:1,line_color:"#cccdd7"}},t=new n(e);t.disable_edit(),t.end_edit(),this.mindIns=t,this.node&&this.show()},getMindInnerDom:function(){if(this.domMindInner)return this.domMindInner;if(this.$refs.mindDom){var e=this.$refs.mindDom.querySelector(".jsmind-inner");return this.domMindInner=e,e}},onWheel:function(e){if(e.ctrlKey){e.returnValue=!1;var t=-e.wheelDelta||e.detail,s=this.getMindInnerDom();if(s){var i=this.zoom+(t>0?-.1:.1),r=Math.max(.2,Math.min(i,1.8));this.zoom=r,s.style.zoom=this.zoom}}},show:function(){var e={meta:{name:"mindhh",author:"hh",version:"0.2"},format:"node_tree",data:this.node};this.mindIns.show(e)}}},l=o,c=s("2877"),d=Object(c["a"])(l,i,r,!1,null,"2aa6cc14",null);t["a"]=d.exports},e040:function(e,t,s){"use strict";var i=s("30c5"),r=s.n(i);r.a},e3e1:function(e,t,s){},efd5:function(e,t,s){"use strict";var i=s("1dff"),r=s.n(i);r.a}}]);
\ No newline at end of file
diff --git a/dist/static/js/chunk-1f4d12f6.e89fa2b0.js b/dist/static/js/chunk-1f4d12f6.d313630a.js
similarity index 100%
rename from dist/static/js/chunk-1f4d12f6.e89fa2b0.js
rename to dist/static/js/chunk-1f4d12f6.d313630a.js
diff --git a/dist/static/js/chunk-1f7519e6.bf041ed1.js b/dist/static/js/chunk-1f7519e6.015815e7.js
similarity index 100%
rename from dist/static/js/chunk-1f7519e6.bf041ed1.js
rename to dist/static/js/chunk-1f7519e6.015815e7.js
diff --git a/dist/static/js/chunk-1fe39068.4bf0402c.js b/dist/static/js/chunk-1fe39068.51a3c3a2.js
similarity index 100%
rename from dist/static/js/chunk-1fe39068.4bf0402c.js
rename to dist/static/js/chunk-1fe39068.51a3c3a2.js
diff --git a/dist/static/js/chunk-1fe40532.d8785480.js b/dist/static/js/chunk-1fe40532.6a6f8db3.js
similarity index 100%
rename from dist/static/js/chunk-1fe40532.d8785480.js
rename to dist/static/js/chunk-1fe40532.6a6f8db3.js
diff --git a/dist/static/js/chunk-2627340f.c950c564.js b/dist/static/js/chunk-2627340f.2dafa7f3.js
similarity index 100%
rename from dist/static/js/chunk-2627340f.c950c564.js
rename to dist/static/js/chunk-2627340f.2dafa7f3.js
diff --git a/dist/static/js/chunk-28990618.1a4aba7d.js b/dist/static/js/chunk-28990618.38bec451.js
similarity index 100%
rename from dist/static/js/chunk-28990618.1a4aba7d.js
rename to dist/static/js/chunk-28990618.38bec451.js
diff --git a/dist/static/js/chunk-2d0a3394.09ab8131.js b/dist/static/js/chunk-2d0a3394.46803e3d.js
similarity index 100%
rename from dist/static/js/chunk-2d0a3394.09ab8131.js
rename to dist/static/js/chunk-2d0a3394.46803e3d.js
diff --git a/dist/static/js/chunk-2d0ac90d.7781da52.js b/dist/static/js/chunk-2d0ac90d.d1fb65fd.js
similarity index 100%
rename from dist/static/js/chunk-2d0ac90d.7781da52.js
rename to dist/static/js/chunk-2d0ac90d.d1fb65fd.js
diff --git a/dist/static/js/chunk-2d0b3688.e6d475ea.js b/dist/static/js/chunk-2d0b3688.c245b8df.js
similarity index 100%
rename from dist/static/js/chunk-2d0b3688.e6d475ea.js
rename to dist/static/js/chunk-2d0b3688.c245b8df.js
diff --git a/dist/static/js/chunk-2d0cf6a4.5f92ff78.js b/dist/static/js/chunk-2d0cf6a4.37c83b78.js
similarity index 100%
rename from dist/static/js/chunk-2d0cf6a4.5f92ff78.js
rename to dist/static/js/chunk-2d0cf6a4.37c83b78.js
diff --git a/dist/static/js/chunk-2d0e148e.98c237fa.js b/dist/static/js/chunk-2d0e148e.105786ce.js
similarity index 100%
rename from dist/static/js/chunk-2d0e148e.98c237fa.js
rename to dist/static/js/chunk-2d0e148e.105786ce.js
diff --git a/dist/static/js/chunk-2d21b850.70095c7c.js b/dist/static/js/chunk-2d21b850.57d53c0e.js
similarity index 100%
rename from dist/static/js/chunk-2d21b850.70095c7c.js
rename to dist/static/js/chunk-2d21b850.57d53c0e.js
diff --git a/dist/static/js/chunk-2d0d2af5.8b9500e3.js b/dist/static/js/chunk-2faa6b7a.69619be9.js
similarity index 53%
rename from dist/static/js/chunk-2d0d2af5.8b9500e3.js
rename to dist/static/js/chunk-2faa6b7a.69619be9.js
index e2c9e673..c6aafd88 100644
--- a/dist/static/js/chunk-2d0d2af5.8b9500e3.js
+++ b/dist/static/js/chunk-2faa6b7a.69619be9.js
@@ -1 +1 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0d2af5"],{"5a0c":function(t,n,e){!function(n,e){t.exports=e()}(0,(function(){"use strict";var t="millisecond",n="second",e="minute",r="hour",i="day",s="week",u="month",a="quarter",o="year",h="date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,f=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=function(t,n,e){var r=String(t);return!r||r.length>=n?t:""+Array(n+1-r.length).join(e)+t},$={s:d,z:function(t){var n=-t.utcOffset(),e=Math.abs(n),r=Math.floor(e/60),i=e%60;return(n<=0?"+":"-")+d(r,2,"0")+":"+d(i,2,"0")},m:function t(n,e){if(n.date()=n?t:""+Array(n+1-r.length).join(e)+t},$={s:d,z:function(t){var n=-t.utcOffset(),e=Math.abs(n),r=Math.floor(e/60),i=e%60;return(n<=0?"+":"-")+d(r,2,"0")+":"+d(i,2,"0")},m:function t(n,e){if(n.date()=t?e:""+Array(t+1-n.length).join(a)+e},p={s:m,z:function(e){var t=-e.utcOffset(),a=Math.abs(t),n=Math.floor(a/60),r=a%60;return(t<=0?"+":"-")+m(n,2,"0")+":"+m(r,2,"0")},m:function e(t,a){if(t.date()3&&void 0!==arguments[3]?arguments[3]:{},r=arguments.length>4?arguments[4]:void 0,i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return{id:t,label:a,topNodeId:r,nodeType:e,isLeaf:i,disabled:o,data:n}}var P=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"company-node-view"},[a("card-header",{staticClass:"company-node-view-header",scopedSlots:e._u([{key:"title",fn:function(){return[e._v(e._s(e.node.label))]},proxy:!0},{key:"right",fn:function(){return[e.editing?e._e():a("el-dropdown",{attrs:{trigger:"click"}},[a("el-button",{attrs:{size:"small"}},[e._v("企业管理")]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[a("span",{staticClass:"dropdown-button",on:{click:function(t){t.stopPropagation(),e.editing=!0}}},[e._v("编辑")])]),a("el-dropdown-item",[a("span",{staticClass:"dropdown-button",on:{click:function(t){return t.stopPropagation(),e.toggleState(t)}}},[e._v(e._s(0==e.nodeDetailFormData.disable?"禁用":"启用"))])]),a("el-dropdown-item",[a("span",{staticClass:"dropdown-button danger_button",on:{click:function(t){return t.stopPropagation(),e.deleteCompany(t)}}},[e._v("删除")])])],1)],1),e.editing?[a("el-button",{attrs:{size:"small"},on:{click:function(t){t.stopPropagation(),e.editing=!1}}},[e._v("取消")]),a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){t.stopPropagation(),e.node.id?e.updateCompanyInfo():e.createCompany()}}},[e._v("保存")])]:e._e()]},proxy:!0}])}),a("div",{staticClass:"company-node-view-body"},[a("el-form",{ref:"form",attrs:{model:e.nodeDetailFormData,rules:e.companyRules,"show-message":e.editing,"hide-required-asterisk":!e.editing,"label-position":"left","label-width":"100px"}},[a("div",{staticClass:"form-subtitle"},[e._v("企业信息")]),a("div",{staticClass:"yiyunTable_list_item"},[a("div",{class:e.el_formLabelcolor+" UserEditinfoBox DivInputHeight"},[a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"企业简称:",prop:"companyName"}},[0==e.editing?a("div",[e._v(e._s(e.nodeDetailFormData.companyName))]):e._e(),1==e.editing?a("div",{staticClass:"boolEdit_Input"},[a("el-input",{model:{value:e.nodeDetailFormData.companyName,callback:function(t){e.$set(e.nodeDetailFormData,"companyName",t)},expression:"nodeDetailFormData.companyName"}})],1):e._e()])],1),a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"企业全称:",prop:"compAllName"}},[0==e.editing?a("div",[e._v(e._s(e.nodeDetailFormData.compAllName))]):e._e(),1==e.editing?a("div",{staticClass:"boolEdit_Input"},[a("el-input",{model:{value:e.nodeDetailFormData.compAllName,callback:function(t){e.$set(e.nodeDetailFormData,"compAllName",t)},expression:"nodeDetailFormData.compAllName"}})],1):e._e()])],1),a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"所属省份:",prop:"proviceName"}},[0==e.editing?a("div",[e._v(e._s(e.nodeDetailFormData.proviceName))]):e._e(),1==e.editing?a("div",{staticClass:"boolEdit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.nodeDetailFormData.proviceID,callback:function(t){e.$set(e.nodeDetailFormData,"proviceID",t)},expression:"nodeDetailFormData.proviceID"}},e._l(e.proviceOptions,(function(e){return a("el-option",{key:e.id,attrs:{label:e.label,value:e.id}})})),1)],1):e._e()])],1),a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"地址:"}},[0==e.editing?a("div",[e._v(e._s(e.nodeDetailFormData.address))]):e._e(),1==e.editing?a("div",{staticClass:"boolEdit_Input"},[a("el-input",{model:{value:e.nodeDetailFormData.address,callback:function(t){e.$set(e.nodeDetailFormData,"address",t)},expression:"nodeDetailFormData.address"}})],1):e._e()])],1),a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"所属行业:",prop:"industryName"}},[0==e.editing?a("div",[e._v(e._s(e.nodeDetailFormData.industryName))]):e._e(),1==e.editing?a("div",{staticClass:"boolEdit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.nodeDetailFormData.industryID,callback:function(t){e.$set(e.nodeDetailFormData,"industryID",t)},expression:"nodeDetailFormData.industryID"}},e._l(e.industryOptions,(function(e){return a("el-option",{key:e.industryID,attrs:{label:e.name,value:e.industryID}})})),1)],1):e._e()])],1),a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"单位电话:",prop:"telphone"}},[0==e.editing?a("div",[e._v(e._s(e.nodeDetailFormData.telphone))]):e._e(),1==e.editing?a("div",{staticClass:"boolEdit_Input"},[a("el-input",{model:{value:e.nodeDetailFormData.telphone,callback:function(t){e.$set(e.nodeDetailFormData,"telphone",t)},expression:"nodeDetailFormData.telphone"}})],1):e._e()])],1),a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"法人:",prop:"cnName"}},[0==e.editing?a("div",[e._v(e._s(e.nodeDetailFormData.cnName))]):e._e(),1==e.editing?a("div",{staticClass:"boolEdit_Input"},[a("el-input",{model:{value:e.nodeDetailFormData.cnName,callback:function(t){e.$set(e.nodeDetailFormData,"cnName",t)},expression:"nodeDetailFormData.cnName"}})],1):e._e()])],1),a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"性别:",prop:"sex"}},[0==e.editing?a("div",[1==e.nodeDetailFormData.sex?a("div",[e._v("帅哥")]):e._e(),0==e.nodeDetailFormData.sex?a("div",[e._v("美女")]):e._e()]):e._e(),1==e.editing?a("div",{staticClass:"boolEdit_Input"},[a("el-radio-group",{model:{value:e.nodeDetailFormData.sex,callback:function(t){e.$set(e.nodeDetailFormData,"sex",t)},expression:"nodeDetailFormData.sex"}},[a("el-radio",{attrs:{label:1}},[e._v("男")]),a("el-radio",{attrs:{label:0}},[e._v("女")])],1)],1):e._e()])],1),a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"手机号:",prop:"phone"}},[0==e.editing?a("div",[e._v(e._s(e.nodeDetailFormData.phone))]):e._e(),1==e.editing?a("div",{staticClass:"boolEdit_Input"},[a("el-input",{attrs:{disabled:!!e.nodeDetailFormData.companyID},model:{value:e.nodeDetailFormData.phone,callback:function(t){e.$set(e.nodeDetailFormData,"phone",t)},expression:"nodeDetailFormData.phone"}})],1):e._e()])],1),a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"邮箱:",prop:"email"}},[0==e.editing?a("div",[e._v(e._s(e.nodeDetailFormData.email))]):e._e(),1==e.editing?a("div",{staticClass:"boolEdit_Input"},[a("el-input",{model:{value:e.nodeDetailFormData.email,callback:function(t){e.$set(e.nodeDetailFormData,"email",t)},expression:"nodeDetailFormData.email"}})],1):e._e()])],1),a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"税号:"}},[0==e.editing?a("div",[e._v(e._s(e.nodeDetailFormData.dutyParagraph))]):e._e(),1==e.editing?a("div",{staticClass:"boolEdit_Input"},[a("el-input",{model:{value:e.nodeDetailFormData.dutyParagraph,callback:function(t){e.$set(e.nodeDetailFormData,"dutyParagraph",t)},expression:"nodeDetailFormData.dutyParagraph"}})],1):e._e()])],1),a("div",{staticClass:"clear"}),a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"存储API:",prop:"ipfsApi"}},[0==e.editing?a("div",[e._v(e._s(e.nodeDetailFormData.ipfsApi))]):e._e(),1==e.editing?a("div",{staticClass:"boolEdit_Input"},[a("el-input",{model:{value:e.nodeDetailFormData.ipfsApi,callback:function(t){e.$set(e.nodeDetailFormData,"ipfsApi",t)},expression:"nodeDetailFormData.ipfsApi"}})],1):e._e()])],1),a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"存储节点:",prop:"ipfsBootstrap"}},[0==e.editing?a("div",[e._v(e._s(e.nodeDetailFormData.ipfsBootstrap))]):e._e(),1==e.editing?a("div",{staticClass:"boolEdit_Input"},[a("el-input",{model:{value:e.nodeDetailFormData.ipfsBootstrap,callback:function(t){e.$set(e.nodeDetailFormData,"ipfsBootstrap",t)},expression:"nodeDetailFormData.ipfsBootstrap"}})],1):e._e()])],1),a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"软件版本:",prop:"softwareVersion"}},[0==e.editing?a("div",[e._v(e._s(e._f("displaySoftwareCN")(e.nodeDetailFormData.softwareVersion)))]):e._e(),1==e.editing?a("div",{staticClass:"boolEdit_Input"},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.nodeDetailFormData.softwareVersion,callback:function(t){e.$set(e.nodeDetailFormData,"softwareVersion",t)},expression:"nodeDetailFormData.softwareVersion"}},e._l(e.softwareOptions,(function(e){return a("el-option",{key:e.id,attrs:{label:e.label,value:e.id}})})),1)],1):e._e()])],1),a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"开户行:"}},[0==e.editing?a("div",[e._v(e._s(e.nodeDetailFormData.openingBank))]):e._e(),1==e.editing?a("div",{staticClass:"boolEdit_Input"},[a("el-input",{model:{value:e.nodeDetailFormData.openingBank,callback:function(t){e.$set(e.nodeDetailFormData,"openingBank",t)},expression:"nodeDetailFormData.openingBank"}})],1):e._e()])],1),a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"银行账号:"}},[0==e.editing?a("div",[e._v(e._s(e.nodeDetailFormData.bankAccount))]):e._e(),1==e.editing?a("div",{staticClass:"boolEdit_Input"},[a("el-input",{model:{value:e.nodeDetailFormData.bankAccount,callback:function(t){e.$set(e.nodeDetailFormData,"bankAccount",t)},expression:"nodeDetailFormData.bankAccount"}})],1):e._e()])],1),0==e.editing?a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"企业成员:"}},[a("div",[e._v(e._s(e.nodeDetailFormData.userCount)+"人")])])],1):e._e(),0==e.editing?a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"企业部门:"}},[a("div",[e._v(e._s(e.nodeDetailFormData.deptCount)+"个")])])],1):e._e(),0==e.editing?a("div",{staticClass:"node-form-field"},[a("el-form-item",{attrs:{label:"创建时间:"}},[a("div",[e._v(e._s(e.nodeDetailFormData.strCreateTime))])])],1):e._e()])])]),!e.editing&&e.node.id?a("div",{staticClass:"company-access"},[a("div",{staticClass:"form-subtitle"},[e._v(e._s(e.isServiceProvider?"平台权限":"服务商权限"))]),e.isServiceProvider?e._e():a("div",{staticClass:"node-form-field"},[a("span",[e._v("允许成为服务商")]),a("el-switch",{attrs:{value:e.isServiceProvider},on:{change:function(t){return e.toggleAccess("serviceProviderStatus")}}})],1),e.isServiceProvider?a("div",{staticClass:"node-form-field"},[a("span",[e._v("允许访问模板控制台")]),a("el-switch",{attrs:{value:e.canAccessTemplateConsole},on:{change:function(t){return e.toggleAccess("templateConsoleStatus")}}})],1):e._e(),e.isServiceProvider?a("div",{staticClass:"node-form-field"},[a("span",[e._v("允许代理模板")]),a("el-switch",{attrs:{value:e.canAccessTemplateProxy},on:{change:function(t){return e.toggleAccess("templateProxyStatus")}}})],1):e._e()]):e._e()],1)],1)},A=[],M=(a("7db0"),a("4fad"),a("5530")),T=a("3835"),j={companyName:[{required:!0,message:"请输入企业简称",trigger:["blur","change"]}],compAllName:[{required:!0,message:"请输入企业全称",trigger:["blur","change"]}],proviceName:[{required:!0,message:"请选择所属省份",trigger:"change"}],industryName:[{required:!0,message:"请选择所属行业",trigger:"change"}],telphone:[{required:!0,message:"请输入单位电话",trigger:["blur","change"]}],cnName:[{required:!0,message:"请输入法人",trigger:["blur","change"]}],sex:[{required:!0,message:"请选择性别",trigger:"change"}],phone:[{required:!0,message:"请输入手机号",trigger:["blur","change"]}],email:[{required:!0,message:"请输入邮箱",trigger:["blur","change"]}],ipfsApi:[{max:64,required:!0,message:"请输入64个字数之内的任意字符串",trigger:["blur","change"]}],ipfsBootstrap:[{max:1024,required:!0,message:"请输入1024个字数之内的任意字符串",trigger:["blur","change"]}]},B={Mini:"简易版",Standard:"标准版"},R=Object.entries(B).map((function(e){var t=Object(T["a"])(e,2),a=t[0],n=t[1];return{id:a,label:n}})),L={components:{CardHeader:p["a"]},props:{node:{type:Object,default:function(){return{}}}},data:function(){return{editing:!this.node.id,companyRules:j,nodeDetailFormData:{softwareVersion:"Mini"},industryOptions:[],proviceOptions:[],nodeDetailData:{},softwareOptions:R}},filters:{displaySoftwareCN:function(e){return B[e]||""}},computed:{el_formLabelcolor:function(){return this.editing?"textlabelblock":"textlabelgray"},selectedIndustyId:function(){return this.nodeDetailFormData.industryID},selectProvinceId:function(){return this.nodeDetailFormData.proviceID},isServiceProvider:function(){return 1===this.nodeDetailData.serviceProviderStatus},canAccessTemplateConsole:function(){return 1===this.nodeDetailData.templateConsoleStatus},canAccessTemplateProxy:function(){return 1===this.nodeDetailData.templateProxyStatus}},watch:{editing:function(e){if(!e){if(!this.node.id)return void this.$emit("reload");this.nodeDetailFormData=Object(M["a"])({},this.nodeDetailData)}},node:function(e){this.nodeDetailFormData={},this.nodeDetailData={},e&&e.id?(this.editing=!1,this.loadCompanyInfo(e.id)):this.editing=!0},selectedIndustyId:function(e){var t=this,a=this.industryOptions.find((function(e){return e.industryID===t.nodeDetailFormData.industryID}));a&&(this.nodeDetailFormData.industryName=a.name)},selectProvinceId:function(){var e=this,t=this.proviceOptions.find((function(t){return t.id===e.nodeDetailFormData.proviceID}));t&&(this.nodeDetailFormData.proviceName=t.label)}},mounted:function(){this.loadIndustury(),this.loadProvinces(),this.node&&this.node.id&&this.loadCompanyInfo(this.node.id)},methods:{loadIndustury:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$fetchApi("industry/queryAllIndustry");case 2:a=t.sent,n=(a.Data||[]).map((function(e){return{industryID:e.Id,name:e.Name}})),e.industryOptions=n;case 5:case"end":return t.stop()}}),t)})))()},loadProvinces:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$fetchApi("provice/queryAllProvice");case 2:a=t.sent,e.proviceOptions=(a.Data||[]).map((function(e){return{id:e.Id,label:e.ProviceName}}));case 4:case"end":return t.stop()}}),t)})))()},loadCompanyInfo:function(e){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function a(){var n;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,_(e);case 2:n=a.sent,t.nodeDetailData=n,t.nodeDetailFormData=Object(M["a"])({},t.nodeDetailData);case 5:case"end":return a.stop()}}),a)})))()},updateCompanyInfo:function(){var e=this;this.$refs["form"].validate(function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(a){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a){t.next=2;break}return t.abrupt("return");case 2:return e.nodeDetailFormData.modifyUserID=sessionStorage.userId,t.next=5,$(e.nodeDetailFormData);case 5:if(n=t.sent,r=0===n.Code,r){t.next=10;break}return e.$notify({message:n.Msg,type:["warning"]}),t.abrupt("return");case 10:e.$notify({message:"企业“".concat(e.nodeDetailFormData.companyName,"”已完成修改。"),type:["success"],duration:2500}),e.loadCompanyInfo(),e.nodeDetailData=Object(M["a"])({},e.nodeDetailFormData),e.editing=!1;case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},createCompany:function(){var e=this;this.$refs["form"].validate(function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(a){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a){t.next=2;break}return t.abrupt("return");case 2:return e.nodeDetailFormData.createUserID=sessionStorage.userId,e.nodeDetailFormData.modifyUserID=sessionStorage.userId,t.next=6,w(e.nodeDetailFormData);case 6:if(n=t.sent,r=0===n.Code,r){t.next=11;break}return e.$notify({type:"error",message:n.Msg,offset:100,duration:5e3}),t.abrupt("return");case 11:e.$notify({message:"企业“".concat(e.nodeDetailFormData.companyName,"”已完成添加。"),type:["success"],duration:2500}),e.$emit("reload");case 13:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},toggleState:function(){var e=this,t=0==this.nodeDetailFormData.disable?1:0,a=this,n="",r="warning";0==t?n="启用":(n="禁用",r="error"),this.$confirm("".concat(n,"的企业将").concat("禁用"==n?"无法":"有权","访问LOCKING, 确定").concat(n,"企业“").concat(this.nodeDetailFormData.companyName,"”吗?"),"",{confirmButtonText:"确定",cancelButtonText:"取消",type:r}).then(Object(i["a"])(regeneratorRuntime.mark((function r(){var i,o;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return e.nodeDetailFormData.modifyUserID=sessionStorage.userId,e.nodeDetailFormData.disable=t,r.next=4,N(e.nodeDetailFormData.companyID,t);case 4:if(i=r.sent,o=0===i.Code,o){r.next=9;break}return a.$notify({type:"error",message:i.Msg,offset:100,duration:5e3}),r.abrupt("return");case 9:a.$notify({message:"企业“".concat(e.nodeDetailFormData.companyName,"”已").concat(n,"。"),type:["success"],duration:2500});case 10:case"end":return r.stop()}}),r)})))).catch((function(){}))},deleteCompany:function(){var e=this;this.$confirm("确定删除企业“".concat(this.nodeDetailFormData.companyName,"”吗?"),"",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(i["a"])(regeneratorRuntime.mark((function t(){var a,n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.nodeDetailFormData.companyID,t.next=3,e.$fetchApi("company/deleteCompanyById",{id:a});case 3:n=t.sent,r=0===n.Code,r?(e.$notify({message:"企业“".concat(e.nodeDetailFormData.companyName,"”已删除。"),type:["success"],duration:2500}),e.$emit("reload")):e.$notify({type:"error",message:n.Data,offset:100,duration:5e3});case 6:case"end":return t.stop()}}),t)})))).catch((function(){}))},toggleAccess:function(e){var t=this,a=!this.nodeDetailFormData[e],n=function(){return"serviceProviderStatus"===e?["允许成为服务商","取消服务商资质"]:"templateConsoleStatus"===e?["允许访问模板控制台","取消模板控台的访问权限"]:"templateProxyStatus"===e?["允许代理模板","取消代理模板的权限"]:[]}(),r=Object(T["a"])(n,2),o=r[0],s=r[1];this.$confirm("确认".concat(a?o:s,"?"),"",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(i["a"])(regeneratorRuntime.mark((function n(){var r,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.nodeDetailFormData.modifyUserID=sessionStorage.userId,t.nodeDetailFormData[e]=a?1:0,n.next=4,$(t.nodeDetailFormData);case 4:if(r=n.sent,i=0===r.Code,i){n.next=9;break}return t.$notify({message:r.Msg,type:["warning"]}),n.abrupt("return");case 9:t.$notify({message:"变更成功。",type:["success"],duration:2500}),t.nodeDetailData=Object(M["a"])({},t.nodeDetailFormData);case 11:case"end":return n.stop()}}),n)}))))}}},U=L,E=(a("12d9"),Object(l["a"])(U,P,A,!1,null,"ded20b7c",null)),V=E.exports,q={components:{SideTree:m,CardHeader:p["a"],CompanyDetail:V},data:function(){return{listViewType:"all",treeNodeList:[],selectedNode:null,overallsituation:{}}},mounted:function(){this.loadSysinfo(),this.listCompany()},watch:{treeNodeList:function(e){e&&e.length&&(this.selectedNode=e[0])}},methods:{loadSysinfo:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$fetchApi("company/queryGeneralOverview");case 2:a=t.sent,n=a.Data||{},e.overallsituation={companyCount:n.companyNum,userCount:n.userNum};case 5:case"end":return t.stop()}}),t)})))()},listCompany:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,D();case 2:a=t.sent,e.treeNodeList=[{label:"总体概况",id:"default",data:{}}].concat(a),e.listViewType="all";case 5:case"end":return t.stop()}}),t)})))()},treeNodeClick:function(e){this.selectedNode=e}}},H=q,Y=(a("716d"),Object(l["a"])(H,n,r,!1,null,"bc486146",null));t["default"]=Y.exports},fdc5:function(e,t,a){"use strict";var n=a("e668"),r=a.n(n);r.a}}]);
\ No newline at end of file
diff --git a/dist/static/js/chunk-4a29caee.cb81d5df.js b/dist/static/js/chunk-4a29caee.64f68344.js
similarity index 100%
rename from dist/static/js/chunk-4a29caee.cb81d5df.js
rename to dist/static/js/chunk-4a29caee.64f68344.js
diff --git a/dist/static/js/chunk-50f34397.76af6105.js b/dist/static/js/chunk-50f34397.7e16053d.js
similarity index 100%
rename from dist/static/js/chunk-50f34397.76af6105.js
rename to dist/static/js/chunk-50f34397.7e16053d.js
diff --git a/dist/static/js/chunk-541eb54c.daa88aa2.js b/dist/static/js/chunk-541eb54c.c0aa747c.js
similarity index 100%
rename from dist/static/js/chunk-541eb54c.daa88aa2.js
rename to dist/static/js/chunk-541eb54c.c0aa747c.js
diff --git a/dist/static/js/chunk-0b7f5006.f64cabff.js b/dist/static/js/chunk-57cedbde.5132dfb5.js
similarity index 88%
rename from dist/static/js/chunk-0b7f5006.f64cabff.js
rename to dist/static/js/chunk-57cedbde.5132dfb5.js
index 38b8cb60..8a6dce25 100644
--- a/dist/static/js/chunk-0b7f5006.f64cabff.js
+++ b/dist/static/js/chunk-57cedbde.5132dfb5.js
@@ -1 +1 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0b7f5006"],{"45fc":function(e,t,r){"use strict";var n=r("23e7"),u=r("b727").some,a=r("a640"),c=r("ae40"),i=a("some"),o=c("some");n({target:"Array",proto:!0,forced:!i||!o},{some:function(e){return u(this,e,arguments.length>1?arguments[1]:void 0)}})},"6b3d":function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"icon-triangle-circle",style:{width:e.size+"px",height:e.size+"px"}},[r("svg",{attrs:{width:"100%",height:"100%",viewBox:"0 0 100 100"}},[r("circle",{attrs:{cx:"50",cy:"56",r:"39","stroke-width":"10",stroke:e.color,fill:"transparent"}}),r("circle",{attrs:{cx:"50",cy:"16",r:"16",fill:e.color}}),r("circle",{attrs:{cx:"84",cy:"84",r:"16",fill:e.color}}),r("circle",{attrs:{cx:"16",cy:"84",r:"16",fill:e.color}})])])},u=[],a=(r("a9e3"),{props:{color:String,size:Number}}),c=a,i=(r("be84"),r("2877")),o=Object(i["a"])(c,n,u,!1,null,"cc170c78",null);t["a"]=o.exports},a06e:function(e,t,r){"use strict";r.d(t,"d",(function(){return a})),r.d(t,"c",(function(){return i})),r.d(t,"b",(function(){return s})),r.d(t,"a",(function(){return l})),r.d(t,"e",(function(){return b}));r("d81d"),r("96cf");var n=r("1da1"),u=r("b775");r("3de1");function a(e){return c.apply(this,arguments)}function c(){return c=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("project/queryProjectListByUserId",{userId:t});case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function i(e){return o.apply(this,arguments)}function o(){return o=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("project/queryProjectInfoByProjId",{projId:t});case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)}))),o.apply(this,arguments)}function s(e){return p.apply(this,arguments)}function p(){return p=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("project/editProject",t);case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}function l(e){return f.apply(this,arguments)}function f(){return f=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("project/assignedWork",t);case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}function b(e){return m.apply(this,arguments)}function m(){return m=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("project/searchProject",{projName:t});case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}},a623:function(e,t,r){"use strict";var n=r("23e7"),u=r("b727").every,a=r("a640"),c=r("ae40"),i=a("every"),o=c("every");n({target:"Array",proto:!0,forced:!i||!o},{every:function(e){return u(this,e,arguments.length>1?arguments[1]:void 0)}})},b0f9:function(e,t,r){"use strict";r.d(t,"o",(function(){return a})),r.d(t,"m",(function(){return i})),r.d(t,"t",(function(){return s})),r.d(t,"d",(function(){return l})),r.d(t,"n",(function(){return b})),r.d(t,"q",(function(){return d})),r.d(t,"f",(function(){return y})),r.d(t,"s",(function(){return w})),r.d(t,"l",(function(){return v})),r.d(t,"k",(function(){return x})),r.d(t,"b",(function(){return k})),r.d(t,"p",(function(){return T})),r.d(t,"j",(function(){return q})),r.d(t,"h",(function(){return C})),r.d(t,"i",(function(){return A})),r.d(t,"a",(function(){return z})),r.d(t,"g",(function(){return E})),r.d(t,"c",(function(){return J})),r.d(t,"e",(function(){return _})),r.d(t,"r",(function(){return S}));r("4de4"),r("96cf");var n=r("1da1"),u=r("b775");function a(){return c.apply(this,arguments)}function c(){return c=Object(n["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/queryTemplateList");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function i(e){return o.apply(this,arguments)}function o(){return o=Object(n["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/queryTemplateByCompanyId",{companyId:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),o.apply(this,arguments)}function s(e){return p.apply(this,arguments)}function p(){return p=Object(n["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/uploadingXmind",t,{headers:{"Content-Type":"application/octet-stream"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}function l(e){return f.apply(this,arguments)}function f(){return f=Object(n["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/createTemplate",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}function b(e){return m.apply(this,arguments)}function m(){return m=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/queryTemplateByTemplateId",{id:t});case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}function d(e){return h.apply(this,arguments)}function h(){return h=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/queryTemplateQuoteCountByTempId",{templateId:t});case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}function y(e){return j.apply(this,arguments)}function j(){return j=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/deleteTemplateByTemplateId",{id:t});case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),j.apply(this,arguments)}function w(e){return O.apply(this,arguments)}function O(){return O=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/updateTemplate",t);case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),O.apply(this,arguments)}function v(e){return g.apply(this,arguments)}function g(){return g=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/queryNestTemplateByTemplateId",{id:t});case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),g.apply(this,arguments)}function x(e){return R.apply(this,arguments)}function R(){return R=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/queryNestTemplateIdByProjectId",{projectId:t});case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),R.apply(this,arguments)}function k(e){return I.apply(this,arguments)}function I(){return I=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/connectNestTemplateFolder",t);case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),I.apply(this,arguments)}function T(e){return N.apply(this,arguments)}function N(){return N=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/queryTemplateNodeByTemplateId",{templateId:t});case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),N.apply(this,arguments)}function q(e,t,r){return B.apply(this,arguments)}function B(){return B=Object(n["a"])(regeneratorRuntime.mark((function e(t,r,n){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/queryFileExchange",{currentTemplateId:t,currentNodeId:r,nestedNodeId:n});case 2:return a=e.sent,e.abrupt("return",Object(u["c"])(a));case 4:case"end":return e.stop()}}),e)}))),B.apply(this,arguments)}function C(e){return P.apply(this,arguments)}function P(){return P=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/fileExchange",t);case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),P.apply(this,arguments)}function A(e,t){return F.apply(this,arguments)}function F(){return F=Object(n["a"])(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/queryAllTemplateNodeModelFile",{templateNodeId:t,companyId:r?void 0:"0"});case 2:return n=e.sent,r&&n.Data&&(n.Data=n.Data.filter((function(e){return"0"===e.CompanyId||e.CompanyId===r}))),e.abrupt("return",Object(u["c"])(n));case 5:case"end":return e.stop()}}),e)}))),F.apply(this,arguments)}function z(e){return D.apply(this,arguments)}function D(){return D=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/addTemplateNodeModelFile",t);case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),D.apply(this,arguments)}function E(e){return M.apply(this,arguments)}function M(){return M=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/deleteTemplateNodeModelFile",{id:t});case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),M.apply(this,arguments)}function J(e){return L.apply(this,arguments)}function L(){return L=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/createNestedRelevance",t);case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),L.apply(this,arguments)}function _(e){return Q.apply(this,arguments)}function Q(){return Q=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/deleteNestedRelevance",t);case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),Q.apply(this,arguments)}function S(e){return U.apply(this,arguments)}function U(){return U=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/renameTemplate",t);case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),U.apply(this,arguments)}},be84:function(e,t,r){"use strict";var n=r("d025"),u=r.n(n);u.a},c740:function(e,t,r){"use strict";var n=r("23e7"),u=r("b727").findIndex,a=r("44d2"),c=r("ae40"),i="findIndex",o=!0,s=c(i);i in[]&&Array(1)[i]((function(){o=!1})),n({target:"Array",proto:!0,forced:o||!s},{findIndex:function(e){return u(this,e,arguments.length>1?arguments[1]:void 0)}}),a(i)},d025:function(e,t,r){},f96e:function(e,t,r){"use strict";var n=r("01a8");r.d(t,"a",(function(){return n["a"]}))}}]);
\ No newline at end of file
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-57cedbde"],{"45fc":function(e,t,r){"use strict";var n=r("23e7"),u=r("b727").some,a=r("a640"),c=r("ae40"),i=a("some"),o=c("some");n({target:"Array",proto:!0,forced:!i||!o},{some:function(e){return u(this,e,arguments.length>1?arguments[1]:void 0)}})},"6b3d":function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"icon-triangle-circle",style:{width:e.size+"px",height:e.size+"px"}},[r("svg",{attrs:{width:"100%",height:"100%",viewBox:"0 0 100 100"}},[r("circle",{attrs:{cx:"50",cy:"56",r:"39","stroke-width":"10",stroke:e.color,fill:"transparent"}}),r("circle",{attrs:{cx:"50",cy:"16",r:"16",fill:e.color}}),r("circle",{attrs:{cx:"84",cy:"84",r:"16",fill:e.color}}),r("circle",{attrs:{cx:"16",cy:"84",r:"16",fill:e.color}})])])},u=[],a=(r("a9e3"),{props:{color:String,size:Number}}),c=a,i=(r("be84"),r("2877")),o=Object(i["a"])(c,n,u,!1,null,"cc170c78",null);t["a"]=o.exports},a06e:function(e,t,r){"use strict";r.d(t,"d",(function(){return a})),r.d(t,"c",(function(){return i})),r.d(t,"b",(function(){return s})),r.d(t,"a",(function(){return l})),r.d(t,"e",(function(){return d}));r("d81d"),r("96cf");var n=r("1da1"),u=r("b775");r("3de1");function a(e){return c.apply(this,arguments)}function c(){return c=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("project/queryProjectListByUserId",{userId:t});case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function i(e){return o.apply(this,arguments)}function o(){return o=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("project/queryProjectInfoByProjId",{projId:t});case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)}))),o.apply(this,arguments)}function s(e){return p.apply(this,arguments)}function p(){return p=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("project/editProject",t);case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}function l(e){return f.apply(this,arguments)}function f(){return f=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("project/assignedWork",t);case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}function d(e){return b.apply(this,arguments)}function b(){return b=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("project/searchProject",{projName:t});case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),b.apply(this,arguments)}},a623:function(e,t,r){"use strict";var n=r("23e7"),u=r("b727").every,a=r("a640"),c=r("ae40"),i=a("every"),o=c("every");n({target:"Array",proto:!0,forced:!i||!o},{every:function(e){return u(this,e,arguments.length>1?arguments[1]:void 0)}})},b0f9:function(e,t,r){"use strict";r.d(t,"o",(function(){return a})),r.d(t,"m",(function(){return i})),r.d(t,"t",(function(){return s})),r.d(t,"d",(function(){return l})),r.d(t,"n",(function(){return d})),r.d(t,"q",(function(){return m})),r.d(t,"f",(function(){return y})),r.d(t,"s",(function(){return j})),r.d(t,"l",(function(){return v})),r.d(t,"k",(function(){return x})),r.d(t,"b",(function(){return k})),r.d(t,"p",(function(){return T})),r.d(t,"j",(function(){return q})),r.d(t,"h",(function(){return C})),r.d(t,"i",(function(){return A})),r.d(t,"a",(function(){return E})),r.d(t,"g",(function(){return D})),r.d(t,"c",(function(){return J})),r.d(t,"e",(function(){return _})),r.d(t,"r",(function(){return S}));r("4de4"),r("96cf");var n=r("1da1"),u=r("b775");function a(){return c.apply(this,arguments)}function c(){return c=Object(n["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/queryTemplateList");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function i(e){return o.apply(this,arguments)}function o(){return o=Object(n["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/queryTemplateByCompanyId",{companyId:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),o.apply(this,arguments)}function s(e){return p.apply(this,arguments)}function p(){return p=Object(n["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/uploadingXmind",t,{headers:{"Content-Type":"application/octet-stream"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}function l(e){return f.apply(this,arguments)}function f(){return f=Object(n["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/createTemplate",t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}function d(e){return b.apply(this,arguments)}function b(){return b=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/queryTemplateByTemplateId",{id:t});case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),b.apply(this,arguments)}function m(e){return h.apply(this,arguments)}function h(){return h=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/queryTemplateQuoteCountByTempId",{templateId:t});case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}function y(e){return w.apply(this,arguments)}function w(){return w=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/deleteTemplateByTemplateId",{id:t});case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),w.apply(this,arguments)}function j(e){return O.apply(this,arguments)}function O(){return O=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/updateTemplate",t);case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),O.apply(this,arguments)}function v(e){return g.apply(this,arguments)}function g(){return g=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/queryNestTemplateByTemplateId",{id:t});case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),g.apply(this,arguments)}function x(e){return R.apply(this,arguments)}function R(){return R=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/queryNestTemplateIdByProjectId",{projectId:t});case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),R.apply(this,arguments)}function k(e){return I.apply(this,arguments)}function I(){return I=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/connectNestTemplateFolder",t);case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),I.apply(this,arguments)}function T(e){return N.apply(this,arguments)}function N(){return N=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/queryTemplateNodeByTemplateId",{templateId:t});case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),N.apply(this,arguments)}function q(e,t,r){return B.apply(this,arguments)}function B(){return B=Object(n["a"])(regeneratorRuntime.mark((function e(t,r,n){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/queryFileExchange",{currentTemplateId:t,currentNodeId:r,nestedNodeId:n});case 2:return a=e.sent,e.abrupt("return",Object(u["c"])(a));case 4:case"end":return e.stop()}}),e)}))),B.apply(this,arguments)}function C(e){return P.apply(this,arguments)}function P(){return P=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/fileExchange",t);case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),P.apply(this,arguments)}function A(e,t){return F.apply(this,arguments)}function F(){return F=Object(n["a"])(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/queryAllTemplateNodeModelFile",{templateNodeId:t,companyId:r?void 0:"0"});case 2:return n=e.sent,r&&n.Data&&(n.Data=n.Data.filter((function(e){return"0"===e.CompanyId||e.CompanyId===r}))),e.abrupt("return",Object(u["c"])(n));case 5:case"end":return e.stop()}}),e)}))),F.apply(this,arguments)}function E(e){return z.apply(this,arguments)}function z(){return z=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/addTemplateNodeModelFile",t);case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),z.apply(this,arguments)}function D(e){return M.apply(this,arguments)}function M(){return M=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/deleteTemplateNodeModelFile",{id:t});case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),M.apply(this,arguments)}function J(e){return L.apply(this,arguments)}function L(){return L=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/createNestedRelevance",t);case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),L.apply(this,arguments)}function _(e){return Q.apply(this,arguments)}function Q(){return Q=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/deleteNestedRelevance",t);case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),Q.apply(this,arguments)}function S(e){return U.apply(this,arguments)}function U(){return U=Object(n["a"])(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])("template/renameTemplate",t);case 2:return r=e.sent,e.abrupt("return",Object(u["c"])(r));case 4:case"end":return e.stop()}}),e)}))),U.apply(this,arguments)}},be84:function(e,t,r){"use strict";var n=r("d025"),u=r.n(n);u.a},c740:function(e,t,r){"use strict";var n=r("23e7"),u=r("b727").findIndex,a=r("44d2"),c=r("ae40"),i="findIndex",o=!0,s=c(i);i in[]&&Array(1)[i]((function(){o=!1})),n({target:"Array",proto:!0,forced:o||!s},{findIndex:function(e){return u(this,e,arguments.length>1?arguments[1]:void 0)}}),a(i)},d025:function(e,t,r){},d4ec:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",(function(){return n}))},f96e:function(e,t,r){"use strict";var n=r("01a8");r.d(t,"a",(function(){return n["a"]}))}}]);
\ No newline at end of file
diff --git a/dist/static/js/chunk-60c8f103.7c7f358b.js b/dist/static/js/chunk-60c8f103.7bd8d3e5.js
similarity index 100%
rename from dist/static/js/chunk-60c8f103.7c7f358b.js
rename to dist/static/js/chunk-60c8f103.7bd8d3e5.js
diff --git a/dist/static/js/chunk-63477c88.4e01ab2d.js b/dist/static/js/chunk-63477c88.4e01ab2d.js
new file mode 100644
index 00000000..6369db43
--- /dev/null
+++ b/dist/static/js/chunk-63477c88.4e01ab2d.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-63477c88"],{"01a8":function(t,e,s){"use strict";var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-header",class:{white:"white"===t.theme||t.isWindowScrollIng,black:"black"===t.theme,"black-bg-color":t.isWindowScrollIng&&"black"===t.theme}},[t.isClient?s("div",{staticClass:"app-header-top"},[s("div",{staticClass:"top-left",attrs:{title:t.isOnLine?"":"请检查本地网关连接"}},[s("div",{staticClass:"dot",class:{online:t.isOnLine,offline:!t.isOnLine}}),s("div",{staticClass:"state",class:{"white-color":"white"===t.theme,black:"black"===t.theme}},[t._v(t._s(t.isOnLine?"在线":"离线"))])]),s("div",{staticClass:"top-center"}),s("div",{staticClass:"top-right"},[s("div",{staticClass:"min",on:{click:function(e){return e.stopPropagation(),t.shrinkBrowserWindow(e)}}},[s("img",{staticClass:"min-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/缩小.svg",alt:""}})]),s("div",{staticClass:"my-max",on:{click:function(e){return e.stopPropagation(),t.judgeIsMaxBrowserWindow(e)}}},[t.isMaxWindowNow?s("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/小窗口化.svg",alt:""}}):s("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/放大.svg",alt:""}})]),s("div",{staticClass:"close",on:{mouseenter:function(e){t.isCloseHover=!0},mouseleave:function(e){t.isCloseHover=!1},click:function(e){return e.stopPropagation(),t.closeBrowserWindow(e)}}},[s("img",{directives:[{name:"show",rawName:"v-show",value:!t.isCloseHover,expression:"!isCloseHover"}],staticClass:"close-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/关闭.svg",alt:""}}),s("img",{directives:[{name:"show",rawName:"v-show",value:t.isCloseHover,expression:"isCloseHover"}],staticClass:"close-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/关闭激活.svg",alt:""}})])])]):t._e(),t.isWorkspaceTopBar&&!t.isClient||t.isShowTopBar&&!t.isClient?s("div",{staticClass:"app-header-top"}):t._e(),s("div",{staticClass:"app-header-content",class:{"adjust-content-pos":t.isWorkspaceTopBar&&!t.isClient}},[s("div",{staticClass:"app-header-content-left"},[t._t("left",[s("i",{directives:[{name:"show",rawName:"v-show",value:t.showBackBtn,expression:"showBackBtn"}],staticClass:"yiyun_icon app-header-back-btn no-drag",class:{icon_topback_left:"white"===t.theme||"basis"===t.theme,icon_topback_left_baise:"black"===t.theme},on:{click:function(e){return t.navBack()}}}),s("span",{directives:[{name:"show",rawName:"v-show",value:t.backBtnTitle,expression:"backBtnTitle"}],staticClass:"back_title no-drag",on:{click:function(e){return t.navBack()}}},[t._v(t._s(t.backBtnTitle))])])],2),s("div",{staticClass:"app-header-center"},[t._t("center",[t._v(t._s(t.title))])],2),s("div",{staticClass:"app-header-content-right no-drag"},[t._t("right"),t.showRecycleBin?s("span",{on:{click:t.toRecycle}},[s("i",{staticClass:"Cicon icon font_family icon-icon_huishouzhan",class:{inRecycle:t.isInRecycle}})]):t._e(),t.showNotify?s("system-notify"):t._e(),t.showUserCenter?s("user-center"):t._e()],2)])])},n=[],a=s("1392"),o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"system_notify",on:{click:function(t){t.stopPropagation()}}},[s("el-badge",{staticClass:"icon-badge",attrs:{"is-dot":"",hidden:0===t.messageList.filter((function(t){return 1===t.status})).length}},[s("i",{staticClass:"Cicon icon el-icon-message-solid",attrs:{title:"通知"},on:{click:function(e){e.stopPropagation(),t.panelVisible=!0}}})]),s("div",{class:t.yiyunAnimated+" flex_right_pain"},[s("div",{staticClass:"flex_right_pain_body_box"},[s("top-header",{staticClass:"flex_right_pain_head",scopedSlots:t._u([{key:"left",fn:function(){return[1===t.messageStatus?s("h4",{staticClass:"RdiaheaderTitle system_notify_title"},[s("i",{staticClass:"Cicon icon el-icon-message-solid"}),t._v(" 通知 ")]):s("div",{on:{click:function(e){t.messageStatus=1}}},[s("i",{staticClass:"yiyun_icon app-header-back-btn icon_topback_left"}),s("span",{staticClass:"back_title"},[t._v("返回")])])]},proxy:!0},2===t.messageStatus?{key:"center",fn:function(){return[t._v("历史通知")]},proxy:!0}:null,{key:"right",fn:function(){return[s("close-btn",{nativeOn:{click:function(e){e.stopPropagation(),t.panelVisible=!1}}})]},proxy:!0}],null,!0)}),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},t._l(1===t.messageStatus?t.messageList.filter((function(t){return 1===t.status})):t.hisMessageList,(function(e){return s("message-card",{key:e.id,attrs:{message:e},on:{"mark-read":t.markMessageAsReaded}})})),1),1===t.messageStatus?s("div",{staticClass:"flex_right_pain_foot"},[t.hisMessageList.length?s("el-button",{staticClass:"bottom-button",on:{click:function(e){e.stopPropagation(),t.messageStatus=2}}},[t._v("查看历史通知")]):t._e()],1):t._e()],1)])],1)},r=[],l=(s("d81d"),s("2909")),c=(s("96cf"),s("1da1")),u=s("f8c2"),d=s("b1f3"),p=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"message-card"},[s("div",{staticClass:"message-icon-box"},[s("div",{staticClass:"file-icon"},[s("img",{attrs:{src:t.fileIconImg}})])]),s("div",{staticClass:"message-content"},[s("div",{staticClass:"message-content-title",attrs:{title:t.message.title}},[t._v(t._s(t.message.title))]),s("div",{staticClass:"message-content-desc",attrs:{title:t.message.body}},[t._v(t._s(t.message.body))])]),s("div",{staticClass:"message-date"},[t._v(t._s(t._f("resolveDate")(t.message.unixTime)))]),1===t.message.status?s("i",{staticClass:"close-btn",on:{click:function(e){return e.stopPropagation(),t.markRead(e)}}}):t._e()])},h=[],f=s("5a0c"),m=s.n(f),_=s("16cc"),v=s.n(_),g={props:{message:Object},methods:{markRead:function(){this.$emit("mark-read",this.message)}},data:function(){return{fileIconImg:v.a}},filters:{resolveDate:function(t){var e=m()(1e3*t);return e.isSame(m()(),"day")?"今日":e.isSame(m()(),"year")?e.format("M月D日"):e.format("YYYY年M月D日")}}},C=g,w=(s("8b86"),s("2877")),b=Object(w["a"])(C,p,h,!1,null,"e6852b04",null),y=b.exports,x=s("b775"),k=s("3de1"),S={components:{CloseBtn:u["a"],MessageCard:y,TopHeader:d["a"]},computed:{yiyunAnimated:function(){return this.panelVisible?"AnimatedRightIn":""}},data:function(){return{userId:sessionStorage.accountId,companyId:sessionStorage.companyId,panelVisible:!1,messageList:[],hisMessageList:[],messageStatus:1,tickIns:null}},mounted:function(){this.getMessageList(1),this.getMessageList(2)},destroyed:function(){this.tickIns&&clearTimeout(this.tickIns)},watch:{panelVisible:function(t){var e=this;if(!t){setTimeout((function(){return e.messageStatus=1}),500);var s=document.querySelector(".notify-mask");document.body.removeChild(s)}},messageStatus:function(t){2===t&&this.getMessageList(2)},yiyunAnimated:function(t){if(t){var e=document.querySelector(".notify-mask");e||(e=document.createElement("div"),e.className="notify-mask",document.body.appendChild(e)),e.addEventListener("click",this.closePanel)}}},methods:{closePanel:function(){this.panelVisible=!1},getMessageList:function(){var t=arguments,e=this;return Object(c["a"])(regeneratorRuntime.mark((function s(){var i,n,a;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return i=t.length>0&&void 0!==t[0]?t[0]:1,s.next=3,e.$fetchApi("lockingmsg/queryLockingMsgListByFilter",{userId:e.userId,status:i});case 3:n=s.sent,Object(x["c"])(n),0===n.Code&&(a=(n.Data||[]).map(k["b"]),e[1===i?"messageList":"hisMessageList"]=a),1===i&&(e.tickIns=setTimeout(e.getMessageList,3e4));case 7:case"end":return s.stop()}}),s)})))()},markMessageAsReaded:function(t){var e=this;return Object(c["a"])(regeneratorRuntime.mark((function s(){var i;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return t.status=2,e.messageList=Object(l["a"])(e.messageList),s.next=4,e.$fetchApi("lockingmsg/markRead",{userId:e.userId,id:t.id});case 4:if(i=s.sent,Object(x["c"])(i),0===i.Code){s.next=10;break}return t.status=1,e.messageList=Object(l["a"])(e.messageList),s.abrupt("return");case 10:case"end":return s.stop()}}),s)})))()}}},P=S,N=(s("5ca2"),Object(w["a"])(P,o,r,!1,null,"7992fdfb",null)),B=N.exports,I=s("1d40"),D={components:{UserCenter:a["a"],SystemNotify:B},props:{theme:String,showBackBtn:Boolean,backBtnTitle:String,onBackBtnClick:Function,title:String,showUserCenter:Boolean,showRecycleBin:Boolean,showNotify:Boolean,isInRecycle:Boolean,isShowLeftState:{type:Boolean,default:function(){return!0}},isWorkspaceTopBar:Boolean,isShowTopBar:Boolean},data:function(){return{isWindowScrollIng:!1,isClient:I["a"].isClient,isMaxWindowNow:!1,isCloseHover:!1}},computed:{isMaxWindowSize:function(){return this.$store.state.isMaxWindowSize},isOnLine:function(){return this.$store.state.gatewayState}},watch:{isMaxWindowSize:function(t){this.isMaxWindowNow=t}},created:function(){this.isMaxWindowNow="true"===sessionStorage.getItem("isMaxWindowNow")&&Boolean(sessionStorage.getItem("isMaxWindowNow"))},mounted:function(){window.addEventListener("scroll",this.handleScroll.bind(this),!0)},methods:{shrinkBrowserWindow:function(){I["a"].shrinkBrowserWindow()},judgeIsMaxBrowserWindow:function(){this.isMaxWindowNow?this.unmaxBrowserWindow():this.enlargeBrowserWindow()},enlargeBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),I["a"].enlargeBrowserWindow()},unmaxBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),I["a"].unmaxBrowserWindow()},closeBrowserWindow:function(){I["a"].closeBrowserWindow()},navBack:function(){this.onBackBtnClick?this.onBackBtnClick():this.$router.go(-1)},toRecycle:function(){this.$router.push({name:"recycle"})},handleScroll:function(){var t=document.getElementById("bigbody");this.isWindowScrollIng=t.scrollTop>0}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)}},H=D,O=(s("c8cd"),Object(w["a"])(H,i,n,!1,null,"786ecd3a",null));e["a"]=O.exports},1392:function(t,e,s){"use strict";var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"user_center",on:{click:function(t){t.stopPropagation()}}},[s("i",{staticClass:"Cicon icon font_family icon-gerenshezhi",attrs:{title:"系统设置"},on:{click:function(e){return e.stopPropagation(),t.openSetPain(e)}}}),s("el-dialog",{attrs:{visible:t.showeditpassword,title:"登入密码",width:"30%","close-on-click-modal":!1},on:{"update:visible":function(e){t.showeditpassword=e}}},[s("div",{staticClass:"editnone"},[s("el-form",{staticClass:"demo-ruleForm",attrs:{model:t.editpassword,"label-width":"100px"}},[s("el-form-item",{attrs:{label:"旧密码",prop:"pass0"}},[s("el-input",{attrs:{type:"password",autocomplete:"off"},model:{value:t.editpassword.pwd,callback:function(e){t.$set(t.editpassword,"pwd",e)},expression:"editpassword.pwd"}})],1),s("el-form-item",{attrs:{label:"新密码",prop:"pass"}},[s("el-input",{attrs:{type:"password",autocomplete:"off"},model:{value:t.editpassword.newPwd,callback:function(e){t.$set(t.editpassword,"newPwd",e)},expression:"editpassword.newPwd"}})],1),s("el-form-item",{attrs:{label:"确认密码",prop:"checkPass"}},[s("el-input",{attrs:{type:"password",autocomplete:"off"},model:{value:t.editpassword.checkNewPwd,callback:function(e){t.$set(t.editpassword,"checkNewPwd",e)},expression:"editpassword.checkNewPwd"}})],1)],1)],1),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(e){e.stopPropagation(),t.showeditpassword=!1}}},[t._v("取 消")]),s("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.editPwd(e)}}},[t._v("确 定")])],1)]),1==t.toHelpInfoDialoge?s("div",{staticClass:"fulldialog"},[s("i",{staticClass:"Cicon icon font_family icon-icon_quxiaohuoguanbi guanbiques",attrs:{title:"关闭"},on:{click:function(e){return e.stopPropagation(),t.closeHelpInfo(e)}}}),s("div",{staticClass:"questionwarp"},[s("h4",{staticClass:"admintitle"},[t._v(t._s(t.helpNodeDetail.title))]),s("div",{staticClass:"pxline mtb-10"}),s("div",{staticClass:"helpNodeDetailBox",domProps:{innerHTML:t._s(t.helpNodeDetail.content)}}),s("div",{directives:[{name:"show",rawName:"v-show",value:1==t.isShowBtnReslveHelp,expression:"isShowBtnReslveHelp == true"}],staticClass:"dibulongbtn"},[s("div",{staticClass:"widt50 fl"},[s("el-button",{on:{click:function(e){return e.stopPropagation(),t.resolveHelp(t.helpNodeDetail)}}},[t._v("已解决")])],1),s("div",{staticClass:"widt50 fr"},[s("el-button",{on:{click:function(e){return e.stopPropagation(),t.disResolveHelp(t.helpNodeDetail)}}},[t._v("未解决")])],1)]),s("div",{staticClass:"clear"}),null!=t.helpNodeDetail.relatedHelpDetailID&&""!=t.helpNodeDetail.relatedHelpDetailID?s("div",[s("span",{staticClass:"yiyun_yinyongname"},[t._v("相关教程")]),s("div",{staticClass:"pxline"}),s("ul",{staticClass:"yiyun_app_info_box"},[s("li",{on:{click:function(e){return e.stopPropagation(),t.getHelpDetail(t.helpNodeDetail.relatedHelpDetailID)}}},[s("span",{staticClass:"fl"},[t._v(t._s(t.helpNodeDetail.relatedTitle))]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})])])]):t._e()])]):t._e(),s("el-dialog",{attrs:{visible:t.editImgHead,title:"修改头像",width:"444px","close-on-click-modal":!1},on:{"update:visible":function(e){t.editImgHead=e}}},[s("div",{staticClass:"touxiangBox user_Imgsize_largerbox weizhiImghead"},[s("div",{staticClass:"user_Img user_Imgsize_larger"},[s("img",{attrs:{src:t._f("resolveAvator")(t.user.headImgUrl),alt:""}})])]),s("div",{staticClass:"upHeadImg"},[s("file-Uploader",{ref:"webUploadlist",attrs:{mutiple:!1,label:"上传头像",auto:!0,accept:"image","btn-id":"filePicker",companyId:t.uploadCompId,typeId:t.uploadTypeHead,url:t.chunkUploadUrl},on:{"upload-success":t.headPicUploadSuccess}})],1)]),s("div",{class:t.yiyunAnimated+" flex_right_pain"},[1==t.userManagerBoxPain?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[t._m(0),s("div",{staticClass:"EC_col_12"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",[s("div",{staticClass:"user_Img"},[s("img",{attrs:{src:t._f("resolveAvator")(t.user.headImgUrl),alt:""}})]),s("div",{staticClass:"userNamelabel"},[s("span",[t._v(t._s(t.user.cnName))])])]),s("div",{staticClass:"yiyun_app_itemClasss"},[s("span",{staticClass:"yiyun_yinyongname"},[t._v("账号")]),s("ul",{staticClass:"yiyun_app_info_box"},[s("li",{on:{click:function(e){return e.stopPropagation(),t.UserInfoSetting()}}},[s("span",{staticClass:"fl"},[t._v("账号设置")]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})]),t._e(),t._e()]),s("span",{staticClass:"yiyun_yinyongname"},[t._v("其它")]),s("ul",{staticClass:"yiyun_app_info_box"},[t.isClient?s("li",{staticClass:"check-for-updates",on:{click:function(e){return e.stopPropagation(),t.checkForUpdates(e)}}},[s("span",{staticClass:"f1"},[t._v("检查更新")])]):t._e()])])]),s("div",{staticClass:"bottombtnitem"},[s("div",{staticClass:"bottombtnitemlonBtn"},[s("el-button",{staticClass:"longBtn defualtBtnInfo quitBtn",attrs:{type:"primary",round:""},on:{click:function(e){return e.stopPropagation(),t.tryToLogout(e)}}},[t._v("退出账户")])],1)])]):t._e(),11==t.userManagerBoxPain?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backUserManagerPain(e)}}})]),t._m(1),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",[s("div",{staticClass:"user_Img eidtimg"},[s("img",{attrs:{src:t._f("resolveAvator")(t.user.headImgUrl),alt:""}}),s("file-upload",{attrs:{"on-success":t.onChangeAvator}},[s("span",[t._v("更换头像")])])],1),s("div",{staticClass:"userNamelabel"},[s("span",[t._v(t._s(t.user.cnName))])])]),s("div",{staticClass:"yiyun_app_itemClasss"},[s("span",{staticClass:"yiyun_yinyongname"},[t._v("账号信息")]),s("ul",{staticClass:"yiyun_app_info_box"},[s("li",[s("span",{staticClass:"fl"},[t._v("姓名")]),s("span",{staticClass:"right-list_beizhu"},[t._v(t._s(t.user.cnName))])]),s("li",{on:{click:function(e){return e.stopPropagation(),t.goSetUserphone(e)}}},[s("span",{staticClass:"fl"},[t._v("手机号")]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"}),s("span",{staticClass:"right-list_beizhu"},[t._v(t._s(t.user.phone))])]),s("li",{on:{click:function(e){return e.stopPropagation(),t.goSetUserEmail(e)}}},[s("span",{staticClass:"fl"},[t._v("邮箱")]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"}),s("span",{staticClass:"right-list_beizhu"},[t._v(t._s(t.user.email))])])]),s("span",{staticClass:"yiyun_yinyongname"},[t._v("协作信息")]),s("ul",{staticClass:"yiyun_app_info_box"},[t._m(2),s("li",[s("span",{staticClass:"fl"},[t._v("职位")]),s("span",{staticClass:"right-list_beizhu"},[t._v(t._s(t.user.position))])])]),s("span",{staticClass:"yiyun_yinyongname"},[t._v("安全设置")]),s("ul",{staticClass:"yiyun_app_info_box"},[s("li",{on:{click:function(e){return e.stopPropagation(),t.toEidtPwd(e)}}},[s("span",{staticClass:"fl"},[t._v("修改登入密码")]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})])])])])]):t._e(),1==t.isShowAboutYiYun?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backUserManagerPain(e)}}}),s("h4",{staticClass:"fl biaotititle"},[t._v("关于LOCKING")]),s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1),s("div",{staticClass:"pxline"}),t._m(3)]):t._e(),1==t.Opinion?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backOpinionMain(e)}}})]),t._m(4),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("span",{staticClass:"yiyun_yinyongname"},[t._v("请选择分类")]),s("ul",{staticClass:"yiyun_app_info_box"},t._l(t.listOpinion,(function(e){return s("li",{key:e.id,on:{click:function(s){return s.stopPropagation(),t.toOpinionQuestion(e)}}},[s("span",{staticClass:"fl"},[t._v(t._s(e.label))]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})])})),0)])])]):t._e(),2==t.Opinion?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backOpinion(e)}}})]),s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v(t._s(t.currHelpTitle))])]),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("span",{staticClass:"yiyun_yinyongname"},[t._v("您遇到的问题")]),s("ul",{staticClass:"yiyun_app_info_box"},t._l(t.listOpinionNode,(function(e){return s("li",{key:e.id,on:{click:function(s){return s.stopPropagation(),t.toOpinionQuestionDesc(e)}}},[s("span",{staticClass:"fl"},[t._v(t._s(e.label))]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})])})),0)])])]):t._e(),3==t.Opinion?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backOpinionQuestion(e)}}})]),s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v(t._s(t.currHelpTitle))])]),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("span",{staticClass:"yiyun_yinyongname"},[t._v("1.请选择问题")]),t._l(t.listOpinionNodeQuestion,(function(e){return s("div",{key:e.opinionDetailID,staticClass:"mlr-16 line35"},[s("el-checkbox",{attrs:{label:""},on:{change:function(s){return t.checkOpinion(s,e)}}},[t._v(" "+t._s(e.questionName)+" ")])],1)})),s("span",{staticClass:"yiyun_yinyongname"},[t._v("2.请输入标题")]),s("div",{staticClass:"blockcheckbox"},[s("el-input",{staticClass:"intentinput mt-10",attrs:{placeholder:"请描述问题标题"},model:{value:t.questionTitle,callback:function(e){t.questionTitle=e},expression:"questionTitle"}})],1),s("span",{staticClass:"yiyun_yinyongname"},[t._v("3.描述您的问题")]),s("div",{staticClass:"blockcheckbox mlr-16 mt-8"},[s("el-input",{staticClass:"mt-8",attrs:{type:"textarea",rows:2,placeholder:"请描述您遇到的问题"},model:{value:t.questionContent,callback:function(e){t.questionContent=e},expression:"questionContent"}})],1),s("span",{staticClass:"yiyun_yinyongname"},[t._v("4.请上传截图")]),s("div",{staticClass:"blockcheckbox mlr-16"},[t._l(t.listQuestionImg,(function(e){return s("div",{key:e.id,staticClass:"cutimgBox"},[s("i",{staticClass:"el-icon-close guanbibtn"}),s("img",{attrs:{src:t.imgSrc+e.filePath,alt:""}})])})),s("div",{staticClass:"qustionimgbox noborder updateImg"},[s("file-Uploader",{ref:"webUploadlist",staticStyle:{"margin-top":"3px"},attrs:{mutiple:!1,auto:!0,accept:"image","btn-id":"filePicker",url:t.chunkUploadUrl},on:{"upload-success":t.questionUploadSuccess}})],1)],2),s("span",{staticClass:"yiyun_yinyongname"},[t._v("5.留下联系方式(选填)")]),s("div",{staticClass:"blockcheckbox"},[s("el-input",{staticClass:"intentinput mt-10",attrs:{placeholder:"手机号"},model:{value:t.contactPhone,callback:function(e){t.contactPhone=e},expression:"contactPhone"}}),s("el-input",{staticClass:"intentinput mt-10",attrs:{placeholder:"邮箱"},model:{value:t.contactEmail,callback:function(e){t.contactEmail=e},expression:"contactEmail"}})],1),s("div",{staticClass:"downtext_beizhu"},[t._v(" 您的反馈十分宝贵。同时我们也十分尊重您的隐私,联系方式将会被匿名。 ")])],2)]),s("div",{staticClass:"dibubtn"},[s("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.sendQuestion(e)}}},[t._v("提交反馈")])],1)]):t._e(),1==t.toHelpFace?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backOpinionMain(e)}}})]),t._m(5),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("span",{staticClass:"yiyun_yinyongname"},[t._v("请选择帮助分类")]),s("ul",{staticClass:"yiyun_app_info_box"},t._l(t.listHelp,(function(e){return s("li",{key:e.id,on:{click:function(s){return s.stopPropagation(),t.getListHelpNode(e)}}},[s("span",{staticClass:"fl"},[t._v(t._s(e.helpName))]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})])})),0)])])]):t._e(),2==t.toHelpFace?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backHelp(1)}}})]),s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v(t._s(t.currHelpTitle))])]),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("span",{staticClass:"yiyun_yinyongname"},[t._v("相关教程1")]),s("ul",{staticClass:"yiyun_app_info_box"},t._l(t.listHelpNode,(function(e){return s("li",{key:e.id,on:{click:function(s){return s.stopPropagation(),t.toHelpInfo(e)}}},[s("span",{staticClass:"fl"},[t._v(t._s(e.title))]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})])})),0)])])]):t._e(),3==t.toHelpFace?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backHelp(2)}}})]),s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext",attrs:{title:t.helpNodeDetail.title}},[t._v(" "+t._s(t.helpNodeDetail.title)+" ")])]),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("div",{staticClass:"mlr-16 mt-10"},[s("div",{staticClass:"helpNodeDetailBox scollBar",domProps:{innerHTML:t._s(t.helpNodeDetail.content)}}),s("div",{directives:[{name:"show",rawName:"v-show",value:1==t.isShowBtnReslveHelp,expression:"isShowBtnReslveHelp == true"}],staticClass:"dibulongbtn"},[s("div",{staticClass:"widt50 fl"},[s("el-button",{on:{click:function(e){return e.stopPropagation(),t.resolveHelp(t.helpNodeDetail)}}},[t._v("已解决")])],1),s("div",{staticClass:"widt50 fr"},[s("el-button",{on:{click:function(e){return e.stopPropagation(),t.disResolveHelp(t.helpNodeDetail)}}},[t._v("未解决")])],1)]),s("div",{staticClass:"clear"}),null!=t.helpNodeDetail.relatedHelpDetailID&&""!=t.helpNodeDetail.relatedHelpDetailID?s("div",[s("span",{staticClass:"yiyun_yinyongname"},[t._v("相关教程")]),s("div",{staticClass:"pxline"}),s("ul",{staticClass:"yiyun_app_info_box"},[s("li",{on:{click:function(e){return e.stopPropagation(),t.getHelpDetail(t.helpNodeDetail.relatedHelpDetailID)}}},[s("span",{staticClass:"fl"},[t._v(t._s(t.helpNodeDetail.relatedTitle))]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})])])]):t._e()])])])]):t._e(),1==t.isEditPdw?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backOpinionMain(e)}}})]),t._m(6),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("ul",{staticClass:"yiyun_app_info_box"},[s("li",[s("span",{staticClass:"fl"},[t._v("用户名")]),s("span",{staticClass:"right-list_beizhu"},[t._v(t._s(t.user.cnName))])])]),s("div",{staticClass:"editnone mt-10"},[s("el-form",{attrs:{"label-width":"80px","label-position":"left",model:t.editpassword}},[s("el-form-item",{attrs:{label:"旧密码",prop:"pass0"}},[s("el-input",{attrs:{type:"password",placeholder:"请填写旧密码",autocomplete:"off"},model:{value:t.editpassword.pwd,callback:function(e){t.$set(t.editpassword,"pwd",e)},expression:"editpassword.pwd"}})],1),s("el-form-item",{attrs:{label:"新密码",prop:"pass"}},[s("el-input",{attrs:{type:"password",placeholder:"输入新密码",autocomplete:"off"},model:{value:t.editpassword.newPwd,callback:function(e){t.$set(t.editpassword,"newPwd",e)},expression:"editpassword.newPwd"}})],1),s("el-form-item",{attrs:{label:"确认密码",prop:"checkPass"}},[s("el-input",{attrs:{type:"password",placeholder:"在此输入新密码",autocomplete:"off"},model:{value:t.editpassword.checkNewPwd,callback:function(e){t.$set(t.editpassword,"checkNewPwd",e)},expression:"editpassword.checkNewPwd"}})],1),s("el-form-item",{attrs:{label:""}},[s("span",{staticClass:"texttips"},[t._v("密码至少8个字符且含有大小写字母及数字")])])],1)],1)])]),s("div",{staticClass:"dibubtn"},[s("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.editPwd(e)}}},[t._v("完成修改")])],1)]):t._e(),1==t.isEditUserName?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backOpinionMain(e)}}})]),t._m(7),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("div",{staticClass:"editnone mt-10"},[s("el-form",{attrs:{"label-width":"90px","label-position":"left",model:t.editusername}},[s("el-form-item",{attrs:{label:"当前用户名",prop:"pass0"}},[s("el-input",{attrs:{type:"text",disabled:!0},model:{value:t.editusername.oldUserName,callback:function(e){t.$set(t.editusername,"oldUserName",e)},expression:"editusername.oldUserName"}})],1),s("el-form-item",{attrs:{label:"新的用户名",prop:"pass0"}},[s("el-input",{attrs:{type:"text",placeholder:"请输入新的用户名"},model:{value:t.editusername.newUserName,callback:function(e){t.$set(t.editusername,"newUserName",e)},expression:"editusername.newUserName"}})],1),s("el-form-item",{attrs:{label:"确认用户名",prop:"pass0"}},[s("el-input",{attrs:{type:"text",placeholder:"请输入确认用户名"},model:{value:t.editusername.sureUserName,callback:function(e){t.$set(t.editusername,"sureUserName",e)},expression:"editusername.sureUserName"}})],1),s("el-form-item",{attrs:{label:"用户密码",prop:"pass0"}},[s("el-input",{attrs:{type:"text",placeholder:"请输入用户密码"},model:{value:t.editusername.password,callback:function(e){t.$set(t.editusername,"password",e)},expression:"editusername.password"}})],1)],1)],1)])]),s("div",{staticClass:"dibubtn"},[s("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.editUserName(e)}}},[t._v("完成修改")])],1)]):t._e(),1==t.isEditUserPhone?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backuCountset(e)}}})]),s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v(t._s(t.sectopTitle))])]),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("div",{staticClass:"editnone mt-10"},[1==t.editphoneNumberstep?s("div",{staticClass:"yiyun_app_itemClasss"},[s("ul",{staticClass:"yiyun_app_info_box"},[s("li",[s("span",{staticClass:"fl"},[t._v("手机")]),s("span",{staticClass:"right-list_beizhu"},[t._v(t._s(t.user.phone))])])])]):t._e(),2==t.editphoneNumberstep?s("el-form",{attrs:{"label-width":"0px","label-position":"left",model:t.edituserphoneNumber}},[s("el-form-item",{attrs:{label:"",prop:"pass0"}},[s("el-input",{attrs:{type:"text",placeholder:"输入需要更换的手机号"},model:{value:t.edituserphoneNumber.number,callback:function(e){t.$set(t.edituserphoneNumber,"number",e)},expression:"edituserphoneNumber.number"}})],1),s("el-form-item",{attrs:{label:"",prop:"pass0"}},[s("el-input",{attrs:{type:"text",placeholder:"输入短信验证码"},model:{value:t.edituserphoneNumber.code,callback:function(e){t.$set(t.edituserphoneNumber,"code",e)},expression:"edituserphoneNumber.code"}}),s("BtnSmsCode",{staticClass:"top0",attrs:{phoneNum:t.user.phone,checkPhoneNum:t.edituserphoneNumber.number,isCheckPhone:t.needCheckPhone}})],1)],1):t._e()],1)])]),s("div",{staticClass:"dibubtn"},[1==t.editphoneNumberstep?s("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.gosetnewUserphone(e)}}},[t._v("修改手机号")]):t._e(),2!=t.editphoneNumberstep||""!=t.edituserphoneNumber.number&&""!=t.edituserphoneNumber.code?t._e():s("el-button",{attrs:{type:"primary"}},[t._v("修改手机号")]),2==t.editphoneNumberstep&&""!=t.edituserphoneNumber.number&&""!=t.edituserphoneNumber.code?s("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.updateUserPhone(e)}}},[t._v("重新登入")]):t._e()],1)]):t._e(),1==t.isEditUserEmail?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backuCountset(e)}}})]),s("div",{staticClass:"EC_col_16"},[1==t.editEmailStep?s("h4",{staticClass:"centertext"},[t._v("邮箱")]):t._e(),2==t.editEmailStep?s("h4",{staticClass:"centertext"},[t._v("修改邮箱地址")]):t._e()]),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("div",{staticClass:"editnone mt-10"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("ul",{staticClass:"yiyun_app_info_box"},[s("li",[s("span",{staticClass:"fl"},[t._v("原邮箱")]),s("span",{staticClass:"right-list_beizhu"},[t._v(t._s(t.user.email))])]),2==t.editEmailStep?s("li",[s("el-input",{attrs:{placeholder:"输入新邮箱地址"},model:{value:t.newEmail,callback:function(e){t.newEmail=e},expression:"newEmail"}})],1):t._e()])])])])]),s("div",{staticClass:"dibubtn"},[1==t.editEmailStep?s("el-button",{staticClass:"longBtn defualtBtnInfo quitBtn",on:{click:function(e){e.stopPropagation(),t.editEmailStep=2}}},[t._v("修改邮箱地址")]):t._e(),2==t.editEmailStep?s("el-button",{class:t.editEmailClass,attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.updateUserEmail(e)}}},[t._v("完成修改")]):t._e()],1)]):t._e(),1==t.isShowNewsAndInfomation?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backOpinionMain(e)}}})]),t._m(8),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("ul",{staticClass:"yiyun_app_info_box"},[s("li",{on:{click:function(e){return e.stopPropagation(),t.toNewsSetting(e)}}},[s("span",{staticClass:"fl"},[t._v("新消息通知设置")]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})]),s("li",[s("span",{staticClass:"fl"},[t._v("通知显示消息详情")]),s("el-switch",{staticClass:"fr",model:{value:t.switch1,callback:function(e){t.switch1=e},expression:"switch1"}})],1),s("li",[s("span",{staticClass:"fl"},[t._v("提示音")]),s("el-switch",{staticClass:"fr",model:{value:t.switch1,callback:function(e){t.switch1=e},expression:"switch1"}})],1)])])])]):t._e(),2==t.isShowNewsAndInfomation?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backNewsAndInfomation(e)}}})]),t._m(9),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("ul",{staticClass:"yiyun_app_info_box"},[s("li",[s("span",{staticClass:"fl"},[t._v("新消息通知")]),s("el-switch",{staticClass:"fr",model:{value:t.switch1,callback:function(e){t.switch1=e},expression:"switch1"}})],1)]),s("span",{staticClass:"yiyun_yinyongname"},[t._v("安全")]),s("ul",{staticClass:"yiyun_app_info_box"},[s("li",[s("span",{staticClass:"fl"},[t._v("应用1")]),s("el-switch",{staticClass:"fr",model:{value:t.switch1,callback:function(e){t.switch1=e},expression:"switch1"}})],1),s("li",[s("span",{staticClass:"fl"},[t._v("应用2")]),s("el-switch",{staticClass:"fr",model:{value:t.switch1,callback:function(e){t.switch1=e},expression:"switch1"}})],1),s("li",[s("span",{staticClass:"fl"},[t._v("应用3")]),s("el-switch",{staticClass:"fr",model:{value:t.switch1,callback:function(e){t.switch1=e},expression:"switch1"}})],1)])])])]):t._e(),t.cloudManagerBoxPain?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[t._m(10),s("div",{staticClass:"EC_col_12"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"flex_right_pain_body"},[s("div",[s("div",{staticClass:"user_Img",on:{click:function(e){e.stopPropagation(),t.editImgHead=!0}}},[s("img",{attrs:{src:t._f("resolveAvator")(t.user.headImgUrl),alt:""}})]),s("div",{staticClass:"userNamelabel"},[s("span",[t._v(t._s(t.user.cnName))])])]),s("div",{staticClass:"yiyun_app_itemClasss"},[s("span",{staticClass:"yiyun_yinyongname"},[t._v("数据")]),t.isProjManager?s("ul",{staticClass:"yiyun_app_info_box"},[s("li",{on:{click:function(e){return e.stopPropagation(),t.goCloudSourceManager()}}},[s("span",{staticClass:"fl"},[t._v("云盘资源管理器")]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})])]):t._e()])])]):t._e()])],1)},n=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"EC_col_12"},[s("h4",{staticClass:"RdiaheaderTitle"},[t._v("系统设置")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v("账号设置")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("li",[s("span",{staticClass:"fl"},[t._v("所在部门")]),s("span",{staticClass:"right-list_beizhu"},[t._v("设计")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"user_Img"},[s("img",{attrs:{src:"",alt:""}})]),s("div",{staticClass:"userNamelabel"},[t._v("版本V2.1.0.4")]),s("div",[s("span",{staticClass:"introlisttitle"},[t._v("LOCKING平台介绍")]),s("p",{staticClass:"downtext_beizhu mt-10"},[t._v(" LOCKING是一款方便、快捷、功能多样的办公软件,堪称设计人员的最佳拍档 ")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v("意见反馈")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v("查看帮助")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v("修改密码")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v("修改用户名")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v("消息与通知")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v("消息与通知")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"EC_col_12"},[s("h4",{staticClass:"RdiaheaderTitle"},[t._v("云盘设置")])])}],a=(s("a434"),s("96cf"),s("1da1")),o=s("2b0e"),r=s("f8c2"),l=s("a429"),c=s("9e5b"),u=s("86cd"),d=s("93d6"),p=s("5ab9"),h=s("1d40");o["default"].use(l["a"]);var f=window.jQuery,m={components:{CloseBtn:r["a"],fileUploader:l["a"],FileUpload:c["a"],BtnSmsCode:u["a"]},mounted:function(){var t=this;return Object(a["a"])(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(d["f"])(t.$store.state.accountId);case 2:s=e.sent,t.user=s;case 4:case"end":return e.stop()}}),e)})))()},data:function(){return{user:{},chunkUploadUrl:"/api/webupload/chunks",isShowAboutYiYun:!1,yiyunAnimated:"",switch1:"",editImgHead:!1,isShowBtnReslveHelp:!1,userManagerBoxPain:1,isEditUserName:1,isEditUserPhone:1,editphoneNumberstep:1,sectopTitle:"手机号",isEditUserEmail:1,editEmailStep:1,editEmailClass:"longBtn defualtBtnInfo quitBtn",newEmail:"",edituserphoneNumber:{number:"",code:""},editusername:{oldUserName:sessionStorage.userName,newUserName:"",sureUserName:"",password:""},cloudManagerBoxPain:!1,uploadCompId:sessionStorage.companyId,uploadTypeHead:3,showeditpassword:!1,editpassword:{pwd:"",newPwd:"",checkNewPwd:""},Opinion:"",questionContent:"",contactPhone:"",contactEmail:"",questionTitle:"",toHelpFace:"",listOpinion:[],listOpinionNode:[],listOpinionNodeQuestion:[],listHelp:[],listHelpNode:[],toHelpInfoDialoge:!1,selectedQuestion:[],listQuestionImg:[],helpNodeDetail:"",currHelpTitle:"",lastTitle:"",opinionQuestionIDs:"",opinionQuestionNames:"",currOpinionDictionaryID:"",isEditPdw:!1,isShowNewsAndInfomation:!1,isPage_Index_toolBar:!0,isPage_cloudIndex_toolBar:!1,isProjManager:!1,needCheckPhone:!0,isClient:h["a"].isClient,isCloseHover:!1,closeImgSrc:"/static/img/operate-pop-window/关闭.svg"}},watch:{yiyunAnimated:function(t){if(t){var e=document.querySelector(".notify-mask");e&&e.addEventListener("click",this.closeSetPain)}}},methods:{checkForUpdates:function(){h["a"].checkForUpdates()},isShowBackPane:function(){this.Opinion="",this.toHelpFace="",this.isEditUserName="",this.isEditUserPhone="",this.isEditUserEmail="",this.isEditPdw="",this.isShowNewsAndInfomation=""},openSetPain:function(){this.isShowAboutYiYun=!1,this.isShowBackPane(),this.yiyunAnimated="AnimatedRightIn";var t=document.querySelector(".notify-mask");if(!t){var e=document.createElement("div");e.className="notify-mask",document.body.appendChild(e)}},closeSetPain:function(){this.yiyunAnimated="",this.userManagerBoxPain=1,this.cloudManagerBoxPain=!1;var t=document.querySelector(".notify-mask");document.body.removeChild(t)},updateUserHeadImg:function(){f("#updateUserHeadImg").click()},UserInfoSetting:function(){this.userManagerBoxPain=11,this.cloudManagerBoxPain=!1},backUserManagerPain:function(){this.userManagerBoxPain=1,this.cloudManagerBoxPain=!1,this.isShowAboutYiYun=!1},goSetUsername:function(){this.isShowBackPane(),this.userManagerBoxPain="",this.cloudManagerBoxPain=!1,this.isEditUserName=1},goSetUserphone:function(){this.isShowBackPane(),this.userManagerBoxPain="",this.cloudManagerBoxPain=!1,this.isEditUserPhone=1,this.editphoneNumberstep=1,this.sectopTitle="手机号"},gosetnewUserphone:function(){this.sectopTitle="修改手机号",this.editphoneNumberstep=2},backuCountset:function(){this.isShowBackPane(),this.userManagerBoxPain=11,this.cloudManagerBoxPain=!1},goSetUserEmail:function(){this.isShowBackPane(),this.userManagerBoxPain="",this.cloudManagerBoxPain=!1,this.isEditUserEmail=1,this.editEmailStep=1,this.setEmailTitle="邮箱"},handleCommand:function(t){this.$router.push({path:"cloud"})},tryToLogout:function(){var t=this;this.$confirm("退出当前账户,是否继续?","",{confirmButtonText:"确定",cancelButtonText:"取消",showClose:!1,type:"warning"}).then((function(){t.logout()})).catch((function(t){return console.log(t)}))},logout:function(){this.$store.logout(),this.user="",this.closeSetPain(),this.$router.push({path:"/",query:{isChangeCount:!0}})},checkOpinion:function(t,e){if(t)this.selectedQuestion.push(e);else for(var s=0;s=e?t:""+Array(e+1-i.length).join(s)+t},h={s:p,z:function(t){var e=-t.utcOffset(),s=Math.abs(e),i=Math.floor(s/60),n=s%60;return(e<=0?"+":"-")+p(i,2,"0")+":"+p(n,2,"0")},m:function t(e,s){if(e.date()0?t.smsTip=t.count+"秒后重新获取":(t.BtnSms=!1,t.smsTip="获取验证码",t.count=60,clearInterval(t.timer))}),1e3)}}},o=a,r=(s("a4f2"),s("2877")),l=Object(r["a"])(o,i,n,!1,null,null,null);e["a"]=l.exports},"8b86":function(t,e,s){"use strict";var i=s("5a63"),n=s.n(i);n.a},"8efb":function(t,e,s){},"93d6":function(t,e,s){"use strict";s.d(e,"d",(function(){return u})),s.d(e,"e",(function(){return p})),s.d(e,"c",(function(){return v})),s.d(e,"g",(function(){return C})),s.d(e,"f",(function(){return b})),s.d(e,"j",(function(){return x})),s.d(e,"b",(function(){return S})),s.d(e,"i",(function(){return P})),s.d(e,"h",(function(){return N})),s.d(e,"k",(function(){return I})),s.d(e,"a",(function(){return H})),s.d(e,"l",(function(){return E})),s.d(e,"m",(function(){return M}));s("4160"),s("d81d"),s("13d5"),s("d3b7"),s("ac1f"),s("3ca3"),s("1276"),s("159b"),s("ddb0");var i=s("5530"),n=(s("96cf"),s("1da1")),a=s("b775"),o=s("3de1"),r=s("2ef0"),l=s("5a0c"),c=s.n(l);function u(t){return d.apply(this,arguments)}function d(){return d=Object(n["a"])(regeneratorRuntime.mark((function t(e){var s,i,n,r,l,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(a["b"])("company/queryCompanyById",{id:e});case 2:return s=t.sent,i=s.Data||{},n=i.company,r=void 0===n?{}:n,l=Object(o["b"])(r),c=_("company",l.id,l.companyName,l),t.next=8,f(e);case 8:return c.children=t.sent,t.abrupt("return",[c]);case 10:case"end":return t.stop()}}),t)}))),d.apply(this,arguments)}function p(t){return h.apply(this,arguments)}function h(){return h=Object(n["a"])(regeneratorRuntime.mark((function t(e){var s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(a["b"])("company/queryDeptListByCompanyId",{companyId:e});case 2:return s=t.sent,t.abrupt("return",(s.Data||[]).map((function(t){var e=Object(o["b"])(t);return e.arraySuper=e.levelId.split("-"),_("dept",e.id,e.deptName,e)})));case 4:case"end":return t.stop()}}),t)}))),h.apply(this,arguments)}function f(t){return m.apply(this,arguments)}function m(){return m=Object(n["a"])(regeneratorRuntime.mark((function t(e){var s,i,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(a["b"])("dept/queryDeptsByDeptId",{superId:e});case 2:if(s=t.sent,i=(s.Data||[]).map((function(t){var e=Object(o["b"])(t);return e.arraySuper=e.levelId.split("-"),_("dept",e.id,e.deptName,e)})),!i.length){t.next=9;break}return t.next=7,Promise.all(i.map((function(t){return f(t.id)})));case 7:n=t.sent,n.forEach((function(t,e){var s=i[e];t.length?s.children=t:s.isLeaf=!0}));case 9:return t.abrupt("return",i);case 10:case"end":return t.stop()}}),t)}))),m.apply(this,arguments)}function _(t,e,s){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return{id:e,label:s,nodeType:t,isLeaf:n,disabled:a,data:i}}function v(t){return g.apply(this,arguments)}function g(){return g=Object(n["a"])(regeneratorRuntime.mark((function t(e){var s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=Object(o["c"])(e),t.next=3,Object(a["b"])("dept/addDept",s);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)}))),g.apply(this,arguments)}function C(t,e,s,i){return w.apply(this,arguments)}function w(){return w=Object(n["a"])(regeneratorRuntime.mark((function t(e,s,i,n){var r,l,c,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,n?Object(a["b"])("user/fuzzyQueryUserOnOneCompany",{companyId:e.id,fuzzy:n}):Object(a["b"])("user/queryUsersByDeptId",{deptId:e.id,idType:"company"===e.nodeType?0:1,pageIndex:s,pageSize:i});case 2:return r=t.sent,l=r.Data||{},c=l.data,u=l.total,t.abrupt("return",{list:(c||[]).map(o["b"]),page:s,pageSize:i,total:u});case 5:case"end":return t.stop()}}),t)}))),w.apply(this,arguments)}function b(t){return y.apply(this,arguments)}function y(){return y=Object(n["a"])(regeneratorRuntime.mark((function t(e){var s,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(a["b"])("user/queryUserByUserId",{id:e});case 2:return s=t.sent,i=Object(o["b"])(Object.assign({},Object(r["propertyOf"])(s)("Data.UserExt",{}),s.Data||{})),i.roleName=k[i.permission]||"",i.backgroundRoleName=B[i.backgroundPermission]||"",i.userState=D[i.staffStatus]||"",i.isDeparture=i.staffStatus,t.abrupt("return",i);case 9:case"end":return t.stop()}}),t)}))),y.apply(this,arguments)}var x=[{value:99,label:"无权限"},{value:0,label:"普通职员"},{value:1,label:"项目负责人"}],k=x.reduce((function(t,e){var s=e.value,i=e.label;return t[s]=i,t}),{}),S=[{value:99,label:"无权限"},{value:2,label:"企业管理员"}],P=[{value:0,label:"普通职员"},{value:1,label:"互链职员"}],N=P.reduce((function(t,e){var s=e.value,i=e.label;return t[s]=i,t}),{}),B=S.reduce((function(t,e){var s=e.value,i=e.label;return t[s]=i,t}),{}),I=[{value:0,label:"在职"},{value:1,label:"离职"}],D=I.reduce((function(t,e){var s=e.value,i=e.label;return t[s]=i,t}),{});function H(t){return O.apply(this,arguments)}function O(){return O=Object(n["a"])(regeneratorRuntime.mark((function t(e){var s,n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=Object(o["c"])(Object(i["a"])({},e)),s.Birthday&&(s.Birthday=c()(s.Birthday).toISOString()),s.DepartureDate&&(s.DepartureDate=c()(s.DepartureDate).toISOString()),s.GradutionDate&&(s.GradutionDate=c()(s.GradutionDate).toISOString()),s.HireDate&&(s.HireDate=c()(s.HireDate).toISOString()),n={Address:s.Address,Birthday:s.Birthday,DepartureDate:s.DepartureDate,Education:s.Education,GradutionDate:s.GradutionDate,GradutionSchool:s.GradutionSchool,HireDate:s.HireDate,MaritalStatus:s.MaritalStatus,National:s.National,NativePlace:s.NativePlace,PoliticalLandscape:s.PoliticalLandscape,Specialty:s.Specialty,StaffStatus:s.IsDeparture},s.UserExt=n,t.next=9,Object(a["b"])("user/addUser",s);case 9:return r=t.sent,t.abrupt("return",r);case 11:case"end":return t.stop()}}),t)}))),O.apply(this,arguments)}function E(t){return $.apply(this,arguments)}function $(){return $=Object(n["a"])(regeneratorRuntime.mark((function t(e){var s,n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=Object(o["c"])(Object(i["a"])({},e)),s.Birthday&&(s.Birthday=c()(s.Birthday).toISOString()),s.DepartureDate&&(s.DepartureDate=c()(s.DepartureDate).toISOString()),s.GradutionDate&&(s.GradutionDate=c()(s.GradutionDate).toISOString()),s.HireDate&&(s.HireDate=c()(s.HireDate).toISOString()),n={Address:s.Address,Birthday:s.Birthday,DepartureDate:s.DepartureDate,Education:s.Education,GradutionDate:s.GradutionDate,GradutionSchool:s.GradutionSchool,HireDate:s.HireDate,Id:s.Id,MaritalStatus:s.MaritalStatus,National:s.National,NativePlace:s.NativePlace,PoliticalLandscape:s.PoliticalLandscape,Specialty:s.Specialty,StaffStatus:s.IsDeparture},s.UserExt=n,console.log(s),t.next=10,Object(a["b"])("user/updateUser",s);case 10:return r=t.sent,t.abrupt("return",r);case 12:case"end":return t.stop()}}),t)}))),$.apply(this,arguments)}function M(t,e){return A.apply(this,arguments)}function A(){return A=Object(n["a"])(regeneratorRuntime.mark((function t(e,s){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=Object.assign({},e,{headImgUrl:s}),t.next=3,E(i);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)}))),A.apply(this,arguments)}},"9e5b":function(t,e,s){"use strict";var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("el-upload",{attrs:{action:"","http-request":t.httpRequest||t.handleUpload,"before-upload":t.beforeUpload,showFileList:t.showFileList,"on-success":t.handleSuccess},scopedSlots:t._u([t._l(t.$slots,(function(e,s){return{key:s,fn:function(){return[t._t(s)]},proxy:!0}}))],null,!0)})},n=[],a=(s("b0c0"),s("5530")),o=s("5ab9"),r=s("2ef0"),l={name:"Upload",props:{showFileList:{type:Boolean,default:!1},onSuccess:{type:Function,default:r["noop"]},httpRequest:{type:Function,default:null}},methods:{handleSuccess:function(t,e,s){t?this.onSuccess(Object(a["a"])(Object(a["a"])({},e),{},{ossUrl:t.name}),s):console.log(t,e)},beforeUpload:function(t){return console.log("fileInfo: ",t),!0},handleUpload:function(t){var e=t.file;t.onSuccess,t.onError,t.file.name;return o["b"](e.name,e)}}},c=l,u=s("2877"),d=Object(u["a"])(c,i,n,!1,null,null,null);e["a"]=d.exports},a434:function(t,e,s){"use strict";var i=s("23e7"),n=s("23cb"),a=s("a691"),o=s("50c4"),r=s("7b0b"),l=s("65f0"),c=s("8418"),u=s("1dde"),d=s("ae40"),p=u("splice"),h=d("splice",{ACCESSORS:!0,0:0,1:2}),f=Math.max,m=Math.min,_=9007199254740991,v="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!p||!h},{splice:function(t,e){var s,i,u,d,p,h,g=r(this),C=o(g.length),w=n(t,C),b=arguments.length;if(0===b?s=i=0:1===b?(s=0,i=C-w):(s=b-2,i=m(f(a(e),0),C-w)),C+s-i>_)throw TypeError(v);for(u=l(g,i),d=0;dC-i+s;d--)delete g[d-1]}else if(s>i)for(d=C-i;d>w;d--)p=d+i-1,h=d+s-1,p in g?g[h]=g[p]:delete g[h];for(d=0;d0}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)}},r=o,l=(s("6dcf"),s("2877")),c=Object(l["a"])(r,i,n,!1,null,"373b66dc",null);e["a"]=c.exports},c8cd:function(t,e,s){"use strict";var i=s("e63f"),n=s.n(i);n.a},db90:function(t,e,s){"use strict";s.d(e,"a",(function(){return i}));s("a4d3"),s("e01a"),s("d28b"),s("a630"),s("d3b7"),s("3ca3"),s("ddb0");function i(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}},e63f:function(t,e,s){},f8c2:function(t,e,s){"use strict";var i=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},n=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"close-wrap"},[s("div",{staticClass:"close-icon vert-hori-center"})])}],a=(s("1981"),s("2877")),o={},r=Object(a["a"])(o,i,n,!1,null,"fd986eae",null);e["a"]=r.exports},ff4b:function(t,e,s){}}]);
\ No newline at end of file
diff --git a/dist/static/js/chunk-63477c88.81746671.js b/dist/static/js/chunk-63477c88.81746671.js
deleted file mode 100644
index c020ed1e..00000000
--- a/dist/static/js/chunk-63477c88.81746671.js
+++ /dev/null
@@ -1 +0,0 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-63477c88","chunk-2d0d2af5"],{"01a8":function(t,e,s){"use strict";var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-header",class:{white:"white"===t.theme||t.isWindowScrollIng,black:"black"===t.theme,"black-bg-color":t.isWindowScrollIng&&"black"===t.theme}},[t.isClient?s("div",{staticClass:"app-header-top"},[s("div",{staticClass:"top-left",attrs:{title:t.isOnLine?"":"请检查本地网关连接"}},[s("div",{staticClass:"dot",class:{online:t.isOnLine,offline:!t.isOnLine}}),s("div",{staticClass:"state",class:{"white-color":"white"===t.theme,black:"black"===t.theme}},[t._v(t._s(t.isOnLine?"在线":"离线"))])]),s("div",{staticClass:"top-center"}),s("div",{staticClass:"top-right"},[s("div",{staticClass:"min",on:{click:function(e){return e.stopPropagation(),t.shrinkBrowserWindow(e)}}},[s("img",{staticClass:"min-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/缩小.svg",alt:""}})]),s("div",{staticClass:"my-max",on:{click:function(e){return e.stopPropagation(),t.judgeIsMaxBrowserWindow(e)}}},[t.isMaxWindowNow?s("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/小窗口化.svg",alt:""}}):s("img",{staticClass:"to-max-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/放大.svg",alt:""}})]),s("div",{staticClass:"close",on:{mouseenter:function(e){t.isCloseHover=!0},mouseleave:function(e){t.isCloseHover=!1},click:function(e){return e.stopPropagation(),t.closeBrowserWindow(e)}}},[s("img",{directives:[{name:"show",rawName:"v-show",value:!t.isCloseHover,expression:"!isCloseHover"}],staticClass:"close-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/关闭.svg",alt:""}}),s("img",{directives:[{name:"show",rawName:"v-show",value:t.isCloseHover,expression:"isCloseHover"}],staticClass:"close-icon vert-hori-center ",attrs:{src:"/static/img/operate-window/关闭激活.svg",alt:""}})])])]):t._e(),t.isWorkspaceTopBar&&!t.isClient||t.isShowTopBar&&!t.isClient?s("div",{staticClass:"app-header-top"}):t._e(),s("div",{staticClass:"app-header-content",class:{"adjust-content-pos":t.isWorkspaceTopBar&&!t.isClient}},[s("div",{staticClass:"app-header-content-left"},[t._t("left",[s("i",{directives:[{name:"show",rawName:"v-show",value:t.showBackBtn,expression:"showBackBtn"}],staticClass:"yiyun_icon app-header-back-btn no-drag",class:{icon_topback_left:"white"===t.theme||"basis"===t.theme,icon_topback_left_baise:"black"===t.theme},on:{click:function(e){return t.navBack()}}}),s("span",{directives:[{name:"show",rawName:"v-show",value:t.backBtnTitle,expression:"backBtnTitle"}],staticClass:"back_title no-drag",on:{click:function(e){return t.navBack()}}},[t._v(t._s(t.backBtnTitle))])])],2),s("div",{staticClass:"app-header-center"},[t._t("center",[t._v(t._s(t.title))])],2),s("div",{staticClass:"app-header-content-right no-drag"},[t._t("right"),t.showRecycleBin?s("span",{on:{click:t.toRecycle}},[s("i",{staticClass:"Cicon icon font_family icon-icon_huishouzhan",class:{inRecycle:t.isInRecycle}})]):t._e(),t.showNotify?s("system-notify"):t._e(),t.showUserCenter?s("user-center"):t._e()],2)])])},n=[],a=s("1392"),o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"system_notify",on:{click:function(t){t.stopPropagation()}}},[s("el-badge",{staticClass:"icon-badge",attrs:{"is-dot":"",hidden:0===t.messageList.filter((function(t){return 1===t.status})).length}},[s("i",{staticClass:"Cicon icon el-icon-message-solid",attrs:{title:"通知"},on:{click:function(e){e.stopPropagation(),t.panelVisible=!0}}})]),s("div",{class:t.yiyunAnimated+" flex_right_pain"},[s("div",{staticClass:"flex_right_pain_body_box"},[s("top-header",{staticClass:"flex_right_pain_head",scopedSlots:t._u([{key:"left",fn:function(){return[1===t.messageStatus?s("h4",{staticClass:"RdiaheaderTitle system_notify_title"},[s("i",{staticClass:"Cicon icon el-icon-message-solid"}),t._v(" 通知 ")]):s("div",{on:{click:function(e){t.messageStatus=1}}},[s("i",{staticClass:"yiyun_icon app-header-back-btn icon_topback_left"}),s("span",{staticClass:"back_title"},[t._v("返回")])])]},proxy:!0},2===t.messageStatus?{key:"center",fn:function(){return[t._v("历史通知")]},proxy:!0}:null,{key:"right",fn:function(){return[s("close-btn",{nativeOn:{click:function(e){e.stopPropagation(),t.panelVisible=!1}}})]},proxy:!0}],null,!0)}),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},t._l(1===t.messageStatus?t.messageList.filter((function(t){return 1===t.status})):t.hisMessageList,(function(e){return s("message-card",{key:e.id,attrs:{message:e},on:{"mark-read":t.markMessageAsReaded}})})),1),1===t.messageStatus?s("div",{staticClass:"flex_right_pain_foot"},[t.hisMessageList.length?s("el-button",{staticClass:"bottom-button",on:{click:function(e){e.stopPropagation(),t.messageStatus=2}}},[t._v("查看历史通知")]):t._e()],1):t._e()],1)])],1)},r=[],l=(s("d81d"),s("2909")),c=(s("96cf"),s("1da1")),u=s("f8c2"),d=s("b1f3"),p=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"message-card"},[s("div",{staticClass:"message-icon-box"},[s("div",{staticClass:"file-icon"},[s("img",{attrs:{src:t.fileIconImg}})])]),s("div",{staticClass:"message-content"},[s("div",{staticClass:"message-content-title",attrs:{title:t.message.title}},[t._v(t._s(t.message.title))]),s("div",{staticClass:"message-content-desc",attrs:{title:t.message.body}},[t._v(t._s(t.message.body))])]),s("div",{staticClass:"message-date"},[t._v(t._s(t._f("resolveDate")(t.message.unixTime)))]),1===t.message.status?s("i",{staticClass:"close-btn",on:{click:function(e){return e.stopPropagation(),t.markRead(e)}}}):t._e()])},h=[],f=s("5a0c"),m=s.n(f),_=s("16cc"),v=s.n(_),g={props:{message:Object},methods:{markRead:function(){this.$emit("mark-read",this.message)}},data:function(){return{fileIconImg:v.a}},filters:{resolveDate:function(t){var e=m()(1e3*t);return e.isSame(m()(),"day")?"今日":e.isSame(m()(),"year")?e.format("M月D日"):e.format("YYYY年M月D日")}}},C=g,w=(s("8b86"),s("2877")),b=Object(w["a"])(C,p,h,!1,null,"e6852b04",null),y=b.exports,x=s("b775"),k=s("3de1"),S={components:{CloseBtn:u["a"],MessageCard:y,TopHeader:d["a"]},computed:{yiyunAnimated:function(){return this.panelVisible?"AnimatedRightIn":""}},data:function(){return{userId:sessionStorage.accountId,companyId:sessionStorage.companyId,panelVisible:!1,messageList:[],hisMessageList:[],messageStatus:1,tickIns:null}},mounted:function(){this.getMessageList(1),this.getMessageList(2)},destroyed:function(){this.tickIns&&clearTimeout(this.tickIns)},watch:{panelVisible:function(t){var e=this;if(!t){setTimeout((function(){return e.messageStatus=1}),500);var s=document.querySelector(".notify-mask");document.body.removeChild(s)}},messageStatus:function(t){2===t&&this.getMessageList(2)},yiyunAnimated:function(t){if(t){var e=document.querySelector(".notify-mask");e||(e=document.createElement("div"),e.className="notify-mask",document.body.appendChild(e)),e.addEventListener("click",this.closePanel)}}},methods:{closePanel:function(){this.panelVisible=!1},getMessageList:function(){var t=arguments,e=this;return Object(c["a"])(regeneratorRuntime.mark((function s(){var i,n,a;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return i=t.length>0&&void 0!==t[0]?t[0]:1,s.next=3,e.$fetchApi("lockingmsg/queryLockingMsgListByFilter",{userId:e.userId,status:i});case 3:n=s.sent,Object(x["c"])(n),0===n.Code&&(a=(n.Data||[]).map(k["b"]),e[1===i?"messageList":"hisMessageList"]=a),1===i&&(e.tickIns=setTimeout(e.getMessageList,3e4));case 7:case"end":return s.stop()}}),s)})))()},markMessageAsReaded:function(t){var e=this;return Object(c["a"])(regeneratorRuntime.mark((function s(){var i;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return t.status=2,e.messageList=Object(l["a"])(e.messageList),s.next=4,e.$fetchApi("lockingmsg/markRead",{userId:e.userId,id:t.id});case 4:if(i=s.sent,Object(x["c"])(i),0===i.Code){s.next=10;break}return t.status=1,e.messageList=Object(l["a"])(e.messageList),s.abrupt("return");case 10:case"end":return s.stop()}}),s)})))()}}},P=S,N=(s("5ca2"),Object(w["a"])(P,o,r,!1,null,"7992fdfb",null)),B=N.exports,I=s("1d40"),D={components:{UserCenter:a["a"],SystemNotify:B},props:{theme:String,showBackBtn:Boolean,backBtnTitle:String,onBackBtnClick:Function,title:String,showUserCenter:Boolean,showRecycleBin:Boolean,showNotify:Boolean,isInRecycle:Boolean,isShowLeftState:{type:Boolean,default:function(){return!0}},isWorkspaceTopBar:Boolean,isShowTopBar:Boolean},data:function(){return{isWindowScrollIng:!1,isClient:I["a"].isClient,isMaxWindowNow:!1,isCloseHover:!1}},computed:{isMaxWindowSize:function(){return this.$store.state.isMaxWindowSize},isOnLine:function(){return this.$store.state.gatewayState}},watch:{isMaxWindowSize:function(t){this.isMaxWindowNow=t}},created:function(){this.isMaxWindowNow="true"===sessionStorage.getItem("isMaxWindowNow")&&Boolean(sessionStorage.getItem("isMaxWindowNow"))},mounted:function(){window.addEventListener("scroll",this.handleScroll.bind(this),!0)},methods:{shrinkBrowserWindow:function(){I["a"].shrinkBrowserWindow()},judgeIsMaxBrowserWindow:function(){this.isMaxWindowNow?this.unmaxBrowserWindow():this.enlargeBrowserWindow()},enlargeBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),I["a"].enlargeBrowserWindow()},unmaxBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,sessionStorage.setItem("isMaxWindowNow",this.isMaxWindowNow),I["a"].unmaxBrowserWindow()},closeBrowserWindow:function(){I["a"].closeBrowserWindow()},navBack:function(){this.onBackBtnClick?this.onBackBtnClick():this.$router.go(-1)},toRecycle:function(){this.$router.push({name:"recycle"})},handleScroll:function(){var t=document.getElementById("bigbody");this.isWindowScrollIng=t.scrollTop>0}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)}},H=D,O=(s("c8cd"),Object(w["a"])(H,i,n,!1,null,"786ecd3a",null));e["a"]=O.exports},1392:function(t,e,s){"use strict";var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"user_center",on:{click:function(t){t.stopPropagation()}}},[s("i",{staticClass:"Cicon icon font_family icon-gerenshezhi",attrs:{title:"系统设置"},on:{click:function(e){return e.stopPropagation(),t.openSetPain(e)}}}),s("el-dialog",{attrs:{visible:t.showeditpassword,title:"登入密码",width:"30%","close-on-click-modal":!1},on:{"update:visible":function(e){t.showeditpassword=e}}},[s("div",{staticClass:"editnone"},[s("el-form",{staticClass:"demo-ruleForm",attrs:{model:t.editpassword,"label-width":"100px"}},[s("el-form-item",{attrs:{label:"旧密码",prop:"pass0"}},[s("el-input",{attrs:{type:"password",autocomplete:"off"},model:{value:t.editpassword.pwd,callback:function(e){t.$set(t.editpassword,"pwd",e)},expression:"editpassword.pwd"}})],1),s("el-form-item",{attrs:{label:"新密码",prop:"pass"}},[s("el-input",{attrs:{type:"password",autocomplete:"off"},model:{value:t.editpassword.newPwd,callback:function(e){t.$set(t.editpassword,"newPwd",e)},expression:"editpassword.newPwd"}})],1),s("el-form-item",{attrs:{label:"确认密码",prop:"checkPass"}},[s("el-input",{attrs:{type:"password",autocomplete:"off"},model:{value:t.editpassword.checkNewPwd,callback:function(e){t.$set(t.editpassword,"checkNewPwd",e)},expression:"editpassword.checkNewPwd"}})],1)],1)],1),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(e){e.stopPropagation(),t.showeditpassword=!1}}},[t._v("取 消")]),s("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.editPwd(e)}}},[t._v("确 定")])],1)]),1==t.toHelpInfoDialoge?s("div",{staticClass:"fulldialog"},[s("i",{staticClass:"Cicon icon font_family icon-icon_quxiaohuoguanbi guanbiques",attrs:{title:"关闭"},on:{click:function(e){return e.stopPropagation(),t.closeHelpInfo(e)}}}),s("div",{staticClass:"questionwarp"},[s("h4",{staticClass:"admintitle"},[t._v(t._s(t.helpNodeDetail.title))]),s("div",{staticClass:"pxline mtb-10"}),s("div",{staticClass:"helpNodeDetailBox",domProps:{innerHTML:t._s(t.helpNodeDetail.content)}}),s("div",{directives:[{name:"show",rawName:"v-show",value:1==t.isShowBtnReslveHelp,expression:"isShowBtnReslveHelp == true"}],staticClass:"dibulongbtn"},[s("div",{staticClass:"widt50 fl"},[s("el-button",{on:{click:function(e){return e.stopPropagation(),t.resolveHelp(t.helpNodeDetail)}}},[t._v("已解决")])],1),s("div",{staticClass:"widt50 fr"},[s("el-button",{on:{click:function(e){return e.stopPropagation(),t.disResolveHelp(t.helpNodeDetail)}}},[t._v("未解决")])],1)]),s("div",{staticClass:"clear"}),null!=t.helpNodeDetail.relatedHelpDetailID&&""!=t.helpNodeDetail.relatedHelpDetailID?s("div",[s("span",{staticClass:"yiyun_yinyongname"},[t._v("相关教程")]),s("div",{staticClass:"pxline"}),s("ul",{staticClass:"yiyun_app_info_box"},[s("li",{on:{click:function(e){return e.stopPropagation(),t.getHelpDetail(t.helpNodeDetail.relatedHelpDetailID)}}},[s("span",{staticClass:"fl"},[t._v(t._s(t.helpNodeDetail.relatedTitle))]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})])])]):t._e()])]):t._e(),s("el-dialog",{attrs:{visible:t.editImgHead,title:"修改头像",width:"444px","close-on-click-modal":!1},on:{"update:visible":function(e){t.editImgHead=e}}},[s("div",{staticClass:"touxiangBox user_Imgsize_largerbox weizhiImghead"},[s("div",{staticClass:"user_Img user_Imgsize_larger"},[s("img",{attrs:{src:t._f("resolveAvator")(t.user.headImgUrl),alt:""}})])]),s("div",{staticClass:"upHeadImg"},[s("file-Uploader",{ref:"webUploadlist",attrs:{mutiple:!1,label:"上传头像",auto:!0,accept:"image","btn-id":"filePicker",companyId:t.uploadCompId,typeId:t.uploadTypeHead,url:t.chunkUploadUrl},on:{"upload-success":t.headPicUploadSuccess}})],1)]),s("div",{class:t.yiyunAnimated+" flex_right_pain"},[1==t.userManagerBoxPain?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[t._m(0),s("div",{staticClass:"EC_col_12"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",[s("div",{staticClass:"user_Img"},[s("img",{attrs:{src:t._f("resolveAvator")(t.user.headImgUrl),alt:""}})]),s("div",{staticClass:"userNamelabel"},[s("span",[t._v(t._s(t.user.cnName))])])]),s("div",{staticClass:"yiyun_app_itemClasss"},[s("span",{staticClass:"yiyun_yinyongname"},[t._v("账号")]),s("ul",{staticClass:"yiyun_app_info_box"},[s("li",{on:{click:function(e){return e.stopPropagation(),t.UserInfoSetting()}}},[s("span",{staticClass:"fl"},[t._v("账号设置")]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})]),t._e(),t._e()]),s("span",{staticClass:"yiyun_yinyongname"},[t._v("其它")]),s("ul",{staticClass:"yiyun_app_info_box"},[t.isClient?s("li",{staticClass:"check-for-updates",on:{click:function(e){return e.stopPropagation(),t.checkForUpdates(e)}}},[s("span",{staticClass:"f1"},[t._v("检查更新")])]):t._e()])])]),s("div",{staticClass:"bottombtnitem"},[s("div",{staticClass:"bottombtnitemlonBtn"},[s("el-button",{staticClass:"longBtn defualtBtnInfo quitBtn",attrs:{type:"primary",round:""},on:{click:function(e){return e.stopPropagation(),t.tryToLogout(e)}}},[t._v("退出账户")])],1)])]):t._e(),11==t.userManagerBoxPain?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backUserManagerPain(e)}}})]),t._m(1),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",[s("div",{staticClass:"user_Img eidtimg"},[s("img",{attrs:{src:t._f("resolveAvator")(t.user.headImgUrl),alt:""}}),s("file-upload",{attrs:{"on-success":t.onChangeAvator}},[s("span",[t._v("更换头像")])])],1),s("div",{staticClass:"userNamelabel"},[s("span",[t._v(t._s(t.user.cnName))])])]),s("div",{staticClass:"yiyun_app_itemClasss"},[s("span",{staticClass:"yiyun_yinyongname"},[t._v("账号信息")]),s("ul",{staticClass:"yiyun_app_info_box"},[s("li",[s("span",{staticClass:"fl"},[t._v("姓名")]),s("span",{staticClass:"right-list_beizhu"},[t._v(t._s(t.user.cnName))])]),s("li",{on:{click:function(e){return e.stopPropagation(),t.goSetUserphone(e)}}},[s("span",{staticClass:"fl"},[t._v("手机号")]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"}),s("span",{staticClass:"right-list_beizhu"},[t._v(t._s(t.user.phone))])]),s("li",{on:{click:function(e){return e.stopPropagation(),t.goSetUserEmail(e)}}},[s("span",{staticClass:"fl"},[t._v("邮箱")]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"}),s("span",{staticClass:"right-list_beizhu"},[t._v(t._s(t.user.email))])])]),s("span",{staticClass:"yiyun_yinyongname"},[t._v("协作信息")]),s("ul",{staticClass:"yiyun_app_info_box"},[t._m(2),s("li",[s("span",{staticClass:"fl"},[t._v("职位")]),s("span",{staticClass:"right-list_beizhu"},[t._v(t._s(t.user.position))])])]),s("span",{staticClass:"yiyun_yinyongname"},[t._v("安全设置")]),s("ul",{staticClass:"yiyun_app_info_box"},[s("li",{on:{click:function(e){return e.stopPropagation(),t.toEidtPwd(e)}}},[s("span",{staticClass:"fl"},[t._v("修改登入密码")]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})])])])])]):t._e(),1==t.isShowAboutYiYun?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backUserManagerPain(e)}}}),s("h4",{staticClass:"fl biaotititle"},[t._v("关于LOCKING")]),s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1),s("div",{staticClass:"pxline"}),t._m(3)]):t._e(),1==t.Opinion?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backOpinionMain(e)}}})]),t._m(4),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("span",{staticClass:"yiyun_yinyongname"},[t._v("请选择分类")]),s("ul",{staticClass:"yiyun_app_info_box"},t._l(t.listOpinion,(function(e){return s("li",{key:e.id,on:{click:function(s){return s.stopPropagation(),t.toOpinionQuestion(e)}}},[s("span",{staticClass:"fl"},[t._v(t._s(e.label))]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})])})),0)])])]):t._e(),2==t.Opinion?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backOpinion(e)}}})]),s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v(t._s(t.currHelpTitle))])]),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("span",{staticClass:"yiyun_yinyongname"},[t._v("您遇到的问题")]),s("ul",{staticClass:"yiyun_app_info_box"},t._l(t.listOpinionNode,(function(e){return s("li",{key:e.id,on:{click:function(s){return s.stopPropagation(),t.toOpinionQuestionDesc(e)}}},[s("span",{staticClass:"fl"},[t._v(t._s(e.label))]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})])})),0)])])]):t._e(),3==t.Opinion?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backOpinionQuestion(e)}}})]),s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v(t._s(t.currHelpTitle))])]),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("span",{staticClass:"yiyun_yinyongname"},[t._v("1.请选择问题")]),t._l(t.listOpinionNodeQuestion,(function(e){return s("div",{key:e.opinionDetailID,staticClass:"mlr-16 line35"},[s("el-checkbox",{attrs:{label:""},on:{change:function(s){return t.checkOpinion(s,e)}}},[t._v(" "+t._s(e.questionName)+" ")])],1)})),s("span",{staticClass:"yiyun_yinyongname"},[t._v("2.请输入标题")]),s("div",{staticClass:"blockcheckbox"},[s("el-input",{staticClass:"intentinput mt-10",attrs:{placeholder:"请描述问题标题"},model:{value:t.questionTitle,callback:function(e){t.questionTitle=e},expression:"questionTitle"}})],1),s("span",{staticClass:"yiyun_yinyongname"},[t._v("3.描述您的问题")]),s("div",{staticClass:"blockcheckbox mlr-16 mt-8"},[s("el-input",{staticClass:"mt-8",attrs:{type:"textarea",rows:2,placeholder:"请描述您遇到的问题"},model:{value:t.questionContent,callback:function(e){t.questionContent=e},expression:"questionContent"}})],1),s("span",{staticClass:"yiyun_yinyongname"},[t._v("4.请上传截图")]),s("div",{staticClass:"blockcheckbox mlr-16"},[t._l(t.listQuestionImg,(function(e){return s("div",{key:e.id,staticClass:"cutimgBox"},[s("i",{staticClass:"el-icon-close guanbibtn"}),s("img",{attrs:{src:t.imgSrc+e.filePath,alt:""}})])})),s("div",{staticClass:"qustionimgbox noborder updateImg"},[s("file-Uploader",{ref:"webUploadlist",staticStyle:{"margin-top":"3px"},attrs:{mutiple:!1,auto:!0,accept:"image","btn-id":"filePicker",url:t.chunkUploadUrl},on:{"upload-success":t.questionUploadSuccess}})],1)],2),s("span",{staticClass:"yiyun_yinyongname"},[t._v("5.留下联系方式(选填)")]),s("div",{staticClass:"blockcheckbox"},[s("el-input",{staticClass:"intentinput mt-10",attrs:{placeholder:"手机号"},model:{value:t.contactPhone,callback:function(e){t.contactPhone=e},expression:"contactPhone"}}),s("el-input",{staticClass:"intentinput mt-10",attrs:{placeholder:"邮箱"},model:{value:t.contactEmail,callback:function(e){t.contactEmail=e},expression:"contactEmail"}})],1),s("div",{staticClass:"downtext_beizhu"},[t._v(" 您的反馈十分宝贵。同时我们也十分尊重您的隐私,联系方式将会被匿名。 ")])],2)]),s("div",{staticClass:"dibubtn"},[s("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.sendQuestion(e)}}},[t._v("提交反馈")])],1)]):t._e(),1==t.toHelpFace?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backOpinionMain(e)}}})]),t._m(5),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("span",{staticClass:"yiyun_yinyongname"},[t._v("请选择帮助分类")]),s("ul",{staticClass:"yiyun_app_info_box"},t._l(t.listHelp,(function(e){return s("li",{key:e.id,on:{click:function(s){return s.stopPropagation(),t.getListHelpNode(e)}}},[s("span",{staticClass:"fl"},[t._v(t._s(e.helpName))]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})])})),0)])])]):t._e(),2==t.toHelpFace?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backHelp(1)}}})]),s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v(t._s(t.currHelpTitle))])]),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("span",{staticClass:"yiyun_yinyongname"},[t._v("相关教程1")]),s("ul",{staticClass:"yiyun_app_info_box"},t._l(t.listHelpNode,(function(e){return s("li",{key:e.id,on:{click:function(s){return s.stopPropagation(),t.toHelpInfo(e)}}},[s("span",{staticClass:"fl"},[t._v(t._s(e.title))]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})])})),0)])])]):t._e(),3==t.toHelpFace?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backHelp(2)}}})]),s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext",attrs:{title:t.helpNodeDetail.title}},[t._v(" "+t._s(t.helpNodeDetail.title)+" ")])]),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("div",{staticClass:"mlr-16 mt-10"},[s("div",{staticClass:"helpNodeDetailBox scollBar",domProps:{innerHTML:t._s(t.helpNodeDetail.content)}}),s("div",{directives:[{name:"show",rawName:"v-show",value:1==t.isShowBtnReslveHelp,expression:"isShowBtnReslveHelp == true"}],staticClass:"dibulongbtn"},[s("div",{staticClass:"widt50 fl"},[s("el-button",{on:{click:function(e){return e.stopPropagation(),t.resolveHelp(t.helpNodeDetail)}}},[t._v("已解决")])],1),s("div",{staticClass:"widt50 fr"},[s("el-button",{on:{click:function(e){return e.stopPropagation(),t.disResolveHelp(t.helpNodeDetail)}}},[t._v("未解决")])],1)]),s("div",{staticClass:"clear"}),null!=t.helpNodeDetail.relatedHelpDetailID&&""!=t.helpNodeDetail.relatedHelpDetailID?s("div",[s("span",{staticClass:"yiyun_yinyongname"},[t._v("相关教程")]),s("div",{staticClass:"pxline"}),s("ul",{staticClass:"yiyun_app_info_box"},[s("li",{on:{click:function(e){return e.stopPropagation(),t.getHelpDetail(t.helpNodeDetail.relatedHelpDetailID)}}},[s("span",{staticClass:"fl"},[t._v(t._s(t.helpNodeDetail.relatedTitle))]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})])])]):t._e()])])])]):t._e(),1==t.isEditPdw?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backOpinionMain(e)}}})]),t._m(6),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("ul",{staticClass:"yiyun_app_info_box"},[s("li",[s("span",{staticClass:"fl"},[t._v("用户名")]),s("span",{staticClass:"right-list_beizhu"},[t._v(t._s(t.user.cnName))])])]),s("div",{staticClass:"editnone mt-10"},[s("el-form",{attrs:{"label-width":"80px","label-position":"left",model:t.editpassword}},[s("el-form-item",{attrs:{label:"旧密码",prop:"pass0"}},[s("el-input",{attrs:{type:"password",placeholder:"请填写旧密码",autocomplete:"off"},model:{value:t.editpassword.pwd,callback:function(e){t.$set(t.editpassword,"pwd",e)},expression:"editpassword.pwd"}})],1),s("el-form-item",{attrs:{label:"新密码",prop:"pass"}},[s("el-input",{attrs:{type:"password",placeholder:"输入新密码",autocomplete:"off"},model:{value:t.editpassword.newPwd,callback:function(e){t.$set(t.editpassword,"newPwd",e)},expression:"editpassword.newPwd"}})],1),s("el-form-item",{attrs:{label:"确认密码",prop:"checkPass"}},[s("el-input",{attrs:{type:"password",placeholder:"在此输入新密码",autocomplete:"off"},model:{value:t.editpassword.checkNewPwd,callback:function(e){t.$set(t.editpassword,"checkNewPwd",e)},expression:"editpassword.checkNewPwd"}})],1),s("el-form-item",{attrs:{label:""}},[s("span",{staticClass:"texttips"},[t._v("密码至少8个字符且含有大小写字母及数字")])])],1)],1)])]),s("div",{staticClass:"dibubtn"},[s("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.editPwd(e)}}},[t._v("完成修改")])],1)]):t._e(),1==t.isEditUserName?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backOpinionMain(e)}}})]),t._m(7),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("div",{staticClass:"editnone mt-10"},[s("el-form",{attrs:{"label-width":"90px","label-position":"left",model:t.editusername}},[s("el-form-item",{attrs:{label:"当前用户名",prop:"pass0"}},[s("el-input",{attrs:{type:"text",disabled:!0},model:{value:t.editusername.oldUserName,callback:function(e){t.$set(t.editusername,"oldUserName",e)},expression:"editusername.oldUserName"}})],1),s("el-form-item",{attrs:{label:"新的用户名",prop:"pass0"}},[s("el-input",{attrs:{type:"text",placeholder:"请输入新的用户名"},model:{value:t.editusername.newUserName,callback:function(e){t.$set(t.editusername,"newUserName",e)},expression:"editusername.newUserName"}})],1),s("el-form-item",{attrs:{label:"确认用户名",prop:"pass0"}},[s("el-input",{attrs:{type:"text",placeholder:"请输入确认用户名"},model:{value:t.editusername.sureUserName,callback:function(e){t.$set(t.editusername,"sureUserName",e)},expression:"editusername.sureUserName"}})],1),s("el-form-item",{attrs:{label:"用户密码",prop:"pass0"}},[s("el-input",{attrs:{type:"text",placeholder:"请输入用户密码"},model:{value:t.editusername.password,callback:function(e){t.$set(t.editusername,"password",e)},expression:"editusername.password"}})],1)],1)],1)])]),s("div",{staticClass:"dibubtn"},[s("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.editUserName(e)}}},[t._v("完成修改")])],1)]):t._e(),1==t.isEditUserPhone?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backuCountset(e)}}})]),s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v(t._s(t.sectopTitle))])]),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("div",{staticClass:"editnone mt-10"},[1==t.editphoneNumberstep?s("div",{staticClass:"yiyun_app_itemClasss"},[s("ul",{staticClass:"yiyun_app_info_box"},[s("li",[s("span",{staticClass:"fl"},[t._v("手机")]),s("span",{staticClass:"right-list_beizhu"},[t._v(t._s(t.user.phone))])])])]):t._e(),2==t.editphoneNumberstep?s("el-form",{attrs:{"label-width":"0px","label-position":"left",model:t.edituserphoneNumber}},[s("el-form-item",{attrs:{label:"",prop:"pass0"}},[s("el-input",{attrs:{type:"text",placeholder:"输入需要更换的手机号"},model:{value:t.edituserphoneNumber.number,callback:function(e){t.$set(t.edituserphoneNumber,"number",e)},expression:"edituserphoneNumber.number"}})],1),s("el-form-item",{attrs:{label:"",prop:"pass0"}},[s("el-input",{attrs:{type:"text",placeholder:"输入短信验证码"},model:{value:t.edituserphoneNumber.code,callback:function(e){t.$set(t.edituserphoneNumber,"code",e)},expression:"edituserphoneNumber.code"}}),s("BtnSmsCode",{staticClass:"top0",attrs:{phoneNum:t.user.phone,checkPhoneNum:t.edituserphoneNumber.number,isCheckPhone:t.needCheckPhone}})],1)],1):t._e()],1)])]),s("div",{staticClass:"dibubtn"},[1==t.editphoneNumberstep?s("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.gosetnewUserphone(e)}}},[t._v("修改手机号")]):t._e(),2!=t.editphoneNumberstep||""!=t.edituserphoneNumber.number&&""!=t.edituserphoneNumber.code?t._e():s("el-button",{attrs:{type:"primary"}},[t._v("修改手机号")]),2==t.editphoneNumberstep&&""!=t.edituserphoneNumber.number&&""!=t.edituserphoneNumber.code?s("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.updateUserPhone(e)}}},[t._v("重新登入")]):t._e()],1)]):t._e(),1==t.isEditUserEmail?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backuCountset(e)}}})]),s("div",{staticClass:"EC_col_16"},[1==t.editEmailStep?s("h4",{staticClass:"centertext"},[t._v("邮箱")]):t._e(),2==t.editEmailStep?s("h4",{staticClass:"centertext"},[t._v("修改邮箱地址")]):t._e()]),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("div",{staticClass:"editnone mt-10"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("ul",{staticClass:"yiyun_app_info_box"},[s("li",[s("span",{staticClass:"fl"},[t._v("原邮箱")]),s("span",{staticClass:"right-list_beizhu"},[t._v(t._s(t.user.email))])]),2==t.editEmailStep?s("li",[s("el-input",{attrs:{placeholder:"输入新邮箱地址"},model:{value:t.newEmail,callback:function(e){t.newEmail=e},expression:"newEmail"}})],1):t._e()])])])])]),s("div",{staticClass:"dibubtn"},[1==t.editEmailStep?s("el-button",{staticClass:"longBtn defualtBtnInfo quitBtn",on:{click:function(e){e.stopPropagation(),t.editEmailStep=2}}},[t._v("修改邮箱地址")]):t._e(),2==t.editEmailStep?s("el-button",{class:t.editEmailClass,attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.updateUserEmail(e)}}},[t._v("完成修改")]):t._e()],1)]):t._e(),1==t.isShowNewsAndInfomation?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backOpinionMain(e)}}})]),t._m(8),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("ul",{staticClass:"yiyun_app_info_box"},[s("li",{on:{click:function(e){return e.stopPropagation(),t.toNewsSetting(e)}}},[s("span",{staticClass:"fl"},[t._v("新消息通知设置")]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})]),s("li",[s("span",{staticClass:"fl"},[t._v("通知显示消息详情")]),s("el-switch",{staticClass:"fr",model:{value:t.switch1,callback:function(e){t.switch1=e},expression:"switch1"}})],1),s("li",[s("span",{staticClass:"fl"},[t._v("提示音")]),s("el-switch",{staticClass:"fr",model:{value:t.switch1,callback:function(e){t.switch1=e},expression:"switch1"}})],1)])])])]):t._e(),2==t.isShowNewsAndInfomation?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[s("div",{staticClass:"EC_col_4"},[s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(e){return e.stopPropagation(),t.backNewsAndInfomation(e)}}})]),t._m(9),s("div",{staticClass:"EC_col_4"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"pxline"}),s("div",{staticClass:"flex_right_pain_body"},[s("div",{staticClass:"yiyun_app_itemClasss"},[s("ul",{staticClass:"yiyun_app_info_box"},[s("li",[s("span",{staticClass:"fl"},[t._v("新消息通知")]),s("el-switch",{staticClass:"fr",model:{value:t.switch1,callback:function(e){t.switch1=e},expression:"switch1"}})],1)]),s("span",{staticClass:"yiyun_yinyongname"},[t._v("安全")]),s("ul",{staticClass:"yiyun_app_info_box"},[s("li",[s("span",{staticClass:"fl"},[t._v("应用1")]),s("el-switch",{staticClass:"fr",model:{value:t.switch1,callback:function(e){t.switch1=e},expression:"switch1"}})],1),s("li",[s("span",{staticClass:"fl"},[t._v("应用2")]),s("el-switch",{staticClass:"fr",model:{value:t.switch1,callback:function(e){t.switch1=e},expression:"switch1"}})],1),s("li",[s("span",{staticClass:"fl"},[t._v("应用3")]),s("el-switch",{staticClass:"fr",model:{value:t.switch1,callback:function(e){t.switch1=e},expression:"switch1"}})],1)])])])]):t._e(),t.cloudManagerBoxPain?s("div",{staticClass:"flex_right_pain_body_box"},[s("div",{staticClass:"flex_right_pain_head"},[t._m(10),s("div",{staticClass:"EC_col_12"},[s("close-btn",{attrs:{isCloseHover:t.isCloseHover},on:{mouseEnterNow:function(e){t.isCloseHover=!0},mouseLeaveNow:function(e){t.isCloseHover=!1}},nativeOn:{click:function(e){return e.stopPropagation(),t.closeSetPain(e)}}})],1)]),s("div",{staticClass:"flex_right_pain_body"},[s("div",[s("div",{staticClass:"user_Img",on:{click:function(e){e.stopPropagation(),t.editImgHead=!0}}},[s("img",{attrs:{src:t._f("resolveAvator")(t.user.headImgUrl),alt:""}})]),s("div",{staticClass:"userNamelabel"},[s("span",[t._v(t._s(t.user.cnName))])])]),s("div",{staticClass:"yiyun_app_itemClasss"},[s("span",{staticClass:"yiyun_yinyongname"},[t._v("数据")]),t.isProjManager?s("ul",{staticClass:"yiyun_app_info_box"},[s("li",{on:{click:function(e){return e.stopPropagation(),t.goCloudSourceManager()}}},[s("span",{staticClass:"fl"},[t._v("云盘资源管理器")]),s("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right right-list_btn"})])]):t._e()])])]):t._e()])],1)},n=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"EC_col_12"},[s("h4",{staticClass:"RdiaheaderTitle"},[t._v("系统设置")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v("账号设置")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("li",[s("span",{staticClass:"fl"},[t._v("所在部门")]),s("span",{staticClass:"right-list_beizhu"},[t._v("设计")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"user_Img"},[s("img",{attrs:{src:"",alt:""}})]),s("div",{staticClass:"userNamelabel"},[t._v("版本V2.1.0.4")]),s("div",[s("span",{staticClass:"introlisttitle"},[t._v("LOCKING平台介绍")]),s("p",{staticClass:"downtext_beizhu mt-10"},[t._v(" LOCKING是一款方便、快捷、功能多样的办公软件,堪称设计人员的最佳拍档 ")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v("意见反馈")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v("查看帮助")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v("修改密码")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v("修改用户名")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v("消息与通知")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"EC_col_16"},[s("h4",{staticClass:"centertext"},[t._v("消息与通知")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"EC_col_12"},[s("h4",{staticClass:"RdiaheaderTitle"},[t._v("云盘设置")])])}],a=(s("a434"),s("96cf"),s("1da1")),o=s("2b0e"),r=s("f8c2"),l=s("a429"),c=s("9e5b"),u=s("86cd"),d=s("93d6"),p=s("5ab9"),h=s("1d40");o["default"].use(l["a"]);var f=window.jQuery,m={components:{CloseBtn:r["a"],fileUploader:l["a"],FileUpload:c["a"],BtnSmsCode:u["a"]},mounted:function(){var t=this;return Object(a["a"])(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(d["f"])(t.$store.state.accountId);case 2:s=e.sent,t.user=s;case 4:case"end":return e.stop()}}),e)})))()},data:function(){return{user:{},chunkUploadUrl:"/api/webupload/chunks",isShowAboutYiYun:!1,yiyunAnimated:"",switch1:"",editImgHead:!1,isShowBtnReslveHelp:!1,userManagerBoxPain:1,isEditUserName:1,isEditUserPhone:1,editphoneNumberstep:1,sectopTitle:"手机号",isEditUserEmail:1,editEmailStep:1,editEmailClass:"longBtn defualtBtnInfo quitBtn",newEmail:"",edituserphoneNumber:{number:"",code:""},editusername:{oldUserName:sessionStorage.userName,newUserName:"",sureUserName:"",password:""},cloudManagerBoxPain:!1,uploadCompId:sessionStorage.companyId,uploadTypeHead:3,showeditpassword:!1,editpassword:{pwd:"",newPwd:"",checkNewPwd:""},Opinion:"",questionContent:"",contactPhone:"",contactEmail:"",questionTitle:"",toHelpFace:"",listOpinion:[],listOpinionNode:[],listOpinionNodeQuestion:[],listHelp:[],listHelpNode:[],toHelpInfoDialoge:!1,selectedQuestion:[],listQuestionImg:[],helpNodeDetail:"",currHelpTitle:"",lastTitle:"",opinionQuestionIDs:"",opinionQuestionNames:"",currOpinionDictionaryID:"",isEditPdw:!1,isShowNewsAndInfomation:!1,isPage_Index_toolBar:!0,isPage_cloudIndex_toolBar:!1,isProjManager:!1,needCheckPhone:!0,isClient:h["a"].isClient,isCloseHover:!1,closeImgSrc:"/static/img/operate-pop-window/关闭.svg"}},watch:{yiyunAnimated:function(t){if(t){var e=document.querySelector(".notify-mask");e&&e.addEventListener("click",this.closeSetPain)}}},methods:{checkForUpdates:function(){h["a"].checkForUpdates()},isShowBackPane:function(){this.Opinion="",this.toHelpFace="",this.isEditUserName="",this.isEditUserPhone="",this.isEditUserEmail="",this.isEditPdw="",this.isShowNewsAndInfomation=""},openSetPain:function(){this.isShowAboutYiYun=!1,this.isShowBackPane(),this.yiyunAnimated="AnimatedRightIn";var t=document.querySelector(".notify-mask");if(!t){var e=document.createElement("div");e.className="notify-mask",document.body.appendChild(e)}},closeSetPain:function(){this.yiyunAnimated="",this.userManagerBoxPain=1,this.cloudManagerBoxPain=!1;var t=document.querySelector(".notify-mask");document.body.removeChild(t)},updateUserHeadImg:function(){f("#updateUserHeadImg").click()},UserInfoSetting:function(){this.userManagerBoxPain=11,this.cloudManagerBoxPain=!1},backUserManagerPain:function(){this.userManagerBoxPain=1,this.cloudManagerBoxPain=!1,this.isShowAboutYiYun=!1},goSetUsername:function(){this.isShowBackPane(),this.userManagerBoxPain="",this.cloudManagerBoxPain=!1,this.isEditUserName=1},goSetUserphone:function(){this.isShowBackPane(),this.userManagerBoxPain="",this.cloudManagerBoxPain=!1,this.isEditUserPhone=1,this.editphoneNumberstep=1,this.sectopTitle="手机号"},gosetnewUserphone:function(){this.sectopTitle="修改手机号",this.editphoneNumberstep=2},backuCountset:function(){this.isShowBackPane(),this.userManagerBoxPain=11,this.cloudManagerBoxPain=!1},goSetUserEmail:function(){this.isShowBackPane(),this.userManagerBoxPain="",this.cloudManagerBoxPain=!1,this.isEditUserEmail=1,this.editEmailStep=1,this.setEmailTitle="邮箱"},handleCommand:function(t){this.$router.push({path:"cloud"})},tryToLogout:function(){var t=this;this.$confirm("退出当前账户,是否继续?","",{confirmButtonText:"确定",cancelButtonText:"取消",showClose:!1,type:"warning"}).then((function(){t.logout()})).catch((function(t){return console.log(t)}))},logout:function(){this.$store.logout(),this.user="",this.closeSetPain(),this.$router.push({path:"/",query:{isChangeCount:!0}})},checkOpinion:function(t,e){if(t)this.selectedQuestion.push(e);else for(var s=0;s=e?t:""+Array(e+1-i.length).join(s)+t},h={s:p,z:function(t){var e=-t.utcOffset(),s=Math.abs(e),i=Math.floor(s/60),n=s%60;return(e<=0?"+":"-")+p(i,2,"0")+":"+p(n,2,"0")},m:function t(e,s){if(e.date()0?t.smsTip=t.count+"秒后重新获取":(t.BtnSms=!1,t.smsTip="获取验证码",t.count=60,clearInterval(t.timer))}),1e3)}}},o=a,r=(s("a4f2"),s("2877")),l=Object(r["a"])(o,i,n,!1,null,null,null);e["a"]=l.exports},"8b86":function(t,e,s){"use strict";var i=s("5a63"),n=s.n(i);n.a},"8efb":function(t,e,s){},"93d6":function(t,e,s){"use strict";s.d(e,"d",(function(){return u})),s.d(e,"e",(function(){return p})),s.d(e,"c",(function(){return v})),s.d(e,"g",(function(){return C})),s.d(e,"f",(function(){return b})),s.d(e,"j",(function(){return x})),s.d(e,"b",(function(){return S})),s.d(e,"i",(function(){return P})),s.d(e,"h",(function(){return N})),s.d(e,"k",(function(){return I})),s.d(e,"a",(function(){return H})),s.d(e,"l",(function(){return E})),s.d(e,"m",(function(){return M}));s("4160"),s("d81d"),s("13d5"),s("d3b7"),s("ac1f"),s("3ca3"),s("1276"),s("159b"),s("ddb0");var i=s("5530"),n=(s("96cf"),s("1da1")),a=s("b775"),o=s("3de1"),r=s("2ef0"),l=s("5a0c"),c=s.n(l);function u(t){return d.apply(this,arguments)}function d(){return d=Object(n["a"])(regeneratorRuntime.mark((function t(e){var s,i,n,r,l,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(a["b"])("company/queryCompanyById",{id:e});case 2:return s=t.sent,i=s.Data||{},n=i.company,r=void 0===n?{}:n,l=Object(o["b"])(r),c=_("company",l.id,l.companyName,l),t.next=8,f(e);case 8:return c.children=t.sent,t.abrupt("return",[c]);case 10:case"end":return t.stop()}}),t)}))),d.apply(this,arguments)}function p(t){return h.apply(this,arguments)}function h(){return h=Object(n["a"])(regeneratorRuntime.mark((function t(e){var s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(a["b"])("company/queryDeptListByCompanyId",{companyId:e});case 2:return s=t.sent,t.abrupt("return",(s.Data||[]).map((function(t){var e=Object(o["b"])(t);return e.arraySuper=e.levelId.split("-"),_("dept",e.id,e.deptName,e)})));case 4:case"end":return t.stop()}}),t)}))),h.apply(this,arguments)}function f(t){return m.apply(this,arguments)}function m(){return m=Object(n["a"])(regeneratorRuntime.mark((function t(e){var s,i,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(a["b"])("dept/queryDeptsByDeptId",{superId:e});case 2:if(s=t.sent,i=(s.Data||[]).map((function(t){var e=Object(o["b"])(t);return e.arraySuper=e.levelId.split("-"),_("dept",e.id,e.deptName,e)})),!i.length){t.next=9;break}return t.next=7,Promise.all(i.map((function(t){return f(t.id)})));case 7:n=t.sent,n.forEach((function(t,e){var s=i[e];t.length?s.children=t:s.isLeaf=!0}));case 9:return t.abrupt("return",i);case 10:case"end":return t.stop()}}),t)}))),m.apply(this,arguments)}function _(t,e,s){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return{id:e,label:s,nodeType:t,isLeaf:n,disabled:a,data:i}}function v(t){return g.apply(this,arguments)}function g(){return g=Object(n["a"])(regeneratorRuntime.mark((function t(e){var s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=Object(o["c"])(e),t.next=3,Object(a["b"])("dept/addDept",s);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)}))),g.apply(this,arguments)}function C(t,e,s,i){return w.apply(this,arguments)}function w(){return w=Object(n["a"])(regeneratorRuntime.mark((function t(e,s,i,n){var r,l,c,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,n?Object(a["b"])("user/fuzzyQueryUserOnOneCompany",{companyId:e.id,fuzzy:n}):Object(a["b"])("user/queryUsersByDeptId",{deptId:e.id,idType:"company"===e.nodeType?0:1,pageIndex:s,pageSize:i});case 2:return r=t.sent,l=r.Data||{},c=l.data,u=l.total,t.abrupt("return",{list:(c||[]).map(o["b"]),page:s,pageSize:i,total:u});case 5:case"end":return t.stop()}}),t)}))),w.apply(this,arguments)}function b(t){return y.apply(this,arguments)}function y(){return y=Object(n["a"])(regeneratorRuntime.mark((function t(e){var s,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(a["b"])("user/queryUserByUserId",{id:e});case 2:return s=t.sent,i=Object(o["b"])(Object.assign({},Object(r["propertyOf"])(s)("Data.UserExt",{}),s.Data||{})),i.roleName=k[i.permission]||"",i.backgroundRoleName=B[i.backgroundPermission]||"",i.userState=D[i.staffStatus]||"",i.isDeparture=i.staffStatus,t.abrupt("return",i);case 9:case"end":return t.stop()}}),t)}))),y.apply(this,arguments)}var x=[{value:99,label:"无权限"},{value:0,label:"普通职员"},{value:1,label:"项目负责人"}],k=x.reduce((function(t,e){var s=e.value,i=e.label;return t[s]=i,t}),{}),S=[{value:99,label:"无权限"},{value:2,label:"企业管理员"}],P=[{value:0,label:"普通职员"},{value:1,label:"互链职员"}],N=P.reduce((function(t,e){var s=e.value,i=e.label;return t[s]=i,t}),{}),B=S.reduce((function(t,e){var s=e.value,i=e.label;return t[s]=i,t}),{}),I=[{value:0,label:"在职"},{value:1,label:"离职"}],D=I.reduce((function(t,e){var s=e.value,i=e.label;return t[s]=i,t}),{});function H(t){return O.apply(this,arguments)}function O(){return O=Object(n["a"])(regeneratorRuntime.mark((function t(e){var s,n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=Object(o["c"])(Object(i["a"])({},e)),s.Birthday&&(s.Birthday=c()(s.Birthday).toISOString()),s.DepartureDate&&(s.DepartureDate=c()(s.DepartureDate).toISOString()),s.GradutionDate&&(s.GradutionDate=c()(s.GradutionDate).toISOString()),s.HireDate&&(s.HireDate=c()(s.HireDate).toISOString()),n={Address:s.Address,Birthday:s.Birthday,DepartureDate:s.DepartureDate,Education:s.Education,GradutionDate:s.GradutionDate,GradutionSchool:s.GradutionSchool,HireDate:s.HireDate,MaritalStatus:s.MaritalStatus,National:s.National,NativePlace:s.NativePlace,PoliticalLandscape:s.PoliticalLandscape,Specialty:s.Specialty,StaffStatus:s.IsDeparture},s.UserExt=n,t.next=9,Object(a["b"])("user/addUser",s);case 9:return r=t.sent,t.abrupt("return",r);case 11:case"end":return t.stop()}}),t)}))),O.apply(this,arguments)}function E(t){return $.apply(this,arguments)}function $(){return $=Object(n["a"])(regeneratorRuntime.mark((function t(e){var s,n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=Object(o["c"])(Object(i["a"])({},e)),s.Birthday&&(s.Birthday=c()(s.Birthday).toISOString()),s.DepartureDate&&(s.DepartureDate=c()(s.DepartureDate).toISOString()),s.GradutionDate&&(s.GradutionDate=c()(s.GradutionDate).toISOString()),s.HireDate&&(s.HireDate=c()(s.HireDate).toISOString()),n={Address:s.Address,Birthday:s.Birthday,DepartureDate:s.DepartureDate,Education:s.Education,GradutionDate:s.GradutionDate,GradutionSchool:s.GradutionSchool,HireDate:s.HireDate,Id:s.Id,MaritalStatus:s.MaritalStatus,National:s.National,NativePlace:s.NativePlace,PoliticalLandscape:s.PoliticalLandscape,Specialty:s.Specialty,StaffStatus:s.IsDeparture},s.UserExt=n,console.log(s),t.next=10,Object(a["b"])("user/updateUser",s);case 10:return r=t.sent,t.abrupt("return",r);case 12:case"end":return t.stop()}}),t)}))),$.apply(this,arguments)}function M(t,e){return A.apply(this,arguments)}function A(){return A=Object(n["a"])(regeneratorRuntime.mark((function t(e,s){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=Object.assign({},e,{headImgUrl:s}),t.next=3,E(i);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)}))),A.apply(this,arguments)}},"9e5b":function(t,e,s){"use strict";var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("el-upload",{attrs:{action:"","http-request":t.httpRequest||t.handleUpload,"before-upload":t.beforeUpload,showFileList:t.showFileList,"on-success":t.handleSuccess},scopedSlots:t._u([t._l(t.$slots,(function(e,s){return{key:s,fn:function(){return[t._t(s)]},proxy:!0}}))],null,!0)})},n=[],a=(s("b0c0"),s("5530")),o=s("5ab9"),r=s("2ef0"),l={name:"Upload",props:{showFileList:{type:Boolean,default:!1},onSuccess:{type:Function,default:r["noop"]},httpRequest:{type:Function,default:null}},methods:{handleSuccess:function(t,e,s){t?this.onSuccess(Object(a["a"])(Object(a["a"])({},e),{},{ossUrl:t.name}),s):console.log(t,e)},beforeUpload:function(t){return console.log("fileInfo: ",t),!0},handleUpload:function(t){var e=t.file;t.onSuccess,t.onError,t.file.name;return o["b"](e.name,e)}}},c=l,u=s("2877"),d=Object(u["a"])(c,i,n,!1,null,null,null);e["a"]=d.exports},a434:function(t,e,s){"use strict";var i=s("23e7"),n=s("23cb"),a=s("a691"),o=s("50c4"),r=s("7b0b"),l=s("65f0"),c=s("8418"),u=s("1dde"),d=s("ae40"),p=u("splice"),h=d("splice",{ACCESSORS:!0,0:0,1:2}),f=Math.max,m=Math.min,_=9007199254740991,v="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!p||!h},{splice:function(t,e){var s,i,u,d,p,h,g=r(this),C=o(g.length),w=n(t,C),b=arguments.length;if(0===b?s=i=0:1===b?(s=0,i=C-w):(s=b-2,i=m(f(a(e),0),C-w)),C+s-i>_)throw TypeError(v);for(u=l(g,i),d=0;dC-i+s;d--)delete g[d-1]}else if(s>i)for(d=C-i;d>w;d--)p=d+i-1,h=d+s-1,p in g?g[h]=g[p]:delete g[h];for(d=0;d0}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)}},r=o,l=(s("6dcf"),s("2877")),c=Object(l["a"])(r,i,n,!1,null,"373b66dc",null);e["a"]=c.exports},c8cd:function(t,e,s){"use strict";var i=s("e63f"),n=s.n(i);n.a},db90:function(t,e,s){"use strict";s.d(e,"a",(function(){return i}));s("a4d3"),s("e01a"),s("d28b"),s("a630"),s("d3b7"),s("3ca3"),s("ddb0");function i(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}},e63f:function(t,e,s){},f8c2:function(t,e,s){"use strict";var i=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},n=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"close-wrap"},[s("div",{staticClass:"close-icon vert-hori-center"})])}],a=(s("1981"),s("2877")),o={},r=Object(a["a"])(o,i,n,!1,null,"fd986eae",null);e["a"]=r.exports},ff4b:function(t,e,s){}}]);
\ No newline at end of file
diff --git a/dist/static/js/chunk-653c31ce.3f3ffb47.js b/dist/static/js/chunk-653c31ce.319f449c.js
similarity index 100%
rename from dist/static/js/chunk-653c31ce.3f3ffb47.js
rename to dist/static/js/chunk-653c31ce.319f449c.js
diff --git a/dist/static/js/chunk-6e4601e4.933c2253.js b/dist/static/js/chunk-6e4601e4.933c2253.js
new file mode 100644
index 00000000..f2df7384
--- /dev/null
+++ b/dist/static/js/chunk-6e4601e4.933c2253.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6e4601e4"],{"0558":function(e,t,i){"use strict";var s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",e._l(e.folderList,(function(t){return i("div",{key:t.id},[i("div",[i("div",{ref:"activeFolder",refInFor:!0,staticClass:"folder-wrap folder-hover",class:{"active-folder":t.id==e.activeFolderId&&e.isEnterEdit,"folder-click":!e.isEnterEdit},on:{click:function(i){return i.stopPropagation(),e.activeFolderClick(t)}}},[i("div",{staticClass:"folder-name",class:{"opacity-5":!e.isAllowedAssignedStaffFolder(t)}},[i("span",[e._v(e._s(t.folderName))]),e.isProjManager?e._e():i("span",{staticClass:"user-perm-text"})]),e.isEnterEdit&&e.activeFolderId===t.id?e._e():i("div",{staticClass:"clear-fix border-box",class:{"mb-36":t.id===e.activeFolderId&&e.isEnterEdit,"ml-4":!e.isEnterEdit,"adjust-position":e.isEnterEdit}},[i("div",{staticClass:"fl"},[t.manageUser&&0==t.manageUser.length?i("div",[e.isAllowedAssignedFolder(t)?i("div",{staticClass:"use-relative"},[e.isEnterEdit?i("people-item"):i("people-item",{class:{"mr-8":!e.isEnterEdit},nativeOn:{click:function(i){i.stopPropagation(),e.aloneAddUserForFolder(t),e.enterEditFolderClick(t)}}})],1):i("div",{staticClass:"notclick"},[i("people-item",{class:{"mr-8":!e.isEnterEdit},attrs:{isShowEmptyAvatar:!0}})],1)]):i("div",{staticClass:"use-flex"},e._l(t.manageUser,(function(s,n){return i("div",{key:s.id},[i("div",{staticClass:"use-relative"},[i("people-item",{class:{notclick:!e.isAllowedAssignedStaffFolder(t),"mr-8":!e.isEnterEdit},attrs:{user:s,isShowManagerMark:e.isEnterEdit}})],1)])})),0)]),i("div",{directives:[{name:"show",rawName:"v-show",value:!e.isEnterEdit,expression:"!isEnterEdit"}],staticClass:"vertical-line"}),i("div",{staticClass:"use-flex",class:{"mb-6":e.isEnterEdit&&e.activeFolderId!==t.id}},[e._l(e.listUserComputed(t.listUser),(function(s){return i("div",{key:s.id,class:{notclick:!(e.isAllowedAssignedStaffFolder(t)||e.isStaff(t))}},[i("people-item",{attrs:{user:s,isEnterEdit:e.isEnterEdit}})],1)})),t.manageUser&&t.manageUser.length>0&&e.isAllowedAssignedStaffFolder(t)?i("div",{staticClass:"add-btn"},[e.isEnterEdit?e._e():i("people-item",{nativeOn:{click:function(i){i.stopPropagation(),e.aloneAddUserOnlyStaff(t),e.enterEditFolderClick(t)}}})],1):e._e(),e.canNest(t)?i("div",{staticClass:"stand-place"}):e._e(),e.canNest(t)&&!e.isEnterEdit&&e.isFolderManager(t)&&e.showLinkActions?i("div",{staticClass:"extra-buttons"},[t.nestProjectId&&"0"!==t.nestProjectId?i("el-button",{staticClass:"extra-button",attrs:{size:"mini"},on:{click:function(i){return i.stopPropagation(),e.checkNestProject(t)}}},[i("icon-triangle-circle",{staticClass:"extra-button-icon",attrs:{size:14,color:"#3C7DFF"}}),i("span",{style:{marginLeft:"13px"}},[e._v("管理分解项目")])],1):i("el-dropdown",{attrs:{trigger:"click"}},[i("el-button",{staticClass:"extra-button",attrs:{size:"mini"}},[i("icon-triangle-circle",{staticClass:"extra-button-icon",attrs:{size:14,color:"#999B9D"}}),i("span",{style:{marginLeft:"13px"}},[e._v("分解工作")])],1),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[i("el-dropdown-item",{nativeOn:{click:function(i){return e.createNestProject(t)}}},[e._v("通过新建项目分解")]),i("el-dropdown-item",{nativeOn:{click:function(i){return e.enterNestTemp(t)}}},[e._v("选择已有项目建立分解")])],1)],1)],1):e._e()],2)]),e.isEnterEdit&&e.activeFolderId==t.id?i("div",{staticClass:"use-relative ml-4 mb-36 use-flex border-box",class:{"adjust-margin":t.id===e.lastFolderId}},[i("temp-selected-user-list",{attrs:{memberList:e.selectedUser},on:{changeManagerClick:e.changeManagerClick,setFirstPeopleToManager:e.setFirstPeopleToManager}})],1):e._e()])]),t.listChildren&&t.listChildren.length>0?[i("plain-folder-list",{attrs:{folderList:t.listChildren,id:e.id,lastFolderId:e.lastFolderId,allManager:e.allManager,allManagerChild:e.allManagerChild,aloneAddUserForFolder:e.aloneAddUserForFolder,aloneAddUserOnlyStaff:e.aloneAddUserOnlyStaff,allChildrenLists:e.allChildrenLists,isEnterEdit:e.isEnterEdit,activeFolderId:e.activeFolderId,selectedUser:e.selectedUser,isProjManager:e.isProjManager,nestNodeList:e.nestNodeList,showLinkActions:e.showLinkActions}})]:e._e()],2)})),0)},n=[],r=(i("4de4"),i("7db0"),i("caad"),i("45fc"),i("2532"),i("efa4")),a=i("6b3d"),l=i("b386"),c={name:"PlainFolderList",components:{PeopleItem:r["a"],TempSelectedUserList:l["a"],IconTriangleCircle:a["a"]},props:{id:String,lastFolderId:String,allManager:Object,allManagerChild:Array,folderList:Array,aloneAddUserForFolder:Function,aloneAddUserOnlyStaff:Function,allChildrenLists:Array,showLinkActions:{type:Boolean,default:!0},isEnterEdit:{type:Boolean,default:!1},nestNodeList:Array,isProjManager:{type:Boolean,default:!1},activeFolderId:{type:String,defualt:""},selectedUser:{type:Array,default:function(){return[]}}},data:function(){return{showAll:!1,exsitNest:!1}},methods:{canNest:function(e){return!0},createNestProject:function(e){this.$router.push({name:"newproject",params:{parentFolderId:e.id}})},checkNestProject:function(e){this.$bus.$emit("checkNestProject",e)},enterNestTemp:function(e){this.$bus.$emit("enterNestTemp",e)},setFirstPeopleToManager:function(e){this.$bus.$emit("setFirstPeopleToManager",e)},changeManagerClick:function(e){this.$bus.$emit("changeManagerClick",e)},activeFolderClick:function(e){this.isEnterEdit&&this.isAllowedAssignedStaffFolder(e)&&this.$bus.$emit("activeFolderClick",e)},enterEditFolderClick:function(e){this.isEnterEdit||this.$bus.$emit("enterEditFolderClick",e)},showAllClick:function(){this.showAll=!0},toggleFolderExpand:function(e){e.expanded=!e.expanded,this.$forceUpdate()},isAllowedAssignedFolder:function(e){var t=this;return this.allManager.id==this.id||this.allManagerChild.length>0&&this.allManagerChild.find((function(e){return e.id==t.id}))||this.allChildrenLists.length>0&&this.allChildrenLists.includes(e)},isAllowedAssignedStaffFolder:function(e){return e.manageUser&&e.manageUser.length>0&&e.manageUser[0].id==this.id||this.isAllowedAssignedFolder(e)},isFolderManager:function(e){var t=this;return e.manageUser.find((function(e){return e.id===t.id}))},isStaff:function(e){var t=this;return e.listUser.some((function(e){return e.id===t.id}))}},computed:{listUserComputed:function(){return function(e){return e.filter((function(e){return 2!=e.folderPerm}))}}}},o=c,d=(i("149e"),i("2877")),u=Object(d["a"])(o,s,n,!1,null,"112ed814",null);t["a"]=u.exports},"149e":function(e,t,i){"use strict";var s=i("b1af"),n=i.n(s);n.a},2532:function(e,t,i){"use strict";var s=i("23e7"),n=i("5a34"),r=i("1d80"),a=i("ab13");s({target:"String",proto:!0,forced:!a("includes")},{includes:function(e){return!!~String(r(this)).indexOf(n(e),arguments.length>1?arguments[1]:void 0)}})},"2e3d":function(e,t,i){"use strict";var s=i("b156"),n=i.n(s);n.a},4767:function(e,t,i){"use strict";var s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.isTemNest?i("div",{staticClass:"template_nest"},[i("top-header",{staticClass:"set-header-position header-wrap",class:{"header-bottom-shadow":e.isNestTempScroll},attrs:{theme:"basis",showBackBtn:"",backBtnTitle:"取消",onBackBtnClick:e.enterDistWork,title:"为“"+e.nestNodeFolder.folderName+"”选择互链项目"},scopedSlots:e._u([{key:"right",fn:function(){return[i("el-button",{attrs:{type:"primary",size:"small",disabled:!e.selectedProjectId},on:{click:function(t){return t.stopPropagation(),e.confirmProject(t)}}},[e._v("选定项目")])]},proxy:!0}],null,!1,4194601008)}),i("div",{ref:"nestTemplateDesc",staticClass:"template_select_content"},[i("div",{staticClass:"template_connect"},[e._m(0),e._l(e.linkableProjectList,(function(t){return i("div",{key:t.projId,staticClass:"template_info",on:{click:function(i){e.selectedProjectId=t.projId}}},[i("div",{staticClass:"check_box",class:{checked:e.selectedProjectId==t.projId}},[i("i",{staticClass:"el-icon-check"})]),i("span",{staticClass:"template_info_name"},[e._v(e._s(t.projName))]),i("span",{staticClass:"template_info_extra"},[e._v("模板: "+e._s(t.templateName))])])}))],2)])],1):e._e()])},n=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"template_info_title"},[i("span",[e._v("我的项目")])])}],r=(i("d81d"),i("96cf"),i("1da1")),a=i("b0f9"),l=i("b1f3"),c=i("3de1"),o=i("b775"),d={components:{TopHeader:l["a"]},props:{nestNodeFolder:Object,isTemNestInProp:{type:Boolean,default:!1}},data:function(){return{companyId:sessionStorage.companyId,userId:sessionStorage.userId,linkableProjectList:[],selectedProjectId:void 0}},methods:{enterDistWork:function(){this.$emit("enterDistWork")},addNestTemplate:function(){var e=this;this.$confirm("重要提示:一旦确定模板并创建后,您将无法删除模板。","",{confirmButtonText:"确定",cancelButtonText:"取消",showClose:!1,type:"error"}).then(Object(r["a"])(regeneratorRuntime.mark((function t(){var i,s,n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,a["p"](e.selectTemplate.TemplateId);case 2:return i=t.sent,s=i.Data,n={ProjId:e.nestNodeFolder.projId,NodeId:e.nestNodeFolder.nodeId,FolderId:e.nestNodeFolder.id,TemplateId:e.nestNodeFolder.templateId,NestJsmindData:s},t.next=7,a["b"](n);case 7:r=t.sent,0===r.Code&&(e.$notify({message:"“".concat(e.selectTemplate.TemplateName,"”模板嵌套成功。"),type:["success"]}),e.$emit("enterDistWork"));case 9:case"end":return t.stop()}}),t)})))).catch((function(e){return console.log(e)}))},isChecked:function(e,t){this.checkedIndex=e,this.selectTemplate=t},confirmProject:function(){var e=this;return Object(r["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return console.log(e.nestNodeFolder),t.next=3,e.$fetchApi("project/linkProject",{projectId:e.selectedProjectId,folderId:e.nestNodeFolder.id});case 3:if(i=t.sent,Object(o["c"])(i),0===i.Code){t.next=7;break}return t.abrupt("return");case 7:c["d"].success("互链成功"),e.$emit("enterDistWork");case 9:case"end":return t.stop()}}),t)})))()},fetchLinkableProjectList:function(){var e=this;return Object(r["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$fetchApi("project/queryProjectListByProjectManagerUserId",{userId:e.userId});case 2:if(i=t.sent,Object(o["c"])(i),e.linkableProjectList=[],0===i.Code){t.next=7;break}return t.abrupt("return");case 7:e.linkableProjectList=(i.Data||[]).map(c["b"]);case 8:case"end":return t.stop()}}),t)})))()}},watch:{isTemNestInProp:{handler:function(e){this.isTemNest=e,e&&this.fetchLinkableProjectList()},immediate:!0}}},u=d,p=(i("2e3d"),i("2877")),h=Object(p["a"])(u,s,n,!1,null,"2bc37b6d",null);t["a"]=h.exports},"49e88":function(e,t,i){"use strict";var s=i("e3d2"),n=i.n(s);n.a},"4d48":function(e,t,i){"use strict";var s=i("ae5c"),n=i.n(s);n.a},"4f96":function(e,t,i){"use strict";i.d(t,"a",(function(){return l}));var s=i("0d21"),n=i("db90"),r=i("06c5"),a=i("3d8c");function l(e){return Object(s["a"])(e)||Object(n["a"])(e)||Object(r["a"])(e)||Object(a["a"])()}},"5a34":function(e,t,i){var s=i("44e7");e.exports=function(e){if(s(e))throw TypeError("The method doesn't accept regular expressions");return e}},"7e1d":function(e,t,i){"use strict";var s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"member-list"},[i("div",{staticClass:"top-title"},[e._v("选择成员")]),e._m(0),i("div",{staticClass:"hori-line"}),i("div",{staticClass:"content-wrap"},[i("div",{staticClass:"people-wrap"},[i("el-collapse",{model:{value:e.activeCompanyName,callback:function(t){e.activeCompanyName=t},expression:"activeCompanyName"}},e._l(e.treeList,(function(t){return i("el-collapse-item",{key:t.id,attrs:{name:t.id}},[i("template",{slot:"title"},[i("span",{staticClass:"company-title"},[e._v(e._s(t.label))])]),t.hasChildren?i("el-collapse",{model:{value:e.activeDeptNameList,callback:function(t){e.activeDeptNameList=t},expression:"activeDeptNameList"}},e._l(t.children,(function(t){return i("el-collapse-item",{directives:[{name:"show",rawName:"v-show",value:t.hasChildren,expression:"deptNode.hasChildren"}],key:t.id,attrs:{name:t.id}},[i("template",{staticClass:"dept-entry",slot:"title"},[i("span",{staticClass:"dept-name"},[e._v(e._s(t.label))]),i("div",{staticClass:"check-all-wrap",on:{click:function(i){return i.stopPropagation(),e.toggleAllDept(t)}}},[i("div",{staticClass:"checkbox",class:{checked:e.deptNodeSelectedMap[t.id]}}),i("span",[e._v("全选")])])]),e._l(t.children,(function(t){return i("div",{key:t.id,staticClass:"user-info-item",attrs:{label:t.label},on:{click:function(i){return i.stopPropagation(),e.toggleMember(t)}}},[i("img",{staticClass:"avatar-img",attrs:{src:e._f("resolveAvator")(t.data.headImgUrl),alt:""}}),i("span",{staticClass:"user-info-name"},[e._v(e._s(t.label))]),i("div",{staticClass:"checkbox",class:{checked:e.isSelected(t.id)}})])}))],2)})),1):i("div",{staticClass:"empty-people-tips"},[e._v("暂未添加人员")])],2)})),1)],1)])])},n=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"search-bar"},[i("i",{staticClass:"search-icon"}),i("input",{staticClass:"search-input",attrs:{placeholder:"搜索功能正在内测中",disabled:""}})])}],r=(i("7db0"),i("4160"),i("159b"),{data:function(){var e=this.treeList[0],t=e?[e.id]:[],i=e?e.mapChildren((function(e){return e.id})):[];return this.clacAllSelected(),{ischeckAll:!1,activeCompanyName:t,activeDeptNameList:i}},methods:{isSelected:function(e){return!!this.selectedKeys.find((function(t){return t===e}))},isChildrenAllSelected:function(e){var t=this.selectedKeys;return e.everyChildren((function(e){return t.find((function(t){return t===e.id}))}))},toggleAllDept:function(e){var t=!this.deptNodeSelectedMap[e.id];this.$emit("select",e.children,t)},toggleMember:function(e){var t=!this.isSelected(e.id);this.$emit("select",[e],t)},clacAllSelected:function(){var e=this,t={};this.treeList.forEach((function(i){i.mapChildren((function(i){var s=e.isChildrenAllSelected(i);s&&(t[i.id]=!0)}))})),this.deptNodeSelectedMap=t}},props:{treeList:{type:Array,default:function(){return[]}},selectedKeys:{type:Array,default:function(){return[]}}},watch:{selectedKeys:{immediate:!0,handler:function(e){this.clacAllSelected()}},treeList:{immediate:!0,handler:function(e){this.clacAllSelected()}}}}),a=r,l=(i("4d48"),i("49e88"),i("2877")),c=Object(l["a"])(a,s,n,!1,null,"27cc7516",null);t["a"]=c.exports},8015:function(e,t,i){"use strict";var s=i("e3e1"),n=i.n(s);n.a},"8a67":function(e,t,i){"use strict";i.d(t,"a",(function(){return p}));i("a623"),i("4160"),i("d81d"),i("d3b7"),i("3ca3"),i("159b"),i("ddb0");var s=i("ade3"),n=i("3835"),r=(i("96cf"),i("d4ec"));function a(e,t){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:f;return this.hasChildren?(this.children.sort(e),this):this}},{key:"mapChildren",value:function(e){return this.hasChildren?this.children.map(e):[]}},{key:"everyChildren",value:function(e){return!!this.hasChildren&&this.children.every(e)}},{key:"hasChildren",get:function(){return this.children&&!!this.children.length}}]),e}()},ab13:function(e,t,i){var s=i("b622"),n=s("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(i){try{return t[n]=!1,"/./"[e](t)}catch(s){}}return!1}},ae5c:function(e,t,i){},b156:function(e,t,i){},b1af:function(e,t,i){},b386:function(e,t,i){"use strict";var s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"temp-selected-user-list",style:{height:e.showAdjustHeight}},[i("div",{ref:"membersView",staticClass:"use-flex"},[e._l(e.memberList,(function(t){return i("div",{key:t.id,staticClass:"use-relative"},[i("people-item",{class:{"active-manager-mark":2==t.folderPerm},attrs:{user:t},nativeOn:{click:function(i){return i.stopPropagation(),e.changeManagerClick(t)}}}),2==t.folderPerm?i("div",{staticClass:"active-manager-mark-bottom-name"},[e._v("工作负责人")]):e._e()],1)})),0==e.memberList.length?i("div",{staticClass:"use-relative",on:{click:function(t){return t.stopPropagation(),e.openPersonnelListClick(t)}}},[i("people-item",{staticClass:"active-manager-mark"}),i("div",{staticClass:"active-manager-mark-bottom-name"},[e._v("工作负责人")])],1):e._e()],2)])},n=[],r=(i("7db0"),i("efa4")),a={data:function(){return{selectedUserListEl:null,selectedUserListElWidth:0,selectedUserListElHeight:0,renderHeight:0,isAdjustHeight:!1}},components:{PeopleItem:r["a"]},props:{memberList:{type:Array,default:function(){return[]}}},mounted:function(){var e=this;document.body.addEventListener("resize",(function(){e.adjustHeightOperate()})),this.selectedUserListEl=this.$refs.membersView,this.selectedUserListEl&&(this.selectedUserListElWidth=this.selectedUserListEl.clientWidth,this.selectedUserListElHeight=this.selectedUserListEl.clientHeight,this.adjustHeightOperate())},computed:{selectedUserListLength:function(){return this.memberList.length},showAdjustHeight:function(){return this.isAdjustHeight?"".concat(this.selectedUserListElHeight-31,"px"):"auto"}},watch:{memberList:{immediate:!0,handler:function(e){if(e.length>0){var t=e.find((function(e){return e.folderPerm&&2==e.folderPerm}));t||(e[0].folderPerm=2,this.$emit("setFirstPeopleToManager",e[0]))}}},selectedUserListLength:function(e){var t=this;setTimeout((function(){t.selectedUserListElWidth=t.selectedUserListEl.clientWidth,t.selectedUserListElHeight=t.selectedUserListEl.clientHeight,t.adjustHeightOperate()}),50)}},methods:{openPersonnelListClick:function(){this.$bus.$emit("openPersonnelListClick")},changeManagerClick:function(e){this.$emit("changeManagerClick",e),this.adjustHeightOperate()},adjustHeightOperate:function(){this.isAdjustHeight=!1;var e=parseInt(this.selectedUserListElWidth/64),t=this.selectedUserListLength,i=t/e,s=0;if(i<=1)return this.isAdjustHeight=!0,void(this.renderHeight=this.selectedUserListElHeight-31);for(var n=0;n1?arguments[1]:void 0)}}),r("includes")},e3d2:function(e,t,i){},e3e1:function(e,t,i){},efa4:function(e,t,i){"use strict";var s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"people-item",attrs:{title:e.user.cnName}},[i("div",{staticClass:"people-wrap",class:{"rt-0":e.isShowManagerMark}},[i("div",{staticClass:"people"},[Object.keys(e.user).length>0?i("img",{staticClass:"proj-avatarface",class:{"manager-mark":e.isShowManagerMark},attrs:{src:e._f("resolveAvator")(e.user.headImgUrl),alt:""}}):e.isShowEmptyAvatar?i("img",{staticClass:"proj-avatarface empty",attrs:{src:"/static/img/暂无2.svg",alt:""}}):i("div",{staticClass:"add-btn"},[i("i",{staticClass:"el-icon-plus proj-avatarface"})])]),i("div",{staticClass:"people-name",class:{"rt-2":e.isEnterEdit&&e.isShowManagerMark,"rt-4":e.isEnterEdit&&!e.isShowManagerMark}},[e._v(e._s(e.user.cnName))])])])},n=[],r={data:function(){return{}},computed:{},props:{user:{type:Object,default:function(){return{}}},isShowManagerMark:{type:Boolean,default:!1},isEnterEdit:{type:Boolean,default:!1},isShowEmptyAvatar:{type:Boolean,defualt:!1}},methods:{}},a=r,l=(i("8015"),i("2877")),c=Object(l["a"])(a,s,n,!1,null,"a9676b70",null);t["a"]=c.exports}}]);
\ No newline at end of file
diff --git a/dist/static/js/chunk-6f87105f.454d63db.js b/dist/static/js/chunk-6f87105f.cb8f0eea.js
similarity index 100%
rename from dist/static/js/chunk-6f87105f.454d63db.js
rename to dist/static/js/chunk-6f87105f.cb8f0eea.js
diff --git a/dist/static/js/chunk-70e2cc9e.b102908c.js b/dist/static/js/chunk-70e2cc9e.b102908c.js
deleted file mode 100644
index 7b5d7997..00000000
--- a/dist/static/js/chunk-70e2cc9e.b102908c.js
+++ /dev/null
@@ -1 +0,0 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-70e2cc9e"],{"011a":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{attrs:{id:"app"}},[r("app-header",{attrs:{showUserCenter:!0,showNotify:"",id:"proj-list-page",showRecycleBin:""},scopedSlots:t._u([{key:"left",fn:function(){return[r("el-button",{staticClass:"org-button no-drag",on:{click:function(e){return e.stopPropagation(),t.navBack(e)}}},[t._v(" "+t._s(t.currentPlatform.orgName)+" "),r("i",{staticClass:"el-icon-sort org-button-icon"})])]},proxy:!0},{key:"center",fn:function(){return[r("div",{staticClass:"main-title"},[t._v(t._s(t.showCenterTitle))])]},proxy:!0},{key:"right",fn:function(){return[r("search-bar",{staticClass:"proj-search-bar",attrs:{placeholder:"搜索项目名称",maxLength:35},on:{didHide:t.hideSearchBar,didShow:t.showSearchBar,search:t.searchForProj},model:{value:t.searchContent,callback:function(e){t.searchContent=e},expression:"searchContent"}})]},proxy:!0}])}),r("div",{staticClass:"layout_content"},[r("timer",{staticStyle:{"padding-left":"64px","margin-top":"10px"},attrs:{cnName:t.cnName}}),t.noProjTip?r("div",{staticStyle:{"margin-left":"50%","margin-top":"25%"}},[r("h1",[t._v("空空如也")])]):t._e(),t.isUserPerm?r("button",{staticClass:"yiyun_btn_new new-btn-margin",attrs:{id:"buttonbtn"},on:{click:function(e){return e.stopPropagation(),t.createNewProjectClick(e)}}},[t._v("新建项目")]):t._e(),r("div",{staticClass:"group-title"},[t._v("最近的项目")]),r("proj-list",{attrs:{id:"proj-list",projList:t.showProjList,isUserPerm:t.isUserPerm},on:{watchAllBtnClick:t.watchAllBtnClick,lookProjDetailClick:t.lookProjDetailClick,"on-remove":t.onRemoveProject,"check-parent-project":t.checkParentProject}})],1),r("link-project-info-modal",{attrs:{title:t.pickedProject.ProjName+"的上层互链项目",visible:t.linkProjectInfoModalVisible,projectId:t.linkProjectId},on:{"update:visible":function(e){t.linkProjectInfoModalVisible=e}},scopedSlots:t._u([{key:"foot",fn:function(){return[r("el-button",{staticClass:"remove-button",attrs:{type:"danger",plain:""},on:{click:function(e){return e.stopPropagation(),t.severNestProject(e)}}},[t._v("解除互链关系")])]},proxy:!0}])})],1)},o=[],i=(r("d3b7"),r("3ca3"),r("ddb0"),r("3835")),a=(r("96cf"),r("1da1")),s=r("f96e"),c=r("2f4c"),u=r("0f13"),l=r("a06e"),h=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.cnName?r("div",[r("div",{staticClass:"big-time"},[t._v(t._s(t.nowTime))]),r("div",{staticClass:"now-time"},[r("span",{staticClass:"nowshijian"},[t._v(t._s(t.nowDate.substr(5))+" "+t._s(t.welcome)+t._s(t.cnName))])])]):t._e()},p=[],d=(r("fb6a"),r("4d63"),r("ac1f"),r("25f0"),r("466d"),r("5319"),r("841c"),{getDateTimeString:function(t){var e=t.getFullYear(),r=t.getMonth()+1;r=r<10?"0"+r:r;var n=t.getDate();n=n<10?"0"+n:n;var o=t.getHours();o=o<10?"0"+o:o;var i=t.getMinutes();i=i<10?"0"+i:i;var a=t.getSeconds();a=a<10?"0"+a:a;var s=e+"-"+r+"-"+n+" "+o+":"+i+":"+a;return s},getDateTimeStringByStr:function(t){var e=new Date(t),r=e.getFullYear(),n=e.getMonth()+1;n=n<10?"0"+n:n;var o=e.getDate();o=o<10?"0"+o:o;var i=e.getHours();i=i<10?"0"+i:i;var a=e.getMinutes();a=a<10?"0"+a:a;var s=e.getSeconds();s=s<10?"0"+s:s;var c=r+"-"+n+"-"+o+" "+i+":"+a+":"+s;return c},formatDate:function(t){var e=t.getFullYear(),r=t.getMonth()+1,n=t.getDate();r=r<10?"0"+r:r,n=n<10?"0"+n:n;var o=e+"-"+r+"-"+n;return o},convertToDate:function(t){var e=t.slice(6,19),r=new Date(parseInt(e));return this.formatDate(r)},unixToDate:function(t,e){t=t.replace(/[^0-9]/gi,""),10==t.length&&(t*=1e3);var r=parseInt(t),n=new Date(r),o="";o+=n.getFullYear()+"-";var i=n.getMonth()+1;o+=i<10?"0"+i+"-":i+"-";var a=n.getDate();return o+=a<10?"0"+a:a,!0===e&&(o+=" "+n.getHours()+":",o+=n.getMinutes()+":",o+=n.getSeconds()),o},getUrlParams:function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),r=window.location.search.substr(1).match(e);return null!=r?r[2]:null},validNumber:function(t,e,r){e?/^([0-9]+)$/.test(e)?r():r(new Error("只能输入整数")):e?r():r(new Error("这里不能为空"))},validNullOrNumber:function(t,e,r){e?/^([0-9]+)$/.test(e)?r():r(new Error("只能输入整数")):r()},validNullOrNumber2:function(t,e,r){e?/^([0-9]+)$/.test(e)?r():r(new Error(" ")):r()},validDecimal:function(t,e,r){e?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(e)?r():r(new Error("只能输入数字")):e?r():r(new Error("这里不能为空"))},validNullOrDecimal:function(t,e,r){e?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(e)?r():r(new Error("只能输入数字")):r()},validNullOrDecimal2:function(t,e,r){e?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(e)?r():r(new Error(" ")):r()},validRequired:function(t,e,r){e?r():r(new Error("这里不能为空"))},validEmail:function(t,e,r){if(""!=e){var n=/^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;n.test(e)?r():r(new Error("邮箱格式不正确!"))}else r()},validPhoneNum:function(t,e,r){if(""!=e){var n=/(^\d{11}$)/;n.test(e)?r():r(new Error("请输入11位有效手机号码!"))}else r(new Error("请输入手机号"))},validVerificationCode:function(t,e,r){if(""!=e){var n=/(^\d{6}$)/;n.test(e)?r():r(new Error("请输入有效的验证码!"))}else r(new Error("请输入验证码"))},validPhone:function(t,e,r){""!=e&&11!=e.length?r(new Error("请输入11位有效手机号码!")):r()},validPhoneAndRequired:function(t,e,r){""!=e?11!=e.length?r(new Error("请输入11位有效手机号码!")):r():r(new Error("请输入手机号"))},pathSubString:function(t){var e=t.slice(-22);return e},pageData:function(t,e,r){""!=e&&null!=e||(e=1),""!=t&&null!=t||(t=10);var n=(e-1)*t,o=n+t;o>r.length&&(o=r.length);var i=[];if(null!=r&&r.length>0)for(var a=n;a0?this.welcome="上午好! ":12==t?this.welcome="中午好! ":t>12&&t>20?this.welcome="晚上好,注意休息! ":t>12&&t<20&&(this.welcome="下午好!")}},mounted:function(){this.setDateTime(),this.timer=setInterval(this.setDateTime,1e3)},beforeDestroy:function(){clearInterval(this.timer),this.timer=null}},f=m,v=(r("9d0d"),r("63b7"),r("2877")),g=Object(v["a"])(f,h,p,!1,null,"0481b847",null),j=g.exports,w=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("section",[r("div",{directives:[{name:"show",rawName:"v-show",value:t.isEmpty,expression:"isEmpty"}],staticClass:"nullproduct"},[r("img",{attrs:{src:"static\\img\\nopro.png",alt:""}}),r("span",{staticClass:"noprotext"},[t._v("暂无项目")])]),r("div",{staticClass:"prjitemList"},[r("el-row",{attrs:{gutter:64}},t._l(t.projList,(function(e,n){return r("el-col",{key:e.Id,attrs:{xs:24,sm:12,md:8,lg:6,xl:6}},[r("proj-item",{attrs:{projItem:e,isUserPerm:t.isUserPerm},on:{lookProjDetailClick:function(r){return t.lookProjDetailClick(e)},watchAllBtnClick:function(r){return t.watchAllBtnClick(e,n)},"on-remove":t.onRemoveProject,"check-parent-project":t.checkParentProject}})],1)})),1)],1)])])},P=[],b=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"prjitem"},[r("div",{ref:"projitem",staticClass:"prjitem_content",style:t.showBackground(t.projItem.ShowImgUrl),on:{mouseenter:function(e){t.showSetIcon(t.projItem.Id),t.isMouseHover=!0},mouseleave:function(e){t.hiddenSetIcon,t.isMouseHover=!1},click:function(e){return e.stopPropagation(),t.goFilePage(t.projItem)}}},[t.isUserPerm?r("el-dropdown",{staticClass:"prjitem_settings_wrapper",attrs:{placement:"bottom"}},[r("span",{staticClass:"prjitem_settings",on:{click:function(t){t.stopPropagation()}}},[r("i",{staticClass:"el-icon-s-tools"})]),r("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[r("el-dropdown-item",{staticClass:"danger_button"},[r("span",{on:{click:function(e){return e.stopPropagation(),t.removeProject()}}},[t._v("删除项目")])]),t.projItem.ParentProjId&&"0"!==t.projItem.ParentProjId?r("el-dropdown-item",[r("span",{on:{click:function(e){return e.stopPropagation(),t.checkParentProject()}}},[t._v("查看上层互链项目")])]):t._e()],1)],1):t._e(),1==t.projItem.newProjStatus?r("div",{staticClass:"newprj_icon"},[t._v("新项目")]):t._e(),r("div",{staticClass:"prjitem_title",class:{"move-item-name":t.focusProjId==t.projItem.Id&&t.isMouseHover},attrs:{title:t.projItem.ProjName}},[t._v(t._s(t.subProjName(t.projItem.ProjName)))]),r("div",{staticClass:"operate-bar",class:{"show-operate-bar":t.isMouseHover&&t.focusProjId==t.projItem.Id}},[r("el-button",{staticClass:"bar-item",on:{click:function(e){return e.stopPropagation(),t.watchAllBtnClick(e)}}},[t._v("观全局")]),r("el-button",{staticClass:"bar-item",on:{click:function(e){return e.stopPropagation(),t.lookProjDetailClick(e)}}},[t._v("项目指派")])],1)],1)])},k=[],C=r("b775"),I=r("3de1"),S={data:function(){return{focusProjId:"",isEmpty:!1,isMouseHover:!1}},props:{projItem:{type:Object,default:function(){return{}}},isUserPerm:Boolean},methods:{showBackground:function(t){var e=this.$options.filters["resolveImg"],r=e(t);return{background:"center/cover no-repeat url(".concat(r,")")}},lookProjDetailClick:function(){this.$emit("lookProjDetailClick")},manageProj:function(){this.$router.push("/newproject")},checkParentProject:function(){this.$emit("check-parent-project",this.projItem)},removeProject:function(){var t=this;this.projItem.ProjName;this.$confirm("删除项目后所有文件将被置入回收站中,但您可在回收站操作拷贝转移,确定删除项目?","",{confirmButtonText:"确定",cancelButtonText:"取消",showClose:!1,type:"error"}).then(Object(a["a"])(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$fetchApi("project/deleteProject",{id:t.projItem.Id});case 2:if(r=e.sent,Object(C["c"])(r),!r.Code){e.next=6;break}return e.abrupt("return");case 6:I["d"].success("".concat(t.projItem.ProjName,"已删除")),t.$emit("on-remove",t.projItem);case 8:case"end":return e.stop()}}),e)}))))},subProjName:function(t){var e=t.length;if(e>13){var r=t.slice(0,7),n=t.slice(e-6,e);return r+"..."+n}return t},watchAllBtnClick:function(){this.$emit("watchAllBtnClick")},showSetIcon:function(t){this.focusProjId=t},hiddenSetIcon:function(){this.focusProjId=""},goFilePage:function(t){sessionStorage.createUserID=t.CreateUserId,sessionStorage.templateID=t.TemplateId,sessionStorage.projId=t.Id,sessionStorage.nowFolderIndex="",sessionStorage.comFolderId=t.ComFolderId,sessionStorage.newProjStatus=t.NewProjStatus,sessionStorage.projName!=t.ProjName&&(sessionStorage.projName=t.ProjName),this.$router.push({name:"workspace"}).catch((function(t){return console.log(t)}));var e={API:"folder/queryNodeFolderListByProjectId",Action:"打开项目",CompanyName:sessionStorage.CompanyName,Subject:sessionStorage.projName,Source:sessionStorage.client,ProjectName:sessionStorage.projName};Object(C["b"])("operation/record",e),sessionStorage.pageName="workspace"}}},y=S,_=(r("4478"),r("a097"),Object(v["a"])(y,b,k,!1,null,"67b60490",null)),x=_.exports,N={data:function(){return{isEmpty:!1}},components:{ProjItem:x},props:{projList:{type:Array,default:function(){return[]}},isUserPerm:Boolean},watch:{projListLength:{immediate:!0,handler:function(t){this.isEmpty=!(t>0)}}},computed:{projListLength:function(){return this.projList?this.projList.length:0}},methods:{onRemoveProject:function(t){this.$emit("on-remove",t)},checkParentProject:function(t){this.$emit("check-parent-project",t)},lookProjDetailClick:function(t){this.$emit("lookProjDetailClick",t)},manageProj:function(){this.$router.push("/newproject")},subProjName:function(t){var e=t.length;if(e>13){var r=t.slice(0,7),n=t.slice(e-6,e);return r+"..."+n}return t},watchAllBtnClick:function(t,e){this.$emit("watchAllBtnClick",t,e)}}},B=N,D=(r("e63f7"),Object(v["a"])(B,w,P,!1,null,"0c03f9f2",null)),T=D.exports,$=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("el-dialog",{staticClass:"nest-project-modal",attrs:{visible:t.innerVisible,center:"",top:"48px",width:"660px"},on:{"update:visible":function(e){t.innerVisible=e}},scopedSlots:t._u([{key:"title",fn:function(){return[r("div",{staticClass:"nest-project-modal-title"},[r("span",[t._v(t._s(t.title))]),r("el-button",{on:{click:function(e){e.stopPropagation(),t.innerVisible=!1}}},[t._v("关闭")])],1)]},proxy:!0}])},[r("div",{staticClass:"dialog-detail"},[r("div",{staticClass:"item"},[r("div",{staticClass:"item-title"},[t._v("项目名称")]),r("div",{staticClass:"item-value"},[r("span",{staticStyle:{flex:"1"}},[t._v(t._s(t.linkProjectInfo.projName))])])]),r("div",{staticClass:"item"},[r("div",{staticClass:"item-title"},[t._v("项目负责")]),r("div",{staticClass:"item-value"},[t._v(t._s(t.linkProjectInfo.projCreateUserName))])]),r("div",{staticClass:"item cover-container"},[r("div",{staticClass:"item-title"},[t._v("封面")]),r("div",{staticClass:"item-value cover-img-wrap use-relative",style:t.showBackground(t.linkProjectInfo.showImgUrl)})]),r("div",{staticClass:"item"},[r("div",{staticClass:"item-title proj-main-template"},[t._v("项目主要模板")]),r("div",{staticClass:"item-value"},[t._v(t._s(t.linkProjectInfo.tempName))])]),r("div",{staticClass:"item"},[r("div",{staticClass:"item-title"},[t._v("模板负责")]),r("div",{staticClass:"item-value"},[t._v(t._s(t.linkProjectInfo.tempCreateUserName))])]),r("div",{staticClass:"item"},[r("div",{staticClass:"item-title"},[t._v("创建时间")]),r("div",{staticClass:"item-value"},[t._v(t._s(t.linkProjectInfo.projCreateTime))])]),t._l(t.linkProjectInfo.customProps||[],(function(e){return r("div",{key:e.TempPropId,staticClass:"item"},[r("div",{staticClass:"item-title"},[t._v(t._s(e.PropertyName?e.PropertyName:"自定义字段"))]),r("div",{staticClass:"item-value"},[t._v(t._s(e.PropValue))])])}))],2),r("div",[t._t("foot")],2)])},E=[],O=r("5a0c"),R=r.n(O),L={props:{title:String,visible:Boolean,projectId:String},data:function(){return{linkProjectInfo:{},innerVisible:this.visible}},watch:{projectId:function(t){t&&this.checkProject(t)},innerVisible:function(t){this.$emit("update:visible",t)},visible:function(t){this.innerVisible=t}},methods:{showBackground:function(t){var e=this.$options.filters["resolveImg"],r=e(t);return{background:"center/cover no-repeat url(".concat(r,")")}},checkProject:function(t){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function r(){var n,o;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,l["c"](t);case 2:if(n=r.sent,Object(C["c"])(n),0===n.Code){r.next=6;break}return r.abrupt("return");case 6:o=Object(I["b"])(n.Data||{}),o.projCreateTime=R()(o.projCreateTime).format("YYYY/MM/DD"),e.linkProjectInfo=o;case 9:case"end":return r.stop()}}),r)})))()}}},A=L,M=(r("45bf"),Object(v["a"])(A,$,E,!1,null,"fc7cd510",null)),U=M.exports,H=r("2ef0"),F={elNew:"#new",components:{SearchBar:c["a"],LinkProjectInfoModal:U,Timer:j,AppHeader:s["a"],ProjList:T},data:function(){var t=this.$store.state.currentPlatform;return{companyId:t.orgId,currentPlatform:t,isUserPerm:Object(u["c"])(t.accessList,u["a"].ProjectManager),cnName:"",projList:[],linkApplyList:[],noProjTip:!1,isShowProjSetting:!1,fetchTickIns:null,searchContent:"",searchProjList:[],isShowSearchBar:!1,isSearching:!1,homeScrollTop:0,contentBodyEl:null,pickedProject:{},linkProjectInfoModalVisible:!1,linkProjectId:void 0}},computed:{showProjList:function(){return this.isShowSearchBar&&this.searchContent&&this.isSearching?this.searchProjList:this.projList},showCenterTitle:function(){return this.isShowSearchBar&&this.searchContent?"“".concat(this.searchContent,"”搜索结果"):"我的项目"}},watch:{searchContent:function(){this.searchForProj()}},mounted:function(){this.cnName=JSON.parse(sessionStorage.user).userName,sessionStorage.setItem("pageTitle","我的项目"),this.listProjects(!0),this.contentBodyEl=document.getElementById("bigbody"),this.contentBodyEl&&this.contentBodyEl.addEventListener("scroll",this.recordContentScrollTop)},beforeDestroy:function(){sessionStorage.dotIndex=this.ind,this.fetchTickIns&&(clearTimeout(this.fetchTickIns),this.fetchTickIns=null),this.contentBodyEl&&this.contentBodyEl.removeEventListener("scroll",this.recordContentScrollTop)},methods:{navBack:function(){this.$router.push({name:"platform"})},recordContentScrollTop:function(){this.homeScrollTop=this.contentBodyEl.scrollTop,sessionStorage.setItem("homeScrollTop",this.homeScrollTop)},hideSearchBar:function(){this.isShowSearchBar=!1,this.searchContent=""},showSearchBar:function(){this.isShowSearchBar=!0},searchForProj:Object(H["debounce"])(function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(){var e,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=/^\s*$/,!e.test(this.searchContent)){t.next=5;break}return t.abrupt("return");case 5:return this.isSearching=!0,t.next=8,l["e"](this.searchContent);case 8:r=t.sent,0==r.Code?this.searchProjList=r.Data:this.$notify({type:["error"],message:"查询数据失败, 请稍后重试。"});case 10:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),500),createNewProjectClick:function(){this.$router.push("/newproject").catch((function(t){return console.log(t)}))},lookProjDetailClick:function(t){sessionStorage.projId=t.Id,sessionStorage.createUserID=t.CreateUserId,sessionStorage.templateID=t.TemplateId,sessionStorage.allocated=t.Allocated,this.$router.push({name:"projdetail"}).catch((function(t){console.log(t)}))},watchAllBtnClick:function(t,e){this.toWatchPageClick(t)},toWatchPageClick:function(t){this.$router.push({path:"watch"}),sessionStorage.removeItem("projName"),sessionStorage.removeItem("projId"),sessionStorage.setItem("projName",t.ProjName),sessionStorage.setItem("projId",t.Id)},toLinkPageClick:function(t){this.$router.push({path:"watchlink"}),sessionStorage.removeItem("projName"),sessionStorage.removeItem("projId"),sessionStorage.setItem("projName",t.ProjName),sessionStorage.setItem("projId",t.Id)},toRecycle:function(){this.$router.push({name:"recycle",params:{title:"我的项目"}})},onRemoveProject:function(){this.listProjects()},listProjects:function(t){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function r(){var n,o,a;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return e.$store.state.accountId,e.companyId,r.next=4,Promise.all([l["d"](e.$store.state.accountId)]);case 4:n=r.sent,o=Object(i["a"])(n,2),a=o[0],o[1],e.projList=a.Data,e.$nextTick((function(){var t=document.getElementById("bigbody");e.homeScrollTop=parseInt(sessionStorage.getItem("homeScrollTop")||0),t&&t.scrollTo(0,e.homeScrollTop)})),t&&(e.fetchTickIns=setTimeout((function(){return e.listProjects(!0)}),6e4));case 11:case"end":return r.stop()}}),r)})))()},checkParentProject:function(t){this.pickedProject=t,this.linkProjectInfoModalVisible=!0,this.linkProjectId=t.ParentProjId},severNestProject:function(){var t=this,e=this.pickedProject;this.$confirm("解除互链不会影响双方项目的文件数据,解除后将无法进行文件交付,确定解除吗?",{confirmButtonText:"解除互链关系",cancelButtonText:"取消",type:"danger"}).then(Object(a["a"])(regeneratorRuntime.mark((function r(){var n;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,t.$fetchApi("project/deleteProjectLink",{folderId:e.ParentFolderId,nestProjectId:e.Id});case 2:if(n=r.sent,Object(C["c"])(n),0===n.Code){r.next=6;break}return r.abrupt("return");case 6:I["d"].success("互链关系已接触"),t.linkProjectInfoModalVisible=!1,t.listProjects();case 9:case"end":return r.stop()}}),r)}))))}}},V=F,Y=(r("c95a"),r("a9ee"),r("ec82"),r("7fab"),Object(v["a"])(V,n,o,!1,null,"7799f1e9",null));e["default"]=Y.exports},"129f":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},"2f4c":function(t,e,r){"use strict";var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"search-bar",class:{"show-search-bar":t.isShowSearchBar}},[r("div",{staticClass:"search-entry",class:{"set-high-index":!t.isShowSearchBar},on:{mouseenter:function(e){t.isSearchHover=!0},mouseleave:function(e){t.isSearchHover=!1},click:function(e){return e.stopPropagation(),t.showSearchBar(e)}}},[r("img",{directives:[{name:"show",rawName:"v-show",value:!t.isSearchHover,expression:"!isSearchHover"}],staticClass:"vert-hori-center search-img",attrs:{src:"/static/img/搜索.svg",alt:""}}),r("img",{directives:[{name:"show",rawName:"v-show",value:t.isSearchHover,expression:"isSearchHover"}],staticClass:"vert-hori-center search-active-img",attrs:{src:"/static/img/搜索激活.svg",alt:""}})]),r("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowSearchBar,expression:"isShowSearchBar"}],staticClass:"search-wrap"},[r("i",{staticClass:"search-icon",on:{click:function(e){return e.stopPropagation(),t.goToSearch(e)}}}),r("input",{directives:[{name:"model",rawName:"v-model",value:t.searchContent,expression:"searchContent"}],staticClass:"search-input",attrs:{type:"text",placeholder:t.placeholder,maxlength:"35"},domProps:{value:t.searchContent},on:{keyup:function(e){return e.stopPropagation(),t.enterSearchContent(e)},input:function(e){e.target.composing||(t.searchContent=e.target.value)}}}),r("i",{staticClass:"close-icon",on:{click:function(e){return e.stopPropagation(),t.hideSearchBar(e)}}})])])},o=[],i=(r("fb6a"),r("a9e3"),{data:function(){return{searchContent:"",isSearchHover:!1,isShowSearchBar:!1}},model:{prop:"value",event:"input"},props:{placeholder:{type:String,default:"搜索的文本"},maxLength:Number},watch:{searchContent:function(t){if(this.maxLength&&t.length>this.maxLength)return this.$notify({message:"请输入".concat(this.maxLength,"个字之内的搜索内容"),type:["warning"]}),void(this.searchContent=this.searchContent.slice(0,this.maxLength));this.changeSearchContent()}},methods:{enterSearchContent:function(t){this.searchContent&&13==t.keyCode&&this.goToSearch()},changeSearchContent:function(){this.$emit("input",this.searchContent)},goToSearch:function(){this.$emit("search")},hideSearchBar:function(){this.isShowSearchBar=!1,this.$emit("didHide")},showSearchBar:function(){this.searchContent="",this.isShowSearchBar=!0,this.$emit("didShow")}}}),a=i,s=(r("3c93"),r("2877")),c=Object(s["a"])(a,n,o,!1,null,"f20ebcbc",null);e["a"]=c.exports},"2fae":function(t,e,r){},3782:function(t,e,r){},"393e":function(t,e,r){},"3c93":function(t,e,r){"use strict";var n=r("73d8"),o=r.n(n);o.a},4478:function(t,e,r){"use strict";var n=r("3782"),o=r.n(n);o.a},"45bf":function(t,e,r){"use strict";var n=r("a675"),o=r.n(n);o.a},"466d":function(t,e,r){"use strict";var n=r("d784"),o=r("825a"),i=r("50c4"),a=r("1d80"),s=r("8aa5"),c=r("14c3");n("match",1,(function(t,e,r){return[function(e){var r=a(this),n=void 0==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var a=o(t),u=String(this);if(!a.global)return c(a,u);var l=a.unicode;a.lastIndex=0;var h,p=[],d=0;while(null!==(h=c(a,u))){var m=String(h[0]);p[d]=m,""===m&&(a.lastIndex=s(u,i(a.lastIndex),l)),d++}return 0===d?null:p}]}))},"4d63":function(t,e,r){var n=r("83ab"),o=r("da84"),i=r("94ca"),a=r("7156"),s=r("9bf2").f,c=r("241c").f,u=r("44e7"),l=r("ad6d"),h=r("9f7f"),p=r("6eeb"),d=r("d039"),m=r("69f3").set,f=r("2626"),v=r("b622"),g=v("match"),j=o.RegExp,w=j.prototype,P=/a/g,b=/a/g,k=new j(P)!==P,C=h.UNSUPPORTED_Y,I=n&&i("RegExp",!k||C||d((function(){return b[g]=!1,j(P)!=P||j(b)==b||"/a/i"!=j(P,"i")})));if(I){var S=function(t,e){var r,n=this instanceof S,o=u(t),i=void 0===e;if(!n&&o&&t.constructor===S&&i)return t;k?o&&!i&&(t=t.source):t instanceof S&&(i&&(e=l.call(t)),t=t.source),C&&(r=!!e&&e.indexOf("y")>-1,r&&(e=e.replace(/y/g,"")));var s=a(k?new j(t,e):j(t,e),n?this:w,S);return C&&r&&m(s,{sticky:r}),s},y=function(t){t in S||s(S,t,{configurable:!0,get:function(){return j[t]},set:function(e){j[t]=e}})},_=c(j),x=0;while(_.length>x)y(_[x++]);w.constructor=S,S.prototype=w,p(o,"RegExp",S)}f("RegExp")},5122:function(t,e,r){},"51fa":function(t,e,r){},"5b44":function(t,e,r){},"63b7":function(t,e,r){"use strict";var n=r("fabf"),o=r.n(n);o.a},"6d1d":function(t,e,r){},"73d8":function(t,e,r){},"7fab":function(t,e,r){"use strict";var n=r("51fa"),o=r.n(n);o.a},"841c":function(t,e,r){"use strict";var n=r("d784"),o=r("825a"),i=r("1d80"),a=r("129f"),s=r("14c3");n("search",1,(function(t,e,r){return[function(e){var r=i(this),n=void 0==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var i=o(t),c=String(this),u=i.lastIndex;a(u,0)||(i.lastIndex=0);var l=s(i,c);return a(i.lastIndex,u)||(i.lastIndex=u),null===l?-1:l.index}]}))},"9d0d":function(t,e,r){"use strict";var n=r("cf15"),o=r.n(n);o.a},a06e:function(t,e,r){"use strict";r.d(e,"d",(function(){return i})),r.d(e,"c",(function(){return s})),r.d(e,"b",(function(){return u})),r.d(e,"a",(function(){return h})),r.d(e,"e",(function(){return d}));r("d81d"),r("96cf");var n=r("1da1"),o=r("b775");r("3de1");function i(t){return a.apply(this,arguments)}function a(){return a=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(o["b"])("project/queryProjectListByUserId",{userId:e});case 2:return r=t.sent,t.abrupt("return",Object(o["c"])(r));case 4:case"end":return t.stop()}}),t)}))),a.apply(this,arguments)}function s(t){return c.apply(this,arguments)}function c(){return c=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(o["b"])("project/queryProjectInfoByProjId",{projId:e});case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)}))),c.apply(this,arguments)}function u(t){return l.apply(this,arguments)}function l(){return l=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(o["b"])("project/editProject",e);case 2:return r=t.sent,t.abrupt("return",Object(o["c"])(r));case 4:case"end":return t.stop()}}),t)}))),l.apply(this,arguments)}function h(t){return p.apply(this,arguments)}function p(){return p=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(o["b"])("project/assignedWork",e);case 2:return r=t.sent,t.abrupt("return",Object(o["c"])(r));case 4:case"end":return t.stop()}}),t)}))),p.apply(this,arguments)}function d(t){return m.apply(this,arguments)}function m(){return m=Object(n["a"])(regeneratorRuntime.mark((function t(e){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(o["b"])("project/searchProject",{projName:e});case 2:return r=t.sent,t.abrupt("return",Object(o["c"])(r));case 4:case"end":return t.stop()}}),t)}))),m.apply(this,arguments)}},a097:function(t,e,r){"use strict";var n=r("393e"),o=r.n(n);o.a},a675:function(t,e,r){},a9ee:function(t,e,r){"use strict";var n=r("2fae"),o=r.n(n);o.a},c95a:function(t,e,r){"use strict";var n=r("5122"),o=r.n(n);o.a},cf15:function(t,e,r){},e63f7:function(t,e,r){"use strict";var n=r("5b44"),o=r.n(n);o.a},ec82:function(t,e,r){"use strict";var n=r("6d1d"),o=r.n(n);o.a},f96e:function(t,e,r){"use strict";var n=r("01a8");r.d(e,"a",(function(){return n["a"]}))},fabf:function(t,e,r){}}]);
\ No newline at end of file
diff --git a/dist/static/js/chunk-7d913a8a.1b8d5703.js b/dist/static/js/chunk-7d913a8a.2ecf53bf.js
similarity index 100%
rename from dist/static/js/chunk-7d913a8a.1b8d5703.js
rename to dist/static/js/chunk-7d913a8a.2ecf53bf.js
diff --git a/dist/static/js/chunk-63d4ab7f.c92d4265.js b/dist/static/js/chunk-8252b0ee.7e5ea6e4.js
similarity index 99%
rename from dist/static/js/chunk-63d4ab7f.c92d4265.js
rename to dist/static/js/chunk-8252b0ee.7e5ea6e4.js
index 730fd1e4..03bba0c4 100644
--- a/dist/static/js/chunk-63d4ab7f.c92d4265.js
+++ b/dist/static/js/chunk-8252b0ee.7e5ea6e4.js
@@ -1 +1 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-63d4ab7f"],{"19b1":function(e,t,i){},"793e":function(e,t,i){"use strict";var n=i("a8ff"),o=i.n(n);o.a},"995e":function(e,t,i){"use strict";var n=i("19b1"),o=i.n(n);o.a},"9ed6":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"loginbox_warp"},[i("iframe",{staticClass:"login_bg",staticStyle:{width:"calc(100vw)",height:"calc(100vh)",position:"absolute",top:"0"},attrs:{src:"/static/img/bgAnimate/bganimat.html",frameborder:"0"}}),i("div",{staticClass:"header-wrap"},[i("app-header",{attrs:{theme:"black",isShowLeftState:!1}})],1),e._m(0),i("div",{staticClass:"loginbox"},[i("div",[i("div",{directives:[{name:"show",rawName:"v-show",value:0==e.loginShow,expression:"loginShow == 0"}]},[i("div",{staticClass:"login_formBox"},[i("label",{staticClass:"loginlabel"},[e._v("验证身份")]),i("label",{staticClass:"loginlabel"},[i("i",{staticClass:"icon font_family icon-icon_fanhui combackreturn",on:{click:e.returnLoign}}),e._v("设置密码 ")]),e._m(1)]),e._m(2)]),1==e.loginShow?i("div",[i("div",{staticClass:"login_formBox"},[i("label",{staticClass:"loginlabel"},[e._v("登入")]),i("form",{staticClass:"formlogin"},[i("div",{staticClass:"formlogin_item"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.account,expression:"account"}],staticClass:"login_input",attrs:{type:"text",name:"username",placeholder:"请输入企业预留手机号或邮箱"},domProps:{value:e.account},on:{input:function(t){t.target.composing||(e.account=t.target.value)}}})]),i("div",{staticClass:"formlogin_item"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.pwd,expression:"pwd"}],staticClass:"login_input",attrs:{type:"password",name:"",placeholder:"输入登入密码"},domProps:{value:e.pwd},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.ToMain(t)},input:function(t){t.target.composing||(e.pwd=t.target.value)}}}),""!=e.account?i("a",{staticClass:"loginlabel_resit",attrs:{href:"javascript:;"},on:{click:e.backPassword}},[e._v("忘记密码")]):e._e()]),1==e.errTips?i("div",{staticClass:"worningalert"},[e._v(e._s(e.tipmgs))]):e._e()])]),e.isClient?i("el-checkbox",{staticClass:"login_checkBox mt-10",model:{value:e.isAutoLogin,callback:function(t){e.isAutoLogin=t},expression:"isAutoLogin"}},[e._v("自动登录")]):e._e(),e.isClient?i("el-checkbox",{staticClass:"login_checkBox mt-10",model:{value:e.isRemember,callback:function(t){e.isRemember=t},expression:"isRemember"}},[e._v("记住密码")]):e._e(),i("div",[i("button",{staticClass:"login_btn",on:{click:e.ToMain,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.ToMain(t)}}},[e._v("登入")])])],1):e._e(),2==e.loginShow?i("div",[i("div",{staticClass:"login_formBox"},[i("label",{staticClass:"loginlabel"},[e._v("登入后台")]),i("form",{staticClass:"formlogin",attrs:{name:"formName"}},[i("div",{staticClass:"formlogin_item"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.account,expression:"account"}],staticClass:"login_input",attrs:{type:"text",name:"inputName",value:"",placeholder:"请输入企业预留手机号或邮箱"},domProps:{value:e.account},on:{input:function(t){t.target.composing||(e.account=t.target.value)}}})]),i("div",{staticClass:"formlogin_item"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.pwd,expression:"pwd"}],staticClass:"login_input",attrs:{type:"password",name:"",placeholder:"请输入登入密码"},domProps:{value:e.pwd},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.ToMain(t)},input:function(t){t.target.composing||(e.pwd=t.target.value)}}}),""!=e.account?i("a",{staticClass:"loginlabel_resit",attrs:{href:"javascript:;"},on:{click:e.backPassword}},[e._v("忘记密码")]):e._e()]),1==e.errTips?i("div",{staticClass:"worningalert"},[e._v(e._s(e.tipmgs))]):e._e()])]),i("el-checkbox",{staticClass:"login_checkBox mt-10",model:{value:e.isRemember,callback:function(t){e.isRemember=t},expression:"isRemember"}},[e._v("记住密码")]),i("div",[i("button",{staticClass:"login_btn",on:{click:e.ToMain,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.ToMain(t)}}},[e._v("登入")])])],1):e._e(),3==e.loginShow?i("div",[i("div",{staticClass:"login_formBox"},[i("label",{staticClass:"loginlabel"},[i("i",{staticClass:"icon font_family icon-icon_fanhui combackreturn",on:{click:e.loginPage}}),e._v("输入账号 ")]),i("form",{staticClass:"formlogin"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.phoneNumber,expression:"phoneNumber"}],staticClass:"login_input",attrs:{type:"text",name:"",placeholder:"请输入企业预留手机号或邮箱"},domProps:{value:e.phoneNumber},on:{input:function(t){t.target.composing||(e.phoneNumber=t.target.value)}}})])]),i("div",[i("button",{staticClass:"login_btn",on:{click:e.next}},[e._v("下一步")])])]):e._e(),4==e.loginShow?i("div",[i("div",{staticClass:"login_formBox"},[i("label",{staticClass:"loginlabel"},[i("i",{staticClass:"icon font_family icon-icon_fanhui combackreturn",on:{click:e.prev}}),e._v("验证身份 ")]),i("form",{staticClass:"formlogin"},[i("div",{staticClass:"formlogin_item rightBtn_input"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.phoneCode,expression:"phoneCode"}],staticClass:"login_input",attrs:{type:"text",name:"",placeholder:"输入验证码"},domProps:{value:e.phoneCode},on:{input:function(t){t.target.composing||(e.phoneCode=t.target.value)}}}),i("BtnSmsCode",{attrs:{phoneNum:e.phoneNumber,checkPhoneNum:e.phoneNumber}})],1)])]),i("div",[i("button",{staticClass:"login_btn",on:{click:function(t){e.loginShow=5}}},[e._v("下一步")])])]):e._e(),5==e.loginShow?i("div",[i("div",{staticClass:"login_formBox"},[i("label",{staticClass:"loginlabel"},[i("i",{staticClass:"icon font_family icon-icon_fanhui combackreturn",on:{click:e.prev}}),e._v("重置密码 ")]),i("form",{staticClass:"formlogin"},[i("div",{staticClass:"formlogin_item"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.firstNewPwd,expression:"firstNewPwd"}],staticClass:"login_input",attrs:{type:"text",name:"",placeholder:"输入新密码"},domProps:{value:e.firstNewPwd},on:{input:function(t){t.target.composing||(e.firstNewPwd=t.target.value)}}})]),i("div",{staticClass:"formlogin_item"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.enterNewPwd,expression:"enterNewPwd"}],staticClass:"login_input",attrs:{type:"password",name:"",placeholder:"确认新密码"},domProps:{value:e.enterNewPwd},on:{input:[function(t){t.target.composing||(e.enterNewPwd=t.target.value)},function(t){return e.checkPwd()}]}}),i("span",{staticClass:"yyerrtip"},[e._v(e._s(e.checkPwdTip))])])])]),i("div",[i("button",{staticClass:"login_btn",on:{click:e.returnLoign}},[e._v("重新登入")])])]):e._e()])])])},o=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"LoginTitleWel"},[i("div",{staticClass:"logintitlefirst"},[i("span",[e._v("欢迎使用")]),i("span",[e._v("LOCKING")])])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("form",{staticClass:"formlogin"},[i("div",{staticClass:"formlogin_item"},[i("input",{staticClass:"login_input",attrs:{type:"text",name:"",placeholder:"请输入企业预留手机号或邮箱"}})]),i("div",{staticClass:"formlogin_item"},[i("input",{staticClass:"login_input",attrs:{type:"password",name:"",placeholder:"设置登入密码"}})]),i("div",{staticClass:"formlogin_item"},[i("input",{staticClass:"login_input",attrs:{type:"password",name:"",placeholder:"确认登入密码"}})])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("button",{staticClass:"login_btn"},[e._v("下一步")]),i("button",{staticClass:"login_btn"},[e._v("完成并登入")])])}],s=(i("b0c0"),i("96cf"),i("1da1")),a=i("86cd"),r=i("1d40"),c=i("f96e"),l={components:{BtnSmsCode:a["a"],AppHeader:c["a"]},data:function(){return{filelist:[],login:!0,regist:!1,errTips:!1,tipmgs:"",account:"",pwd:"",loginShow:1,isBackground:!1,phoneNumber:"",firstNewPwd:"",enterNewPwd:"",checkPwdTip:"",phoneCode:"",isRemember:!1,isAutoLogin:!1,isClient:r["a"].isClient,isChangeCount:!1}},beforeRouteLeave:function(e,t,i){sessionStorage.login=t.name,i()},created:function(){sessionStorage.login="",r["a"].init()},mounted:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.isChangeCount="true"===e.$route.query.isChangeCount,e.loadRemember(),e.loadIsAutoLogin(),e.isAutoLogin&&!e.isChangeCount&&e.ToMain(),window["tipMsg"]=function(t){e.tipMsg(t)},!r["a"].isClient){t.next=10;break}return t.next=8,r["a"].isMaxWindowNow();case 8:i=t.sent,sessionStorage.setItem("isMaxWindowNow",i);case 10:case"end":return t.stop()}}),t)})))()},methods:{tipMsg:function(e){this.$notify({message:e,type:"warning",offset:100,duration:3500})},loadIsAutoLogin:function(){var e=this.$cookie.get("isAutoLogin");"true"!==e||this.isChangeCount||(this.isAutoLogin=!0),this.isChangeCount&&(this.isAutoLogin=!1,this.$cookie.remove("isCompanyConsole"),this.$cookie.remove("platformInfo"),this.$cookie.remove("isAutoLogin"))},loadRemember:function(){if(this.$cookie.get("remember")){this.account=this.$cookie.get("account"),this.pwd=this.$cookie.get("pwd");var e=this.$cookie.get("background");"false"==e&&(this.isBackground=!1),this.isRemember=!0}},backPassword:function(){this.loginShow=3},prev:function(){this.loginShow=3},next:function(){/^1[3456789]\d{9}$/.test(this.phoneNumber)?this.checkPhone():this.$notify({message:"请检查手机号是否填写正确。",type:["warning"],offset:100,duration:2500})},checkPhone:function(){var e=this;this.$axios({method:"get",url:encodeURI("/api/account/check/phone/"+e.phoneNum),params:{phone:e.phoneNum}}).then((function(t){1==t.data.state?(e.$notify({type:"warning",message:t.data.message,offset:100,duration:2500}),e.loginShow=4):e.$notify({type:"error",message:t.data.message,offset:100,duration:2500})})).catch((function(e){console.log(e)}))},loginPage:function(){this.loginShow=1,this.isBackground?this.isBackground=!1:this.isBackground=!0},returnLoign:function(){if(this.firstNewPwd==this.enterNewPwd){var e=this;this.$axios({method:"put",url:encodeURI("/api/account/pwd/phone"),data:{phone:e.phoneNumber,code:e.phoneCode,newPwd:e.enterNewPwd}}).then((function(t){1==t.data.state?(e.$notify({type:"warning",message:t.data.message,offset:100,duration:2500}),e.firstNewPwd="",e.enterNewPwd="",e.phoneNumber="",e.phoneCode="",e.loginPage()):e.$notify({type:"error",message:t.data.message,offset:100,duration:2500})})).catch((function(e){console.log(e)}))}else this.$notify({message:"您输入的两次密码不一致",type:["warning"],offset:100,duration:2500})},loginBackManage:function(){this.loginShow=2,this.isBackground=!0},ToMain:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){var i,n,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e,""!=i.account){t.next=5;break}return i.errTips=!0,i.tipmgs="请输入用户名!",t.abrupt("return");case 5:if(""!=i.pwd){t.next=9;break}return i.errTips=!0,i.tipmgs="请输入密码!",t.abrupt("return");case 9:return t.next=11,e.$store.login(e.account,e.pwd);case 11:if(n=t.sent,o=0===n.Code,o){t.next=16;break}return e.$notify({message:"登录失败,用户名或密码错误!",type:["warning"]}),t.abrupt("return");case 16:e.isAutoLogin&&e.isClient?(e.isRemember=!0,e.$cookie.set("isAutoLogin",!0,{expires:7})):e.isAutoLogin||e.$cookie.remove("isAutoLogin"),e.isRemember&&e.isClient&&(e.$cookie.set("remember",!0,{expires:7}),e.$cookie.set("account",i.account,{expires:7}),e.$cookie.set("pwd",i.pwd,{expires:7}),e.$cookie.set("background",i.isBackground,{expires:7})),!e.isRemember&&e.isClient&&(i.$cookie.remove("remember"),i.$cookie.remove("account"),i.$cookie.remove("pwd"),i.$cookie.remove("background")),"platform"!==e.$route.name&&e.$router.push({path:"platform"}).catch((function(e){return console.log(e)})),i.$notify({message:"链接成功。",type:"success"});case 21:case"end":return t.stop()}}),t)})))()},checkPwd:function(){this.firstNewPwd!=this.enterNewPwd?this.checkPwdTip="两次密码输入不一致,请重新输入。":this.checkPwdTip="成功"}}},u=l,m=(i("793e"),i("995e"),i("2877")),p=Object(m["a"])(u,n,o,!1,null,"13d64dee",null);t["default"]=p.exports},a8ff:function(e,t,i){},f96e:function(e,t,i){"use strict";var n=i("01a8");i.d(t,"a",(function(){return n["a"]}))}}]);
\ No newline at end of file
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8252b0ee"],{"19b1":function(e,t,i){},"793e":function(e,t,i){"use strict";var n=i("a8ff"),o=i.n(n);o.a},"995e":function(e,t,i){"use strict";var n=i("19b1"),o=i.n(n);o.a},"9ed6":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"loginbox_warp"},[i("iframe",{staticClass:"login_bg",staticStyle:{width:"calc(100vw)",height:"calc(100vh)",position:"absolute",top:"0"},attrs:{src:"/static/img/bgAnimate/bganimat.html",frameborder:"0"}}),i("div",{staticClass:"header-wrap"},[i("app-header",{attrs:{theme:"black",isShowLeftState:!1}})],1),e._m(0),i("div",{staticClass:"loginbox"},[i("div",[i("div",{directives:[{name:"show",rawName:"v-show",value:0==e.loginShow,expression:"loginShow == 0"}]},[i("div",{staticClass:"login_formBox"},[i("label",{staticClass:"loginlabel"},[e._v("验证身份")]),i("label",{staticClass:"loginlabel"},[i("i",{staticClass:"icon font_family icon-icon_fanhui combackreturn",on:{click:e.returnLoign}}),e._v("设置密码 ")]),e._m(1)]),e._m(2)]),1==e.loginShow?i("div",[i("div",{staticClass:"login_formBox"},[i("label",{staticClass:"loginlabel"},[e._v("登入")]),i("form",{staticClass:"formlogin"},[i("div",{staticClass:"formlogin_item"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.account,expression:"account"}],staticClass:"login_input",attrs:{type:"text",name:"username",placeholder:"请输入企业预留手机号或邮箱"},domProps:{value:e.account},on:{input:function(t){t.target.composing||(e.account=t.target.value)}}})]),i("div",{staticClass:"formlogin_item"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.pwd,expression:"pwd"}],staticClass:"login_input",attrs:{type:"password",name:"",placeholder:"输入登入密码"},domProps:{value:e.pwd},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.ToMain(t)},input:function(t){t.target.composing||(e.pwd=t.target.value)}}}),""!=e.account?i("a",{staticClass:"loginlabel_resit",attrs:{href:"javascript:;"},on:{click:e.backPassword}},[e._v("忘记密码")]):e._e()]),1==e.errTips?i("div",{staticClass:"worningalert"},[e._v(e._s(e.tipmgs))]):e._e()])]),e.isClient?i("el-checkbox",{staticClass:"login_checkBox mt-10",model:{value:e.isAutoLogin,callback:function(t){e.isAutoLogin=t},expression:"isAutoLogin"}},[e._v("自动登录")]):e._e(),e.isClient?i("el-checkbox",{staticClass:"login_checkBox mt-10",model:{value:e.isRemember,callback:function(t){e.isRemember=t},expression:"isRemember"}},[e._v("记住密码")]):e._e(),i("div",[i("button",{staticClass:"login_btn",on:{click:e.ToMain,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.ToMain(t)}}},[e._v("登入")])])],1):e._e(),2==e.loginShow?i("div",[i("div",{staticClass:"login_formBox"},[i("label",{staticClass:"loginlabel"},[e._v("登入后台")]),i("form",{staticClass:"formlogin",attrs:{name:"formName"}},[i("div",{staticClass:"formlogin_item"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.account,expression:"account"}],staticClass:"login_input",attrs:{type:"text",name:"inputName",value:"",placeholder:"请输入企业预留手机号或邮箱"},domProps:{value:e.account},on:{input:function(t){t.target.composing||(e.account=t.target.value)}}})]),i("div",{staticClass:"formlogin_item"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.pwd,expression:"pwd"}],staticClass:"login_input",attrs:{type:"password",name:"",placeholder:"请输入登入密码"},domProps:{value:e.pwd},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.ToMain(t)},input:function(t){t.target.composing||(e.pwd=t.target.value)}}}),""!=e.account?i("a",{staticClass:"loginlabel_resit",attrs:{href:"javascript:;"},on:{click:e.backPassword}},[e._v("忘记密码")]):e._e()]),1==e.errTips?i("div",{staticClass:"worningalert"},[e._v(e._s(e.tipmgs))]):e._e()])]),i("el-checkbox",{staticClass:"login_checkBox mt-10",model:{value:e.isRemember,callback:function(t){e.isRemember=t},expression:"isRemember"}},[e._v("记住密码")]),i("div",[i("button",{staticClass:"login_btn",on:{click:e.ToMain,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.ToMain(t)}}},[e._v("登入")])])],1):e._e(),3==e.loginShow?i("div",[i("div",{staticClass:"login_formBox"},[i("label",{staticClass:"loginlabel"},[i("i",{staticClass:"icon font_family icon-icon_fanhui combackreturn",on:{click:e.loginPage}}),e._v("输入账号 ")]),i("form",{staticClass:"formlogin"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.phoneNumber,expression:"phoneNumber"}],staticClass:"login_input",attrs:{type:"text",name:"",placeholder:"请输入企业预留手机号或邮箱"},domProps:{value:e.phoneNumber},on:{input:function(t){t.target.composing||(e.phoneNumber=t.target.value)}}})])]),i("div",[i("button",{staticClass:"login_btn",on:{click:e.next}},[e._v("下一步")])])]):e._e(),4==e.loginShow?i("div",[i("div",{staticClass:"login_formBox"},[i("label",{staticClass:"loginlabel"},[i("i",{staticClass:"icon font_family icon-icon_fanhui combackreturn",on:{click:e.prev}}),e._v("验证身份 ")]),i("form",{staticClass:"formlogin"},[i("div",{staticClass:"formlogin_item rightBtn_input"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.phoneCode,expression:"phoneCode"}],staticClass:"login_input",attrs:{type:"text",name:"",placeholder:"输入验证码"},domProps:{value:e.phoneCode},on:{input:function(t){t.target.composing||(e.phoneCode=t.target.value)}}}),i("BtnSmsCode",{attrs:{phoneNum:e.phoneNumber,checkPhoneNum:e.phoneNumber}})],1)])]),i("div",[i("button",{staticClass:"login_btn",on:{click:function(t){e.loginShow=5}}},[e._v("下一步")])])]):e._e(),5==e.loginShow?i("div",[i("div",{staticClass:"login_formBox"},[i("label",{staticClass:"loginlabel"},[i("i",{staticClass:"icon font_family icon-icon_fanhui combackreturn",on:{click:e.prev}}),e._v("重置密码 ")]),i("form",{staticClass:"formlogin"},[i("div",{staticClass:"formlogin_item"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.firstNewPwd,expression:"firstNewPwd"}],staticClass:"login_input",attrs:{type:"text",name:"",placeholder:"输入新密码"},domProps:{value:e.firstNewPwd},on:{input:function(t){t.target.composing||(e.firstNewPwd=t.target.value)}}})]),i("div",{staticClass:"formlogin_item"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.enterNewPwd,expression:"enterNewPwd"}],staticClass:"login_input",attrs:{type:"password",name:"",placeholder:"确认新密码"},domProps:{value:e.enterNewPwd},on:{input:[function(t){t.target.composing||(e.enterNewPwd=t.target.value)},function(t){return e.checkPwd()}]}}),i("span",{staticClass:"yyerrtip"},[e._v(e._s(e.checkPwdTip))])])])]),i("div",[i("button",{staticClass:"login_btn",on:{click:e.returnLoign}},[e._v("重新登入")])])]):e._e()])])])},o=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"LoginTitleWel"},[i("div",{staticClass:"logintitlefirst"},[i("span",[e._v("欢迎使用")]),i("span",[e._v("LOCKING")])])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("form",{staticClass:"formlogin"},[i("div",{staticClass:"formlogin_item"},[i("input",{staticClass:"login_input",attrs:{type:"text",name:"",placeholder:"请输入企业预留手机号或邮箱"}})]),i("div",{staticClass:"formlogin_item"},[i("input",{staticClass:"login_input",attrs:{type:"password",name:"",placeholder:"设置登入密码"}})]),i("div",{staticClass:"formlogin_item"},[i("input",{staticClass:"login_input",attrs:{type:"password",name:"",placeholder:"确认登入密码"}})])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("button",{staticClass:"login_btn"},[e._v("下一步")]),i("button",{staticClass:"login_btn"},[e._v("完成并登入")])])}],s=(i("b0c0"),i("96cf"),i("1da1")),a=i("86cd"),r=i("1d40"),c=i("f96e"),l={components:{BtnSmsCode:a["a"],AppHeader:c["a"]},data:function(){return{filelist:[],login:!0,regist:!1,errTips:!1,tipmgs:"",account:"",pwd:"",loginShow:1,isBackground:!1,phoneNumber:"",firstNewPwd:"",enterNewPwd:"",checkPwdTip:"",phoneCode:"",isRemember:!1,isAutoLogin:!1,isClient:r["a"].isClient,isChangeCount:!1}},beforeRouteLeave:function(e,t,i){sessionStorage.login=t.name,i()},created:function(){sessionStorage.login="",r["a"].init()},mounted:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.isChangeCount="true"===e.$route.query.isChangeCount,e.loadRemember(),e.loadIsAutoLogin(),e.isAutoLogin&&!e.isChangeCount&&e.ToMain(),window["tipMsg"]=function(t){e.tipMsg(t)},!r["a"].isClient){t.next=10;break}return t.next=8,r["a"].isMaxWindowNow();case 8:i=t.sent,sessionStorage.setItem("isMaxWindowNow",i);case 10:case"end":return t.stop()}}),t)})))()},methods:{tipMsg:function(e){this.$notify({message:e,type:"warning",offset:100,duration:3500})},loadIsAutoLogin:function(){var e=this.$cookie.get("isAutoLogin");"true"!==e||this.isChangeCount||(this.isAutoLogin=!0),this.isChangeCount&&(this.isAutoLogin=!1,this.$cookie.remove("isCompanyConsole"),this.$cookie.remove("platformInfo"),this.$cookie.remove("isAutoLogin"))},loadRemember:function(){if(this.$cookie.get("remember")){this.account=this.$cookie.get("account"),this.pwd=this.$cookie.get("pwd");var e=this.$cookie.get("background");"false"==e&&(this.isBackground=!1),this.isRemember=!0}},backPassword:function(){this.loginShow=3},prev:function(){this.loginShow=3},next:function(){/^1[3456789]\d{9}$/.test(this.phoneNumber)?this.checkPhone():this.$notify({message:"请检查手机号是否填写正确。",type:["warning"],offset:100,duration:2500})},checkPhone:function(){var e=this;this.$axios({method:"get",url:encodeURI("/api/account/check/phone/"+e.phoneNum),params:{phone:e.phoneNum}}).then((function(t){1==t.data.state?(e.$notify({type:"warning",message:t.data.message,offset:100,duration:2500}),e.loginShow=4):e.$notify({type:"error",message:t.data.message,offset:100,duration:2500})})).catch((function(e){console.log(e)}))},loginPage:function(){this.loginShow=1,this.isBackground?this.isBackground=!1:this.isBackground=!0},returnLoign:function(){if(this.firstNewPwd==this.enterNewPwd){var e=this;this.$axios({method:"put",url:encodeURI("/api/account/pwd/phone"),data:{phone:e.phoneNumber,code:e.phoneCode,newPwd:e.enterNewPwd}}).then((function(t){1==t.data.state?(e.$notify({type:"warning",message:t.data.message,offset:100,duration:2500}),e.firstNewPwd="",e.enterNewPwd="",e.phoneNumber="",e.phoneCode="",e.loginPage()):e.$notify({type:"error",message:t.data.message,offset:100,duration:2500})})).catch((function(e){console.log(e)}))}else this.$notify({message:"您输入的两次密码不一致",type:["warning"],offset:100,duration:2500})},loginBackManage:function(){this.loginShow=2,this.isBackground=!0},ToMain:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){var i,n,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e,""!=i.account){t.next=5;break}return i.errTips=!0,i.tipmgs="请输入用户名!",t.abrupt("return");case 5:if(""!=i.pwd){t.next=9;break}return i.errTips=!0,i.tipmgs="请输入密码!",t.abrupt("return");case 9:return t.next=11,e.$store.login(e.account,e.pwd);case 11:if(n=t.sent,o=0===n.Code,o){t.next=16;break}return e.$notify({message:"登录失败,用户名或密码错误!",type:["warning"]}),t.abrupt("return");case 16:e.isAutoLogin&&e.isClient?(e.isRemember=!0,e.$cookie.set("isAutoLogin",!0,{expires:7})):e.isAutoLogin||e.$cookie.remove("isAutoLogin"),e.isRemember&&e.isClient&&(e.$cookie.set("remember",!0,{expires:7}),e.$cookie.set("account",i.account,{expires:7}),e.$cookie.set("pwd",i.pwd,{expires:7}),e.$cookie.set("background",i.isBackground,{expires:7})),!e.isRemember&&e.isClient&&(i.$cookie.remove("remember"),i.$cookie.remove("account"),i.$cookie.remove("pwd"),i.$cookie.remove("background")),"platform"!==e.$route.name&&e.$router.push({path:"platform"}).catch((function(e){return console.log(e)})),i.$notify({message:"链接成功。",type:"success"});case 21:case"end":return t.stop()}}),t)})))()},checkPwd:function(){this.firstNewPwd!=this.enterNewPwd?this.checkPwdTip="两次密码输入不一致,请重新输入。":this.checkPwdTip="成功"}}},u=l,m=(i("793e"),i("995e"),i("2877")),p=Object(m["a"])(u,n,o,!1,null,"13d64dee",null);t["default"]=p.exports},a8ff:function(e,t,i){},f96e:function(e,t,i){"use strict";var n=i("01a8");i.d(t,"a",(function(){return n["a"]}))}}]);
\ No newline at end of file
diff --git a/dist/static/js/chunk-84f66ece.f7ab6793.js b/dist/static/js/chunk-84f66ece.b16cc9a6.js
similarity index 100%
rename from dist/static/js/chunk-84f66ece.f7ab6793.js
rename to dist/static/js/chunk-84f66ece.b16cc9a6.js
diff --git a/dist/static/js/chunk-90593496.ac276e00.js b/dist/static/js/chunk-90593496.ac276e00.js
new file mode 100644
index 00000000..eec10d1d
--- /dev/null
+++ b/dist/static/js/chunk-90593496.ac276e00.js
@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-90593496"],{"0371":function(e,t,r){},"0529":function(e,t,r){},"102d":function(e,t,r){"use strict";var s=r("5eac"),i=r.n(s);i.a},"129f":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"1cc5":function(e,t,r){"use strict";var s=r("45f1"),i=r.n(s);i.a},"2d06":function(e,t,r){},"2f4c":function(e,t,r){"use strict";var s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"search-bar",class:{"show-search-bar":e.isShowSearchBar}},[r("div",{staticClass:"search-entry",class:{"set-high-index":!e.isShowSearchBar},on:{mouseenter:function(t){e.isSearchHover=!0},mouseleave:function(t){e.isSearchHover=!1},click:function(t){return t.stopPropagation(),e.showSearchBar(t)}}},[r("img",{directives:[{name:"show",rawName:"v-show",value:!e.isSearchHover,expression:"!isSearchHover"}],staticClass:"vert-hori-center search-img",attrs:{src:"/static/img/搜索.svg",alt:""}}),r("img",{directives:[{name:"show",rawName:"v-show",value:e.isSearchHover,expression:"isSearchHover"}],staticClass:"vert-hori-center search-active-img",attrs:{src:"/static/img/搜索激活.svg",alt:""}})]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSearchBar,expression:"isShowSearchBar"}],staticClass:"search-wrap"},[r("i",{staticClass:"search-icon",on:{click:function(t){return t.stopPropagation(),e.goToSearch(t)}}}),r("input",{directives:[{name:"model",rawName:"v-model",value:e.searchContent,expression:"searchContent"}],staticClass:"search-input",attrs:{type:"text",placeholder:e.placeholder,maxlength:"35"},domProps:{value:e.searchContent},on:{keyup:function(t){return t.stopPropagation(),e.enterSearchContent(t)},input:function(t){t.target.composing||(e.searchContent=t.target.value)}}}),r("i",{staticClass:"close-icon",on:{click:function(t){return t.stopPropagation(),e.hideSearchBar(t)}}})])])},i=[],n=(r("fb6a"),r("a9e3"),{data:function(){return{searchContent:"",isSearchHover:!1,isShowSearchBar:!1}},model:{prop:"value",event:"input"},props:{placeholder:{type:String,default:"搜索的文本"},maxLength:Number},watch:{searchContent:function(e){if(this.maxLength&&e.length>this.maxLength)return this.$notify({message:"请输入".concat(this.maxLength,"个字之内的搜索内容"),type:["warning"]}),void(this.searchContent=this.searchContent.slice(0,this.maxLength));this.changeSearchContent()}},methods:{enterSearchContent:function(e){this.searchContent&&13==e.keyCode&&this.goToSearch()},changeSearchContent:function(){this.$emit("input",this.searchContent)},goToSearch:function(){this.$emit("search")},hideSearchBar:function(){this.isShowSearchBar=!1,this.$emit("didHide")},showSearchBar:function(){this.searchContent="",this.isShowSearchBar=!0,this.$emit("didShow")}}}),o=n,a=(r("3c93"),r("2877")),c=Object(a["a"])(o,s,i,!1,null,"f20ebcbc",null);t["a"]=c.exports},"3c93":function(e,t,r){"use strict";var s=r("73d8"),i=r.n(s);i.a},4220:function(e,t,r){},"42ef":function(e,t,r){},4302:function(e,t,r){"use strict";var s=r("b582"),i=r.n(s);i.a},"43a3":function(e,t,r){"use strict";var s=r("8f4e"),i=r.n(s);i.a},"45bf":function(e,t,r){"use strict";var s=r("a675"),i=r.n(s);i.a},"45f1":function(e,t,r){},"466d":function(e,t,r){"use strict";var s=r("d784"),i=r("825a"),n=r("50c4"),o=r("1d80"),a=r("8aa5"),c=r("14c3");s("match",1,(function(e,t,r){return[function(t){var r=o(this),s=void 0==t?void 0:t[e];return void 0!==s?s.call(t,r):new RegExp(t)[e](String(r))},function(e){var s=r(t,e,this);if(s.done)return s.value;var o=i(e),l=String(this);if(!o.global)return c(o,l);var d=o.unicode;o.lastIndex=0;var u,h=[],p=0;while(null!==(u=c(o,l))){var m=String(u[0]);h[p]=m,""===m&&(o.lastIndex=a(l,n(o.lastIndex),d)),p++}return 0===p?null:h}]}))},"47c5":function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.isMini?r("project-list"):r("project-list-complex")},i=[],n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"app"}},[r("app-header",{attrs:{showUserCenter:!0,showNotify:"",id:"proj-list-page",showRecycleBin:""},scopedSlots:e._u([{key:"left",fn:function(){return[r("el-button",{staticClass:"org-button no-drag",on:{click:function(t){return t.stopPropagation(),e.navBack(t)}}},[e._v(" "+e._s(e.currentPlatform.orgName)+" "),r("i",{staticClass:"el-icon-sort org-button-icon"})])]},proxy:!0},{key:"center",fn:function(){return[r("div",{staticClass:"main-title"},[e._v(e._s(e.showCenterTitle))])]},proxy:!0},{key:"right",fn:function(){return[r("search-bar",{staticClass:"proj-search-bar",attrs:{placeholder:"搜索项目名称",maxLength:35},on:{didHide:e.hideSearchBar,didShow:e.showSearchBar,search:e.searchForProj},model:{value:e.searchContent,callback:function(t){e.searchContent=t},expression:"searchContent"}})]},proxy:!0}])}),r("div",{staticClass:"layout_content"},[r("timer",{staticStyle:{"padding-left":"64px","margin-top":"10px"},attrs:{cnName:e.cnName}}),e.noProjTip?r("div",{staticStyle:{"margin-left":"50%","margin-top":"25%"}},[r("h1",[e._v("空空如也")])]):e._e(),e.isUserPerm?r("button",{staticClass:"yiyun_btn_new new-btn-margin",attrs:{id:"buttonbtn"},on:{click:function(t){return t.stopPropagation(),e.createNewProjectClick(t)}}},[e._v("新建项目")]):e._e(),r("div",{staticClass:"group-title"},[e._v("最近的项目")]),r("proj-list",{attrs:{id:"proj-list",projList:e.showProjList,showWatchAll:"",isUserPerm:e.isUserPerm},on:{lookProjDetailClick:e.lookProjDetailClick,"on-remove":e.onRemoveProject,"check-parent-project":e.checkParentProject}})],1),r("link-project-info-modal",{attrs:{title:e.pickedProject.ProjName+"的上层互链项目",visible:e.linkProjectInfoModalVisible,projectId:e.linkProjectId},on:{"update:visible":function(t){e.linkProjectInfoModalVisible=t}},scopedSlots:e._u([{key:"foot",fn:function(){return[r("el-button",{staticClass:"remove-button",attrs:{type:"danger",plain:""},on:{click:function(t){return t.stopPropagation(),e.severNestProject(t)}}},[e._v("解除互链关系")])]},proxy:!0}])})],1)},o=[],a=(r("d3b7"),r("3ca3"),r("ddb0"),r("3835")),c=(r("96cf"),r("1da1")),l=r("f96e"),d=r("2f4c"),u=r("0f13"),h=r("a06e"),p=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.cnName?r("div",[r("div",{staticClass:"big-time"},[e._v(e._s(e.nowTime))]),r("div",{staticClass:"now-time"},[r("span",{staticClass:"nowshijian"},[e._v(e._s(e.nowDate.substr(5))+" "+e._s(e.welcome)+e._s(e.cnName))])])]):e._e()},m=[],f=(r("fb6a"),r("4d63"),r("ac1f"),r("25f0"),r("466d"),r("5319"),r("841c"),{getDateTimeString:function(e){var t=e.getFullYear(),r=e.getMonth()+1;r=r<10?"0"+r:r;var s=e.getDate();s=s<10?"0"+s:s;var i=e.getHours();i=i<10?"0"+i:i;var n=e.getMinutes();n=n<10?"0"+n:n;var o=e.getSeconds();o=o<10?"0"+o:o;var a=t+"-"+r+"-"+s+" "+i+":"+n+":"+o;return a},getDateTimeStringByStr:function(e){var t=new Date(e),r=t.getFullYear(),s=t.getMonth()+1;s=s<10?"0"+s:s;var i=t.getDate();i=i<10?"0"+i:i;var n=t.getHours();n=n<10?"0"+n:n;var o=t.getMinutes();o=o<10?"0"+o:o;var a=t.getSeconds();a=a<10?"0"+a:a;var c=r+"-"+s+"-"+i+" "+n+":"+o+":"+a;return c},formatDate:function(e){var t=e.getFullYear(),r=e.getMonth()+1,s=e.getDate();r=r<10?"0"+r:r,s=s<10?"0"+s:s;var i=t+"-"+r+"-"+s;return i},convertToDate:function(e){var t=e.slice(6,19),r=new Date(parseInt(t));return this.formatDate(r)},unixToDate:function(e,t){e=e.replace(/[^0-9]/gi,""),10==e.length&&(e*=1e3);var r=parseInt(e),s=new Date(r),i="";i+=s.getFullYear()+"-";var n=s.getMonth()+1;i+=n<10?"0"+n+"-":n+"-";var o=s.getDate();return i+=o<10?"0"+o:o,!0===t&&(i+=" "+s.getHours()+":",i+=s.getMinutes()+":",i+=s.getSeconds()),i},getUrlParams:function(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),r=window.location.search.substr(1).match(t);return null!=r?r[2]:null},validNumber:function(e,t,r){t?/^([0-9]+)$/.test(t)?r():r(new Error("只能输入整数")):t?r():r(new Error("这里不能为空"))},validNullOrNumber:function(e,t,r){t?/^([0-9]+)$/.test(t)?r():r(new Error("只能输入整数")):r()},validNullOrNumber2:function(e,t,r){t?/^([0-9]+)$/.test(t)?r():r(new Error(" ")):r()},validDecimal:function(e,t,r){t?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(t)?r():r(new Error("只能输入数字")):t?r():r(new Error("这里不能为空"))},validNullOrDecimal:function(e,t,r){t?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(t)?r():r(new Error("只能输入数字")):r()},validNullOrDecimal2:function(e,t,r){t?/^(([0-9]+[.][0-9]+)|([0-9]+))$/.test(t)?r():r(new Error(" ")):r()},validRequired:function(e,t,r){t?r():r(new Error("这里不能为空"))},validEmail:function(e,t,r){if(""!=t){var s=/^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;s.test(t)?r():r(new Error("邮箱格式不正确!"))}else r()},validPhoneNum:function(e,t,r){if(""!=t){var s=/(^\d{11}$)/;s.test(t)?r():r(new Error("请输入11位有效手机号码!"))}else r(new Error("请输入手机号"))},validVerificationCode:function(e,t,r){if(""!=t){var s=/(^\d{6}$)/;s.test(t)?r():r(new Error("请输入有效的验证码!"))}else r(new Error("请输入验证码"))},validPhone:function(e,t,r){""!=t&&11!=t.length?r(new Error("请输入11位有效手机号码!")):r()},validPhoneAndRequired:function(e,t,r){""!=t?11!=t.length?r(new Error("请输入11位有效手机号码!")):r():r(new Error("请输入手机号"))},pathSubString:function(e){var t=e.slice(-22);return t},pageData:function(e,t,r){""!=t&&null!=t||(t=1),""!=e&&null!=e||(e=10);var s=(t-1)*e,i=s+e;i>r.length&&(i=r.length);var n=[];if(null!=r&&r.length>0)for(var o=s;o0?this.welcome="上午好! ":12==e?this.welcome="中午好! ":e>12&&e>20?this.welcome="晚上好,注意休息! ":e>12&&e<20&&(this.welcome="下午好!")}},mounted:function(){this.setDateTime(),this.timer=setInterval(this.setDateTime,1e3)},beforeDestroy:function(){clearInterval(this.timer),this.timer=null}},g=v,j=(r("8715"),r("fdde5"),r("2877")),P=Object(j["a"])(g,p,m,!1,null,"645b3f62",null),w=P.exports,C=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("section",[r("div",{directives:[{name:"show",rawName:"v-show",value:e.isEmpty,expression:"isEmpty"}],staticClass:"nullproduct"},[r("img",{attrs:{src:"static\\img\\nopro.png",alt:""}}),r("span",{staticClass:"noprotext"},[e._v("暂无项目")])]),r("div",{staticClass:"prjitemList"},[r("el-row",{attrs:{gutter:64}},e._l(e.projList,(function(t,s){return r("el-col",{key:t.Id,attrs:{xs:24,sm:12,md:8,lg:6,xl:6}},[r("proj-item",{attrs:{projItem:t,showWatchAll:e.showWatchAll,isUserPerm:e.isUserPerm},on:{lookProjDetailClick:function(r){return e.lookProjDetailClick(t)},watchAllBtnClick:function(r){return e.watchAllBtnClick(t,s)},"on-remove":e.onRemoveProject,"check-parent-project":e.checkParentProject}})],1)})),1)],1)])])},b=[],S=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"prjitem"},[r("div",{ref:"projitem",staticClass:"prjitem_content",style:e.showBackground(e.projItem.ShowImgUrl),on:{mouseenter:function(t){e.showSetIcon(e.projItem.Id),e.isMouseHover=!0},mouseleave:function(t){e.hiddenSetIcon,e.isMouseHover=!1},click:function(t){return t.stopPropagation(),e.goFilePage(e.projItem)}}},[e.isUserPerm?r("el-dropdown",{staticClass:"prjitem_settings_wrapper",attrs:{placement:"bottom"}},[r("span",{staticClass:"prjitem_settings",on:{click:function(e){e.stopPropagation()}}},[r("i",{staticClass:"el-icon-s-tools"})]),r("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[r("el-dropdown-item",{staticClass:"danger_button"},[r("span",{on:{click:function(t){return t.stopPropagation(),e.removeProject()}}},[e._v("删除项目")])]),e.projItem.ParentProjId&&"0"!==e.projItem.ParentProjId?r("el-dropdown-item",[r("span",{on:{click:function(t){return t.stopPropagation(),e.checkParentProject()}}},[e._v("查看上层互链项目")])]):e._e()],1)],1):e._e(),1==e.projItem.newProjStatus?r("div",{staticClass:"newprj_icon"},[e._v("新项目")]):e._e(),r("div",{staticClass:"prjitem_title",class:{"move-item-name":e.focusProjId==e.projItem.Id&&e.isMouseHover},attrs:{title:e.projItem.ProjName}},[e._v(e._s(e.subProjName(e.projItem.ProjName)))]),r("div",{staticClass:"operate-bar",class:{"show-operate-bar":e.isMouseHover&&e.focusProjId==e.projItem.Id}},[e.showWatchAll?r("el-button",{staticClass:"bar-item",on:{click:function(t){return t.stopPropagation(),e.watchAllBtnClick(t)}}},[e._v("观全局")]):r("div",{staticClass:"bar-item-empty"}),r("el-button",{staticClass:"bar-item",on:{click:function(t){return t.stopPropagation(),e.lookProjDetailClick(t)}}},[e._v("项目指派")])],1)],1)])},k=[],I=r("b775"),E=r("3de1"),D={data:function(){return{focusProjId:"",isEmpty:!1,isMouseHover:!1}},props:{projItem:{type:Object,default:function(){return{}}},showWatchAll:{type:Boolean,default:!1},isUserPerm:Boolean},methods:{showBackground:function(e){var t=this.$options.filters["resolveImg"],r=t(e);return{background:"center/cover no-repeat url(".concat(r,")")}},lookProjDetailClick:function(){this.$emit("lookProjDetailClick")},manageProj:function(){this.$router.push("/newproject")},checkParentProject:function(){this.$emit("check-parent-project",this.projItem)},removeProject:function(){var e=this;this.projItem.ProjName;this.$confirm("删除项目后所有文件将被置入回收站中,但您可在回收站操作拷贝转移,确定删除项目?","",{confirmButtonText:"确定",cancelButtonText:"取消",showClose:!1,type:"error"}).then(Object(c["a"])(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$fetchApi("project/deleteProject",{id:e.projItem.Id});case 2:if(r=t.sent,Object(I["c"])(r),!r.Code){t.next=6;break}return t.abrupt("return");case 6:E["d"].success("".concat(e.projItem.ProjName,"已删除")),e.$emit("on-remove",e.projItem);case 8:case"end":return t.stop()}}),t)}))))},subProjName:function(e){var t=e.length;if(t>13){var r=e.slice(0,7),s=e.slice(t-6,t);return r+"..."+s}return e},watchAllBtnClick:function(){sessionStorage.removeItem("projName"),sessionStorage.removeItem("projId"),sessionStorage.setItem("projName",this.projItem.ProjName),sessionStorage.setItem("projId",this.projItem.Id)},showSetIcon:function(e){this.focusProjId=e},hiddenSetIcon:function(){this.focusProjId=""},goFilePage:function(e){sessionStorage.createUserID=e.CreateUserId,sessionStorage.templateID=e.TemplateId,sessionStorage.projId=e.Id,sessionStorage.nowFolderIndex="",sessionStorage.comFolderId=e.ComFolderId,sessionStorage.newProjStatus=e.NewProjStatus,sessionStorage.projName!=e.ProjName&&(sessionStorage.projName=e.ProjName),this.$router.push({name:"workspace"}).catch((function(e){return console.log(e)}));var t={API:"folder/queryNodeFolderListByProjectId",Action:"打开项目",CompanyName:sessionStorage.CompanyName,Subject:sessionStorage.projName,Source:sessionStorage.client,ProjectName:sessionStorage.projName};Object(I["b"])("operation/record",t),sessionStorage.pageName="workspace"}}},y=D,U=(r("6cc4"),r("43a3"),Object(j["a"])(y,S,k,!1,null,"67519102",null)),_=U.exports,N={data:function(){return{isEmpty:!1}},components:{ProjItem:_},props:{showWatchAll:{type:Boolean,default:!1},projList:{type:Array,default:function(){return[]}},isUserPerm:Boolean},watch:{projListLength:{immediate:!0,handler:function(e){this.isEmpty=!(e>0)}}},computed:{projListLength:function(){return this.projList?this.projList.length:0}},methods:{onRemoveProject:function(e){this.$emit("on-remove",e)},checkParentProject:function(e){this.$emit("check-parent-project",e)},lookProjDetailClick:function(e){this.$emit("lookProjDetailClick",e)},manageProj:function(){this.$router.push("/newproject")},subProjName:function(e){var t=e.length;if(t>13){var r=e.slice(0,7),s=e.slice(t-6,t);return r+"..."+s}return e},watchAllBtnClick:function(e,t){this.$emit("watchAllBtnClick",e,t)}}},M=N,T=(r("9ac3"),Object(j["a"])(M,C,b,!1,null,"30654a4e",null)),x=T.exports,F=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-dialog",{staticClass:"nest-project-modal",attrs:{visible:e.innerVisible,center:"",top:"48px",width:"660px"},on:{"update:visible":function(t){e.innerVisible=t}},scopedSlots:e._u([{key:"title",fn:function(){return[r("div",{staticClass:"nest-project-modal-title"},[r("span",[e._v(e._s(e.title))]),r("el-button",{on:{click:function(t){t.stopPropagation(),e.innerVisible=!1}}},[e._v("关闭")])],1)]},proxy:!0}])},[r("div",{staticClass:"dialog-detail"},[r("div",{staticClass:"item"},[r("div",{staticClass:"item-title"},[e._v("项目名称")]),r("div",{staticClass:"item-value"},[r("span",{staticStyle:{flex:"1"}},[e._v(e._s(e.linkProjectInfo.projName))])])]),r("div",{staticClass:"item"},[r("div",{staticClass:"item-title"},[e._v("项目负责")]),r("div",{staticClass:"item-value"},[e._v(e._s(e.linkProjectInfo.projCreateUserName))])]),r("div",{staticClass:"item cover-container"},[r("div",{staticClass:"item-title"},[e._v("封面")]),r("div",{staticClass:"item-value cover-img-wrap use-relative",style:e.showBackground(e.linkProjectInfo.showImgUrl)})]),r("div",{staticClass:"item"},[r("div",{staticClass:"item-title proj-main-template"},[e._v("项目主要模板")]),r("div",{staticClass:"item-value"},[e._v(e._s(e.linkProjectInfo.tempName))])]),r("div",{staticClass:"item"},[r("div",{staticClass:"item-title"},[e._v("模板负责")]),r("div",{staticClass:"item-value"},[e._v(e._s(e.linkProjectInfo.tempCreateUserName))])]),r("div",{staticClass:"item"},[r("div",{staticClass:"item-title"},[e._v("创建时间")]),r("div",{staticClass:"item-value"},[e._v(e._s(e.linkProjectInfo.projCreateTime))])]),e._l(e.linkProjectInfo.customProps||[],(function(t){return r("div",{key:t.TempPropId,staticClass:"item"},[r("div",{staticClass:"item-title"},[e._v(e._s(t.PropertyName?t.PropertyName:"自定义字段"))]),r("div",{staticClass:"item-value"},[e._v(e._s(t.PropValue))])])}))],2),r("div",[e._t("foot")],2)])},$=[],L=r("5a0c"),B=r.n(L),O={props:{title:String,visible:Boolean,projectId:String},data:function(){return{linkProjectInfo:{},innerVisible:this.visible}},watch:{projectId:function(e){e&&this.checkProject(e)},innerVisible:function(e){this.$emit("update:visible",e)},visible:function(e){this.innerVisible=e}},methods:{showBackground:function(e){var t=this.$options.filters["resolveImg"],r=t(e);return{background:"center/cover no-repeat url(".concat(r,")")}},checkProject:function(e){var t=this;return Object(c["a"])(regeneratorRuntime.mark((function r(){var s,i;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,h["c"](e);case 2:if(s=r.sent,Object(I["c"])(s),0===s.Code){r.next=6;break}return r.abrupt("return");case 6:i=Object(E["b"])(s.Data||{}),i.projCreateTime=B()(i.projCreateTime).format("YYYY/MM/DD"),t.linkProjectInfo=i;case 9:case"end":return r.stop()}}),r)})))()}}},R=O,A=(r("45bf"),Object(j["a"])(R,F,$,!1,null,"fc7cd510",null)),V=A.exports,W=r("2ef0"),H={elNew:"#new",components:{SearchBar:d["a"],LinkProjectInfoModal:V,Timer:w,AppHeader:l["a"],ProjList:x},data:function(){var e=this.$store.state.currentPlatform;return{companyId:e.orgId,currentPlatform:e,isUserPerm:Object(u["c"])(e.accessList,u["a"].ProjectManager),cnName:"",projList:[],linkApplyList:[],noProjTip:!1,isShowProjSetting:!1,fetchTickIns:null,searchContent:"",searchProjList:[],isShowSearchBar:!1,isSearching:!1,homeScrollTop:0,contentBodyEl:null,pickedProject:{},linkProjectInfoModalVisible:!1,linkProjectId:void 0}},computed:{showProjList:function(){return this.isShowSearchBar&&this.searchContent&&this.isSearching?this.searchProjList:this.projList},showCenterTitle:function(){return this.isShowSearchBar&&this.searchContent?"“".concat(this.searchContent,"”搜索结果"):"我的项目"}},watch:{searchContent:function(){this.searchForProj()}},mounted:function(){this.cnName=JSON.parse(sessionStorage.user).userName,sessionStorage.setItem("pageTitle","我的项目"),this.listProjects(!0),this.contentBodyEl=document.getElementById("bigbody"),this.contentBodyEl&&this.contentBodyEl.addEventListener("scroll",this.recordContentScrollTop)},beforeDestroy:function(){sessionStorage.dotIndex=this.ind,this.fetchTickIns&&(clearTimeout(this.fetchTickIns),this.fetchTickIns=null),this.contentBodyEl&&this.contentBodyEl.removeEventListener("scroll",this.recordContentScrollTop)},methods:{navBack:function(){this.$router.push({name:"platform"})},recordContentScrollTop:function(){this.homeScrollTop=this.contentBodyEl.scrollTop,sessionStorage.setItem("homeScrollTop",this.homeScrollTop)},hideSearchBar:function(){this.isShowSearchBar=!1,this.searchContent=""},showSearchBar:function(){this.isShowSearchBar=!0},searchForProj:Object(W["debounce"])(function(){var e=Object(c["a"])(regeneratorRuntime.mark((function e(){var t,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=/^\s*$/,!t.test(this.searchContent)){e.next=5;break}return e.abrupt("return");case 5:return this.isSearching=!0,e.next=8,h["e"](this.searchContent);case 8:r=e.sent,0==r.Code?this.searchProjList=r.Data:this.$notify({type:["error"],message:"查询数据失败, 请稍后重试。"});case 10:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),500),createNewProjectClick:function(){this.$router.push("/newproject").catch((function(e){return console.log(e)}))},lookProjDetailClick:function(e){sessionStorage.projId=e.Id,sessionStorage.createUserID=e.CreateUserId,sessionStorage.templateID=e.TemplateId,sessionStorage.allocated=e.Allocated,this.$router.push({name:"projdetail"}).catch((function(e){console.log(e)}))},toRecycle:function(){this.$router.push({name:"recycle",params:{title:"我的项目"}})},onRemoveProject:function(){this.listProjects()},listProjects:function(e){var t=this;return Object(c["a"])(regeneratorRuntime.mark((function r(){var s,i,n;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return t.$store.state.accountId,t.companyId,r.next=4,Promise.all([h["d"](t.$store.state.accountId)]);case 4:s=r.sent,i=Object(a["a"])(s,2),n=i[0],i[1],t.projList=n.Data,t.$nextTick((function(){var e=document.getElementById("bigbody");t.homeScrollTop=parseInt(sessionStorage.getItem("homeScrollTop")||0),e&&e.scrollTo(0,t.homeScrollTop)})),e&&(t.fetchTickIns=setTimeout((function(){return t.listProjects(!0)}),6e4));case 11:case"end":return r.stop()}}),r)})))()},checkParentProject:function(e){this.pickedProject=e,this.linkProjectInfoModalVisible=!0,this.linkProjectId=e.ParentProjId},severNestProject:function(){var e=this,t=this.pickedProject;this.$confirm("解除互链不会影响双方项目的文件数据,解除后将无法进行文件交付,确定解除吗?",{confirmButtonText:"解除互链关系",cancelButtonText:"取消",type:"danger"}).then(Object(c["a"])(regeneratorRuntime.mark((function r(){var s;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,e.$fetchApi("project/deleteProjectLink",{folderId:t.ParentFolderId,nestProjectId:t.Id});case 2:if(s=r.sent,Object(I["c"])(s),0===s.Code){r.next=6;break}return r.abrupt("return");case 6:E["d"].success("互链关系已接触"),e.linkProjectInfoModalVisible=!1,e.listProjects();case 9:case"end":return r.stop()}}),r)}))))}}},Y=H,z=(r("c1eb"),r("a70e"),r("d3bf"),r("719f"),Object(j["a"])(Y,n,o,!1,null,"35059ef9",null)),q=z.exports,K=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"app"}},[r("app-header",{attrs:{showUserCenter:!0,showNotify:"",id:"proj-list-page",showRecycleBin:""},scopedSlots:e._u([{key:"left",fn:function(){return[r("el-button",{staticClass:"org-button no-drag",on:{click:function(t){return t.stopPropagation(),e.navBack(t)}}},[e._v(" "+e._s(e.currentPlatform.orgName)+" "),r("i",{staticClass:"el-icon-sort org-button-icon"})])]},proxy:!0},{key:"center",fn:function(){return[r("div",{staticClass:"main-title"},[e._v(e._s(e.showCenterTitle))])]},proxy:!0},{key:"right",fn:function(){return[r("search-bar",{staticClass:"proj-search-bar",attrs:{placeholder:"搜索项目名称",maxLength:35},on:{didHide:e.hideSearchBar,didShow:e.showSearchBar,search:e.searchForProj},model:{value:e.searchContent,callback:function(t){e.searchContent=t},expression:"searchContent"}})]},proxy:!0}])}),r("div",{staticClass:"layout_content"},[r("timer",{staticStyle:{"padding-left":"64px","margin-top":"10px"},attrs:{cnName:e.cnName}}),e.noProjTip?r("div",{staticStyle:{"margin-left":"50%","margin-top":"25%"}},[r("h1",[e._v("空空如也")])]):e._e(),e.isUserPerm?r("button",{staticClass:"yiyun_btn_new new-btn-margin",attrs:{id:"buttonbtn"},on:{click:function(t){t.stopPropagation(),e.pickedProject={},e.projectModalVisible=!0}}},[e._v("新建项目")]):e._e(),r("div",{staticClass:"group-title"},[e._v("最近的项目")]),r("proj-list",{attrs:{id:"proj-list",projList:e.showProjList,isUserPerm:e.isUserPerm},on:{lookProjDetailClick:e.lookProjDetailClick,"on-remove":e.onRemoveProject,"check-parent-project":e.checkParentProject}})],1),r("project-modal",{attrs:{visible:e.projectModalVisible,projectId:e.pickedProject.Id},on:{"update:visible":function(t){e.projectModalVisible=t},"on-project-create":e.onProjectCreate}})],1)},G=[],J=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-dialog",{staticClass:"project-modal",attrs:{visible:e.innerVisible,width:e.projectId?"auto":"660px"},on:{"update:visible":function(t){e.innerVisible=t}}},[e.delayVisible?[e.projectId?r("edit-project-form",{attrs:{projectId:e.projectId}}):r("create-project-form",{on:{"on-project-create":e.onProjectCreate}})]:e._e()],2)},Z=[],Q=(r("99af"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"projModule"},[r("div",{staticClass:"projName_input"},[r("div",{staticClass:"newProj_header "},[r("div",{staticClass:"newProj_title"},[e._v(" 输入项目名称 ")]),r("el-button",{staticClass:"nextbtn",attrs:{type:"primary"},on:{click:function(t){return t.stopPropagation(),e.createProject()}}},[e._v("创建项目")])],1),r("div",{staticClass:"newProj_content"},[r("div",{staticClass:"upload_img"},[r("div",{staticClass:"upload_imgBox",style:e.showBackground(e.coverSrc)},[r("file-uploader",{staticClass:"listUpdateBtn editCoverBtn",attrs:{"on-success":e.coverUploadSuccess}},[r("span",[e._v("编辑")])]),r("span",{staticClass:"faceBtn",on:{click:function(t){return t.stopPropagation(),e.setSystemCoverRandom(t)}}},[e._v("使用随机封面")])],1)]),r("div",[r("input",{directives:[{name:"model",rawName:"v-model",value:e.tempProjectName,expression:"tempProjectName"}],staticClass:"input_projname",attrs:{type:"text",placeholder:"点击输入 请输入32个字之内的字符"},domProps:{value:e.tempProjectName},on:{input:function(t){t.target.composing||(e.tempProjectName=t.target.value)}}})])])])])}),X=[],ee=r("5ab9"),te=r("9e5b"),re=/[/\\]{1,}/g,se=function(e){var t=~~(10*Math.random());t===e&&(t=t++%10);var r="static/img/faceImg/face".concat("".concat(101+t).slice(1),".png");return[t,r]},ie={components:{FileUploader:te["a"]},props:{parentFolderId:String},data:function(){var e=se(),t=Object(a["a"])(e,2),r=t[0],s=t[1];return{companyId:sessionStorage.companyId,srcIndex:r,coverSrc:s,tempProjectName:""}},methods:{showBackground:function(e){var t=this.$options.filters["resolveImg"],r=t(e);return{background:"center/cover no-repeat url(".concat(r,")")}},setSystemCoverRandom:function(){var e=se(this.srcIndex),t=Object(a["a"])(e,2),r=t[0],s=t[1];this.srcIndex=r,this.coverSrc=s},coverUploadSuccess:function(e){var t=Object(ee["c"])(e.ossUrl);this.coverSrc=t},createProject:function(){var e=this,t=this.tempProjectName;if(t)if(re.test(t))E["d"].warning("项目名称请不要包含'/' '\\'等字符。");else if(t.length>32)E["d"].warning("项目名称不得超出32个字符。");else{var r=sessionStorage.userId,s={Proj:{ShowImgUrl:this.coverSrc,ProjName:t,CompanyId:this.companyId,CreateUserId:r,ModifyUserId:r},FolderId:this.parentFolderId};this.$fetchApi("project/createProject",s).then((function(t){if(Object(I["c"])(t),0===t.Code){var r=t.Data;E["d"].success("项目创建成功"),e.$emit("on-project-create",r)}})),this.$emit("on-project-create")}else E["d"].warning("请输入项目名称")}}},ne=ie,oe=(r("4e7c"),Object(j["a"])(ne,Q,X,!1,null,"2b7dc732",null)),ae=oe.exports,ce=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"proj-detail"},[r("div",{staticClass:"content-wrap"},[!e.isShowDistWorkPage&&e.isShowStartProjDesc?r("div",{ref:"projdesc",staticClass:"proj-desc adjust-top-radius"},[r("top-header",{staticClass:"set-header-position header-wrap",class:{"header-bottom-shadow":e.isProjDescScroll},attrs:{showUserCenter:!1}},[r("div",{staticClass:"title",attrs:{slot:"left"},slot:"left"},[e._v("项目概况")]),r("div",{staticClass:"to-distwork-btn",attrs:{slot:"right"},on:{click:function(t){return t.stopPropagation(),e.handleShowDistWorkPage(t)}},slot:"right"},[e._v("开始")])]),r("div",{staticClass:"proj-desc-wrap"},[r("div",{staticClass:"item"},[r("div",{staticClass:"item-title"},[e._v("项目名称")]),e.projectNameEditFlag?r("div",{staticClass:"item-value edit"},[r("el-input",{staticClass:"field-input",attrs:{size:"mini",autofocus:!0},model:{value:e.editingProjectName,callback:function(t){e.editingProjectName=t},expression:"editingProjectName"}}),r("el-button",{attrs:{size:"mini"},on:{click:function(t){return t.stopPropagation(),e.renameProjectName(t)}}},[e._v("确认")]),r("el-button",{attrs:{size:"mini"},on:{click:function(t){t.stopPropagation(),e.projectNameEditFlag=!1}}},[e._v("取消")])],1):r("div",{staticClass:"item-value"},[r("span",{staticStyle:{flex:"1"}},[e._v(e._s(e.nowProject.ProjName))]),e.isProjManager?r("el-button",{staticClass:"float-button",attrs:{size:"mini"},on:{click:function(t){t.stopPropagation(),e.projectNameEditFlag=!0}}},[e._v("编辑")]):e._e()],1)]),r("div",{staticClass:"item"},[r("div",{staticClass:"item-title"},[e._v("项目负责")]),r("div",{staticClass:"item-value"},[e._v(e._s(e.nowProject.ProjCreateUserName))])]),r("div",{staticClass:"item cover-container"},[r("div",{staticClass:"item-title"},[e._v("封面")]),r("div",{staticClass:"item-value cover-img-wrap use-relative",style:e.showBackground(e.coverSrc)},[r("file-uploader",{staticClass:"listUpdateBtn editCoverBtn",attrs:{"on-success":e.coverUploadSuccess}},[r("div",[e._v("编辑")])])],1)])])],1):e._e(),e.isShowDistWorkPage&&!e.isShowTemplateSummary?r("div",{staticClass:"distwork-page"},[e.isEnterEdit?r("top-header",{staticClass:"set-header-position header-wrap",class:{"header-bottom-shadow":e.isDistWorkPartScroll},attrs:{title:"指派工作",showUserCenter:!1}},[r("div",{staticClass:"finish-edit-btn",attrs:{slot:"left"},on:{click:function(t){return t.stopPropagation(),e.finishEditClick(t)}},slot:"left"},[e._v("完成编辑")]),r("div",{staticClass:"question",attrs:{slot:"right"},slot:"right"},[r("i",{staticClass:"ques-icon",on:{click:function(t){t.stopPropagation(),e.isShowManagerTips=!e.isShowManagerTips}}}),r("span",{staticClass:"ques-text"},[e._v("了解工作负责人")])])]):r("top-header",{staticClass:"set-header-position header-wrap",class:{"header-bottom-shadow":e.isDistWorkPartScroll},attrs:{backBtnTitle:"项目概况",onBackBtnClick:e.showProjDetailClick,title:e.nowProject.TempName,showUserCenter:!1,showBackBtn:!0}}),r("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowManagerTips,expression:"isShowManagerTips"}],staticClass:"manager-tips"},[r("i",{staticClass:"close-icon",on:{click:function(t){t.stopPropagation(),e.isShowManagerTips=!e.isShowManagerTips}}}),r("div",{staticClass:"tips-text"},[e._v("工作负责人将有权管理“负责工作中的成员”,点击用户头像变更工作负责人。")])]),r("div",{ref:"distworkpart",staticClass:"part-wrap"},[e.isProjManager?r("div",{staticClass:"manager-folder-wrap",class:{"active-folder mb-36":e.isEditProjManager,"only-manager-see folder-click":!e.isEnterEdit}},[r("div",{staticClass:"row-title"},[e._v("项目管理权限")]),r("div",{staticClass:"proj-manager-row use-relative",on:{click:function(t){return t.stopPropagation(),e.activeManagerClick(t)}}},[e.isEnterEdit&&e.isEditProjManager?e._e():r("div",{staticClass:"use-relative ml-4 clear-fix"},[r("div",{staticClass:"use-relative fl"},[r("people-item",{class:{"mr-8":!e.isEnterEdit},attrs:{user:e.currUser,isShowManagerMark:e.isEnterEdit}})],1),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.isEnterEdit,expression:"!isEnterEdit"}],staticClass:"vertical-line"}),r("div",{staticClass:"use-flex fl"},[e.listManagerUser&&e.listManagerUser.length>0?r("div",{staticClass:"use-flex fl"},e._l(e.filterManageFromListUser(e.currUser.id,e.listManagerUser),(function(t){return r("people-item",{key:t.id,attrs:{user:t,isEnterEdit:e.isEnterEdit}})})),1):e._e(),!e.isEnterEdit&&e.isProjCreator?r("people-item",{nativeOn:{click:function(t){return t.stopPropagation(),e.addProjManager(t)}}}):e._e()],1)]),e.isEnterEdit&&e.isEditProjManager?r("div",{staticClass:"use-relative ml-4 use-flex"},[r("temp-selected-user-list",{attrs:{memberList:e.selectedUser},on:{changeManagerClick:e.changeManagerClick,setFirstPeopleToManager:e.setFirstPeopleToManager}})],1):e._e()])]):e._e(),r("plain-folder-list",{staticClass:"plain-folder-list",attrs:{nestNodeList:e.nestNodeList,isEnterEdit:e.isEnterEdit,id:e.userId,lastFolderId:e.lastFolderId,folderList:e.listNewFolder,allManager:e.currUser,allManagerChild:e.listManagerUser,aloneAddUserForFolder:e.aloneAddUserForFolder,aloneAddUserOnlyStaff:e.aloneAddUserOnlyStaff,allChildrenLists:e.allChildrenLists,activeFolderId:e.activeFolderId,selectedUser:e.selectedUser,isProjManager:e.isProjManager,showLinkActions:!1}})],1)],1):e._e(),e.isStartEditNestTemp?r("link-project",{staticStyle:{width:"100%"},attrs:{isTemNestInProp:e.isTemNest,nestNodeFolder:e.nestNodeFolder},on:{enterDistWork:e.enterDistWork}}):e._e()],1),e.isEnterEdit?r("div",{staticClass:"personnel-list-part"},[r("personnel-list",{attrs:{treeList:e.memberTree,selectedKeys:e.selectedMemberKeys},on:{select:e.onSelectMembers}})],1):e._e(),e.nestNodeFolder?r("el-dialog",{staticClass:"nest-project-modal",attrs:{visible:e.nestProjectModalVisible,center:"",top:"48px",width:"660px"},on:{"update:visible":function(t){e.nestProjectModalVisible=t}},scopedSlots:e._u([{key:"title",fn:function(){return[r("div",{staticClass:"nest-project-modal-title"},[r("span",[e._v(e._s(e.nestNodeFolder.folderName)+"的互链项目")]),r("el-button",{on:{click:function(t){t.stopPropagation(),e.nestProjectModalVisible=!1}}},[e._v("关闭")])],1)]},proxy:!0}],null,!1,1702687869)},[e.nestProjectInfo?r("div",{staticClass:"proj-desc-wrap dialog-detail"},[r("div",{staticClass:"item"},[r("div",{staticClass:"item-title"},[e._v("项目名称")]),r("div",{staticClass:"item-value"},[r("span",{staticStyle:{flex:"1"}},[e._v(e._s(e.nestProjectInfo.projName))])])]),r("div",{staticClass:"item"},[r("div",{staticClass:"item-title"},[e._v("项目负责")]),r("div",{staticClass:"item-value"},[e._v(e._s(e.nestProjectInfo.projCreateUserName))])]),r("div",{staticClass:"item cover-container"},[r("div",{staticClass:"item-title"},[e._v("封面")]),r("div",{staticClass:"item-value cover-img-wrap use-relative",style:e.showBackground(e.nestProjectInfo.showImgUrl)})]),r("div",{staticClass:"item"},[r("div",{staticClass:"item-title proj-main-template"},[e._v("项目主要模板")]),r("div",{staticClass:"item-value"},[e._v(e._s(e.nestProjectInfo.tempName))])]),r("div",{staticClass:"item"},[r("div",{staticClass:"item-title"},[e._v("模板负责")]),r("div",{staticClass:"item-value"},[e._v(e._s(e.nestProjectInfo.tempCreateUserName))])]),r("div",{staticClass:"item"},[r("div",{staticClass:"item-title"},[e._v("创建时间")]),r("div",{staticClass:"item-value"},[e._v(e._s(e.nestProjectInfo.projCreateTime))])]),e._l(e.nestProjectInfo.customProps||[],(function(t){return r("div",{key:t.TempPropId,staticClass:"item"},[r("div",{staticClass:"item-title"},[e._v(e._s(t.PropertyName?t.PropertyName:"自定义字段"))]),r("div",{staticClass:"item-value"},[e._v(e._s(t.PropValue))])])}))],2):e._e(),r("div",[r("el-button",{staticClass:"remove-button",attrs:{type:"danger",plain:""},on:{click:function(t){return t.stopPropagation(),e.severNestProject(t)}}},[e._v("解除项目互链")])],1)]):e._e()],1)},le=[],de=(r("4de4"),r("7db0"),r("c740"),r("4160"),r("caad"),r("a15b"),r("d81d"),r("a434"),r("2532"),r("1276"),r("159b"),r("4f96")),ue=r("2909"),he=r("5530"),pe=r("b1f3"),me=r("0558"),fe=r("efa4"),ve=r("7e1d"),ge=r("b386"),je=(r("93d6"),r("8a67")),Pe=(r("b0f9"),r("4767")),we={props:{projectId:String},data:function(){return{nestNodeFolder:{},nestNodeList:[],nowProject:{},listProjProp:[],cnName:"",selectedUser:[],selectedManageUser:[],isShowFirstPage:!0,isShowSecondPage:!1,isShowThreePage:!1,InitData:{},listNewFolder:[],oldFolderList:[],oldPlainFolderList:[],listDept:[],currWorkName:"",newProjFolderIndex:1,tempIndex:0,isShowdivid2:!1,currSelectData:[],currUser:{},isShowManager:!0,listManagerUser:[],oldListManagerUser:[],isProjManager:!1,isProjCreator:!1,currListDeptUserData:[],userList:[],memberTree:[],finishBtnClickCount:0,userId:sessionStorage.userId,allChildrenLists:[],isShowStartProjDesc:!0,isShowTemplateSummary:!1,isShowDistWorkPage:!1,isEnterEdit:!1,distWorkPartEl:null,isDistWorkPartScroll:!1,dlastScrollTime:null,isProjDescScroll:!1,projDescEl:null,isTemplateDescScroll:!1,templateDescEl:null,tlastScrollTime:null,isEditProjManager:!1,activeFolderId:"",activeFolder:null,coverSrc:"/static/img/faceImg/face01.png",isStartEditNestTemp:!1,isTemNest:!1,activeDeptName:"",isShowManagerTips:!1,isEnterEditPropValue:!1,isDistworkDone:!1,isDistworkSuccess:!1,lastFolderId:"",originPropListCopy:[],selectedMemberKeys:[],projectNameEditFlag:!1,editingProjectName:"",treeNode:null,nestProjectInfo:{},nestProjectModalVisible:!1}},components:{TopHeader:pe["a"],PlainFolderList:me["a"],PeopleItem:fe["a"],PersonnelList:ve["a"],TempSelectedUserList:ge["a"],FileUploader:te["a"],LinkProject:Pe["a"]},updated:function(){this.$refs.projdesc&&(this.projDescEl=this.$refs.projdesc,this.projDescEl.removeEventListener("scroll",this.watchProjDescScroll),this.projDescEl.addEventListener("scroll",this.watchProjDescScroll)),this.$refs.distworkpart&&(this.distWorkPartEl=this.$refs.distworkpart,this.distWorkPartEl.removeEventListener("scroll",this.watchDistWorkPartScroll),this.distWorkPartEl.addEventListener("scroll",this.watchDistWorkPartScroll)),this.$refs.templateDescEl&&(this.templateDescEl=this.$refs.templatedesc,this.templateDescEl.removeEventListener("scroll",this.watchTemplateDescScroll),this.templateDescEl.addEventListener("scroll",this.watchTemplateDescScroll))},watch:{isEnterEdit:function(e){e&&(this.projectNameEditFlag=!1)},projectNameEditFlag:function(e){e&&(this.editingProjectName=this.nowProject.ProjName)},nestProjectModalVisible:function(e){e||(this.nestProjectInfo={})}},mounted:function(){this.projInfo(this.projectId),this.cnName=JSON.parse(sessionStorage.user).cnName,this.fetchProjectDetail(),this.projDescEl=this.$refs.projdesc,this.projDescEl&&this.projDescEl.addEventListener("scroll",this.watchProjDescScroll),this.distWorkPartEl=this.$refs.distworkpart,this.distWorkPartEl&&this.distWorkPartEl.addEventListener("scroll",this.watchDistWorkPartScroll),this.templateDescEl=this.$refs.templatedesc,this.templateDescEl&&this.templateDescEl.addEventListener("scroll",this.watchTemplateDescScroll),this.$bus.$on("enterEditFolderClick",this.enterEditFolderClick),this.$bus.$on("activeFolderClick",this.activeFolderClick),this.$bus.$on("changeManagerClick",this.changeManagerClick),this.$bus.$on("setFirstPeopleToManager",this.setFirstPeopleToManager),this.$bus.$on("enterNestTemp",this.enterNestTemp),this.$bus.$on("checkNestProject",this.checkNestProject)},beforeDestroy:function(){this.projDescEl&&this.projDescEl.removeEventListener("scroll",this.watchProjDescScroll),this.distWorkPartEl&&this.distWorkPartEl.removeEventListener("scroll",this.watchDistWorkPartScroll),this.templateDescEl&&this.templateDescEl.removeEventListener("scroll",this.watchTemplateDescScroll),this.$bus.$off("enterEditFolderClick",this.enterEditFolderClick),this.$bus.$off("activeFolderClick",this.activeFolderClick),this.$bus.$off("changeManagerClick",this.changeManagerClick),this.$bus.$off("setFirstPeopleToManager",this.setFirstPeopleToManager),this.$bus.$off("enterNestTemp",this.enterNestTemp),this.$bus.$off("checkNestProject",this.checkNestProject)},methods:{showBackground:function(e){var t=this.$options.filters["resolveImg"],r=t(e);return{background:"center/cover no-repeat url(".concat(r,")")}},handleShowDistWorkPage:function(){this.isShowDistWorkPage=!0},handleEditTemplate:function(){this.isEnterEditPropValue=!this.isEnterEditPropValue,this.isEnterEditPropValue||(this.originPropListCopy=this.listProjProp,this.$notify({type:["success"],message:"修改模板概况成功"}))},checkNestProject:function(e){var t=this;return Object(c["a"])(regeneratorRuntime.mark((function r(){var s,i,n;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return s=e.nestProjectId,t.nestNodeFolder=e,t.nestProjectModalVisible=!0,r.next=5,h["c"](s);case 5:if(i=r.sent,Object(I["c"])(i),0===i.Code){r.next=9;break}return r.abrupt("return");case 9:n=Object(E["b"])(i.Data||{}),n.projCreateTime=B()(n.projCreateTime).format("YYYY/MM/DD"),t.nestProjectInfo=n;case 12:case"end":return r.stop()}}),r)})))()},severNestProject:function(){var e=this,t=this.nestNodeFolder;this.$confirm("解除互链不会影响双方项目的文件数据,解除后将无法进行文件交付,确定解除吗?",{confirmButtonText:"解除互链关系",cancelButtonText:"取消",type:"danger"}).then(Object(c["a"])(regeneratorRuntime.mark((function r(){var s;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,e.$fetchApi("project/deleteProjectLink",{folderId:t.id,nestProjectId:t.nestProjectId});case 2:if(s=r.sent,Object(I["c"])(s),0===s.Code){r.next=6;break}return r.abrupt("return");case 6:E["d"].success("互链项目已移除"),e.nestProjectModalVisible=!1,e.fetchProjectDetail();case 9:case"end":return r.stop()}}),r)}))))},enterNestTemp:function(e){this.isShowDistWorkPage=!1,this.isShowStartProjDesc=!1,this.isShowTemplateSummary=!1,this.isStartEditNestTemp=!0,this.isTemNest=!0,this.nestNodeFolder=e},enterDistWork:function(){var e=this;return Object(c["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.isShowDistWorkPage=!0,e.isShowStartProjDesc=!0,e.isShowTemplateSummary=!1,e.isStartEditNestTemp=!1,e.isTemNest=!1,e.fetchProjectDetail();case 6:case"end":return t.stop()}}),t)})))()},returnToProjListPage:function(){this.isDistworkDone&&this.isDistworkSuccess&&this.$notify({message:"工作指派完成。",type:["success"]}),this.$router.push({path:"/index"}).catch((function(e){return console.log(e)}))},projInfo:function(e){var t=this;return Object(c["a"])(regeneratorRuntime.mark((function r(){var s;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,h["c"](e);case 2:if(s=r.sent,-1!=s.Code){r.next=6;break}return t.$notify({type:["error"],message:"项目概况信息查询失败"}),r.abrupt("return");case 6:t.nowProject=s.Data||{},t.nowProject.ProjCreateTime=B()(t.nowProject.ProjCreateTime).format("YYYY/MM/DD"),t.nowProject=Object(he["a"])({},t.nowProject),t.listProjProp=s.Data.CustomProps||[],t.listProjProp=Object(ue["a"])(t.listProjProp),t.originPropListCopy=Object(W["cloneDeep"])(t.listProjProp),t.coverSrc=s.Data.ShowImgUrl;case 13:case"end":return r.stop()}}),r)})))()},renameProjectName:function(){var e=this;return Object(c["a"])(regeneratorRuntime.mark((function t(){var r,s,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e.editingProjectName,s={ProjId:e.projectId,ProjName:r,ImgUrl:e.coverSrc},t.next=4,Object(h["b"])(s);case 4:if(i=t.sent,-1!=i.Code){t.next=8;break}return e.$notify({message:"修改失败",type:"success"}),t.abrupt("return");case 8:e.projectNameEditFlag=!1,e.nowProject.ProjName=r;case 10:case"end":return t.stop()}}),t)})))()},coverUploadSuccess:function(e){var t=this;return Object(c["a"])(regeneratorRuntime.mark((function r(){var s,i,n;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return s=Object(ee["c"])(e.ossUrl),t.coverSrc=s,i={ProjId:t.projectId,ImgUrl:t.coverSrc,ProjName:t.nowProject.ProjName},r.next=5,Object(h["b"])(i);case 5:n=r.sent,-1==n.Code&&t.$notify({message:"封面修改失败。",type:"success"});case 7:case"end":return r.stop()}}),r)})))()},showProjDetailClick:function(){this.isShowDistWorkPage=!1,this.isShowStartProjDesc=!0},setFirstPeopleToManager:function(e){0==this.selectedManageUser.length&&0!==this.selectedUser.length&&this.selectedManageUser.push(e)},filterManageFromListUser:function(e,t){return t.filter((function(t){return t.id!==e}))},watchProjDescScroll:function(){this.isProjDescScroll=this.projDescEl.scrollTop>0},watchTemplateDescScroll:function(){this.isTemplateDescScroll=this.templateDescEl.scrollTop>0},watchDistWorkPartScroll:function(){this.isDistWorkPartScroll=this.distWorkPartEl.scrollTop>0},activeManagerClick:function(){this.isProjCreator&&(this.isEditProjManager=!0,this.enterEditOperate(),this.activeFolderId="",this.activeFolder=null,this.addProjManager())},activeFolderClick:function(e){this.isEditProjManager=!1,this.activeFolderId=e.id,this.activeFolder=e,e.listUser&&0==e.listUser.length?this.aloneAddUserForFolder(e):this.aloneAddUserOnlyStaff(e)},enterEditFolderClick:function(e){this.activeFolderId=e.id,this.activeFolder=e,this.enterEditOperate()},enterEditOperate:function(){this.isEnterEdit=!0},finishEditClick:function(){this.isDistworkDone=!0,this.isEnterEdit=!1,this.selectedManageUser=[],this.selectedUser=[],this.isEditProjManager&&(this.isEditProjManager=!1),this.createFolders(),this.activeDeptName=""},addProjMangerBtnClick:function(){this.isEditProjManager=!0,this.enterEditOperate()},isAllowedDelete:function(e){return!(!this.listManagerUser.includes(e)&&this.currUser.id!==e.id&&this.InitData.manageUser&&this.InitData.manageUser.length>0&&this.InitData.manageUser[0].id==sessionStorage.userId&&!this.allChildrenLists.includes(this.InitData)&&e.id==this.InitData.manageUser[0].id)},changeManagerClick:function(e){var t=this;if(this.isEditProjManager)this.$notify({message:"项目负责人无法更换。",type:"warning",offset:100,duration:5e3});else{var r=this.listManagerUser.map((function(e){return e.id}))||[];!r.includes(sessionStorage.userId)&&this.currUser.id!==sessionStorage.userId&&this.InitData.manageUser&&this.InitData.manageUser.length>0&&this.InitData.manageUser[0].id==sessionStorage.userId&&!this.allChildrenLists.includes(this.InitData)?this.$notify({message:"没有权限更换工作负责人。",type:"warning",offset:100,duration:5e3}):this.selectedUser.forEach((function(r){r.folderPerm=r.id===e.id?2:1,2===r.folderPerm&&t.InitData&&t.InitData.manageUser&&t.InitData.manageUser.splice(0,1,r)}))}},aloneAddUserForFolder:function(e){this.currSelectData=e,this.currWorkName=e.folderName,null==e.listUser&&(e.listUser=[]),this.InitData=e,this.setFolderPerm(e),this.selectedUser=e.listUser,this.selectedManageUser=e.manageUser,this.isShowSecondPage=!0,this.isShowFirstPage=!1},setFolderPerm:function(e){var t=e.listUser;this.selectedMemberKeys=t.map((function(e){return e.id}))},aloneAddUserOnlyStaff:function(e){this.isShowManager=!0,this.currWorkName=e.folderName,null==e.listUser&&(e.listUser=[]),this.InitData=e,this.setFolderPerm(e),this.selectedUser=e.listUser,this.selectedManageUser=e.manageUser,this.isShowThreePage=!0,this.isShowFirstPage=!1},addProjManager:function(){var e=this;this.activeFolderId="",this.isEditProjManager=!0,this.enterEditOperate(),this.isShowManager=!1;var t={listUser:[]};t.listUser=this.listManagerUser;var r=t.listUser.find((function(t){return t.id===e.currUser.id}));r&&0!=t.listUser.length||(this.currUser.folderPerm=2,t.listUser.unshift(this.currUser)),this.setFolderPerm(t),this.selectedUser=t.listUser,this.selectedManageUser=this.listManagerUser},onSelectMembers:function(e,t){var r=this,s=Object(ue["a"])(this.selectedMemberKeys);e.forEach((function(e){var i=Object(W["cloneDeep"])(e.data),n=function(){r.checkDeptUserName(i,t),i.folderPerm=1,1==r.selectedUser.length&&1==t&&(i.folderPerm=2)};if(t){if(s.find((function(t){return t===e.id})))return;return s.push(e.id),void n()}if(r.isAllowedDelete(i))if(r.isEditProjManager&&i.id===r.currUser.id)r.$notify({message:"不可以移除项目创建者。",type:"warning",offset:100,duration:5e3});else{if(s=s.filter((function(e){return i.id!==e})),r.activeFolder&&r.activeFolder.manageUser.find((function(e){return e.id===i.id})))return r.removeManageUser(i),void r.activeFolder.manageUser.splice(0);if(r.isEditProjManager){var o=r.listManagerUser.findIndex((function(e){return e.id===i.id}));o>-1&&r.listManagerUser.splice(o,1)}n()}else r.$notify({message:"不能移除自己。",type:"warning",offset:100,duration:5e3})})),this.selectedMemberKeys=s},removeManageUser:function(e){e.folderPerm=1,this.selectedManageUser.splice(0,1);for(var t=0;t0&&(e.manageUser[0].folderPerm=2,e.listUser.unshift(e.manageUser[0])),e.listChildren&&e.listChildren.length>0&&t.getfolderPerm(e.listChildren)}))},getPlainOldFolderList:function(){var e=[];function t(r){r.length>0&&r.forEach((function(r){e.push(r),r.listChildren&&r.listChildren.length>0&&t(r.listChildren)}))}t(this.oldFolderList),this.oldPlainFolderList=e,this.lastFolderId=this.oldPlainFolderList[this.oldPlainFolderList.length-1].id},fetchProjectDetail:function(){var e=this;return Object(c["a"])(regeneratorRuntime.mark((function t(){var r,s,i,n,o,c,l,d,u,h,p,m;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e.$store.state.currentCompanyId,t.next=3,Promise.all([e.$fetchApi("folder/queryNodeFolderListByProjectId",{projectId:e.projectId}),Object(je["a"])(r)]);case 3:s=t.sent,i=Object(a["a"])(s,2),n=i[0],o=i[1],c=o.treeList,l=o.memberMap,d=n.Data||{},u=d.folder,h=d.manager,e.memberTree=c,e.listManagerUser=h.map((function(e){var t;return null===(t=l[e.UserId])||void 0===t?void 0:t.data})),e.listManagerUser.length&&(e.currUser=e.listManagerUser[0]||{},e.isProjCreator=e.currUser.id===e.userId,e.listManagerUser=e.listManagerUser.slice(1),e.isProjManager=!!e.listManagerUser.find((function(t){return t.id==e.userId}))||e.currUser.id==e.userId),e.oldListManagerUser=Object(W["cloneDeep"])(e.listManagerUser),p=Object(W["uniqBy"])(u,"Id"),m=Ce(p,l),e.treeNode=be(p),e.getfolderPerm(m),e.listNewFolder=m,e.oldFolderList=Object(W["cloneDeep"])(e.listNewFolder),e.getPlainOldFolderList(),e.getAllChildrenLists(e.listNewFolder,e.userId,e.allChildrenLists);case 22:case"end":return t.stop()}}),t)})))()},getChildren:function(e,t){var r=this;e.forEach((function(e){t.push(e),e.listChildren.length>0&&r.getChildren(e.listChildren,t)}))},getAllChildrenLists:function(e,t,r){var s=this;e.forEach((function(e){e.manageUser.length>0&&e.manageUser[0].id==t&&e.listChildren&&e.listChildren.length>0&&s.getChildren(e.listChildren,r)}))},createFolders:function(){var e=this;return Object(c["a"])(regeneratorRuntime.mark((function t(){var r,s,i,n,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=function(e){e.length>0&&e.forEach((function(e){var t={FolderId:"",ManagerUserId:"",GeneralId:"",OldManager:"",OldGeneralId:""};t.FolderId=e.id;var n=[];t.ManagerUserId=e.manageUser.length>0?e.manageUser.map((function(e){return n.push(e.id),e.id})).join(","):"";var o=e.listUser.filter((function(e){return!n.includes(e.id)}));t.GeneralId=e.listUser.length>0?o.map((function(e){return e.id})).join(","):"";var a=s.find((function(t){return t.id==e.id})),c=a.manageUser.length>0?a.manageUser[0].id:"";t.OldManager=c,t.OldGeneralId=a.listUser.length>0?a.listUser.filter((function(e){return e.id!==c})).map((function(e){return e.id})).join(","):"",r.Work.push(t),i(e.listChildren)}))},r={Id:sessionStorage.createUserID,ProjId:e.projectId,ProjectManagerId:"",OldProjectManagerId:e.oldListManagerUser.map((function(e){return e.id})).join(","),Work:[]},r.ProjectManagerId=e.listManagerUser.length>0?e.listManagerUser.map((function(e){if(e.id!==sessionStorage.createUserID)return e.id})).join(","):"",s=e.oldPlainFolderList,i(e.listNewFolder),t.next=7,Object(h["a"])(r);case 7:n=t.sent,o=e,0===n.Code?(e.isDistworkSuccess=!0,e.oldFolderList=Object(W["cloneDeep"])(e.listNewFolder),e.getPlainOldFolderList()):(e.isDistworkSuccess=!1,o.$notify({message:"服务器异常,工作指派失败。",type:["error"],duration:5e3}));case 10:case"end":return t.stop()}}),t)})))()}}};function Ce(e,t){var r=Object(de["a"])(e),s=r[0],i=(r[1],r.slice(2)),n=s.Id,o=[],a={};return i.forEach((function(e){var r=Object(E["b"])(e);a[r.id]=r,r.listChildren=[],r.listUser=r.oldGeneralId.split(",").filter((function(e){return e&&t[e]})).map((function(e){return Object(he["a"])({},t[e].data)})),r.manageUser=("0"===r.oldManager?"":r.oldManager).split(",").filter((function(e){return e&&t[e]})).map((function(e){return Object(he["a"])({},t[e].data)}));var s=r.superId;if(s!==n){var i=a[s];i&&i.listChildren.push(r)}else o.push(r)})),o}function be(e){var t=null,r={};return e.forEach((function(e){if("0"!==e.NodeId){var s=e.LevelId,i={id:e.Id,levelId:s,topic:e.FolderName};if(r[i.levelId]=i,i.levelId===e.FirstFolderId)return t=i,void(t.levelId=t.id);var n=e.LevelId.split("_").slice(0,-1).join("_"),o=r[n];o&&(o.children||(o.children=[]),o.children.push(i))}})),t}var Se=we,ke=(r("4302"),r("a6fd"),Object(j["a"])(Se,ce,le,!1,null,"1d550f0c",null)),Ie=ke.exports,Ee={components:{CreateProjectForm:ae,EditProjectForm:Ie},props:{visible:Boolean,projectId:String},data:function(){return{innerVisible:this.visible,delayVisible:this.visible}},watch:{innerVisible:function(e){var t=this;this.$emit("update:visible",e),e?this.delayVisible=!0:setTimeout((function(){t.delayVisible=!1}),300)},visible:function(e){this.innerVisible=e}},methods:{onProjectCreate:function(){for(var e=arguments.length,t=new Array(e),r=0;r-1,r&&(t=t.replace(/y/g,"")));var a=o(b?new j(e,t):j(e,t),s?this:P,I);return S&&r&&m(a,{sticky:r}),a},E=function(e){e in I||a(I,e,{configurable:!0,get:function(){return j[e]},set:function(t){j[e]=t}})},D=c(j),y=0;while(D.length>y)E(D[y++]);P.constructor=I,I.prototype=P,h(i,"RegExp",I)}f("RegExp")},"4e7c":function(e,t,r){"use strict";var s=r("cd73"),i=r.n(s);i.a},"574e":function(e,t,r){"use strict";var s=r("d8b5"),i=r.n(s);i.a},"5a635":function(e,t,r){},"5eac":function(e,t,r){},"61b3":function(e,t,r){},"6cc4":function(e,t,r){"use strict";var s=r("b8ea"),i=r.n(s);i.a},"6fb6":function(e,t,r){"use strict";var s=r("2d06"),i=r.n(s);i.a},"719f":function(e,t,r){"use strict";var s=r("8098"),i=r.n(s);i.a},"73d8":function(e,t,r){},8098:function(e,t,r){},"841c":function(e,t,r){"use strict";var s=r("d784"),i=r("825a"),n=r("1d80"),o=r("129f"),a=r("14c3");s("search",1,(function(e,t,r){return[function(t){var r=n(this),s=void 0==t?void 0:t[e];return void 0!==s?s.call(t,r):new RegExp(t)[e](String(r))},function(e){var s=r(t,e,this);if(s.done)return s.value;var n=i(e),c=String(this),l=n.lastIndex;o(l,0)||(n.lastIndex=0);var d=a(n,c);return o(n.lastIndex,l)||(n.lastIndex=l),null===d?-1:d.index}]}))},8715:function(e,t,r){"use strict";var s=r("61b3"),i=r.n(s);i.a},"8f4e":function(e,t,r){},"8fe1":function(e,t,r){},"9ac3":function(e,t,r){"use strict";var s=r("0371"),i=r.n(s);i.a},a675:function(e,t,r){},a6fd:function(e,t,r){"use strict";var s=r("c9d5"),i=r.n(s);i.a},a70e:function(e,t,r){"use strict";var s=r("0529"),i=r.n(s);i.a},b582:function(e,t,r){},b8ea:function(e,t,r){},c1eb:function(e,t,r){"use strict";var s=r("42ef"),i=r.n(s);i.a},c9d5:function(e,t,r){},cd73:function(e,t,r){},d3bf:function(e,t,r){"use strict";var s=r("5a635"),i=r.n(s);i.a},d8b5:function(e,t,r){},f249:function(e,t,r){"use strict";var s=r("4220"),i=r.n(s);i.a},fdde5:function(e,t,r){"use strict";var s=r("8fe1"),i=r.n(s);i.a}}]);
\ No newline at end of file
diff --git a/dist/static/js/chunk-a2202954.d29058b5.js b/dist/static/js/chunk-a2202954.d29058b5.js
deleted file mode 100644
index 89d3517f..00000000
--- a/dist/static/js/chunk-a2202954.d29058b5.js
+++ /dev/null
@@ -1 +0,0 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a2202954","chunk-2d0d2af5"],{"1b32":function(e,t,n){},"5a0c":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e="millisecond",t="second",n="minute",a="hour",r="day",i="week",o="month",s="quarter",c="year",d="date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,u=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m=function(e,t,n){var a=String(e);return!a||a.length>=t?e:""+Array(t+1-a.length).join(n)+e},p={s:m,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),a=Math.floor(n/60),r=n%60;return(t<=0?"+":"-")+m(a,2,"0")+":"+m(r,2,"0")},m:function e(t,n){if(t.date()3&&void 0!==arguments[3]?arguments[3]:{},r=arguments.length>4?arguments[4]:void 0,i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return{id:t,label:n,topNodeId:r,nodeType:e,isLeaf:i,disabled:o,data:a}}var P=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"company-node-view"},[n("card-header",{staticClass:"company-node-view-header",scopedSlots:e._u([{key:"title",fn:function(){return[e._v(e._s(e.node.label))]},proxy:!0},{key:"right",fn:function(){return[e.editing?e._e():n("el-dropdown",{attrs:{trigger:"click"}},[n("el-button",{attrs:{size:"small"}},[e._v("企业管理")]),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("el-dropdown-item",[n("span",{staticClass:"dropdown-button",on:{click:function(t){t.stopPropagation(),e.editing=!0}}},[e._v("编辑")])]),n("el-dropdown-item",[n("span",{staticClass:"dropdown-button",on:{click:function(t){return t.stopPropagation(),e.toggleState(t)}}},[e._v(e._s(0==e.nodeDetailFormData.disable?"禁用":"启用"))])]),n("el-dropdown-item",[n("span",{staticClass:"dropdown-button danger_button",on:{click:function(t){return t.stopPropagation(),e.deleteCompany(t)}}},[e._v("删除")])])],1)],1),e.editing?[n("el-button",{attrs:{size:"small"},on:{click:function(t){t.stopPropagation(),e.editing=!1}}},[e._v("取消")]),n("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){t.stopPropagation(),e.node.id?e.updateCompanyInfo():e.createCompany()}}},[e._v("保存")])]:e._e()]},proxy:!0}])}),n("div",{staticClass:"company-node-view-body"},[n("el-form",{ref:"form",attrs:{model:e.nodeDetailFormData,rules:e.companyRules,"show-message":e.editing,"hide-required-asterisk":!e.editing,"label-position":"left","label-width":"100px"}},[n("div",{staticClass:"form-subtitle"},[e._v("企业信息")]),n("div",{staticClass:"yiyunTable_list_item"},[n("div",{class:e.el_formLabelcolor+" UserEditinfoBox DivInputHeight"},[n("div",{staticClass:"node-form-field"},[n("el-form-item",{attrs:{label:"企业简称:",prop:"companyName"}},[0==e.editing?n("div",[e._v(e._s(e.nodeDetailFormData.companyName))]):e._e(),1==e.editing?n("div",{staticClass:"boolEdit_Input"},[n("el-input",{model:{value:e.nodeDetailFormData.companyName,callback:function(t){e.$set(e.nodeDetailFormData,"companyName",t)},expression:"nodeDetailFormData.companyName"}})],1):e._e()])],1),n("div",{staticClass:"node-form-field"},[n("el-form-item",{attrs:{label:"企业全称:",prop:"compAllName"}},[0==e.editing?n("div",[e._v(e._s(e.nodeDetailFormData.compAllName))]):e._e(),1==e.editing?n("div",{staticClass:"boolEdit_Input"},[n("el-input",{model:{value:e.nodeDetailFormData.compAllName,callback:function(t){e.$set(e.nodeDetailFormData,"compAllName",t)},expression:"nodeDetailFormData.compAllName"}})],1):e._e()])],1),n("div",{staticClass:"node-form-field"},[n("el-form-item",{attrs:{label:"所属省份:",prop:"proviceName"}},[0==e.editing?n("div",[e._v(e._s(e.nodeDetailFormData.proviceName))]):e._e(),1==e.editing?n("div",{staticClass:"boolEdit_Input"},[n("el-select",{attrs:{placeholder:"请选择"},model:{value:e.nodeDetailFormData.proviceID,callback:function(t){e.$set(e.nodeDetailFormData,"proviceID",t)},expression:"nodeDetailFormData.proviceID"}},e._l(e.proviceOptions,(function(e){return n("el-option",{key:e.id,attrs:{label:e.label,value:e.id}})})),1)],1):e._e()])],1),n("div",{staticClass:"node-form-field"},[n("el-form-item",{attrs:{label:"地址:"}},[0==e.editing?n("div",[e._v(e._s(e.nodeDetailFormData.address))]):e._e(),1==e.editing?n("div",{staticClass:"boolEdit_Input"},[n("el-input",{model:{value:e.nodeDetailFormData.address,callback:function(t){e.$set(e.nodeDetailFormData,"address",t)},expression:"nodeDetailFormData.address"}})],1):e._e()])],1),n("div",{staticClass:"node-form-field"},[n("el-form-item",{attrs:{label:"所属行业:",prop:"industryName"}},[0==e.editing?n("div",[e._v(e._s(e.nodeDetailFormData.industryName))]):e._e(),1==e.editing?n("div",{staticClass:"boolEdit_Input"},[n("el-select",{attrs:{placeholder:"请选择"},model:{value:e.nodeDetailFormData.industryID,callback:function(t){e.$set(e.nodeDetailFormData,"industryID",t)},expression:"nodeDetailFormData.industryID"}},e._l(e.industryOptions,(function(e){return n("el-option",{key:e.industryID,attrs:{label:e.name,value:e.industryID}})})),1)],1):e._e()])],1),n("div",{staticClass:"node-form-field"},[n("el-form-item",{attrs:{label:"单位电话:",prop:"telphone"}},[0==e.editing?n("div",[e._v(e._s(e.nodeDetailFormData.telphone))]):e._e(),1==e.editing?n("div",{staticClass:"boolEdit_Input"},[n("el-input",{model:{value:e.nodeDetailFormData.telphone,callback:function(t){e.$set(e.nodeDetailFormData,"telphone",t)},expression:"nodeDetailFormData.telphone"}})],1):e._e()])],1),n("div",{staticClass:"node-form-field"},[n("el-form-item",{attrs:{label:"法人:",prop:"cnName"}},[0==e.editing?n("div",[e._v(e._s(e.nodeDetailFormData.cnName))]):e._e(),1==e.editing?n("div",{staticClass:"boolEdit_Input"},[n("el-input",{model:{value:e.nodeDetailFormData.cnName,callback:function(t){e.$set(e.nodeDetailFormData,"cnName",t)},expression:"nodeDetailFormData.cnName"}})],1):e._e()])],1),n("div",{staticClass:"node-form-field"},[n("el-form-item",{attrs:{label:"性别:",prop:"sex"}},[0==e.editing?n("div",[1==e.nodeDetailFormData.sex?n("div",[e._v("帅哥")]):e._e(),0==e.nodeDetailFormData.sex?n("div",[e._v("美女")]):e._e()]):e._e(),1==e.editing?n("div",{staticClass:"boolEdit_Input"},[n("el-radio-group",{model:{value:e.nodeDetailFormData.sex,callback:function(t){e.$set(e.nodeDetailFormData,"sex",t)},expression:"nodeDetailFormData.sex"}},[n("el-radio",{attrs:{label:1}},[e._v("男")]),n("el-radio",{attrs:{label:0}},[e._v("女")])],1)],1):e._e()])],1),n("div",{staticClass:"node-form-field"},[n("el-form-item",{attrs:{label:"手机号:",prop:"phone"}},[0==e.editing?n("div",[e._v(e._s(e.nodeDetailFormData.phone))]):e._e(),1==e.editing?n("div",{staticClass:"boolEdit_Input"},[n("el-input",{attrs:{disabled:!!e.nodeDetailFormData.companyID},model:{value:e.nodeDetailFormData.phone,callback:function(t){e.$set(e.nodeDetailFormData,"phone",t)},expression:"nodeDetailFormData.phone"}})],1):e._e()])],1),n("div",{staticClass:"node-form-field"},[n("el-form-item",{attrs:{label:"邮箱:",prop:"email"}},[0==e.editing?n("div",[e._v(e._s(e.nodeDetailFormData.email))]):e._e(),1==e.editing?n("div",{staticClass:"boolEdit_Input"},[n("el-input",{model:{value:e.nodeDetailFormData.email,callback:function(t){e.$set(e.nodeDetailFormData,"email",t)},expression:"nodeDetailFormData.email"}})],1):e._e()])],1),n("div",{staticClass:"node-form-field"},[n("el-form-item",{attrs:{label:"税号:"}},[0==e.editing?n("div",[e._v(e._s(e.nodeDetailFormData.dutyParagraph))]):e._e(),1==e.editing?n("div",{staticClass:"boolEdit_Input"},[n("el-input",{model:{value:e.nodeDetailFormData.dutyParagraph,callback:function(t){e.$set(e.nodeDetailFormData,"dutyParagraph",t)},expression:"nodeDetailFormData.dutyParagraph"}})],1):e._e()])],1),n("div",{staticClass:"clear"}),n("div",{staticClass:"node-form-field"},[n("el-form-item",{attrs:{label:"存储API:",prop:"ipfsApi"}},[0==e.editing?n("div",[e._v(e._s(e.nodeDetailFormData.ipfsApi))]):e._e(),1==e.editing?n("div",{staticClass:"boolEdit_Input"},[n("el-input",{model:{value:e.nodeDetailFormData.ipfsApi,callback:function(t){e.$set(e.nodeDetailFormData,"ipfsApi",t)},expression:"nodeDetailFormData.ipfsApi"}})],1):e._e()])],1),n("div",{staticClass:"node-form-field"},[n("el-form-item",{attrs:{label:"存储节点:",prop:"ipfsBootstrap"}},[0==e.editing?n("div",[e._v(e._s(e.nodeDetailFormData.ipfsBootstrap))]):e._e(),1==e.editing?n("div",{staticClass:"boolEdit_Input"},[n("el-input",{model:{value:e.nodeDetailFormData.ipfsBootstrap,callback:function(t){e.$set(e.nodeDetailFormData,"ipfsBootstrap",t)},expression:"nodeDetailFormData.ipfsBootstrap"}})],1):e._e()])],1),n("div",{staticClass:"node-form-field"},[n("el-form-item",{attrs:{label:"开户行:"}},[0==e.editing?n("div",[e._v(e._s(e.nodeDetailFormData.openingBank))]):e._e(),1==e.editing?n("div",{staticClass:"boolEdit_Input"},[n("el-input",{model:{value:e.nodeDetailFormData.openingBank,callback:function(t){e.$set(e.nodeDetailFormData,"openingBank",t)},expression:"nodeDetailFormData.openingBank"}})],1):e._e()])],1),n("div",{staticClass:"node-form-field"},[n("el-form-item",{attrs:{label:"银行账号:"}},[0==e.editing?n("div",[e._v(e._s(e.nodeDetailFormData.bankAccount))]):e._e(),1==e.editing?n("div",{staticClass:"boolEdit_Input"},[n("el-input",{model:{value:e.nodeDetailFormData.bankAccount,callback:function(t){e.$set(e.nodeDetailFormData,"bankAccount",t)},expression:"nodeDetailFormData.bankAccount"}})],1):e._e()])],1),0==e.editing?n("div",{staticClass:"node-form-field"},[n("el-form-item",{attrs:{label:"企业成员:"}},[n("div",[e._v(e._s(e.nodeDetailFormData.userCount)+"人")])])],1):e._e(),0==e.editing?n("div",{staticClass:"node-form-field"},[n("el-form-item",{attrs:{label:"企业部门:"}},[n("div",[e._v(e._s(e.nodeDetailFormData.deptCount)+"个")])])],1):e._e(),0==e.editing?n("div",{staticClass:"node-form-field"},[n("el-form-item",{attrs:{label:"创建时间:"}},[n("div",[e._v(e._s(e.nodeDetailFormData.strCreateTime))])])],1):e._e()])])]),!e.editing&&e.node.id?n("div",{staticClass:"company-access"},[n("div",{staticClass:"form-subtitle"},[e._v(e._s(e.isServiceProvider?"平台权限":"服务商权限"))]),e.isServiceProvider?e._e():n("div",{staticClass:"node-form-field"},[n("span",[e._v("允许成为服务商")]),n("el-switch",{attrs:{value:e.isServiceProvider},on:{change:function(t){return e.toggleAccess("serviceProviderStatus")}}})],1),e.isServiceProvider?n("div",{staticClass:"node-form-field"},[n("span",[e._v("允许访问模板控制台")]),n("el-switch",{attrs:{value:e.canAccessTemplateConsole},on:{change:function(t){return e.toggleAccess("templateConsoleStatus")}}})],1):e._e(),e.isServiceProvider?n("div",{staticClass:"node-form-field"},[n("span",[e._v("允许代理模板")]),n("el-switch",{attrs:{value:e.canAccessTemplateProxy},on:{change:function(t){return e.toggleAccess("templateProxyStatus")}}})],1):e._e()]):e._e()],1)],1)},A=[],M=(n("7db0"),n("3835")),T=n("5530"),B={companyName:[{required:!0,message:"请输入企业简称",trigger:["blur","change"]}],compAllName:[{required:!0,message:"请输入企业全称",trigger:["blur","change"]}],proviceName:[{required:!0,message:"请选择所属省份",trigger:"change"}],industryName:[{required:!0,message:"请选择所属行业",trigger:"change"}],telphone:[{required:!0,message:"请输入单位电话",trigger:["blur","change"]}],cnName:[{required:!0,message:"请输入法人",trigger:["blur","change"]}],sex:[{required:!0,message:"请选择性别",trigger:"change"}],phone:[{required:!0,message:"请输入手机号",trigger:["blur","change"]}],email:[{required:!0,message:"请输入邮箱",trigger:["blur","change"]}],ipfsApi:[{max:64,required:!0,message:"请输入64个字数之内的任意字符串",trigger:["blur","change"]}],ipfsBootstrap:[{max:1024,required:!0,message:"请输入1024个字数之内的任意字符串",trigger:["blur","change"]}]},j={components:{CardHeader:p["a"]},props:{node:{type:Object,default:function(){return{}}}},data:function(){return{editing:!this.node.id,companyRules:B,nodeDetailFormData:{},industryOptions:[],proviceOptions:[],nodeDetailData:{}}},computed:{el_formLabelcolor:function(){return this.editing?"textlabelblock":"textlabelgray"},selectedIndustyId:function(){return this.nodeDetailFormData.industryID},selectProvinceId:function(){return this.nodeDetailFormData.proviceID},isServiceProvider:function(){return 1===this.nodeDetailData.serviceProviderStatus},canAccessTemplateConsole:function(){return 1===this.nodeDetailData.templateConsoleStatus},canAccessTemplateProxy:function(){return 1===this.nodeDetailData.templateProxyStatus}},watch:{editing:function(e){if(!e){if(!this.node.id)return void this.$emit("reload");this.nodeDetailFormData=Object(T["a"])({},this.nodeDetailData)}},node:function(e){this.nodeDetailFormData={},this.nodeDetailData={},e&&e.id?(this.editing=!1,this.loadCompanyInfo(e.id)):this.editing=!0},selectedIndustyId:function(e){var t=this,n=this.industryOptions.find((function(e){return e.industryID===t.nodeDetailFormData.industryID}));n&&(this.nodeDetailFormData.industryName=n.name)},selectProvinceId:function(){var e=this,t=this.proviceOptions.find((function(t){return t.id===e.nodeDetailFormData.proviceID}));t&&(this.nodeDetailFormData.proviceName=t.label)}},mounted:function(){this.loadIndustury(),this.loadProvinces(),this.node&&this.node.id&&this.loadCompanyInfo(this.node.id)},methods:{loadIndustury:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$fetchApi("industry/queryAllIndustry");case 2:n=t.sent,a=(n.Data||[]).map((function(e){return{industryID:e.Id,name:e.Name}})),e.industryOptions=a;case 5:case"end":return t.stop()}}),t)})))()},loadProvinces:function(){var e=this;return Object(i["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,e.$fetchApi("provice/queryAllProvice");case 2:n=t.sent,e.proviceOptions=(n.Data||[]).map((function(e){return{id:e.Id,label:e.ProviceName}}));case 4:case"end":return t.stop()}}),t)})))()},loadCompanyInfo:function(e){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function n(){var a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,_(e);case 2:a=n.sent,t.nodeDetailData=a,t.nodeDetailFormData=Object(T["a"])({},t.nodeDetailData);case 5:case"end":return n.stop()}}),n)})))()},updateCompanyInfo:function(){var e=this;this.$refs["form"].validate(function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(n){var a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n){t.next=2;break}return t.abrupt("return");case 2:return e.nodeDetailFormData.modifyUserID=sessionStorage.userId,t.next=5,$(e.nodeDetailFormData);case 5:if(a=t.sent,r=0===a.Code,r){t.next=10;break}return e.$notify({message:a.Msg,type:["warning"]}),t.abrupt("return");case 10:e.$notify({message:"企业“".concat(e.nodeDetailFormData.companyName,"”已完成修改。"),type:["success"],duration:2500}),e.loadCompanyInfo(),e.nodeDetailData=Object(T["a"])({},e.nodeDetailFormData),e.editing=!1;case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},createCompany:function(){var e=this;this.$refs["form"].validate(function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(n){var a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n){t.next=2;break}return t.abrupt("return");case 2:return e.nodeDetailFormData.createUserID=sessionStorage.userId,e.nodeDetailFormData.modifyUserID=sessionStorage.userId,t.next=6,w(e.nodeDetailFormData);case 6:if(a=t.sent,r=0===a.Code,r){t.next=11;break}return e.$notify({type:"error",message:a.Msg,offset:100,duration:5e3}),t.abrupt("return");case 11:e.$notify({message:"企业“".concat(e.nodeDetailFormData.companyName,"”已完成添加。"),type:["success"],duration:2500}),e.$emit("reload");case 13:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},toggleState:function(){var e=this,t=0==this.nodeDetailFormData.disable?1:0,n=this,a="",r="warning";0==t?a="启用":(a="禁用",r="error"),this.$confirm("".concat(a,"的企业将").concat("禁用"==a?"无法":"有权","访问LOCKING, 确定").concat(a,"企业“").concat(this.nodeDetailFormData.companyName,"”吗?"),"",{confirmButtonText:"确定",cancelButtonText:"取消",type:r}).then(Object(i["a"])(regeneratorRuntime.mark((function r(){var i,o;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return e.nodeDetailFormData.modifyUserID=sessionStorage.userId,e.nodeDetailFormData.disable=t,r.next=4,N(e.nodeDetailFormData.companyID,t);case 4:if(i=r.sent,o=0===i.Code,o){r.next=9;break}return n.$notify({type:"error",message:i.Msg,offset:100,duration:5e3}),r.abrupt("return");case 9:n.$notify({message:"企业“".concat(e.nodeDetailFormData.companyName,"”已").concat(a,"。"),type:["success"],duration:2500});case 10:case"end":return r.stop()}}),r)})))).catch((function(){}))},deleteCompany:function(){var e=this;this.$confirm("确定删除企业“".concat(this.nodeDetailFormData.companyName,"”吗?"),"",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(i["a"])(regeneratorRuntime.mark((function t(){var n,a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.nodeDetailFormData.companyID,t.next=3,e.$fetchApi("company/deleteCompanyById",{id:n});case 3:a=t.sent,r=0===a.Code,r?(e.$notify({message:"企业“".concat(e.nodeDetailFormData.companyName,"”已删除。"),type:["success"],duration:2500}),e.$emit("reload")):e.$notify({type:"error",message:a.Data,offset:100,duration:5e3});case 6:case"end":return t.stop()}}),t)})))).catch((function(){}))},toggleAccess:function(e){var t=this,n=!this.nodeDetailFormData[e],a=function(){return"serviceProviderStatus"===e?["允许成为服务商","取消服务商资质"]:"templateConsoleStatus"===e?["允许访问模板控制台","取消模板控台的访问权限"]:"templateProxyStatus"===e?["允许代理模板","取消代理模板的权限"]:[]}(),r=Object(M["a"])(a,2),o=r[0],s=r[1];this.$confirm("确认".concat(n?o:s,"?"),"",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(i["a"])(regeneratorRuntime.mark((function a(){var r,i;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return t.nodeDetailFormData.modifyUserID=sessionStorage.userId,t.nodeDetailFormData[e]=n?1:0,a.next=4,$(t.nodeDetailFormData);case 4:if(r=a.sent,i=0===r.Code,i){a.next=9;break}return t.$notify({message:r.Msg,type:["warning"]}),a.abrupt("return");case 9:t.$notify({message:"变更成功。",type:["success"],duration:2500}),t.nodeDetailData=Object(T["a"])({},t.nodeDetailFormData);case 11:case"end":return a.stop()}}),a)}))))}}},R=j,L=(n("63f0"),Object(l["a"])(R,P,A,!1,null,"4b5641ed",null)),U=L.exports,E={components:{SideTree:m,CardHeader:p["a"],CompanyDetail:U},data:function(){return{listViewType:"all",treeNodeList:[],selectedNode:null,overallsituation:{}}},mounted:function(){this.loadSysinfo(),this.listCompany()},watch:{treeNodeList:function(e){e&&e.length&&(this.selectedNode=e[0])}},methods:{loadSysinfo:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$fetchApi("company/queryGeneralOverview");case 2:n=t.sent,a=n.Data||{},e.overallsituation={companyCount:a.companyNum,userCount:a.userNum};case 5:case"end":return t.stop()}}),t)})))()},listCompany:function(){var e=this;return Object(i["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,D();case 2:n=t.sent,e.treeNodeList=[{label:"总体概况",id:"default",data:{}}].concat(n),e.listViewType="all";case 5:case"end":return t.stop()}}),t)})))()},treeNodeClick:function(e){this.selectedNode=e}}},q=E,H=(n("716d"),Object(l["a"])(q,a,r,!1,null,"bc486146",null));t["default"]=H.exports},fdc5:function(e,t,n){"use strict";var a=n("e668"),r=n.n(a);r.a}}]);
\ No newline at end of file
diff --git a/dist/static/js/chunk-c54a701e.63973fa9.js b/dist/static/js/chunk-c54a701e.babe3268.js
similarity index 100%
rename from dist/static/js/chunk-c54a701e.63973fa9.js
rename to dist/static/js/chunk-c54a701e.babe3268.js
diff --git a/dist/static/js/chunk-d1bd5818.86cf742d.js b/dist/static/js/chunk-d1bd5818.21b3018e.js
similarity index 100%
rename from dist/static/js/chunk-d1bd5818.86cf742d.js
rename to dist/static/js/chunk-d1bd5818.21b3018e.js
diff --git a/dist/static/js/chunk-d4bc3576.5b175207.js b/dist/static/js/chunk-d4bc3576.ff37e6fe.js
similarity index 100%
rename from dist/static/js/chunk-d4bc3576.5b175207.js
rename to dist/static/js/chunk-d4bc3576.ff37e6fe.js
diff --git a/dist/static/js/chunk-d4e6d2d8.b16fd15c.js b/dist/static/js/chunk-d4e6d2d8.60a6ee0d.js
similarity index 100%
rename from dist/static/js/chunk-d4e6d2d8.b16fd15c.js
rename to dist/static/js/chunk-d4e6d2d8.60a6ee0d.js
diff --git a/dist/static/js/chunk-7e46145d.7b6dd2c0.js b/dist/static/js/chunk-d7352fc8.5dd9a600.js
similarity index 96%
rename from dist/static/js/chunk-7e46145d.7b6dd2c0.js
rename to dist/static/js/chunk-d7352fc8.5dd9a600.js
index 3d760a2f..749683cc 100644
--- a/dist/static/js/chunk-7e46145d.7b6dd2c0.js
+++ b/dist/static/js/chunk-d7352fc8.5dd9a600.js
@@ -1 +1 @@
-(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7e46145d"],{"40c8":function(e,t,i){},"6bae":function(e,t,i){},a2d2:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"milestone_panel"},[i("div",{staticClass:"flex_right_pain",class:{AnimatedRightIn:e.visible}},[e.milestoneManage?i("div",{staticClass:"flex_right_pain_body_box"},[i("div",{staticClass:"flex_right_pain_head"},[e._m(0),i("div",{staticClass:"EC_col_12"},[i("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}}},[i("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:""}}),i("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:""}})])])]),i("div",{staticClass:"pxline"}),i("div",{ref:"milestoneManageRef",staticClass:"flex_right_pain_body"},[e.fileNowVersion?i("div",[i("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,openFileWith:e.openFileWith,select:e.selectVersion,setHeadVersion:e.setHeadVersion}}),i("div",{staticClass:"title"},[e._v("提交历史")]),e._l(e.fileHistoryList.filter((function(t){return t!==e.fileNowVersion})).slice(0,5),(function(t){return i("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,openFile:e.openFile,openFileWith:e.openFileWith,setHeadVersion:e.setHeadVersion,makeCopy:e.onMakeCopy}})}))],2):i("div",{staticClass:"empty"},[i("span",[e._v("暂无历史版本")])])]),e.fileNowVersion?i("div",{staticClass:"bottombtnitem"},[i("div",{staticClass:"bottombtnitemlonBtn"},[i("el-button",{staticClass:"longBtn defualtBtnInfo quitBtn",attrs:{type:"primary",round:""},on:{click:e.checkAllMilestone}},[e._v("查看所有历史提交版本")])],1)]):e._e()]):e._e(),e.milestoneCheck?i("div",{staticClass:"flex_right_pain_body_box"},[i("div",{staticClass:"flex_right_pain_head"},[i("div",{staticClass:"EC_col_4"},[i("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),i("div",{staticClass:"EC_col_4"},[i("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}}},[i("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:""}}),i("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:""}})])])]),i("div",{staticClass:"pxline"}),i("div",{ref:"milestoneCheckRef",staticClass:"flex_right_pain_body"},[i("div",e._l(e.fileHistoryList,(function(t){return i("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,openFile:e.openFile,openFileWith:e.openFileWith,setHeadVersion:e.setHeadVersion,makeCopy:e.onMakeCopy}})})),1)])]):e._e()])])},o=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"EC_col_12"},[i("h4",{staticClass:"RdiaheaderTitle"},[e._v("历史版本管理")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"EC_col_16"},[i("h4",{staticClass:"centertext"},[e._v("所有历史提交版本")])])}],s=(i("4de4"),function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("transition",{attrs:{name:"info-fade"}},[e.active?i("div",{staticClass:"version_item",class:{set_item_position:!1}},[i("div",{staticClass:"content"},[i("div",{staticClass:"content_header"},[e.nowVersion?i("i",{staticClass:"iconfont icon-zhiding",attrs:{alt:""}}):e._e(),i("p",[e._v(e._s((e.nowVersion?"当前协同 - ":"")+"版本"+e.commitInfo.version))])]),i("div",{staticClass:"content_remark split"},[i("div",{staticClass:"content_remark_inner"},[i("div",[e._v(e._s(e.showAccountName)+"的备注")]),i("div",[e._v(e._s(e.commitInfo.note?e.commitInfo.note:"无备注"))])])]),i("div",{staticClass:"content_info split"},[i("div",{staticClass:"option",on:{click:function(t){t.stopPropagation(),e.infoPanelActive=!e.infoPanelActive}}},[i("i",{staticClass:"option_icon",class:{option_active:e.infoPanelActive}}),i("div",{staticClass:"option_label"},[e._v("更多")])]),i("div",{staticClass:"content_info_detail",class:{panel_inactive:!e.infoPanelActive}},[i("div",{staticClass:"content_info_detail_item"},[i("span",[e._v("提交人:")]),i("span",{staticStyle:{color:"#2869E6"}},[e._v(e._s(e.showAccountName))])]),i("div",{staticClass:"content_info_detail_item"},[i("span",[e._v("基于版本:")]),i("span",[e._v(e._s(e.commitInfo.creator)+" 提交的版本"+e._s(e.commitInfo.version))])]),i("div",{staticClass:"content_info_detail_item"},[i("span",[e._v("协同于:")]),i("span",[e._v(e._s(e.showTime))])]),i("div",{staticClass:"content_action_list"},[i("div",{staticClass:"content_action_list_item"},[i("div",{staticClass:"button",staticStyle:{width:"211px"},on:{click:function(t){t.stopPropagation(),e.nowVersion?e.editCurrentFile():e.openCommitFile()}}},[e._v(" "+e._s(e.nowVersion?"继续编辑":"打开版本")+" ")]),i("div",{staticClass:"button",staticStyle:{width:"92px",marginLeft:"8px"},on:{click:function(t){t.stopPropagation(),e.nowVersion?e.editCurrentFileWith():e.openCommitFileWith()}}},[e._v(" 打开方式 ")])]),e.nowVersion?e._e():i("div",{staticClass:"content_action_list_item button",on:{click:function(t){return t.stopPropagation(),e.setShare(t)}}},[i("i",{staticClass:"iconfont icon-zhiding"}),e._v("设为协同版本 ")]),e.nowVersion?e._e():i("div",{staticClass:"content_action_list_item button",on:{click:e.onMakeCopy}},[e._v(" 从该版本创建副本 ")])])])])])]):e._e()]),e.active?e._e():i("div",{staticClass:"version_item_brief",on:{click:function(t){return t.stopPropagation(),e.clickVersion(t)}}},[i("div",{staticClass:"header"},[e._m(0),i("p",[e._v("版本"+e._s(e.commitInfo.version))]),i("p",{staticClass:"header_time"},[e._v(e._s(e.showTime))])]),i("div",{staticClass:"remarks_brief"},[i("div",{staticClass:"remarks_brief_content",class:{noremarks:!0}},[e._v(e._s(e.commitInfo.note?e.commitInfo.note:"无备注"))])])])],1)}),r=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"icon_box"},[i("span",{staticClass:"iconfont icon-lichengbei-qizhi"})])}],a=(i("99af"),i("ac1f"),i("5319"),i("96cf"),i("1da1")),c=i("5a0c"),l=i.n(c),u=(i("a471"),i("b428")),f=i("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:{openCommitFile:function(){this.downloadCommitFile((function(e){return f["a"].openFile(e)}))},openCommitFileWith:function(){this.downloadCommitFile((function(e){return f["a"].clientOpenFileWith(e)}))},downloadCommitFile:function(e){var t=this.file,i=this.commitInfo,n=t.archName,o=t.extension,s=t.relativePath,r=i.currentHash,a=i.version,c="".concat(n,"-版本").concat(a).concat(o?".".concat(o):""),l="历史版本查看\\".concat((new Date).getTime()).concat(s?"\\relativePath":"").replace(/\//g,"\\"),u=function(){},m="".concat(this.localWorkspacePrefix,"\\").concat(l,"\\").concat(c);f["a"].downloadFile(r,sessionStorage.projName,c,l,(function(t,i){console.log("receive download file message:",t,i);try{var n=JSON.parse(t.data),o=n.process;n.hash;if(100!==o)return;e&&e(m),i.close()}catch(s){console.error("socket-download-file parse data have error:",s),u(),i.close()}}),u)},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")},editCurrentFileWith:function(){this.$emit("openFileWith")},setShare:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(u["i"])(e.fileId,e.commitInfo.currentHash,sessionStorage.userId,e.commitInfo.version);case 2:i=t.sent,0==i.Code?(e.$notify({type:"success",message:"设置协同版本成功"}),e.$emit("setHeadVersion",e.commitInfo)):e.$notify({type:"error",message:i.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=(i("c097"),i("2877")),p=Object(h["a"])(d,s,r,!1,null,"c4c53d4c",null),v=p.exports,_=i("2ef0"),C={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 i=document.createElement("div");i.className="notify-mask",document.body.appendChild(i),t=i}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)},openFileWith:function(){this.$emit("openFileWith",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,i=e.filter((function(e){return e.currentHash==t.file.ipfsCid}));this.fileNowVersion=i[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=C,b=(i("fe11"),Object(h["a"])(w,n,o,!1,null,"9d9ff38e",null));t["default"]=b.exports},a471:function(e,t,i){!function(t,n){e.exports=n(i("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 i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"}};return e.locale(t,null,!0),t}))},b332:function(e,t,i){"use strict";i.d(t,"b",(function(){return o})),i.d(t,"a",(function(){return s})),i.d(t,"f",(function(){return r})),i.d(t,"e",(function(){return a})),i.d(t,"d",(function(){return c})),i.d(t,"g",(function(){return l})),i.d(t,"c",(function(){return u}));i("99af"),i("a15b"),i("d81d"),i("fb6a"),i("ac1f"),i("5319"),i("1276");var n=i("d4ec"),o={DOWNLOADING:100,UPLOADING:101},s={NOT_WORKING:1,WORKING:2},r=function(e,t){var i=e.nodeName,n=e.extension,o=e.archName,s=e.relativePath,r=t.folderName;return"".concat(r).concat(i?"\\协作文件":"","\\").concat(s?"".concat(s.replace(/\//g,"\\"),"\\"):"").concat(o).concat(n?".".concat(n):"")},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0;if(!e)return[];var n=t?"".concat(t,"/"):t,o=e.split("/").map((function(e,t,o){var s="".concat(n).concat(o.slice(0,t+1).join("/"));return i&&i(s),s}));return o},c=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;Object(n["a"])(this,e);var o=t.split("/"),s=o.pop();this.id=i,this.folderPath=t,this.folderName=s,this.parentFolderPath=o.join("/"),this.childCount=0,this.fileCount=0},l=["jpg","png","bmp","gif","jpeg"],u=["avi","mov","wav","mp4"]},b428:function(e,t,i){"use strict";i.d(t,"e",(function(){return a})),i.d(t,"d",(function(){return l})),i.d(t,"b",(function(){return f})),i.d(t,"a",(function(){return d})),i.d(t,"c",(function(){return p})),i.d(t,"f",(function(){return _})),i.d(t,"h",(function(){return w})),i.d(t,"g",(function(){return g})),i.d(t,"i",(function(){return y})),i.d(t,"j",(function(){return F}));i("99af"),i("4160"),i("a15b"),i("d81d"),i("13d5"),i("fb6a"),i("ac1f"),i("1276"),i("159b"),i("96cf");var n=i("1da1"),o=i("b775"),s=i("3de1"),r=i("b332");function a(e,t){return c.apply(this,arguments)}function c(){return c=Object(n["a"])(regeneratorRuntime.mark((function e(t,i){var n,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=sessionStorage.companyId,e.next=3,Object(o["b"])("folder/queryNodeFolderListByProjectIdAndUserId",{projectId:t,userId:i});case 3:return r=e.sent,a=(r.Data||[]).reduce((function(e,t){var i=Object(s["b"])(t);if(i.folderType="node","0"===i.nodeId){if(i.companyId!==n)return e;i.isPublic=!0}return i.listsShareFrom=[[],[]],e.push(i),e}),[]),e.abrupt("return",a);case 6:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function l(e,t){return u.apply(this,arguments)}function u(){return u=Object(n["a"])(regeneratorRuntime.mark((function e(t,i){var n,a,c,l,u,f;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("folder/queryFileListByFolderIdAndUserId",{folderId:t,userId:i});case 2:if(n=e.sent,Object(o["c"])(n),0===n.Code){e.next=6;break}return e.abrupt("return",null);case 6:return a=n.Data||{},c=[],l={},u=(a.myFile||[]).concat(a.workFile||[]).map((function(e){var t=Object(s["b"])(e),i=t.relativePath;if(i){var n=i.split("/");n.forEach((function(e,t){var i=n.slice(0,t+1).join("/");if(!l[i]){var o=new r["d"](i),s=o.parentFolderPath;c.push(o),l[i]=o,l[s]&&l[s].childCount++}})),l[i].fileCount++}return t})),f={folder:c,folderMap:l,file:u,deliverables:(a.deliverables||[]).map(s["b"]),coordinationFiles:(a.public||[]).map((function(e){var t=Object(s["b"])(e);return t.nodeName="公共文件夹",t})).concat((a.coordinationFiles||[]).map(s["b"])),nestCoordinationFiles:(a.nestCoordinationFiles||[]).map(s["b"])},e.abrupt("return",f);case 12:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function f(e,t){return m.apply(this,arguments)}function m(){return m=Object(n["a"])(regeneratorRuntime.mark((function e(t,i){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("file/changeFileWorkStatus",{fileId:t,workStatus:i});case 2:return n=e.sent,e.abrupt("return",Object(o["c"])(n));case 4:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}function d(e){return h.apply(this,arguments)}function h(){return h=Object(n["a"])(regeneratorRuntime.mark((function e(t){var i,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("file/addFile",t);case 2:return i=e.sent,n={API:"file/addFile",Action:"新建文件",CompanyName:sessionStorage.CompanyName,Subject:t.archName+"."+t.extension,Source:sessionStorage.client,ProjectName:sessionStorage.projName},Object(o["b"])("operation/record",n),e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}function p(e){return v.apply(this,arguments)}function v(){return v=Object(n["a"])(regeneratorRuntime.mark((function e(t){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("file/deleteFile",{fileId:t});case 2:return i=e.sent,e.abrupt("return",i);case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function _(e){return C.apply(this,arguments)}function C(){return C=Object(n["a"])(regeneratorRuntime.mark((function e(t){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("company/queryFileOnlineUrlByCompanyId",t);case 2:return i=e.sent,e.abrupt("return",i);case 4:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function w(e,t){return b.apply(this,arguments)}function b(){return b=Object(n["a"])(regeneratorRuntime.mark((function e(t,i){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("file/searchFileListByFolderIdAndFileName",{folderId:t,fileName:i});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),b.apply(this,arguments)}function g(e){return k.apply(this,arguments)}function k(){return k=Object(n["a"])(regeneratorRuntime.mark((function e(t){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("file/queryProjArchiveHistoryTbByArchId",{archId:t});case 2:return i=e.sent,e.abrupt("return",i);case 4:case"end":return e.stop()}}),e)}))),k.apply(this,arguments)}function y(e,t,i,n){return x.apply(this,arguments)}function x(){return x=Object(n["a"])(regeneratorRuntime.mark((function e(t,i,n,s){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("file/setShareFile",{Id:t,IpfsCid:i,ModifyUserId:n,Version:s});case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)}))),x.apply(this,arguments)}function F(e){return I.apply(this,arguments)}function I(){return I=Object(n["a"])(regeneratorRuntime.mark((function e(t){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("file/updateProjArchiveHistory",t);case 2:return i=e.sent,e.abrupt("return",i);case 4:case"end":return e.stop()}}),e)}))),I.apply(this,arguments)}},c097:function(e,t,i){"use strict";var n=i("40c8"),o=i.n(n);o.a},d4ec:function(e,t,i){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}i.d(t,"a",(function(){return n}))},fe11:function(e,t,i){"use strict";var n=i("6bae"),o=i.n(n);o.a}}]);
\ No newline at end of file
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d7352fc8"],{"40c8":function(e,t,i){},"6bae":function(e,t,i){},a2d2:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"milestone_panel"},[i("div",{staticClass:"flex_right_pain",class:{AnimatedRightIn:e.visible}},[e.milestoneManage?i("div",{staticClass:"flex_right_pain_body_box"},[i("div",{staticClass:"flex_right_pain_head"},[e._m(0),i("div",{staticClass:"EC_col_12"},[i("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}}},[i("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:""}}),i("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:""}})])])]),i("div",{staticClass:"pxline"}),i("div",{ref:"milestoneManageRef",staticClass:"flex_right_pain_body"},[e.fileNowVersion?i("div",[i("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,openFileWith:e.openFileWith,select:e.selectVersion,setHeadVersion:e.setHeadVersion}}),i("div",{staticClass:"title"},[e._v("提交历史")]),e._l(e.fileHistoryList.filter((function(t){return t!==e.fileNowVersion})).slice(0,5),(function(t){return i("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,openFile:e.openFile,openFileWith:e.openFileWith,setHeadVersion:e.setHeadVersion,makeCopy:e.onMakeCopy}})}))],2):i("div",{staticClass:"empty"},[i("span",[e._v("暂无历史版本")])])]),e.fileNowVersion?i("div",{staticClass:"bottombtnitem"},[i("div",{staticClass:"bottombtnitemlonBtn"},[i("el-button",{staticClass:"longBtn defualtBtnInfo quitBtn",attrs:{type:"primary",round:""},on:{click:e.checkAllMilestone}},[e._v("查看所有历史提交版本")])],1)]):e._e()]):e._e(),e.milestoneCheck?i("div",{staticClass:"flex_right_pain_body_box"},[i("div",{staticClass:"flex_right_pain_head"},[i("div",{staticClass:"EC_col_4"},[i("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),i("div",{staticClass:"EC_col_4"},[i("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}}},[i("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:""}}),i("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:""}})])])]),i("div",{staticClass:"pxline"}),i("div",{ref:"milestoneCheckRef",staticClass:"flex_right_pain_body"},[i("div",e._l(e.fileHistoryList,(function(t){return i("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,openFile:e.openFile,openFileWith:e.openFileWith,setHeadVersion:e.setHeadVersion,makeCopy:e.onMakeCopy}})})),1)])]):e._e()])])},o=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"EC_col_12"},[i("h4",{staticClass:"RdiaheaderTitle"},[e._v("历史版本管理")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"EC_col_16"},[i("h4",{staticClass:"centertext"},[e._v("所有历史提交版本")])])}],s=(i("4de4"),function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("transition",{attrs:{name:"info-fade"}},[e.active?i("div",{staticClass:"version_item",class:{set_item_position:!1}},[i("div",{staticClass:"content"},[i("div",{staticClass:"content_header"},[e.nowVersion?i("i",{staticClass:"iconfont icon-zhiding",attrs:{alt:""}}):e._e(),i("p",[e._v(e._s((e.nowVersion?"当前协同 - ":"")+"版本"+e.commitInfo.version))])]),i("div",{staticClass:"content_remark split"},[i("div",{staticClass:"content_remark_inner"},[i("div",[e._v(e._s(e.showAccountName)+"的备注")]),i("div",[e._v(e._s(e.commitInfo.note?e.commitInfo.note:"无备注"))])])]),i("div",{staticClass:"content_info split"},[i("div",{staticClass:"option",on:{click:function(t){t.stopPropagation(),e.infoPanelActive=!e.infoPanelActive}}},[i("i",{staticClass:"option_icon",class:{option_active:e.infoPanelActive}}),i("div",{staticClass:"option_label"},[e._v("更多")])]),i("div",{staticClass:"content_info_detail",class:{panel_inactive:!e.infoPanelActive}},[i("div",{staticClass:"content_info_detail_item"},[i("span",[e._v("提交人:")]),i("span",{staticStyle:{color:"#2869E6"}},[e._v(e._s(e.showAccountName))])]),i("div",{staticClass:"content_info_detail_item"},[i("span",[e._v("基于版本:")]),i("span",[e._v(e._s(e.commitInfo.creator)+" 提交的版本"+e._s(e.commitInfo.version))])]),i("div",{staticClass:"content_info_detail_item"},[i("span",[e._v("协同于:")]),i("span",[e._v(e._s(e.showTime))])]),i("div",{staticClass:"content_action_list"},[i("div",{staticClass:"content_action_list_item"},[i("div",{staticClass:"button",staticStyle:{width:"211px"},on:{click:function(t){t.stopPropagation(),e.nowVersion?e.editCurrentFile():e.openCommitFile()}}},[e._v(" "+e._s(e.nowVersion?"继续编辑":"打开版本")+" ")]),i("div",{staticClass:"button",staticStyle:{width:"92px",marginLeft:"8px"},on:{click:function(t){t.stopPropagation(),e.nowVersion?e.editCurrentFileWith():e.openCommitFileWith()}}},[e._v(" 打开方式 ")])]),e.nowVersion?e._e():i("div",{staticClass:"content_action_list_item button",on:{click:function(t){return t.stopPropagation(),e.setShare(t)}}},[i("i",{staticClass:"iconfont icon-zhiding"}),e._v("设为协同版本 ")]),e.nowVersion?e._e():i("div",{staticClass:"content_action_list_item button",on:{click:e.onMakeCopy}},[e._v(" 从该版本创建副本 ")])])])])])]):e._e()]),e.active?e._e():i("div",{staticClass:"version_item_brief",on:{click:function(t){return t.stopPropagation(),e.clickVersion(t)}}},[i("div",{staticClass:"header"},[e._m(0),i("p",[e._v("版本"+e._s(e.commitInfo.version))]),i("p",{staticClass:"header_time"},[e._v(e._s(e.showTime))])]),i("div",{staticClass:"remarks_brief"},[i("div",{staticClass:"remarks_brief_content",class:{noremarks:!0}},[e._v(e._s(e.commitInfo.note?e.commitInfo.note:"无备注"))])])])],1)}),r=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"icon_box"},[i("span",{staticClass:"iconfont icon-lichengbei-qizhi"})])}],a=(i("99af"),i("ac1f"),i("5319"),i("96cf"),i("1da1")),c=i("5a0c"),l=i.n(c),u=(i("a471"),i("b428")),f=i("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:{openCommitFile:function(){this.downloadCommitFile((function(e){return f["a"].openFile(e)}))},openCommitFileWith:function(){this.downloadCommitFile((function(e){return f["a"].clientOpenFileWith(e)}))},downloadCommitFile:function(e){var t=this.file,i=this.commitInfo,n=t.archName,o=t.extension,s=t.relativePath,r=i.currentHash,a=i.version,c="".concat(n,"-版本").concat(a).concat(o?".".concat(o):""),l="历史版本查看\\".concat((new Date).getTime()).concat(s?"\\relativePath":"").replace(/\//g,"\\"),u=function(){},m="".concat(this.localWorkspacePrefix,"\\").concat(l,"\\").concat(c);f["a"].downloadFile(r,sessionStorage.projName,c,l,(function(t,i){console.log("receive download file message:",t,i);try{var n=JSON.parse(t.data),o=n.process;n.hash;if(100!==o)return;e&&e(m),i.close()}catch(s){console.error("socket-download-file parse data have error:",s),u(),i.close()}}),u)},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")},editCurrentFileWith:function(){this.$emit("openFileWith")},setShare:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(u["i"])(e.fileId,e.commitInfo.currentHash,sessionStorage.userId,e.commitInfo.version);case 2:i=t.sent,0==i.Code?(e.$notify({type:"success",message:"设置协同版本成功"}),e.$emit("setHeadVersion",e.commitInfo)):e.$notify({type:"error",message:i.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}}},h=m,d=(i("c097"),i("2877")),p=Object(d["a"])(h,s,r,!1,null,"c4c53d4c",null),v=p.exports,_=i("2ef0"),C={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 i=document.createElement("div");i.className="notify-mask",document.body.appendChild(i),t=i}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)},openFileWith:function(){this.$emit("openFileWith",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,i=e.filter((function(e){return e.currentHash==t.file.ipfsCid}));this.fileNowVersion=i[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=C,b=(i("fe11"),Object(d["a"])(w,n,o,!1,null,"9d9ff38e",null));t["default"]=b.exports},a471:function(e,t,i){!function(t,n){e.exports=n(i("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 i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"}};return e.locale(t,null,!0),t}))},b332:function(e,t,i){"use strict";i.d(t,"b",(function(){return o})),i.d(t,"a",(function(){return s})),i.d(t,"f",(function(){return r})),i.d(t,"e",(function(){return a})),i.d(t,"d",(function(){return c})),i.d(t,"g",(function(){return l})),i.d(t,"c",(function(){return u}));i("99af"),i("a15b"),i("d81d"),i("fb6a"),i("ac1f"),i("5319"),i("1276");var n=i("d4ec"),o={DOWNLOADING:100,UPLOADING:101},s={NOT_WORKING:1,WORKING:2},r=function(e,t){var i=e.nodeName,n=e.extension,o=e.archName,s=e.relativePath,r=t.folderName;return"".concat(r).concat(i?"\\协作文件":"","\\").concat(s?"".concat(s.replace(/\//g,"\\"),"\\"):"").concat(o).concat(n?".".concat(n):"")},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0;if(!e)return[];var n=t?"".concat(t,"/"):t,o=e.split("/").map((function(e,t,o){var s="".concat(n).concat(o.slice(0,t+1).join("/"));return i&&i(s),s}));return o},c=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;Object(n["a"])(this,e);var o=t.split("/"),s=o.pop();this.id=i,this.folderPath=t,this.folderName=s,this.parentFolderPath=o.join("/"),this.childCount=0,this.fileCount=0},l=["jpg","png","bmp","gif","jpeg"],u=["avi","mov","wav","mp4"]},b428:function(e,t,i){"use strict";i.d(t,"e",(function(){return a})),i.d(t,"d",(function(){return l})),i.d(t,"b",(function(){return f})),i.d(t,"a",(function(){return h})),i.d(t,"c",(function(){return p})),i.d(t,"f",(function(){return _})),i.d(t,"h",(function(){return w})),i.d(t,"g",(function(){return g})),i.d(t,"i",(function(){return y})),i.d(t,"j",(function(){return F}));i("99af"),i("4160"),i("a15b"),i("d81d"),i("13d5"),i("fb6a"),i("ac1f"),i("1276"),i("159b"),i("96cf");var n=i("1da1"),o=i("b775"),s=i("3de1"),r=i("b332");function a(e,t){return c.apply(this,arguments)}function c(){return c=Object(n["a"])(regeneratorRuntime.mark((function e(t,i){var n,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=sessionStorage.companyId,e.next=3,Object(o["b"])("folder/queryNodeFolderListByProjectIdAndUserId",{projectId:t,userId:i});case 3:return r=e.sent,a=(r.Data||[]).reduce((function(e,t){var i=Object(s["b"])(t);if(i.folderType="node","0"===i.nodeId){if(i.companyId!==n)return e;i.isPublic=!0}return i.listsShareFrom=[[],[]],e.push(i),e}),[]),e.abrupt("return",a);case 6:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function l(e,t){return u.apply(this,arguments)}function u(){return u=Object(n["a"])(regeneratorRuntime.mark((function e(t,i){var n,a,c,l,u,f;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("folder/queryFileListByFolderIdAndUserId",{folderId:t,userId:i});case 2:if(n=e.sent,Object(o["c"])(n),0===n.Code){e.next=6;break}return e.abrupt("return",null);case 6:return a=n.Data||{},c=[],l={},u=(a.myFile||[]).concat(a.workFile||[]).map((function(e){var t=Object(s["b"])(e),i=t.relativePath;if(i){var n=i.split("/");n.forEach((function(e,t){var i=n.slice(0,t+1).join("/");if(!l[i]){var o=new r["d"](i),s=o.parentFolderPath;c.push(o),l[i]=o,l[s]&&l[s].childCount++}})),l[i].fileCount++}return t})),f={folder:c,folderMap:l,file:u,deliverables:(a.deliverables||[]).map(s["b"]),coordinationFiles:(a.public||[]).map((function(e){var t=Object(s["b"])(e);return t.nodeName="公共文件夹",t})).concat((a.coordinationFiles||[]).map(s["b"])),nestCoordinationFiles:(a.nestCoordinationFiles||[]).map(s["b"])},e.abrupt("return",f);case 12:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function f(e,t){return m.apply(this,arguments)}function m(){return m=Object(n["a"])(regeneratorRuntime.mark((function e(t,i){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("file/changeFileWorkStatus",{fileId:t,workStatus:i});case 2:return n=e.sent,e.abrupt("return",Object(o["c"])(n));case 4:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}function h(e){return d.apply(this,arguments)}function d(){return d=Object(n["a"])(regeneratorRuntime.mark((function e(t){var i,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("file/addFile",t);case 2:return i=e.sent,n={API:"file/addFile",Action:"新建文件",CompanyName:sessionStorage.CompanyName,Subject:t.archName+"."+t.extension,Source:sessionStorage.client,ProjectName:sessionStorage.projName},Object(o["b"])("operation/record",n),e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)}))),d.apply(this,arguments)}function p(e){return v.apply(this,arguments)}function v(){return v=Object(n["a"])(regeneratorRuntime.mark((function e(t){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("file/deleteFile",{fileId:t});case 2:return i=e.sent,e.abrupt("return",i);case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function _(e){return C.apply(this,arguments)}function C(){return C=Object(n["a"])(regeneratorRuntime.mark((function e(t){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("company/queryFileOnlineUrlByCompanyId",t);case 2:return i=e.sent,e.abrupt("return",i);case 4:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function w(e,t){return b.apply(this,arguments)}function b(){return b=Object(n["a"])(regeneratorRuntime.mark((function e(t,i){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("file/searchFileListByFolderIdAndFileName",{folderId:t,fileName:i});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),b.apply(this,arguments)}function g(e){return k.apply(this,arguments)}function k(){return k=Object(n["a"])(regeneratorRuntime.mark((function e(t){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("file/queryProjArchiveHistoryTbByArchId",{archId:t});case 2:return i=e.sent,e.abrupt("return",i);case 4:case"end":return e.stop()}}),e)}))),k.apply(this,arguments)}function y(e,t,i,n){return x.apply(this,arguments)}function x(){return x=Object(n["a"])(regeneratorRuntime.mark((function e(t,i,n,s){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("file/setShareFile",{Id:t,IpfsCid:i,ModifyUserId:n,Version:s});case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)}))),x.apply(this,arguments)}function F(e){return I.apply(this,arguments)}function I(){return I=Object(n["a"])(regeneratorRuntime.mark((function e(t){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])("file/updateProjArchiveHistory",t);case 2:return i=e.sent,e.abrupt("return",i);case 4:case"end":return e.stop()}}),e)}))),I.apply(this,arguments)}},c097:function(e,t,i){"use strict";var n=i("40c8"),o=i.n(n);o.a},fe11:function(e,t,i){"use strict";var n=i("6bae"),o=i.n(n);o.a}}]);
\ No newline at end of file
diff --git a/dist/static/js/chunk-edf65c70.b478f521.js b/dist/static/js/chunk-edf65c70.a7de779d.js
similarity index 100%
rename from dist/static/js/chunk-edf65c70.b478f521.js
rename to dist/static/js/chunk-edf65c70.a7de779d.js