Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

1 linha
23 KiB

  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-34589b20"],{5192:function(e,t,n){},"5cf5":function(e,t,n){"use strict";var i=n("bad9"),r=n.n(i);r.a},a2d2:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"milestone_panel"},[n("div",{staticClass:"flex_right_pain",class:{AnimatedRightIn:e.visible}},[e.milestoneManage?n("div",{staticClass:"flex_right_pain_body_box"},[n("div",{staticClass:"flex_right_pain_head"},[e._m(0),n("div",{staticClass:"EC_col_12"},[n("div",{staticClass:"close-wrap",class:{"close-hover":e.isCloseHover},on:{click:function(t){return t.stopPropagation(),e.closeSetPain(t)},mouseenter:function(t){e.isCloseHover=!0},mouseleave:function(t){e.isCloseHover=!1}}},[n("img",{directives:[{name:"show",rawName:"v-show",value:!e.isCloseHover,expression:"!isCloseHover"}],staticClass:"close-icon vert-hori-center",attrs:{src:"/static/img/operate-pop-window/关闭.svg",alt:""}}),n("img",{directives:[{name:"show",rawName:"v-show",value:e.isCloseHover,expression:"isCloseHover"}],staticClass:"close-icon vert-hori-center",attrs:{src:"/static/img/operate-pop-window/关闭激活.svg",alt:""}})])])]),n("div",{staticClass:"pxline"}),n("div",{ref:"milestoneManageRef",staticClass:"flex_right_pain_body"},[e.fileNowVersion?n("div",[n("version-item",{attrs:{localWorkspacePrefix:e.localWorkspacePrefix,nowVersion:"",commitInfo:e.fileNowVersion,active:e.activeVersion===e.fileNowVersion,file:e.file},on:{makeCopy:e.onMakeCopy,openFile:e.openFile,select:e.selectVersion,setHeadVersion:e.setHeadVersion}}),n("div",{staticClass:"title"},[e._v("里程碑")]),e._l(e.fileOtherVersion,(function(t){return n("version-item",{key:t.currentHash,attrs:{localWorkspacePrefix:e.localWorkspacePrefix,commitInfo:t,active:e.activeVersion===t,fileId:e.file.id,file:e.file},on:{select:e.selectVersion,setHeadVersion:e.setHeadVersion,makeCopy:e.onMakeCopy}})}))],2):n("div",{staticClass:"empty"},[n("span",[e._v("暂无历史版本")])])]),e.fileNowVersion?n("div",{staticClass:"bottombtnitem"},[n("div",{staticClass:"bottombtnitemlonBtn"},[n("el-button",{staticClass:"longBtn defualtBtnInfo quitBtn",attrs:{type:"primary",round:""},on:{click:e.checkAllMilestone}},[e._v("查看所有历史提交版本")])],1)]):e._e()]):e._e(),e.milestoneCheck?n("div",{staticClass:"flex_right_pain_body_box"},[n("div",{staticClass:"flex_right_pain_head"},[n("div",{staticClass:"EC_col_4"},[n("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(t){return t.stopPropagation(),e.enterMilestoneManage(t)}}})]),e._m(1),n("div",{staticClass:"EC_col_4"},[n("div",{staticClass:"close-wrap",class:{"close-hover":e.isCloseHover},on:{click:function(t){return t.stopPropagation(),e.closeSetPain(t)},mouseenter:function(t){e.isCloseHover=!0},mouseleave:function(t){e.isCloseHover=!1}}},[n("img",{directives:[{name:"show",rawName:"v-show",value:!e.isCloseHover,expression:"!isCloseHover"}],staticClass:"close-icon vert-hori-center",attrs:{src:"/static/img/operate-pop-window/关闭.svg",alt:""}}),n("img",{directives:[{name:"show",rawName:"v-show",value:e.isCloseHover,expression:"isCloseHover"}],staticClass:"close-icon vert-hori-center",attrs:{src:"/static/img/operate-pop-window/关闭激活.svg",alt:""}})])])]),n("div",{staticClass:"pxline"}),n("div",{ref:"milestoneCheckRef",staticClass:"flex_right_pain_body"},[n("div",e._l(e.fileHistoryList,(function(t){return n("version-item",{key:t.currentHash,attrs:{localWorkspacePrefix:e.localWorkspacePrefix,nowVersion:e.fileNowVersion===t,commitInfo:t,active:e.activeVersion===t,fileId:e.file.id,file:e.file},on:{select:e.selectVersion,setHeadVersion:e.setHeadVersion,makeCopy:e.onMakeCopy}})})),1)])]):e._e()])])},r=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"EC_col_12"},[n("h4",{staticClass:"RdiaheaderTitle"},[e._v("历史版本管理")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"EC_col_16"},[n("h4",{staticClass:"centertext"},[e._v("所有历史提交版本")])])}],o=(n("4de4"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("transition",{attrs:{name:"info-fade"}},[e.active?n("div",{staticClass:"version_item",class:{set_item_position:!1}},[n("div",{staticClass:"content"},[n("div",{staticClass:"content_header"},[e.nowVersion?n("i",{staticClass:"iconfont icon-zhiding",attrs:{alt:""}}):e._e(),n("p",[e._v(e._s((e.nowVersion?"当前协同 - ":"")+"版本"+e.commitInfo.version))])]),n("div",{staticClass:"content_remark split"},[n("div",{staticClass:"content_remark_inner"},[n("div",[e._v(e._s(e.showAccountName)+"的备注")]),n("div",[e._v(e._s(e.commitInfo.note?e.commitInfo.note:"无备注"))])])]),n("div",{staticClass:"content_info split"},[n("div",{staticClass:"option",on:{click:function(t){t.stopPropagation(),e.infoPanelActive=!e.infoPanelActive}}},[n("i",{staticClass:"option_icon",class:{option_active:e.infoPanelActive}}),n("div",{staticClass:"option_label"},[e._v("更多信息")])]),n("div",{staticClass:"content_info_detail",class:{panel_inactive:!e.infoPanelActive}},[n("div",{staticClass:"content_info_detail_item"},[n("span",[e._v("提交人:")]),n("span",{staticStyle:{color:"#2869E6"}},[e._v(e._s(e.showAccountName))])]),n("div",{staticClass:"content_info_detail_item"},[n("span",[e._v("基于版本:")]),n("span",[e._v(e._s(e.commitInfo.creator)+" 提交的版本"+e._s(e.commitInfo.version))])]),n("div",{staticClass:"content_info_detail_item"},[n("span",[e._v("协同于:")]),n("span",[e._v(e._s(e.showTime))])])])]),n("div",{staticClass:"content_action split"},[n("div",{staticClass:"option",on:{click:function(t){t.stopPropagation(),e.actionPanelActive=!e.actionPanelActive}}},[n("i",{staticClass:"option_icon",class:{option_active:e.actionPanelActive}}),n("div",{staticClass:"option_label"},[e._v("更多操作")])]),n("div",{staticClass:"content_action_list",class:{panel_inactive:!e.actionPanelActive}},[n("div",{staticClass:"content_action_list_item milestone_set"},[n("div",{staticClass:"icon_box"},[n("i",{staticClass:"iconfont icon-lichengbei-qizhi"})]),n("p",[e._v("里程碑")]),n("div",{staticClass:"switch_btn"},[n("el-switch",{attrs:{"active-color":"#7850FF","inactive-color":"#fff"},on:{change:e.setMileStoneClick},model:{value:e.commitInfo.milestone,callback:function(t){e.$set(e.commitInfo,"milestone",t)},expression:"commitInfo.milestone"}})],1)]),e.nowVersion?e._e():n("div",{staticClass:"content_action_list_item button",on:{click:function(t){return t.stopPropagation(),e.showHistoryFile(t)}}},[e._v(" 查看版本 ")]),e.nowVersion?n("div",{staticClass:"content_action_list_item button",on:{click:function(t){return t.stopPropagation(),e.editCurrentFile(t)}}},[e._v(" 继续编辑 ")]):e._e(),e.nowVersion?e._e():n("div",{staticClass:"content_action_list_item button",on:{click:function(t){return t.stopPropagation(),e.setShare(t)}}},[n("i",{staticClass:"iconfont icon-zhiding"}),e._v("设为协同版本 ")]),e.nowVersion?e._e():n("div",{staticClass:"content_action_list_item button",on:{click:e.onMakeCopy}},[e._v(" 从该版本创建副本 ")])])])])]):e._e()]),e.active?e._e():n("div",{staticClass:"version_item_brief",on:{click:function(t){return t.stopPropagation(),e.clickVersion(t)}}},[n("div",{staticClass:"header"},[e._m(0),n("p",[e._v("版本"+e._s(e.commitInfo.version))]),n("p",{staticClass:"header_time"},[e._v(e._s(e.showTime))])]),n("div",{staticClass:"remarks_brief"},[n("div",{staticClass:"remarks_brief_content",class:{noremarks:!0}},[e._v(e._s(e.commitInfo.note?e.commitInfo.note:"无备注"))])])])],1)}),s=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"icon_box"},[n("span",{staticClass:"iconfont icon-lichengbei-qizhi"})])}],a=(n("99af"),n("ac1f"),n("5319"),n("96cf"),n("1da1")),c=n("5a0c"),l=n.n(c),u=(n("a471"),n("b428")),f=n("1d40");l.a.locale("zh-cn");var m={props:{localWorkspacePrefix:String,nowVersion:Boolean,active:Boolean,commitInfo:{type:Object,default:function(){return{}}},file:{type:Object,default:function(){return{}}},fileId:String},mounted:function(){this.remarkEl=this.$refs.remarksText,this.isShowOpenIcon=this.remarkEl&&this.remarkEl.clientHeight>22},data:function(){return{remarkEl:null,switchValue:!0,isRemarksEdit:!1,isShowAll:!1,isShowOpenIcon:!1,accountName:"",infoPanelActive:!1,actionPanelActive:!1}},methods:{showHistoryFile:function(){var e=this.file,t=this.commitInfo,n=e.archName,i=e.extension,r=e.relativePath,o=t.currentHash,s=t.version,a="".concat(n,"-版本").concat(s).concat(i?".".concat(i):""),c="历史版本查看\\".concat((new Date).getTime()).concat(r?"\\relativePath":"").replace(/\//g,"\\"),l=function(){},u="".concat(this.localWorkspacePrefix,"\\").concat(c,"\\").concat(a);f["a"].downloadFile(o,sessionStorage.projName,a,c,(function(e,t){console.log("receive download file message:",e,t);try{var n=JSON.parse(e.data),i=n.process;n.hash;if(100!==i)return;f["a"].openFile(u),t.close()}catch(r){console.error("socket-download-file parse data have error:",r),l(),t.close()}}),l)},onMakeCopy:function(){this.$emit("makeCopy",this.commitInfo)},clickVersion:function(){this.$emit("select",this.commitInfo)},editRemarks:function(){this.isRemarksEdit=!0,this.isShowAll=!0},showAll:function(){this.isShowAll=!this.isShowAll},changeRemarks:function(){this.remarkEl=this.$refs.remarksText,this.remarkEl&&(this.newremarks=this.remarkEl.innerText)},finishEditRemarks:function(){this.isRemarksEdit=!1,this.remarks=this.newremarks},setColor:function(e){this.toolboxShow=!0;var t=e.target.getBoundingClientRect();this.$emit("getToolboxTop",{top:t.top,isShow:!0})},selectColor:function(e){this.selectedColor=e,this.color=this.selectedColor},closeSetColor:function(){this.toolboxShow=!1},editCurrentFile:function(){this.$emit("openFile")},setShare:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(u["m"])(e.fileId,e.commitInfo.currentHash,sessionStorage.userId);case 2:n=t.sent,0==n.Code?(e.$notify({type:"success",message:"设置协同版本成功"}),e.$emit("setHeadVersion",e.commitInfo)):e.$notify({type:"error",message:n.Msg});case 4:case"end":return t.stop()}}),t)})))()},setMileStoneClick:function(e){this.$bus.$emit("setMileStoneClick",e,this.commitInfo)}},computed:{showAccountName:function(){return this.commitInfo.creator&&sessionStorage.accountName==this.commitInfo.creator?"我":this.commitInfo.creator},showTime:function(){return this.commitInfo.createTime&&l()(1e3*this.commitInfo.createTime).format("YYYY年MM月DD日 A HH:mm")}},watch:{newremarks:function(){this.remarkEl=this.$refs.remarksText,this.isShowOpenIcon=this.remarkEl&&this.remarkEl.clientHeight>22}}},d=m,h=(n("e3bd"),n("2877")),p=Object(h["a"])(d,o,s,!1,null,"1c611fae",null),v=p.exports,_=n("2ef0"),b={components:{VersionItem:v},props:{localWorkspacePrefix:String,visible:Boolean,fileMilestoneInfo:{type:Object,default:function(){return{}}},fileHistoryList:{type:Array,default:function(){return[]}},file:{type:Object,default:function(){return{}}}},watch:{fileHistoryList:function(){this.getFileMilestoneList(this.fileHistoryList),this.getFileNowVersion(this.fileHistoryList),this.getFileOtherVersion()},visible:function(e){if(e){var t=document.querySelector(".notify-mask");if(!t){var n=document.createElement("div");n.className="notify-mask",document.body.appendChild(n),t=n}t.addEventListener("click",this.closeSetPain),this.milestoneManage=!0,this.milestoneCheck=!1,this.fileMilestoneList=[],this.fileNowVersion=null,this.fileOtherVersion=[],this.activeVersion=null}}},data:function(){return{milestoneManageRefEl:null,milestoneCheckRefEl:null,isCloseHover:!1,isFileNameShow:!1,milestoneManage:!0,milestoneCheck:!1,fileMilestoneList:[],fileNowVersion:null,fileOtherVersion:[],activeVersion:null}},methods:{setHeadVersion:function(e){this.fileNowVersion=e},selectVersion:function(e){this.activeVersion=e},openFile:function(){this.$emit("openFile",this.file)},onMakeCopy:function(e){var t=Object(_["cloneDeep"])(this.file);t.ipfsCid=e.currentHash,this.$emit("makeCopy",t,e.version)},clickVersion:function(){this.isFileNameShow=!0},editRemarks:function(){this.isEdit=!0},setRemarks:function(){this.isFileNameShow=!1,this.isEdit=!1},cancelEdit:function(){},checkAllMilestone:function(){this.milestoneManage=!1,this.milestoneCheck=!0},enterMilestoneManage:function(){this.milestoneManage=!0,this.milestoneCheck=!1},openSetPain:function(){var e=document.querySelector(".notify-mask");if(!e){var t=document.createElement("div");t.className="notify-mask",document.body.appendChild(t)}},closeSetPain:function(){this.$emit("closeMilestonePain",!1);var e=document.querySelector(".notify-mask");document.body.removeChild(e)},setColor:function(){this.toolboxShow=!0,this.isFileNameShow=!0},selectColor:function(e){this.selectedColor=e,this.color=e},closeSetColor:function(){this.toolboxShow=!1},createMilestone:function(){this.toolboxShow=!1,this.color=this.selectedColor},getFileMilestoneList:function(e){this.fileMilestoneList=e.filter((function(e){return e.milestone}))},getFileNowVersion:function(e){var t=this,n=e.filter((function(e){return e.currentHash==t.file.ipfsCid}));this.fileNowVersion=n[0],this.activeVersion=this.fileNowVersion},getFileOtherVersion:function(){var e=this;this.fileOtherVersion=this.fileMilestoneList.filter((function(t){return t.currentHash!=e.file.ipfsCid}))},refresh:function(){}}},w=b,C=(n("5cf5"),Object(h["a"])(w,i,r,!1,null,"3ab4ee97",null));t["default"]=C.exports},a471:function(e,t,n){!function(t,i){e.exports=i(n("5a0c"))}(0,(function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){switch(t){case"W":return e+"周";default:return e+"日"}},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"}};return e.locale(t,null,!0),t}))},b332:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"c",(function(){return u}));n("99af"),n("a15b"),n("d81d"),n("fb6a"),n("ac1f"),n("5319"),n("1276");var i=n("d4ec"),r={DOWNLOADING:100,UPLOADING:101},o={NOT_WORKING:1,WORKING:2},s=function(e,t){var n=e.nodeName,i=e.extension,r=e.archName,o=e.relativePath,s=n?"".concat(n,"\\协作文件"):t.folderName;return"".concat(s,"\\").concat(o?"".concat(o.replace(/\//g,"\\"),"\\"):"").concat(r).concat(i?".".concat(i):"")},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;if(!e)return[];var i=t?"".concat(t,"/"):t,r=e.split("/").map((function(e,t,r){var o="".concat(i).concat(r.slice(0,t+1).join("/"));return n&&n(o),o}));return r},c=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(i["a"])(this,e);var n=t.split("/"),r=n.pop();this.id=t,this.folderPath=t,this.folderName=r,this.parentFolderPath=n.join("/"),this.childCount=0,this.fileCount=0},l=["jpg","png","bmp","gif","jpeg"],u=["avi","mov","wav","mp4"]},b428:function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"h",(function(){return l})),n.d(t,"k",(function(){return f})),n.d(t,"d",(function(){return d})),n.d(t,"b",(function(){return p})),n.d(t,"g",(function(){return _})),n.d(t,"i",(function(){return w})),n.d(t,"a",(function(){return g})),n.d(t,"c",(function(){return y})),n.d(t,"f",(function(){return I})),n.d(t,"l",(function(){return j})),n.d(t,"j",(function(){return H})),n.d(t,"m",(function(){return V})),n.d(t,"n",(function(){return R}));n("99af"),n("4160"),n("a15b"),n("d81d"),n("fb6a"),n("ac1f"),n("1276"),n("159b"),n("96cf");var i=n("1da1"),r=n("b775"),o=n("3de1"),s=n("b332");function a(e,t){return c.apply(this,arguments)}function c(){return c=Object(i["a"])(regeneratorRuntime.mark((function e(t,n){var i,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("folder/queryNodeFolderListByProjectIdAndUserId",{projectId:t,userId:n});case 2:return i=e.sent,s=(i.Data||[]).map((function(e){var t=Object(o["b"])(e);return t.listsShareFrom=[[],[]],t})),e.abrupt("return",s);case 5:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function l(){return u.apply(this,arguments)}function u(){return u=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/queryFilesFromRecycleBin");case 2:if(t=e.sent,Object(r["c"])(t),0===t.Code){e.next=6;break}return e.abrupt("return",null);case 6:return n=(t.Data||[]).map((function(e){var t=Object(o["b"])(e);return t})),e.abrupt("return",n);case 8:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function f(e){return m.apply(this,arguments)}function m(){return m=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/removeFromRecycleBin",{fileId:t});case 2:return n=e.sent,e.abrupt("return",Object(r["c"])(n));case 4:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}function d(e,t,n){return h.apply(this,arguments)}function h(){return h=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i){var a,c,l,u,f,m;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("folder/queryFileListByFolderIdAndUserId",{folderId:t,userId:n,publicFolderId:i});case 2:if(a=e.sent,Object(r["c"])(a),0===a.Code){e.next=6;break}return e.abrupt("return",null);case 6:return c=a.Data||{},l=[],u={},f=(c.myFile||[]).concat(c.workFile||[]).map((function(e){var t=Object(o["b"])(e),n=t.relativePath;if(n){var i=n.split("/");i.forEach((function(e,t){var n=i.slice(0,t+1).join("/");if(!u[n]){var r=new s["d"](n),o=r.parentFolderPath;l.push(r),u[n]=r,u[o]&&u[o].childCount++}})),u[n].fileCount++}return t})),m={folder:l,folderMap:u,file:f,coordinationFiles:(c.coordinationFiles||[]).map(o["b"])},e.abrupt("return",m);case 12:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}function p(e,t){return v.apply(this,arguments)}function v(){return v=Object(i["a"])(regeneratorRuntime.mark((function e(t,n){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/changeFileWorkStatus",{fileId:t,workStatus:n});case 2:return i=e.sent,e.abrupt("return",Object(r["c"])(i));case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function _(e,t,n){return b.apply(this,arguments)}function b(){return b=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i){var o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/queryFileExchange",{currentTemplateId:t,currentNodeId:n,nestedNodeId:i});case 2:return o=e.sent,e.abrupt("return",Object(r["c"])(o));case 4:case"end":return e.stop()}}),e)}))),b.apply(this,arguments)}function w(e){return C.apply(this,arguments)}function C(){return C=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("template/queryNestedTempFileExchange",{currentTemplateId:t});case 2:return n=e.sent,e.abrupt("return",Object(r["c"])(n));case 4:case"end":return e.stop()}}),e)}))),C.apply(this,arguments)}function g(e){return k.apply(this,arguments)}function k(){return k=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/addFile",t);case 2:return n=e.sent,i={API:"file/addFile",Action:"新建文件",CompanyName:sessionStorage.CompanyName,Subject:t.archName+"."+t.extension,Source:sessionStorage.client,ProjectName:sessionStorage.projName},Object(r["b"])("operation/record",i),e.abrupt("return",n);case 6:case"end":return e.stop()}}),e)}))),k.apply(this,arguments)}function y(e){return x.apply(this,arguments)}function x(){return x=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/deleteFile",{fileId:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),x.apply(this,arguments)}function I(e){return O.apply(this,arguments)}function O(){return O=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("company/queryFileOnlineUrlByCompanyId",t);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),O.apply(this,arguments)}function j(e,t){return S.apply(this,arguments)}function S(){return S=Object(i["a"])(regeneratorRuntime.mark((function e(t,n){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/searchFileListByFolderIdAndFileName",{folderId:t,fileName:n});case 2:return i=e.sent,e.abrupt("return",i);case 4:case"end":return e.stop()}}),e)}))),S.apply(this,arguments)}function H(e){return N.apply(this,arguments)}function N(){return N=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/queryProjArchiveHistoryTbByArchId",{archId:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),N.apply(this,arguments)}function V(e,t,n){return M.apply(this,arguments)}function M(){return M=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i){var o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/setShareFile",{Id:t,IpfsCid:n,ModifyUserId:i});case 2:return o=e.sent,e.abrupt("return",o);case 4:case"end":return e.stop()}}),e)}))),M.apply(this,arguments)}function R(e){return F.apply(this,arguments)}function F(){return F=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/updateProjArchiveHistory",t);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),F.apply(this,arguments)}},bad9:function(e,t,n){},d4ec:function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return i}))},e3bd:function(e,t,n){"use strict";var i=n("5192"),r=n.n(i);r.a}}]);