Você não pode selecionar mais de 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.
 
 
 
 

2 linhas
22 KiB

  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-48a4ef86"],{"303a":function(e,t,n){},a2d2:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"milestone_panel"},[n("div",{class:e.yiyunAnimated+" flex_right_pain"},[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"},[n("div",{staticClass:"yiyun_app_itemClasss"},[n("version-item",{attrs:{localWorkspacePrefix:e.localWorkspacePrefix,nowVersion:"",commitInfo:e.fileNowVersion,file:e.file},on:{makeCopy:e.onMakeCopy,openFile:e.openFile}}),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,fileId:e.file.id,file:e.file},on:{makeCopy:e.onMakeCopy}})}))],2)]),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.milestoneCheck?n("div",{staticClass:"flex_right_pain_body_box"},[n("div",{staticClass:"flex_right_pain_head"},[n("div",{staticClass:"EC_col_4"},[n("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-left left-list_btn",on:{click:function(t){return t.stopPropagation(),e.enterMilestoneManage(t)}}})]),e._m(1),n("div",{staticClass:"EC_col_4"},[n("i",{staticClass:"Cicon icon font_family icon-icon_quxiaohuoguanbi fr",attrs:{title:"关闭"},on:{click:e.closeSetPain}})])]),n("div",{staticClass:"pxline"}),n("div",{ref:"milestoneCheckRef",staticClass:"flex_right_pain_body"},[n("div",{staticClass:"yiyun_app_itemClasss"},e._l(e.fileHistoryList,(function(t){return n("version-item",{key:t.currentHash,attrs:{localWorkspacePrefix:e.localWorkspacePrefix,commitInfo:t,fileId:e.file.id,file:e.file},on:{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("所有历史提交版本")])])}],s=(n("4de4"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("transition",{attrs:{name:"info-fade"}},[e.nowVersion||e.selectedVersion?n("div",{staticClass:"version_item",class:{set_item_position:!1}},[n("i",{staticClass:"iconfont icon-shanchu close_btn",on:{click:function(t){return t.stopPropagation(),e.clickVersion(t)}}}),n("div",{staticClass:"content"},[n("div",{staticClass:"content_header"},[e.nowVersion?n("i",{staticClass:"iconfont icon-zhiding",attrs:{alt:""}}):e._e(),n("p",{class:[e.nowVersion?"version_title":"title"]},[e._v("当前协同-版本"+e._s(e.commitInfo.version))])]),n("div",{staticClass:"content_icon"},[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)]),n("div",{staticClass:"version_info"},[n("div",{staticClass:"file_name"},[e._v("文件名")]),n("div",{staticClass:"file_info"},[n("ul",[n("li",[n("span",[e._v("提交人:")]),n("span",{staticClass:"left",staticStyle:{color:"#2869E6"}},[e._v(e._s(e.showAccountName))])]),n("li",[n("span",[e._v("基于版本:")]),n("span",{staticClass:"left"},[e._v(e._s(e.commitInfo.creator)+" 提交的版本"+e._s(e.commitInfo.version))])]),n("li",[n("span",[e._v("协同于:")]),n("span",{staticClass:"left"},[e._v(e._s(e.showTime))])])]),n("div",{staticClass:"btn_box"},[e.nowVersion?e._e():n("div",{staticClass:"btn",on:{click:function(t){return t.stopPropagation(),e.showHistoryFile(t)}}},[e._v(" 查看版本 ")]),e.nowVersion?n("div",{staticClass:"edit_btn btn",on:{click:function(t){return t.stopPropagation(),e.editCurrentFile(t)}}},[e._v(" 继续编辑 ")]):e._e(),e.nowVersion?e._e():n("div",{staticClass:"set_btn btn",on:{click:function(t){return t.stopPropagation(),e.setShare(t)}}},[n("i",{staticClass:"iconfont icon-zhiding"}),e._v(" 设为协同版本 ")])])])]),n("div",{staticClass:"content_remarks"},[n("div",{staticClass:"avactor",class:{myavactor:!0}},[n("img",{attrs:{src:"",alt:""}})]),n("div",{staticClass:"remarks"},[e._e(),n("div",{staticClass:"myremarks",class:{set_position:!e.isShowOpenIcon,"set-border":e.isRemarksEdit}},[n("div",{ref:"remarksText",class:{myremarks_content:!e.isShowAll}},[e._v(" "+e._s(e.commitInfo.note?e.commitInfo.note:"无备注")+" ")])])]),e.isShowOpenIcon?n("div",{staticClass:"show_all",on:{click:e.showAll}},[n("img",{class:{collapse:e.isShowAll},attrs:{src:"/static/img/展开.svg",alt:""}})]):e._e()]),e.nowVersion?e._e():n("div",{staticClass:"create_copy",on:{click:e.onMakeCopy}},[n("div",{staticClass:"create_copy_content"},[n("img",{attrs:{src:"static/img/文件.svg",alt:""}}),n("p",[e._v("从该版本创建副本")])])])])]):e._e()]),e.selectedVersion||e.nowVersion?e._e():n("div",{staticClass:"version_item_brief",on:{click:function(t){return t.stopPropagation(),e.clickVersion(t)}}},[n("div",{staticClass:"header"},[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"},[e._m(0),n("div",{staticClass:"remarks_brief_content",class:{noremarks:!0}},[e._v(e._s(e.commitInfo.note?e.commitInfo.note:"无备注"))]),e._m(1)])])],1)}),o=[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"})])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"remarks_icon"},[n("i",{staticClass:"iconfont icon-beizhu"})])}],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 h={props:{localWorkspacePrefix:String,nowVersion: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,selectedVersion:!1,accountName:""}},methods:{showHistoryFile:function(){var e=this.file,t=this.commitInfo,n=e.archName,i=e.extension,r=e.relativePath,s=t.currentHash,o=t.version,a="".concat(n,"-版本").concat(o).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(s,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.nowVersion||(this.selectedVersion=!this.selectedVersion)},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.$notify({type:"error",message:n.Msg});case 4:case"end":return t.stop()}}),t)})))()},setMileStoneClick:function(e){this.$bus.$emit("setMileStoneClick",e,this.commitInfo)}},computed:{showAccountName:function(){return this.commitInfo.creator&&sessionStorage.accountName==this.commitInfo.creator?"我":this.commitInfo.creator},showTime:function(){return this.commitInfo.createTime&&l()(1e3*this.commitInfo.createTime).format("YYYY年MM月DD日 A HH:mm")}},watch:{newremarks:function(){this.remarkEl=this.$refs.remarksText,this.isShowOpenIcon=this.remarkEl&&this.remarkEl.clientHeight>22}}},m=h,p=(n("f19e"),n("2877")),d=Object(p["a"])(m,s,o,!1,null,"55322082",null),v=d.exports,_=n("2ef0"),b={components:{VersionItem:v},props:{localWorkspacePrefix:String,fileMilestoneInfo:{type:Object,default:function(){return{}}},fileHistoryList:{type:Array,default:function(){return[]}},file:{type:Object,default:function(){return{}}}},watch:{fileHistoryList:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];console.log("fileHistoryList: ",this.fileHistoryList,t),this.getFileMilestoneList(this.fileHistoryList),this.getFileNowVersion(this.fileHistoryList),this.getFileOtherVersion()}},mounted:function(){},data:function(){return{milestoneManageRefEl:null,milestoneCheckRefEl:null,yiyunAnimated:"AnimatedRightIn",isCloseHover:!1,clickedVersion:"",isFileNameShow:!1,remarks:"备注内容,默认显示两行。备注内容,默认显示两行。",milestoneManage:!0,milestoneCheck:!1,toolboxTop:0,milestoneManageRefScroll:"",fileMilestoneList:[],fileNowVersion:{},fileOtherVersion:[]}},methods:{openFile:function(){this.$emit("openFile",this.file)},onMakeCopy:function(e){console.log("asdasda:",e,this.fileMilestoneInfo,this.file);var t=Object(_["cloneDeep"])(this.file);t.ipfsCid=e.currentHash,this.$emit("makeCopy",t,e.version)},clickVersion:function(){this.isFileNameShow=!0},editRemarks:function(){this.isEdit=!0},setRemarks:function(){this.isFileNameShow=!1,this.isEdit=!1},cancelEdit:function(){},checkAllMilestone:function(){this.milestoneManage=!1,this.milestoneCheck=!0},enterMilestoneManage:function(){this.milestoneManage=!0,this.milestoneCheck=!1},openSetPain:function(){this.yiyunAnimated="AnimatedRightIn"},closeSetPain:function(){this.yiyunAnimated="",this.$emit("closeMilestonePain",!1)},setColor:function(){this.toolboxShow=!0,this.isFileNameShow=!0},selectColor:function(e){this.selectedColor=e,this.color=e},closeSetColor:function(){this.toolboxShow=!1},getToolboxTop:function(e){console.log(e),this.toolboxTop=e.top-90,this.toolboxShow=e.isShow},createMilestone:function(){this.toolboxShow=!1,this.color=this.selectedColor},getFileMilestoneList:function(e){this.fileMilestoneList=e.filter((function(e){return e.milestone}))},getFileNowVersion:function(e){var t=this,n=e.filter((function(e){return e.currentHash==t.file.ipfsCid}));this.fileNowVersion=n[0]},getFileOtherVersion:function(){var e=this;this.fileOtherVersion=this.fileMilestoneList.filter((function(t){return t.currentHash!=e.file.ipfsCid}))},refresh:function(){}}},w=b,C=(n("c8b6"),Object(p["a"])(w,i,r,!1,null,"73d0d8c5",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 s})),n.d(t,"f",(function(){return o})),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},s={NOT_WORKING:1,WORKING:2},o=function(e,t){var n=e.nodeName,i=e.extension,r=e.archName,s=e.relativePath,o=n?"".concat(n,"\\协作文件"):t.folderName;return"".concat(o,"\\").concat(s?"".concat(s.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 s="".concat(i).concat(r.slice(0,t+1).join("/"));return n&&n(s),s}));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 m})),n.d(t,"b",(function(){return d})),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 k})),n.d(t,"f",(function(){return I})),n.d(t,"l",(function(){return j})),n.d(t,"j",(function(){return R})),n.d(t,"m",(function(){return F})),n.d(t,"n",(function(){return H}));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"),s=n("3de1"),o=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,o;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,o=(i.Data||[]).map((function(e){var t=Object(s["b"])(e);return t.listsShareFrom=[[],[]],t})),e.abrupt("return",o);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(s["b"])(e);return t})),e.abrupt("return",n);case 8:case"end":return e.stop()}}),e)}))),u.apply(this,arguments)}function f(e){return h.apply(this,arguments)}function h(){return h=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(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)}))),h.apply(this,arguments)}function m(e,t,n){return p.apply(this,arguments)}function p(){return p=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i){var a,c,l,u,f,h;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(s["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 o["d"](n),s=r.parentFolderPath;l.push(r),u[n]=r,u[s]&&u[s].childCount++}})),u[n].fileCount++}return t})),h={folder:l,folderMap:u,file:f,coordinationFiles:(c.coordinationFiles||[]).map(s["b"])},e.abrupt("return",h);case 12:case"end":return e.stop()}}),e)}))),p.apply(this,arguments)}function d(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 s;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 s=e.sent,e.abrupt("return",Object(r["c"])(s));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 y.apply(this,arguments)}function y(){return y=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)}))),y.apply(this,arguments)}function k(e){return x.apply(this,arguments)}function x(){return x=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/deleteFile",{fileId:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),x.apply(this,arguments)}function I(e){return O.apply(this,arguments)}function O(){return O=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("company/queryFileOnlineUrlByCompanyId",t);case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),O.apply(this,arguments)}function j(e,t){return S.apply(this,arguments)}function S(){return S=Object(i["a"])(regeneratorRuntime.mark((function e(t,n){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/searchFileListByFolderIdAndFileName",{folderId:t,fileName:n});case 2:return i=e.sent,e.abrupt("return",i);case 4:case"end":return e.stop()}}),e)}))),S.apply(this,arguments)}function R(e){return M.apply(this,arguments)}function M(){return M=Object(i["a"])(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(r["b"])("file/queryProjArchiveHistoryTbByArchId",{archId:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),M.apply(this,arguments)}function F(e,t,n){return N.apply(this,arguments)}function N(){return N=Object(i["a"])(regeneratorRuntime.mark((function e(t,n,i){var s;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 s=e.sent,e.abrupt("return",s);case 4:case"end":return e.stop()}}),e)}))),N.apply(this,arguments)}function H(e){return E.apply(this,arguments)}function E(){return E=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)}))),E.apply(this,arguments)}},c8b6:function(e,t,n){"use strict";var i=n("303a"),r=n.n(i);r.a},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}))},f19e:function(e,t,n){"use strict";var i=n("fa51"),r=n.n(i);r.a},fa51:function(e,t,n){}}]);
  2. //# sourceMappingURL=chunk-48a4ef86.a908e25b.js.map