UNPKG

cbim-common-components

Version:

``` npm install --save cbim-common-components ```

2 lines 78.5 kB
(function(j,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("ant-design-vue"),require("axios"),require("cbim-pes-component-private")):typeof define=="function"&&define.amd?define(["exports","vue","ant-design-vue","axios","cbim-pes-component-private"],e):(j=typeof globalThis<"u"?globalThis:j||self,e(j.CbimCommonComponents={},j.Vue,j.antd,j.axios,j.cbimPesComponentPrivate))})(this,function(j,e,R,A,Q){"use strict";var X=document.createElement("style");X.textContent=`.common-components-modal-header{display:flex;justify-content:space-between;align-items:center}.common-components-modal-header h3{margin:0;font-weight:545}.common-components-modal-header .modal-operation-list{display:flex}.common-components-modal-header .modal-operation-list li .ant-btn{padding:2px 4px;border:none;border-radius:2px;background-color:transparent}.common-components-modal-header .modal-operation-list li .ant-btn i{font-size:18px}.common-components-modal-wrapper ul,.common-components-modal-wrapper ol,.common-components-modal-wrapper li{list-style:none}.common-components-modal-wrapper .ant-modal-content{position:relative;background-color:#f6f9fcf2;background-clip:padding-box;border:0;border-radius:4px;box-shadow:#0000001f 0 3px 6px -4px,#00000014 0 6px 16px,#0000000d 0 9px 28px 8px;outline:0;pointer-events:auto}.common-components-modal-wrapper .ant-modal-content .ant-modal-header{padding:16px;border-bottom:none;background-color:transparent}.common-components-modal-wrapper .ant-modal-content .ant-modal-body{border-radius:0 0 4px 4px;padding:0}.common-components-modal-wrapper.full-screen-modal{color:red}.common-components-modal-wrapper.full-screen-modal .ant-modal{width:100%!important;max-width:100%!important;top:0;left:0;right:0;bottom:0;padding:0;height:100%}.common-components-modal-wrapper.full-screen-modal .ant-modal .ant-modal-content{border-radius:0;height:100%;display:flex;flex-direction:column}.common-components-modal-wrapper.full-screen-modal .ant-modal .ant-modal-content .ant-modal-body{flex:1;height:100%;border-radius:0}.cbim-empty[data-v-3829798c]{text-align:center;color:#b2b9bf;min-height:inherit;-webkit-user-select:none;user-select:none;height:100%;display:flex}.cbim-empty .cbim-empty-icon[data-v-3829798c]{background-size:contain}.isBlock[data-v-3829798c]{display:block}.align-center-v[data-v-3829798c]{align-items:center}.align-center-h[data-v-3829798c]{justify-content:center}.left[data-v-16971ec0]{padding:12px 7px;width:222px;height:100%;overflow:auto;gap:12px;border-right:1px solid #ecf0f8}.mid-list[data-v-16971ec0]{flex:1;height:100%;overflow:auto;padding:12px 14px;display:flex;flex-direction:column;width:370px;border-right:1px solid #ecf0f8}.mid-list .list-main[data-v-16971ec0]{display:flex;flex-direction:column;height:443px;overflow-y:auto}.mid-list .list-main .list-item[data-v-16971ec0]:hover{cursor:pointer;background-color:#fff6f0}.mid-list .list-item[data-v-16971ec0]{display:flex;flex-direction:row;padding:10px 0;-webkit-user-select:none;user-select:none}.mid-list .list-header[data-v-16971ec0]{color:#2a334a;font-family:PingFang SC;font-size:14px;font-weight:500;line-height:20px;letter-spacing:0px;text-align:left;background-color:#c9d2e133}.mid-list .file-checkbox[data-v-16971ec0]{width:42px;padding:0 11px}.mid-list .file-name[data-v-16971ec0]{width:166px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mid-list .file-version[data-v-16971ec0]{width:37px}.mid-list .file-uploader[data-v-16971ec0]{width:90px}.mid-list .file-upload-time[data-v-16971ec0]{width:150px}.right-selected[data-v-16971ec0]{height:100%;width:248px;overflow:auto;background-color:#fff;border-radius:4px}.right-selected .selected-file-content[data-v-16971ec0]{display:flex;flex-direction:column;padding:11px 12px}.right-selected .selected-file-content .file-list-header[data-v-16971ec0]{display:flex;flex-direction:row}.right-selected .selected-file-content .file-list-header .file-count[data-v-16971ec0]{color:#47516a;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;-webkit-user-select:none;user-select:none}.right-selected .selected-file-content .file-list-header .delete-all[data-v-16971ec0]{color:#416ad9;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;margin-left:auto}.right-selected .selected-file-content .list-content[data-v-16971ec0]{margin-top:12px;height:447px;overflow-y:auto}.right-selected .selected-file-content .list-info[data-v-16971ec0]{display:flex;flex-direction:row}.right-selected .selected-file-content .list-info+.list-info[data-v-16971ec0]{margin-top:8px}.right-selected .selected-file-content .list-info .file-app[data-v-16971ec0]{padding:2px 8px;border-radius:4px;font-family:微软雅黑;font-size:12px;font-weight:290;line-height:20px;letter-spacing:0px;text-align:left;white-space:nowrap}.right-selected .selected-file-content .list-info .app-doc[data-v-16971ec0]{color:#ffae00;background-color:#ffae001a}.right-selected .selected-file-content .list-info .app-task[data-v-16971ec0]{background-color:#0a87f51a;color:#0a87f5}.right-selected .selected-file-content .list-info .app-comm[data-v-16971ec0]{background-color:#4f34d91f;color:#4f34d9}.right-selected .selected-file-content .list-info .app-tool[data-v-16971ec0]{background-color:#ffae001a;color:#ffae00}.right-selected .selected-file-content .list-info .file-name[data-v-16971ec0]{margin-left:15px;white-space:nowrap;color:#202020;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:22px;letter-spacing:0px;text-align:left;max-width:680px;overflow:hidden;text-overflow:ellipsis}.right-selected .selected-file-content .list-info .delete-button[data-v-16971ec0]{margin-left:auto;color:#979797;cursor:pointer;-webkit-user-select:none;user-select:none}.right-selected .selected-file-content .list-info .delete-button[data-v-16971ec0]:hover{color:#f65d30}.left[data-v-3d9f3318]{padding:12px 7px;width:222px;height:100%;overflow:auto;gap:12px;border-right:1px solid #ecf0f8}.mid-list[data-v-3d9f3318]{flex:1;height:100%;overflow:auto;padding:12px 14px;display:flex;flex-direction:column;width:370px;border-right:1px solid #ecf0f8}.mid-list .list-main[data-v-3d9f3318]{display:flex;flex-direction:column;height:443px;overflow-y:auto}.mid-list .list-main .list-item[data-v-3d9f3318]:hover{cursor:pointer;background-color:#fff6f0}.mid-list .list-item[data-v-3d9f3318]{display:flex;flex-direction:row;padding:10px 0;-webkit-user-select:none;user-select:none}.mid-list .list-header[data-v-3d9f3318]{color:#2a334a;font-family:PingFang SC;font-size:14px;font-weight:500;line-height:20px;letter-spacing:0px;text-align:left;background-color:#c9d2e133}.mid-list .file-checkbox[data-v-3d9f3318]{width:42px;padding:0 11px}.mid-list .file-name[data-v-3d9f3318]{width:166px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mid-list .file-version[data-v-3d9f3318]{width:37px}.mid-list .file-uploader[data-v-3d9f3318]{width:90px}.mid-list .file-upload-time[data-v-3d9f3318]{width:150px}.right-selected[data-v-3d9f3318]{height:100%;width:248px;background-color:#fff;border-radius:4px;overflow:auto}.right-selected .selected-file-content[data-v-3d9f3318]{display:flex;flex-direction:column;padding:11px 12px}.right-selected .selected-file-content .file-list-header[data-v-3d9f3318]{display:flex;flex-direction:row}.right-selected .selected-file-content .file-list-header .file-count[data-v-3d9f3318]{color:#47516a;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;-webkit-user-select:none;user-select:none}.right-selected .selected-file-content .file-list-header .delete-all[data-v-3d9f3318]{color:#416ad9;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;margin-left:auto}.right-selected .selected-file-content .list-content[data-v-3d9f3318]{margin-top:12px;height:447px;overflow-y:auto}.right-selected .selected-file-content .list-info[data-v-3d9f3318]{display:flex;flex-direction:row}.right-selected .selected-file-content .list-info+.list-info[data-v-3d9f3318]{margin-top:8px}.right-selected .selected-file-content .list-info .file-app[data-v-3d9f3318]{padding:2px 8px;border-radius:4px;font-family:微软雅黑;font-size:12px;font-weight:290;line-height:20px;letter-spacing:0px;text-align:left;white-space:nowrap}.right-selected .selected-file-content .list-info .app-doc[data-v-3d9f3318]{color:#ffae00;background-color:#ffae001a}.right-selected .selected-file-content .list-info .app-task[data-v-3d9f3318]{background-color:#0a87f51a;color:#0a87f5}.right-selected .selected-file-content .list-info .app-comm[data-v-3d9f3318]{background-color:#4f34d91f;color:#4f34d9}.right-selected .selected-file-content .list-info .app-tool[data-v-3d9f3318]{background-color:#ffae001a;color:#ffae00}.right-selected .selected-file-content .list-info .app-draw[data-v-3d9f3318]{background-color:#ff94291f;color:#ff9429}.right-selected .selected-file-content .list-info .file-name[data-v-3d9f3318]{margin-left:15px;white-space:nowrap;color:#202020;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:22px;letter-spacing:0px;text-align:left;max-width:680px;overflow:hidden;text-overflow:ellipsis}.right-selected .selected-file-content .list-info .delete-button[data-v-3d9f3318]{margin-left:auto;color:#979797;cursor:pointer;-webkit-user-select:none;user-select:none}.right-selected .selected-file-content .list-info .delete-button[data-v-3d9f3318]:hover{color:#f65d30}.left[data-v-e3fbb212]{padding:12px 7px;width:222px;height:100%;overflow:auto;gap:12px;border-right:1px solid #ecf0f8}.mid-list[data-v-e3fbb212]{flex:1;height:100%;overflow:auto;padding:12px 14px;display:flex;flex-direction:column;width:370px;border-right:1px solid #ecf0f8}.mid-list .list-main[data-v-e3fbb212]{display:flex;flex-direction:column;height:443px;overflow-y:auto}.mid-list .list-main .list-item[data-v-e3fbb212]:hover{cursor:pointer;background-color:#fff6f0}.mid-list .list-item[data-v-e3fbb212]{display:flex;flex-direction:row;padding:10px 0;-webkit-user-select:none;user-select:none}.mid-list .list-header[data-v-e3fbb212]{color:#2a334a;font-family:PingFang SC;font-size:14px;font-weight:500;line-height:20px;letter-spacing:0px;text-align:left;background-color:#c9d2e133}.mid-list .file-checkbox[data-v-e3fbb212]{width:42px;padding:0 11px}.mid-list .file-name[data-v-e3fbb212]{width:166px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mid-list .file-version[data-v-e3fbb212]{width:37px}.mid-list .file-uploader[data-v-e3fbb212]{width:90px}.mid-list .file-upload-time[data-v-e3fbb212]{width:150px}.right-selected[data-v-e3fbb212]{padding:12px 7px;height:100%;width:248px;background-color:#fff;border-radius:4px;overflow:auto}.right-selected .selected-file-content[data-v-e3fbb212]{display:flex;flex-direction:column;padding:11px 12px}.right-selected .selected-file-content .file-list-header[data-v-e3fbb212]{display:flex;flex-direction:row}.right-selected .selected-file-content .file-list-header .file-count[data-v-e3fbb212]{color:#47516a;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;-webkit-user-select:none;user-select:none}.right-selected .selected-file-content .file-list-header .delete-all[data-v-e3fbb212]{color:#416ad9;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;margin-left:auto}.right-selected .selected-file-content .list-content[data-v-e3fbb212]{margin-top:12px;height:447px;overflow-y:auto}.right-selected .selected-file-content .list-info[data-v-e3fbb212]{display:flex;flex-direction:row}.right-selected .selected-file-content .list-info+.list-info[data-v-e3fbb212]{margin-top:8px}.right-selected .selected-file-content .list-info .file-app[data-v-e3fbb212]{padding:2px 8px;border-radius:4px;font-family:微软雅黑;font-size:12px;font-weight:290;line-height:20px;letter-spacing:0px;text-align:left;white-space:nowrap}.right-selected .selected-file-content .list-info .app-doc[data-v-e3fbb212]{color:#ffae00;background-color:#ffae001a}.right-selected .selected-file-content .list-info .app-task[data-v-e3fbb212]{background-color:#0a87f51a;color:#0a87f5}.right-selected .selected-file-content .list-info .app-comm[data-v-e3fbb212]{background-color:#4f34d91f;color:#4f34d9}.right-selected .selected-file-content .list-info .app-tool[data-v-e3fbb212]{background-color:#ffae001a;color:#ffae00}.right-selected .selected-file-content .list-info .file-name[data-v-e3fbb212]{margin-left:15px;white-space:nowrap;color:#202020;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:22px;letter-spacing:0px;text-align:left;max-width:680px;overflow:hidden;text-overflow:ellipsis}.right-selected .selected-file-content .list-info .delete-button[data-v-e3fbb212]{margin-left:auto;color:#979797;cursor:pointer;-webkit-user-select:none;user-select:none}.right-selected .selected-file-content .list-info .delete-button[data-v-e3fbb212]:hover{color:#f65d30}.file-main[data-v-69d7cd23]{padding:0 24px;height:530px;display:flex;flex-direction:column;gap:8px}.file-main .header[data-v-69d7cd23]{height:28px}.file-main .header .type-content[data-v-69d7cd23]{border-radius:4px;background:#c9d2e14d;padding:3px;display:flex;flex-direction:row;width:fit-content}.file-main .header .type-content .type[data-v-69d7cd23],.file-main .header .type-content .type-active[data-v-69d7cd23]{height:26px;padding:7px;border-radius:4px;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;display:flex;color:#47516a;font-family:PingFang SC;font-size:14px;font-weight:500;line-height:14px;letter-spacing:0px;text-align:center}.file-main .header .type-content .type+.type[data-v-69d7cd23],.file-main .header .type-content .type-active+.type[data-v-69d7cd23]{margin-left:3px}.file-main .header .type-content .type[data-v-69d7cd23]:hover,.file-main .header .type-content .type-active[data-v-69d7cd23]:hover{color:#f65d30}.file-main .header .type-content .type-active[data-v-69d7cd23]{background:#fff;color:#f65d30}.file-main .content[data-v-69d7cd23]{display:flex;flex:1;height:calc(100% - 88px);background-color:#fff;border-radius:3px}.file-main .footer[data-v-69d7cd23]{height:64px;display:flex;justify-content:space-between;align-items:center}.content-footer[data-v-69d7cd23]{padding:16px 23px;display:flex}.content-footer .margin-left-12[data-v-69d7cd23]{margin-left:12px}.footer-button[data-v-69d7cd23]{display:flex;flex-direction:row;margin-left:auto;gap:10px}.margin-left-12[data-v-69d7cd23]{margin-left:12px}.all-selected-list[data-v-69d7cd23]{display:flex;flex-direction:column;width:600px;max-height:564px}.all-selected-list .selected-file-content[data-v-69d7cd23]{display:flex;flex-direction:column}.all-selected-list .selected-file-content .file-list-header[data-v-69d7cd23]{display:flex;justify-content:space-between}.list-content[data-v-69d7cd23]{display:flex;justify-content:space-between;flex-direction:column;gap:5px}.list-content .list-info[data-v-69d7cd23]{display:flex;justify-content:space-between}.list-content .list-info .left-item[data-v-69d7cd23]{display:flex;justify-content:flex-start;gap:5px}.list-content .list-info .right-item[data-v-69d7cd23]{display:flex;justify-content:flex-end;gap:5px}.list-content .list-info .right-item .delete-button[data-v-69d7cd23]{margin-left:auto;color:#979797;cursor:pointer;-webkit-user-select:none;user-select:none}.list-content .list-info .right-item .delete-button[data-v-69d7cd23]:hover{color:#f65d30}.list-content .file-app[data-v-69d7cd23]{padding:2px 8px;border-radius:4px;font-family:微软雅黑;font-size:12px;font-weight:290;line-height:20px;letter-spacing:0px;text-align:left;white-space:nowrap}.list-content .app-doc[data-v-69d7cd23]{color:#ffae00;background-color:#ffae001a}.list-content .app-task[data-v-69d7cd23]{background-color:#0a87f51a;color:#0a87f5}.list-content .app-comm[data-v-69d7cd23]{background-color:#4f34d91f;color:#4f34d9}.list-content .app-tool[data-v-69d7cd23]{background-color:#ffae001a;color:#ffae00}.list-content .app-draw[data-v-69d7cd23]{background-color:#ff94291f;color:#ff9429}.list-content .file-name[data-v-69d7cd23]{margin-left:0;white-space:nowrap;color:#202020;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:22px;letter-spacing:0px;text-align:left;max-width:680px;overflow:hidden;text-overflow:ellipsis}.list-content .delete-button[data-v-69d7cd23]{margin-left:auto;color:#979797;cursor:pointer;-webkit-user-select:none;user-select:none}.list-content .delete-button[data-v-69d7cd23]:hover{color:#f65d30}.selected-doc-popover .file-app[data-v-69d7cd23]{padding:2px 8px;border-radius:4px;font-family:微软雅黑;font-size:12px;font-weight:290;line-height:20px;letter-spacing:0px;text-align:left;white-space:nowrap}.selected-doc-popover .app-doc[data-v-69d7cd23]{color:#ffae00;background-color:#ffae001a}.selected-doc-popover .app-task[data-v-69d7cd23]{background-color:#0a87f51a;color:#0a87f5}.selected-doc-popover .app-comm[data-v-69d7cd23]{background-color:#4f34d91f;color:#4f34d9}.selected-doc-popover .app-tool[data-v-69d7cd23]{background-color:#ffae001a;color:#ffae00}.selected-doc-popover .app-draw[data-v-69d7cd23]{background-color:#ff94291f;color:#ff9429}.selected-doc-popover .file-name[data-v-69d7cd23]{margin-left:0;white-space:nowrap;color:#202020;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:22px;letter-spacing:0px;text-align:left;max-width:680px;overflow:hidden;text-overflow:ellipsis}.selected-doc-popover .delete-button[data-v-69d7cd23]{margin-left:auto;color:#979797;cursor:pointer;-webkit-user-select:none;user-select:none}.selected-doc-popover .delete-button[data-v-69d7cd23]:hover{color:#f65d30}[data-v-52e2c08c] .buttons-wrap{display:flex;justify-content:end;padding:0 30px;gap:10px}[data-v-52e2c08c] .is-circle{min-width:unset!important}[data-v-52e2c08c] .dynamicPseudoAfter .el-icon-plus:before,[data-v-52e2c08c] .dynamicPseudoAfter .el-icon-download:before{content:""}[data-v-52e2c08c] .cbim-form-render{margin:0 20px 20px!important}.file-main[data-v-52e2c08c] .el-input--suffix .el-input__inner{padding-right:0}.file-main[data-v-52e2c08c] .el-input-number.is-controls-right .el-input__inner{padding:0}.table-container[data-v-8c37a3a5]{padding:0 24px}.footer[data-v-8c37a3a5]{height:64px;display:flex;justify-content:flex-end;align-items:center}.margin-left-12[data-v-8c37a3a5]{margin-left:12px} /*$vite$:1*/`,document.head.appendChild(X);const de={props:{title:{type:String,default:""},width:{type:Number,default:450},visible:{type:Boolean,default:!1},selfZIndex:{type:Number,default:0},modalIndex:{type:Number,default:100},showTitle:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!1},closeable:{type:Boolean,default:!0},fullScreen:{type:Boolean,default:!1},destroyOnClose:{type:Boolean,default:!1},showMask:{type:Boolean,default:!0}},data(){return{isModalFullscreen:!1}},computed:{zIndex(){const d=this.modalIndex;return/^\d+$/.test(d+"")?+d:1e3}},watch:{isModalFullscreen(d){this.$emit("modalFullscreenChange",d)}},created(){},methods:{cancel(){this.$emit("closeModal")}}},z=(d,r)=>{const t=d.__vccOpts||d;for(const[l,o]of r)t[l]=o;return t},pe={key:0,class:"common-components-modal-header"},fe={class:"modal-operation-list"},me={key:0},he={key:1},ge={key:1};function ue(d,r,t,l,o,s){const a=e.resolveComponent("a-button"),f=e.resolveComponent("a-modal");return e.openBlock(),e.createBlock(f,{centered:"",visible:t.visible,mask:t.showMask,width:t.width,closable:!1,destroyOnClose:t.destroyOnClose,maskClosable:t.closeable&&t.maskClosable,onCancel:s.cancel,wrapClassName:["common-components-modal-wrapper",o.isModalFullscreen?"full-screen-modal":""].join(" "),footer:!1,zIndex:t.selfZIndex?t.selfZIndex:s.zIndex},{title:e.withCtx(()=>[t.showTitle?(e.openBlock(),e.createElementBlock("div",pe,[e.createElementVNode("h3",null,e.toDisplayString(t.title),1),e.createElementVNode("ul",fe,[t.fullScreen?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.isModalFullscreen?(e.openBlock(),e.createElementBlock("li",me,[e.createVNode(a,{title:"最小化",onClick:r[0]||(r[0]=b=>o.isModalFullscreen=!o.isModalFullscreen)},{default:e.withCtx(()=>r[2]||(r[2]=[e.createElementVNode("i",{class:"iconfont iconexitfullscreen"},null,-1)])),_:1})])):(e.openBlock(),e.createElementBlock("li",he,[e.createVNode(a,{title:"最大化",onClick:r[1]||(r[1]=b=>o.isModalFullscreen=!o.isModalFullscreen)},{default:e.withCtx(()=>r[3]||(r[3]=[e.createElementVNode("i",{class:"iconfont iconfullscreen"},null,-1)])),_:1})]))],64)):e.createCommentVNode("",!0),t.closeable?(e.openBlock(),e.createElementBlock("li",ge,[e.createVNode(a,{title:"关闭",onClick:s.cancel},{default:e.withCtx(()=>r[4]||(r[4]=[e.createElementVNode("i",{class:"iconfont iconclear"},null,-1)])),_:1},8,["onClick"])])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},8,["visible","mask","width","destroyOnClose","maskClosable","onCancel","wrapClassName","zIndex"])}const Y=z(de,[["render",ue]]),xe="data:image/svg+xml,%3csvg%20width='160.000000'%20height='160.000000'%20viewBox='0%200%20160%20160'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cdesc%3e%20Created%20with%20Pixso.%20%3c/desc%3e%3cdefs%3e%3cclipPath%20id='clip911_70087'%3e%3crect%20id='无内容'%20width='160.000000'%20height='160.000000'%20transform='translate(-0.750000%200.000000)'%20fill='white'%20fill-opacity='0'/%3e%3c/clipPath%3e%3clinearGradient%20x1='81.231277'%20y1='106.418907'%20x2='85.432457'%20y2='132.500137'%20id='paint_linear_911_70089_0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.083969'%20stop-color='%23BFC4CE'/%3e%3cstop%20offset='0.709924'%20stop-color='%23E6E7E7'%20stop-opacity='0.000000'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='71.250061'%20y1='37.821777'%20x2='71.250061'%20y2='113.166321'%20id='paint_linear_911_70092_0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFFFFF'/%3e%3cstop%20offset='0.992366'%20stop-color='%23DCE0EA'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='73.250061'%20y1='37.821777'%20x2='73.250061'%20y2='113.166321'%20id='paint_linear_911_70095_0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BBBFC9'/%3e%3cstop%20offset='1.000000'%20stop-color='%23DDE1EB'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='128.546509'%20y1='26.055443'%20x2='86.469521'%20y2='45.626282'%20id='paint_linear_911_70096_0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F1F2F4'%20stop-opacity='0.000000'/%3e%3cstop%20offset='1.000000'%20stop-color='%239AA1B3'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='36.915379'%20y1='50.661804'%20x2='15.561500'%20y2='42.450741'%20id='paint_linear_911_70097_0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2398A1B3'/%3e%3cstop%20offset='1.000000'%20stop-color='%23DADFE9'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='80.583336'%20y1='60.500000'%20x2='80.583336'%20y2='113.833336'%20id='paint_linear_911_70098_0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFFFFF'/%3e%3cstop%20offset='0.992366'%20stop-color='%23DCE0EA'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='80.916656'%20y1='61.166992'%20x2='80.916656'%20y2='113.833664'%20id='paint_linear_911_70099_0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BCC1CB'/%3e%3cstop%20offset='1.000000'%20stop-color='%23DFE3ED'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='54.492157'%20y1='-34.913971'%20x2='77.004303'%20y2='46.455650'%20id='paint_linear_911_70101_0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E2E5EE'/%3e%3cstop%20offset='0.999600'%20stop-color='%23C0C4CE'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='88.905510'%20y1='130.044037'%20x2='88.905510'%20y2='117.559013'%20id='paint_linear_911_70103_0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23B2BDD4'/%3e%3cstop%20offset='1.000000'%20stop-color='%23667696'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='106.704765'%20y1='130.044037'%20x2='106.704765'%20y2='117.559013'%20id='paint_linear_911_70105_0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23B2BDD4'/%3e%3cstop%20offset='1.000000'%20stop-color='%23667696'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='42.681900'%20y1='51.272411'%20x2='105.114532'%20y2='138.613266'%20id='paint_linear_911_70107_0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2397A4C0'/%3e%3cstop%20offset='0.999400'%20stop-color='%23606F8F'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='73.715248'%20y1='104.633347'%20x2='73.715248'%20y2='129.983139'%20id='paint_linear_911_70108_0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F2F2F2'/%3e%3cstop%20offset='0.999400'%20stop-color='%23303030'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='78.985329'%20y1='48.215206'%20x2='142.083847'%20y2='141.504913'%20id='paint_linear_911_70109_0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2397A4C0'/%3e%3cstop%20offset='0.999400'%20stop-color='%23606F8F'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='121.448242'%20y1='104.633400'%20x2='121.448242'%20y2='129.983200'%20id='paint_linear_911_70110_0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F2F2F2'/%3e%3cstop%20offset='0.999400'%20stop-color='%23303030'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='67.891861'%20y1='55.864288'%20x2='130.990463'%20y2='149.154053'%20id='paint_linear_911_70111_0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238E9BB6'/%3e%3cstop%20offset='0.999400'%20stop-color='%23A7B5D3'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='88.457977'%20y1='94.968178'%20x2='87.828773'%20y2='120.488007'%20id='paint_linear_911_70120_0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23CBCFD9'/%3e%3cstop%20offset='0.999400'%20stop-color='%23AEBCD7'/%3e%3c/linearGradient%3e%3clinearGradient%20x1='107.008881'%20y1='94.968178'%20x2='106.379677'%20y2='120.488007'%20id='paint_linear_911_70122_0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23CBCFD9'/%3e%3cstop%20offset='0.999400'%20stop-color='%23AEBCD7'/%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20clip-path='url(%23clip911_70087)'%3e%3cpath%20id='矢量%201'%20d='M62.81%20131.55L28.25%20113.81L116.47%20101.83L145%20114.34C146.2%20114.86%20146.01%20116.62%20144.73%20116.87L66.69%20132.1C65.37%20132.36%2064%20132.16%2062.81%20131.55Z'%20fill='url(%23paint_linear_911_70089_0)'%20fill-opacity='1.000000'%20fill-rule='evenodd'/%3e%3cpath%20id='减去顶层'%20d='M27.5834%2040.4888L27.5834%20113.167L114.917%20101.746L114.917%2054.3433C114.917%2052.9473%20113.84%2051.7871%20112.447%2051.6841L69.238%2048.48C68.3006%2048.4106%2067.4361%2047.9487%2066.8575%2047.2075L61.9528%2040.9282C61.366%2040.1772%2060.4857%2039.7129%2059.5344%2039.6533L30.417%2037.8271C28.8816%2037.731%2027.5834%2038.9502%2027.5834%2040.4888ZM59.0235%2043.626L38.128%2042.6367C37.0659%2042.5864%2036.1774%2043.4341%2036.1774%2044.4971C36.1774%2045.4917%2036.9586%2046.3105%2037.9519%2046.3579L58.8474%2047.3467C59.9094%2047.397%2060.798%2046.5498%2060.798%2045.4863C60.798%2044.4922%2060.0168%2043.6729%2059.0235%2043.626Z'%20clip-rule='evenodd'%20fill='url(%23paint_linear_911_70092_0)'%20fill-opacity='1.000000'%20fill-rule='evenodd'/%3e%3cpath%20id='减去顶层'%20d='M29.5834%2040.4888L29.5834%20113.167L116.917%20101.746L116.917%2054.3433C116.917%2052.9473%20115.84%2051.7871%20114.447%2051.6841L72.1211%2048.5454C70.6213%2048.4346%2069.2381%2047.6948%2068.3123%2046.5098L64.5063%2041.6367C63.5675%2040.4351%2062.1591%2039.6924%2060.6369%2039.5972L32.417%2037.8271C30.8816%2037.731%2029.5834%2038.9502%2029.5834%2040.4888ZM59.1655%2043.626L38.2699%2042.6367C37.2079%2042.5864%2036.3194%2043.4341%2036.3194%2044.4971C36.3194%2045.4917%2037.1005%2046.3105%2038.0938%2046.3579L58.9893%2047.3467C60.0514%2047.397%2060.9399%2046.5498%2060.9399%2045.4863C60.9399%2044.4922%2060.1588%2043.6729%2059.1655%2043.626Z'%20clip-rule='evenodd'%20fill='url(%23paint_linear_911_70095_0)'%20fill-opacity='1.000000'%20fill-rule='evenodd'/%3e%3cpath%20id='矢量%209'%20d='M131.25%2026C114.91%2039%2098.25%2046.66%2082.24%2047.66C66.24%2048.66%2067.29%2038.82%2069.58%2036.33C73.25%2032.33%2078.94%2033.71%2080.58%2037.33C83.17%2043.05%2075.54%2057.73%2041.79%2056.66'%20stroke='url(%23paint_linear_911_70096_0)'%20stroke-opacity='1.000000'%20stroke-width='0.666667'/%3e%3cpath%20id='矢量%2010'%20d='M27.72%2047.76C19.22%2043.83%2017.22%2039.24%2017.22%2039.24C14.99%2044.52%2015.87%2053.02%2019.84%2057.16C25.45%2063.01%2031.7%2058.43%2031.7%2058.43C24.71%2056.87%2019.21%2051.83%2019.03%2046.88C19.03%2046.88%2021.46%2053.7%2030.88%2056.77C32.96%2057.31%2038.12%2057.8%2037.47%2056.35C34.94%2056.36%2033.13%2056.04%2033.13%2056.04C33.13%2056.04%2032.94%2050.55%2027.72%2047.76Z'%20fill='url(%23paint_linear_911_70097_0)'%20fill-opacity='1.000000'%20fill-rule='evenodd'/%3e%3cpath%20id='矢量%202'%20d='M48.59%2064.25L27.58%20113.33L28.08%20113.83L116.34%20102.05L132.78%2064.85C133.16%2063.98%20132.55%2063%20131.6%2062.97L54.29%2060.62C51.82%2060.54%2049.56%2061.99%2048.59%2064.25Z'%20fill='url(%23paint_linear_911_70098_0)'%20fill-opacity='1.000000'%20fill-rule='evenodd'/%3e%3cpath%20id='矢量%201'%20d='M50.32%2064.82L28.25%20113.83L116.14%20102.05L132.75%2065.53C133.14%2064.66%20132.53%2063.67%20131.58%2063.64L55.97%2061.29C53.55%2061.21%2051.31%2062.61%2050.32%2064.82Z'%20fill='url(%23paint_linear_911_70099_0)'%20fill-opacity='1.000000'%20fill-rule='evenodd'/%3e%3cg%20opacity='0.400000'%3e%3cellipse%20id='ellipse'%20cx='97.749252'%20cy='121.438477'%20rx='23.683187'%20ry='1.894951'%20fill='url(%23paint_linear_911_70101_0)'%20fill-opacity='1.000000'/%3e%3c/g%3e%3crect%20id='rect'%20x='86.115173'%20y='107.219238'%20width='5.579566'%20height='13.218100'%20fill='url(%23paint_linear_911_70103_0)'%20fill-opacity='1.000000'/%3e%3crect%20id='rect'%20x='103.914429'%20y='107.219238'%20width='5.579566'%20height='13.218100'%20fill='url(%23paint_linear_911_70105_0)'%20fill-opacity='1.000000'/%3e%3cpath%20id='path'%20d='M75.45%2099.36L73.87%20103.5C76.16%20104.64%2080.45%20105.63%2082.56%20104.95C84.69%20104.27%2084.68%20101.52%2084.68%20101.52C79.74%20101.71%2077.17%20101.02%2075.45%2099.36Z'%20fill='url(%23paint_linear_911_70107_0)'%20fill-opacity='1.000000'%20fill-rule='nonzero'/%3e%3cpath%20id='path'%20d='M73.49%2098.67C71.95%2098.79%2070.8%20100.16%2070.92%20101.71C71.04%20103.27%2072.39%20104.43%2073.93%20104.31C75.47%20104.18%2076.62%20102.82%2076.5%20101.26C76.38%2099.71%2075.03%2098.55%2073.49%2098.67Z'%20fill='url(%23paint_linear_911_70108_0)'%20fill-opacity='1.000000'%20fill-rule='nonzero'/%3e%3cpath%20id='path'%20d='M119.56%2099.58L121.43%20103.6C119.21%20104.9%20115.02%20106.2%20112.86%20105.67C110.68%20105.14%20110.5%20102.4%20110.5%20102.4C115.45%20102.23%20117.96%20101.36%20119.56%2099.58Z'%20fill='url(%23paint_linear_911_70109_0)'%20fill-opacity='1.000000'%20fill-rule='nonzero'/%3e%3cpath%20id='path'%20d='M121.46%2098.75C123.01%2098.76%20124.25%20100.04%20124.25%20101.6C124.24%20103.16%20122.97%20104.41%20121.43%20104.4C119.88%20104.39%20118.64%20103.12%20118.65%20101.56C118.66%2099.99%20119.92%2098.74%20121.46%2098.75Z'%20fill='url(%23paint_linear_911_70110_0)'%20fill-opacity='1.000000'%20fill-rule='nonzero'/%3e%3cpath%20id='path'%20d='M115%20108.08L115%2092.12C115%2091.33%20114.59%2090.6%20113.93%2090.19L98.94%2080.98C98.24%2080.55%2097.37%2080.55%2096.67%2080.98L81.69%2090.19C81.03%2090.6%2080.62%2091.33%2080.62%2092.12L80.62%20108.08C80.62%20108.87%2081.03%20109.6%2081.69%20110.01L96.67%20119.21C97.38%20119.64%2098.25%20119.64%2098.94%20119.21L113.93%20110C114.59%20109.6%20115%20108.87%20115%20108.08Z'%20fill='url(%23paint_linear_911_70111_0)'%20fill-opacity='1.000000'%20fill-rule='nonzero'/%3e%3cpath%20id='path'%20d='M114.92%20120.95C114.92%20118.44%20112.17%20116.41%20108.78%20116.41C105.39%20116.41%20102.64%20118.44%20102.64%20120.95L114.92%20120.95Z'%20fill='%23000000'%20fill-opacity='1.000000'%20fill-rule='nonzero'/%3e%3cpath%20id='path'%20d='M80.62%20120.95C80.62%20118.44%2083.38%20116.41%2086.78%20116.41C90.19%20116.41%2092.94%20118.44%2092.94%20120.95L80.62%20120.95Z'%20fill='%23000000'%20fill-opacity='1.000000'%20fill-rule='nonzero'/%3e%3cpath%20id='path'%20d='M112.31%2094.76C106.64%2093.98%20101.79%2092.55%2098.57%2090.63C98.31%2090.47%2098.01%2090.39%2097.71%2090.39C97.41%2090.39%2097.1%2090.47%2096.84%2090.63C93.62%2092.56%2089.05%2093.99%2083.38%2094.76C82.07%2094.95%2081.55%2096.42%2082.5%2097.26C86.45%20100.72%2087.78%20104.14%2088.51%20106.09C88.73%20106.67%2089.34%20107.06%2090.02%20107.06L97.71%20107.06L105.4%20107.06C106.08%20107.06%20106.69%20106.67%20106.91%20106.09C107.65%20104.14%20109.25%20100.72%20113.2%2097.26C114.15%2096.42%20113.62%2094.95%20112.31%2094.76Z'%20fill='%23FFFFFF'%20fill-opacity='1.000000'%20fill-rule='nonzero'/%3e%3cpath%20id='path'%20d='M90.84%2099.39C90.84%20100.79%2089.72%20101.92%2088.34%20101.92C86.96%20101.92%2085.84%20100.79%2085.84%2099.39C85.84%2098%2086.96%2096.87%2088.34%2096.87C89.73%2096.87%2090.84%2098%2090.84%2099.39Z'%20fill='url(%23paint_linear_911_70120_0)'%20fill-opacity='1.000000'%20fill-rule='nonzero'/%3e%3cpath%20id='path'%20d='M109.39%2099.39C109.39%20100.79%20108.27%20101.92%20106.89%20101.92C105.51%20101.92%20104.39%20100.79%20104.39%2099.39C104.39%2098%20105.51%2096.87%20106.89%2096.87C108.27%2096.87%20109.39%2098%20109.39%2099.39Z'%20fill='url(%23paint_linear_911_70122_0)'%20fill-opacity='1.000000'%20fill-rule='nonzero'/%3e%3cpath%20id='path'%20d='M95.01%2097.83C95.01%2099.63%2093.56%20101.1%2091.77%20101.1C89.98%20101.1%2088.53%2099.63%2088.53%2097.83C88.53%2096.02%2089.98%2094.56%2091.77%2094.56C93.56%2094.56%2095.01%2096.02%2095.01%2097.83Z'%20fill='%23FFFFFF'%20fill-opacity='1.000000'%20fill-rule='nonzero'/%3e%3cpath%20id='path'%20d='M94.18%2097.83C94.18%2099.13%2093.13%20100.19%2091.84%20100.19C90.55%20100.19%2089.5%2099.13%2089.5%2097.83C89.5%2096.52%2090.55%2095.47%2091.84%2095.47C93.13%2095.47%2094.18%2096.52%2094.18%2097.83Z'%20fill='%23000000'%20fill-opacity='1.000000'%20fill-rule='nonzero'/%3e%3cpath%20id='path'%20d='M94.18%2097.83C94.18%2099.13%2093.13%20100.19%2091.84%20100.19C90.55%20100.19%2089.5%2099.13%2089.5%2097.83C89.5%2096.52%2090.55%2095.47%2091.84%2095.47C93.13%2095.47%2094.18%2096.52%2094.18%2097.83Z'%20fill='%23000000'%20fill-opacity='0'%20fill-rule='nonzero'/%3e%3cpath%20id='path'%20d='M91.84%20100.19C90.55%20100.19%2089.5%2099.13%2089.5%2097.83C89.5%2096.52%2090.55%2095.47%2091.84%2095.47C93.13%2095.47%2094.18%2096.52%2094.18%2097.83C94.18%2099.13%2093.13%20100.19%2091.84%20100.19Z'%20stroke='%23000000'%20stroke-opacity='1.000000'%20stroke-width='0.051333'/%3e%3cpath%20id='path'%20d='M107.08%2097.83C107.08%2099.55%20105.69%20100.94%20103.99%20100.94C102.29%20100.94%20100.91%2099.55%20100.91%2097.83C100.91%2096.11%20102.29%2094.71%20103.99%2094.71C105.69%2094.71%20107.08%2096.11%20107.08%2097.83Z'%20fill='%23FFFFFF'%20fill-opacity='1.000000'%20fill-rule='nonzero'/%3e%3cpath%20id='path'%20d='M106.22%2097.83C106.22%2099.07%20105.22%20100.08%20103.99%20100.08C102.76%20100.08%20101.77%2099.07%20101.77%2097.83C101.77%2096.58%20102.76%2095.58%20103.99%2095.58C105.22%2095.58%20106.22%2096.58%20106.22%2097.83Z'%20fill='%23000000'%20fill-opacity='1.000000'%20fill-rule='nonzero'/%3e%3cellipse%20id='ellipse'%20rx='2.248126'%20ry='2.228082'%20transform='matrix(0.187341%20-0.982295%200.981618%200.190858%20103.996%2097.8291)'%20fill='%23000000'%20fill-opacity='0'/%3e%3cellipse%20id='ellipse'%20rx='2.248126'%20ry='2.228082'%20transform='matrix(0.187341%20-0.982295%200.981618%200.190858%20103.996%2097.8291)'%20stroke='%23000000'%20stroke-opacity='1.000000'%20stroke-width='0.051335'/%3e%3cpath%20id='path'%20d='M93%20102.81C93%20100.44%2095.16%2098.52%2097.82%2098.52C100.48%2098.52%20102.64%20100.44%20102.64%20102.81L93%20102.81Z'%20fill='%23000000'%20fill-opacity='1.000000'%20fill-rule='nonzero'/%3e%3cpath%20id='path'%20d='M97.18%20103.56L98.5%20103.56C98.81%20103.56%2098.99%20103.96%2098.82%20104.27L98.15%20105.45C98%20105.72%2097.67%20105.72%2097.51%20105.44L96.86%20104.26C96.69%20103.96%2096.88%20103.56%2097.18%20103.56Z'%20fill='%23000000'%20fill-opacity='1.000000'%20fill-rule='nonzero'/%3e%3c/g%3e%3c/svg%3e",ye={name:"empty",props:{isWord:{type:Boolean,default:()=>!0},emptyText:{type:String,default:"暂无内容"},size:{type:Number,default:100},type:{type:String,default:()=>"empty-person"},font:{type:Number,default:12},isBlock:{type:Boolean,default:()=>!1},fullHeight:{type:Boolean,default:()=>!0}},data(){return{emptyImg:xe}}},ke={class:"flex-column align-center-v"},be=["src"];function _e(d,r,t,l,o,s){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cbim-empty align-center-h align-center-v",{isBlock:t.isBlock,"height-100":t.fullHeight}])},[e.createElementVNode("div",ke,[e.withDirectives(e.createElementVNode("img",{class:"cbim-empty-icon",src:o.emptyImg,style:e.normalizeStyle({width:`${t.size}px`,height:`${t.size}px`})},null,12,be),[[e.vShow,t.isWord]]),e.createElementVNode("div",{style:e.normalizeStyle([{fontSize:`${t.font}px`},{"margin-top":"8px","user-select":"none"}])},e.toDisplayString(t.emptyText),5)])],2)}const K=z(ye,[["render",_e],["__scopeId","data-v-3829798c"]]),ee={set:function(d,r,t=1,l){const o=new Date;o.setTime(o.getTime()+t*24*60*60*1e3);const s=l?";domain=cbim.org.cn":"";window.document.cookie=`${d}=${r};path=/;expires=${o.toUTCString()}${s}`},get:function(d){const r=window.document.cookie.match("(^|;) ?"+d+"=([^;]*)(;|$)");return r?r[2]:null},delete:function(d){this.set(d,"",-1)},clear(){const d=document.cookie.match(/[^ =;]+(?==)/g);if(d)for(let r=d.length;r--;)document.cookie=d[r]+"=0; domain=cbim.org.cn; path=/; expires="+new Date(0).toUTCString()}};function we(){return localStorage.getItem("CIM-AUTHORIZATION")||ee.get("CBIM-SESSION")||ee.get("SESSION")||""}const Z=((d={prefix:"/api",hideErrors:!1})=>{const r=A.create({baseURL:d.prefix,timeout:6e4,headers:{"Content-Type":"application/json"},maxContentLength:2e3});return r.interceptors.request.use(t=>{t.baseURL=window.__ProjDocArchiveSelectorBaseURL__,t.headers.applicationName="microApplication",t.headers.sessionkey=we();try{JSON.parse(localStorage.getItem("Doc-ProjectId-tmp"))&&(t.headers["Doc-ProjectId"]=JSON.parse(localStorage.getItem("Doc-ProjectId-tmp")))}catch(l){console.log(l)}return t},t=>Promise.reject(t)),r.interceptors.response.use(t=>{const{code:l,data:o}=t.data;return l===0||l===200||l===201||l==="200"?Promise.resolve(t.data):l===403||l===401||l===403||l===802?(!d.hideErrors&&R.message.error(t.data.message),Promise.reject({message:t.data.message,data:o})):l===206||l===404?Promise.resolve(t.data):Promise.reject({message:t.data.message,data:o,code:l})},t=>Promise.reject({message:"请求失败",data:t})),{get:(t,l)=>new Promise((o,s)=>{r.get(t,{params:l}).then(a=>{o(a)},a=>{s(a)})}),post:(t,l,o)=>new Promise((s,a)=>{r.post(t,l,o).then(f=>{s(f)},f=>{a(f)})}),put:(t,l)=>new Promise((o,s)=>{r.put(t,l).then(a=>{o(a)},a=>{s(a)})}),patch:(t,l)=>new Promise((o,s)=>{r.patch(t,{params:l}).then(a=>{o(a)},a=>{s(a)})}),delete:(t,l)=>new Promise((o,s)=>{r.get(t,{params:l}).then(a=>{o(a)},a=>{s(a)})}),upload:(t,l,o)=>new Promise((s,a)=>{r.post(t,l,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:f=>{f.lengthComputable&&o&&o(f)}}).then(f=>{s(f||{})},f=>{a(f)})}),download:(t,l)=>new Promise((o,s)=>{A({url:t,method:"get",responseType:"blob",onDownloadProgress:a=>{a.lengthComputable&&l&&l(a)}}).then(a=>{o(a.data.data||{})},a=>{s(a)})}),axios:A}})({prefix:"/",hideErrors:!1}),H="cbim-app-doc-refactor",te=(d,r)=>Z.post(`${H}/resources/list?space=${d.space}&section=${d.projectId==="-1"?"NO_PROJECT":"ALL"}`,r),Ce=()=>Z.get(`${H}/bucket/app/rootPath`),ve=d=>Z.get(`${H}/task/tree?projectId=${d.projectId}`),Se=d=>Z.get(`${H}/task/file/list?taskId=${d.taskId}`),Ne=()=>Z.get(`${H}/resources/draw/folder/list`),Ie=d=>Z.get(`${H}/resources/draw/file/list?folderId=${d.folderId}`),Ee={class:"left"},Fe={class:"folder-tree"},Be={key:0},Le={style:{color:"#f50"}},Ve={key:1},Te={class:"mid-list"},De={class:"list-main"},Pe={class:"list-item"},$e={class:"file-checkbox"},Oe=["title"],je={class:"file-version"},Ue={class:"file-uploader"},Me={class:"right-selected"},Ae={key:0,class:"selected-file-content"},ze={class:"file-list-header"},Ge={class:"file-count"},Re={class:"list-content"},Ke=["title"],Ze=["onClick"],He=z(e.defineComponent({__name:"taskFile",props:["projectId","selectedTaskFileList"],emits:["handleChangeSelectedTaskFileList"],setup(d,{emit:r}){const t=d,l=r,o=e.ref(""),s=e.ref([]),a=e.ref([]),f=e.ref([]),b=e.ref([]);let B=[];const T=h=>{let i=[];for(const n of h){const{children:u,...x}=n;u&&u.length&&(i=i.concat(T(u))),i.push(x)}return i},v=(h,i)=>{var n,u;for(let x in h){if(h[x].key===i)return[h[x].key];if(((u=(n=h[x])==null?void 0:n.children)==null?void 0:u.length)>0){let c=v(h[x].children,i);if(c!==void 0)return c.concat(h[x].key)}}};e.watch(()=>o.value,h=>{if(h===""){f.value=[];return}const i=B.filter(n=>n.title.indexOf(h)>-1);f.value=[],i.forEach(n=>{const u=v(s.value,n==null?void 0:n.key);if((u==null?void 0:u.length)>0){const x=new Map;f.value=[...f.value,...u].filter(c=>!x.has(c)&&x.set(c,c))}})});const P=h=>{a.value=h},L=()=>{Se({taskId:a.value[0]}).then(h=>{h.code==200&&(b.value=h.data,b.value.forEach((i,n)=>{N.value.indexOf(i.id)>-1?b.value[n].checked=!0:b.value[n].checked=!1}))})};e.watch(()=>a.value,()=>{a.value.length>0&&L()});const N=e.ref([]);e.watch(()=>t.selectedTaskFileList,()=>{N.value=t.selectedTaskFileList.map(h=>h.id),b.value.forEach((h,i)=>{N.value.indexOf(h.id)>-1?b.value[i].checked=!0:b.value[i].checked=!1}),console.log("=================:",N)});const I=(h,i,n)=>{console.log("handleChange",h,i),h.target.checked?(i.tagFlag="任务",i.fromTab="任务文档",i.fileId=i.fileId,i.fileName=i.originalFileName,i.fileVersion=i.fileDmsVersion,l("handleChangeSelectedTaskFileList",[i],!0),b.value[n].checked=!0):(l("handleChangeSelectedTaskFileList",[i],!1),b.value[n].checked=!1)},$=h=>{l("handleChangeSelectedTaskFileList",[h],!1)},O=()=>{l("handleChangeSelectedTaskFileList",[],!1)},g=h=>"任务",m=h=>"app-task";return e.onMounted(()=>{ve({projectId:t.projectId}).then(h=>{h.code==200&&(s.value=h.data!=null?[h.data]:[],console.log("---------treeData:",s),s.value.length>0&&(a.value=[s.value[0].key]),B=T(s.value))})}),(h,i)=>{const n=e.resolveComponent("a-input"),u=e.resolveComponent("a-tree"),x=e.resolveComponent("a-checkbox");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",Ee,[e.createVNode(n,{placeholder:"搜索文件夹",value:o.value,"onUpdate:value":i[0]||(i[0]=c=>o.value=c),"allow-clear":""},{prefix:e.withCtx(()=>i[4]||(i[4]=[e.createElementVNode("i",{class:"iconfont iconsearch"},null,-1)])),_:1},8,["value"]),e.createElementVNode("div",Fe,[e.createVNode(u,{expandedKeys:f.value,"onUpdate:expandedKeys":i[1]||(i[1]=c=>f.value=c),selectedKeys:a.value,"onUpdate:selectedKeys":i[2]||(i[2]=c=>a.value=c),"tree-data":s.value,onSelect:P},{title:e.withCtx(({title:c})=>[c.indexOf(o.value)>-1?(e.openBlock(),e.createElementBlock("span",Be,[e.createTextVNode(e.toDisplayString(c.substr(0,c.indexOf(o.value)))+" ",1),e.createElementVNode("span",Le,e.toDisplayString(o.value),1),e.createTextVNode(" "+e.toDisplayString(c.substr(c.indexOf(o.value)+o.value.length)),1)])):(e.openBlock(),e.createElementBlock("span",Ve,e.toDisplayString(c),1))]),_:1},8,["expandedKeys","selectedKeys","tree-data"])])]),e.createElementVNode("div",Te,[b.value.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[i[5]||(i[5]=e.createStaticVNode('<div class="list-item list-header" data-v-16971ec0><div class="file-checkbox" data-v-16971ec0></div><div class="file-name" data-v-16971ec0>文档名称</div><div class="file-version" data-v-16971ec0>版本</div><div class="file-uploader" data-v-16971ec0>上传人</div></div>',1)),e.createElementVNode("div",De,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,(c,p)=>(e.openBlock(),e.createElementBlock("div",{key:c.id},[e.createElementVNode("div",Pe,[e.createElementVNode("div",$e,[e.createVNode(x,{checked:c.checked,"onUpdate:checked":w=>c.checked=w,onChange:w=>I(w,c,p)},null,8,["checked","onUpdate:checked","onChange"])]),e.createElementVNode("div",{class:"file-name",title:c.originalFileName},e.toDisplayString(c.originalFileName),9,Oe),e.createElementVNode("div",je,"V"+e.toDisplayString(c.fileDmsVersion),1),e.createElementVNode("div",Ue,e.toDisplayString(c.uploadByName),1)])]))),128))])],64)):(e.openBlock(),e.createBlock(K,{key:1,"empty-text":"暂无文件"}))]),e.createElementVNode("div",Me,[t.selectedTaskFileList.length?(e.openBlock(),e.createElementBlock("div",Ae,[e.createElementVNode("div",ze,[e.createElementVNode("div",Ge,"已选择 "+e.toDisplayString(t.selectedTaskFileList.length)+" 个文档",1),e.createElementVNode("div",{class:"delete-all",onClick:i[3]||(i[3]=c=>O())},"清空")]),e.createElementVNode("div",Re,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.selectedTaskFileList,c=>(e.openBlock(),e.createElementBlock("div",{class:"list-info",key:c.key},[e.createElementVNode("div",{class:e.normalizeClass(["file-app",m()])},e.toDisplayString(g()),3),e.createElementVNode("div",{class:"file-name",title:c.name},e.toDisplayString(c.fileName),9,Ke),e.createElementVNode("i",{class:"delete-button iconfont iconclose",onClick:p=>$(c)},null,8,Ze)]))),128))])])):(e.openBlock(),e.createBlock(K,{key:1,"empty-text":"暂无已选文件"}))])],64)}}}),[["__scopeId","data-v-16971ec0"]]),Je={class:"left"},qe={class:"folder-tree"},We={key:0},Qe={style:{color:"#f50"}},Xe={key:1},Ye={class:"mid-list"},et={class:"list-main"},tt={class:"list-item"},lt={class:"file-checkbox"},at=["title"],ot={class:"file-version"},nt={class:"file-uploader"},it={class:"right-selected"},st={key:0,class:"selected-file-content"},rt={class:"file-list-header"},ct={class:"file-count"},dt={class:"list-content"},pt=["title"],ft=["onClick"],mt=z(e.defineComponent({__name:"dwgFile",props:["projectId","selectedDrawFileList"],emits:["handleChangeSelectedDrawFileList"],setup(d,{emit:r}){const t=d,l=r,o=e.ref(""),s=e.ref([]),a=e.ref([]),f=e.ref([]),b=e.ref([]),B=e.ref({title:"name",key:"id"});let T=[];const v=i=>{let n=[];for(const u of i){const{children:x,...c}=u;x&&x.length&&(n=n.concat(v(x))),n.push(c)}return n},P=(i,n)=>{var u,x;for(let c in i){if(i[c].key===n)return[i[c].key];if(((x=(u=i[c])==null?void 0:u.children)==null?void 0:x.length)>0){let p=P(i[c].children,n);if(p!==void 0)return p.concat(i[c].key)}}};e.watch(()=>o.value,i=>{const n=T.filter(u=>u.title.indexOf(i)>-1);f.value=[],n.forEach(u=>{const x=P(s.value,u==null?void 0:u.key);if((x==null?void 0:x.length)>0){const c=new Map;f.value=[...f.value,...x].filter(p=>!c.has(p)&&c.set(p,p))}})});const L=i=>{a.value=i},N=()=>{Ie({folderId:a.value[0]}).then(i=>{i.code==200&&(b.value=i.data,b.value.forEach((n,u)=>{I.value.indexOf(n.id)>-1?b.value[u].checked=!0:b.value[u].checked=!1}))})};e.watch(()=>a.value,()=>{a.value.length>0&&N()});const I=e.ref([]);e.watch(()=>t.selectedDrawFileList,()=>{I.value=t.selectedDrawFileList.map(i=>i.id),b.value.forEach((i,n)=>{I.value.indexOf(i.id)>-1?b.value[n].checked=!0:b.value[n].checked=!1}),console.log("=================:",I)});const $=(i,n,u)=>{console.log("handleChange",i,n),i.target.checked?(n.tagFlag="图纸",n.fromTab="图纸文件",n.fileId=n.srcId,n.fileName=n.srcName,n.fileVersion=n.version,n.from="图纸文档",l("handleChangeSelectedDrawFileList",[n],!0),b.value[u].checked=!0):(l("handleChangeSelectedDrawFileList",[n],!1),b.value[u].checked=!1)},O=i=>{l("handleChangeSelectedDrawFileList",[i],!1)},g=()=>{l("handleChangeSelectedDrawFileList",[],!1)},m=i=>"图纸",h=i=>"app-draw";return e.onMounted(()=>{Ne().then(i=>{i.code==200&&(s.value=i.data!=null?i.data:[],s.value.forEach((n,u)=>{s.value[u].key=n.id,s.value[u].title=n.name}),console.log("---------treeData:",s),s.value.length>0&&(a.value=[s.value[0].id]),T=v(s.value))})}),(i,n)=>{const u=e.resolveComponent("a-input"),x=e.resolveComponent("a-tree"),c=e.resolveComponent("a-checkbox");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",Je,[e.createVNode(u,{placeholder:"搜索文件夹",value:o.value,"onUpdate:value":n[0]||(n[0]=p=>o.value=p),"allow-clear":""},{prefix:e.withCtx(()=>n[4]||(n[4]=[e.createElementVNode("i",{class:"iconfont iconsearch"},null,-1)])),_:1},8,["value"]),e.createElementVNode("div",qe,[e.createVNode(x,{expandedKeys:f.value,"onUpdate:expandedKeys":n[1]||(n[1]=p=>f.value=p),selectedKeys:a.value,"onUpdate:selectedKeys":n[2]||(n[2]=p=>a.value=p),"tree-data":s.value,"field-names":B.value,onSelect:L},{title:e.withCtx(({title:p})=>[p.indexOf(o.value)>-1?(e.openBlock(),e.createElementBlock("span",We,[e.createTextVNode(e.toDisplayString(p.substr(0,p.indexOf(o.value)))+" ",1),e.createElementVNode("span",Qe,e.toDisplayString(o.value),1),e.createTextVNode(" "+e.toDisplayString(p.substr(p.indexOf(o.value)+o.value.length)),1)])):(e.openBlock(),e.createElementBlock("span",Xe,e.toDisplayString(p),1))]),_:1},8,["expandedKeys","selectedKeys","tree-data","field-names"])])]),e.createElementVNode("div",Ye,[b.value.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[n[5]||(n[5]=e.createStaticVNode('<div class="list-item list-header" data-v-3d9f3318><div class="file-checkbox" data-v-3d9f3318></div><div class="file-name" data-v-3d9f3318>文档名称</div><div class="file-version" data-v-3d9f3318>版本</div><div class="file-uploader" data-v-3d9f3318>上传人</div></div>',1)),e.createElementVNode("div",et,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,(p,w)=>(e.openBlock(),e.createElementBlock("div",{key:p.id},[e.createElementVNode("div",tt,[e.createElementVNode("div",lt,[e.createVNode(c,{checked:p.checked,"onUpdate:checked":E=>p.checked=E,onChange:E=>$(E,p,w)},null,8,["checked","onUpdate:checked","onCh