main.js 166 KB
webpackJsonp([12],{1142:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,i){r&&(0,At.default)(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function n(e,t,r,i,o){var n={};return Object.keys(i).forEach(function(e){n[e]=i[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=r.slice().reverse().reduce(function(r,i){return i(e,t,r)||r},n),o&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(o):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,l,u,s,c,p,d,h,f,m,b,y,v,g,w,C,A,k,S,z,L,M,P,I,D,_,R,T,O,E,x,V,j,F,N,q,H,J,G,K,B,U,Q,W,$,X,Y,Z,ee,te,re,ie,oe,ne,ae,le,ue,se,ce,pe,de,he,fe,me,be,ye,ve,ge,we,Ce,Ae,ke,Se,ze,Le,Me,Pe,Ie,De,_e,Re,Te,Oe,Ee,xe,Ve,je,Fe,Ne,qe,He,Je,Ge,Ke,Be,Ue,Qe,We,$e,Xe,Ye,Ze,et,tt,rt,it,ot,nt,at,lt,ut,st,ct,pt,dt,ht,ft,mt,bt,yt,vt,gt,wt,Ct=r(17),At=i(Ct),kt=r(303),St=i(kt),zt=r(29),Lt=i(zt),Mt=r(5),Pt=i(Mt),It=r(18),Dt=i(It),_t=r(78),Rt=i(_t),Tt=r(135),Ot=i(Tt),Et=r(136),xt=i(Et),Vt=r(39),jt=i(Vt),Ft=r(304),Nt=i(Ft),qt=r(1),Ht=i(qt),Jt=r(9),Gt=i(Jt),Kt=r(45),Bt=i(Kt),Ut=r(10),Qt=r(132),Wt=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(Qt),$t=Bt.default.alert,Xt=Gt.default.getLabel,Yt={createLoading:!0,topKey:"",params_fileds:{task:[],customer:[],workFlow:[],document:[],uploadFile:[],project:[]}},Zt=(a=(0,Ut.action)("\u76f8\u5173\u4ea4\u6d41\u5217\u8868\u8bf7\u6c42"),l=(0,Ut.action)("\u70b9\u51fb\u52a0\u8f7d\u4e0b\u4e00\u9875"),u=(0,Ut.action)("\u76f8\u5173\u4ea4\u6d41\u9ad8\u7ea7\u641c\u7d22"),s=(0,Ut.action)("\u9ad8\u7ea7\u641c\u7d22\u4e8b\u4ef6\u5904\u7406"),c=(0,Ut.action)("\u8bc4\u8bba\u7ec4\u4ef6\u7684\u64cd\u4f5c"),p=(0,Ut.action)("\u534f\u4f5c-\u534f\u4f5c\u4ea4\u6d41-\u7f6e\u9876/\u53d6\u6d88\u7f6e\u9876/\u5ba1\u6279/\u6536\u85cf/\u5220\u9664\u8bc4\u8bba/\u8d5e \u4ea4\u6d41\u8bb0\u5f55"),d=(0,Ut.action)("\u8bc4\u8bba\u63d0\u4ea4\u4e8b\u4ef6"),h=(0,Ut.action)("\u53d1\u8868\u534f\u4f5c"),f=(0,Ut.action)("\u6807\u661f\u64cd\u4f5c"),m=(0,Ut.action)("\u534f\u4f5c\u7ed3\u675f"),b=(0,Ut.action)("\u534f\u4f5c\u6253\u5f00"),y=(0,Ut.action)("\u9000\u51fa\u534f\u4f5c"),v=(0,Ut.action)("\u4e0e\u6211\u76f8\u5173\u5217\u8868\u8bf7\u6c42"),g=(0,Ut.action)("\u53c2\u4e0e\u60c5\u51b5"),w=(0,Ut.action)("\u76f8\u5173\u8d44\u6e90"),C=(0,Ut.action)("\u521d\u59cb\u5316Form\u8868\u5355"),A=(0,Ut.action)("\u7248\u5757\u66f4\u65b0"),k=(0,Ut.action)("\u66f4\u65b0\u7ed3\u675f\u65f6\u95f4"),S=(0,Ut.action)("\u534f\u4f5c-\u65b0\u5efa\u534f\u4f5c\u7248\u5757\u7c7b\u578b\u5207\u6362\uff0c\u53d6\u5bf9\u5e94\u7248\u5757\u7684\u4fe1\u606f\u4ee5\u53ca\u8054\u8c03\u5c5e\u6027\u7b49\uff08\u5982\u662f\u5426\u53ef\u533f\u540d\uff09"),z=(0,Ut.action)("\u63d0\u4ea4\u64cd\u4f5c"),L=(0,Ut.action)("\u65b0\u5efa\u4fdd\u5b58\u534f\u4f5c"),M=(0,Ut.action)("\u5bcc\u6587\u672c\u5185\u5bb9\u66f4\u6539\u89e6\u53d1\u65b9\u6cd5"),P=(0,Ut.action)("\u7f16\u8f91\u4fdd\u5b58"),I=(0,Ut.action)("\u4fdd\u5b58\u64cd\u4f5c"),D=(0,Ut.action)("\u7ec4\u4ef6\u5378\u8f7d"),_=function e(){var t=this;(0,Ht.default)(this,e),o(this,"detailLeftConfig",R,this),o(this,"leftConfig",T,this),o(this,"path",O,this),o(this,"coworkId",E,this),o(this,"floor",x,this),o(this,"isLoading",V,this),o(this,"page",j,this),o(this,"replyType",F,this),o(this,"viewRight",N,this),o(this,"approvalAtatus",q,this),o(this,"detailHeader",H,this),o(this,"itemsVO",J,this),o(this,"fixTop",G,this),o(this,"coworkStatus",K,this),o(this,"isAnonymous",B,this),o(this,"placeholderValue",U,this),o(this,"isImportant",Q,this),o(this,"isHeart",W,this),o(this,"communicateReply",$,this),o(this,"atSomeOne",X,this),o(this,"atSomeOneDatas",Y,this),o(this,"communicateReplyVisible",Z,this),o(this,"outReplyVisible",ee,this),o(this,"replyDatas",te,this),o(this,"loading",re,this),o(this,"relatedPage",ie,this),o(this,"recordType",oe,this),o(this,"relatedComment",ne,this),o(this,"relatedAdSearch",ae,this),o(this,"replyVisible",le,this),o(this,"replyComment",ue,this),o(this,"replyCommentParent",se,this),o(this,"detailReply",ce,this),o(this,"hasMore",pe,this),o(this,"over",de,this),o(this,"quoteReply",he,this),o(this,"commentReplyStoreMap",fe,this),o(this,"quoteReplyStoreMap",me,this),o(this,"partersMap",be,this),o(this,"resourceMap",ye,this),o(this,"isCoworkHiddened",ve,this),o(this,"routePath",ge,this),o(this,"relatedMeComment",we,this),this.photoArr=[],o(this,"imagrArr",Ce,this),o(this,"id",Ae,this),o(this,"createPage",ke,this),o(this,"topKey",Se,this),o(this,"createLoading",ze,this),o(this,"addInfoForm",Le,this),o(this,"endDate",Me,this),o(this,"coworkText",Pe,this),o(this,"uploadUrl",Ie,this),o(this,"createRichText",De,this),o(this,"itemsVORemark",_e,this),o(this,"itemsVo",Re,this),o(this,"coworkTypeInfoMap",Te,this),o(this,"createRoutePath",Oe,this),o(this,"typeId",Ee,this),o(this,"editTypeId",xe,this),o(this,"accessoryPath",Ve,this),o(this,"params_fileds",je,this),o(this,"createDisabled",Fe,this),o(this,"currentModel",Ne,this),o(this,"setStoreState",qe,this),this.inital=function(){t.atSomeOne=new Nt.default.Store({route:t.path,id:"at"}),t.initalAdSearch(),t.coworkDiscussSearchCondition(),t.getShareConditionStrList("all"),t.getCoworkDiscussData()},this.viewCowork=function(e){t.isLoading=!0,t.photoArr=[],t.relatedPage=1;var r={coworkId:t.coworkId};Wt.viewCowork(r).then(function(r){if(t.viewRight=r.viewRight,r.viewRight>0){t.detailHeader=r,t.over=r.over,t.isCoworkHiddened=t.detailHeader.isCoworkHiddened,t.itemsVO=t.detailHeader.itemsVO,t.coworkStatus=t.detailHeader.itemsVO.status,t.isAnonymous=t.detailHeader.itemsVO.isAnonymous;var i=t.itemsVO.id||"";t.inital(e),t.getAtConfig({coworkId:i}),r.itemsVO.remark.indexOf("<img")>-1&&(0,Ut.toJS)(r.itemsVO.remark.split("<img")).map(function(e){var r=e.match(/src="(\S*)"/)&&e.match(/src="(\S*)"/)[1],i=e.match(/data_id='(\S*)'/)&&e.match(/data_id='(\S*)'/)[1];return r&&i&&t.photoArr.push({url:r,imgId:i})}),t.approvalAtatus=r.itemsVO.approvalAtatus,t.coworkText=r.itemsVO.remark,t.itemsVORemark=r.itemsVO.remark,t.isImportant=r.isCoworkImportant,t.editTypeId=r.itemsVO.typeid}t.isLoading=!1})},o(this,"getAtConfig",He,this),this.initalAdSearch=function(){t.relatedAdSearch=new jt.default.Store({route:t.path,id:"discussSearch"})},o(this,"discussRecord",Je,this),o(this,"getNextPageDatas",Ge,this),o(this,"coworkDiscussSearchCondition",Ke,this),o(this,"onRelatedAdSearch",Be,this),o(this,"onReset",Ue,this),o(this,"detailOperate",Qe,this),o(this,"onMaskClick",We,this),o(this,"coworkDiscussOperation",$e,this),o(this,"saveComment",Xe,this),o(this,"publishCowork",Ye,this),o(this,"coworkMarkItemAsType",Ze,this),o(this,"batchCoworkItemMonitorEnd",et,this),o(this,"coworkItemOperation",tt,this),o(this,"quitCowork",rt,this),this.getIsCoworkHiddened=function(){return t.isCoworkHiddened},o(this,"relatedMe",it,this),o(this,"getShareConditionStrList",ot,this),o(this,"getCoworkDiscussData",nt,this),this.getReplyAttachList=function(){var e={routePath:t.routePath,typeId:t.itemsVO.typeid||""};return Wt.getCoworkAppStatus(e).then(function(e){return e})},o(this,"getAttachList",at,this),o(this,"setRoutePath",lt,this),this.clearInfo=function(){t.detailHeader={},t.hasMore=!0,t.recordType="common",t.relatedPage=1,t.page="relatedCommunication",t.floor="",t.fixTop=!1,t.index=0,t.outReplyVisible=!0,t.communicateReply.doClear(),t.imagrArr=[],t.coworkText="",t.replyType=""},o(this,"createInital",ut,this),o(this,"coworkAddCondition",st,this),o(this,"getCoworkAccessory",ct,this),o(this,"updateEndDate",pt,this),o(this,"getNewMyCoworkTypeMapByMobile",dt,this),o(this,"submitInfo",ht,this),o(this,"baseSave",ft,this),o(this,"setCoworkText",mt,this),o(this,"submitEditInfo",bt,this),o(this,"editSave",yt,this),this.editClear=function(){t.coworkText=t.itemsVORemark,t.params_fileds=Yt.params_fileds},o(this,"getCreateAttachList",vt,this),o(this,"clear",gt,this),o(this,"closeAllModel",wt,this)},R=n(_.prototype,"detailLeftConfig",[Ut.observable],{enumerable:!0,initializer:function(){return[{type:"voice"},{type:"blog-biaoqing"},{type:"blog-tupian"},{type:"@"}]}}),T=n(_.prototype,"leftConfig",[Ut.observable],{enumerable:!0,initializer:function(){return[{type:"voice"},{type:"blog-biaoqing"},{type:"blog-tupian"},{type:"@"},{type:"tianjia"}]}}),O=n(_.prototype,"path",[Ut.observable],{enumerable:!0,initializer:function(){return""}}),E=n(_.prototype,"coworkId",[Ut.observable],{enumerable:!0,initializer:function(){return null}}),x=n(_.prototype,"floor",[Ut.observable],{enumerable:!0,initializer:function(){return""}}),V=n(_.prototype,"isLoading",[Ut.observable],{enumerable:!0,initializer:function(){return!0}}),j=n(_.prototype,"page",[Ut.observable],{enumerable:!0,initializer:function(){return"relatedCommunication"}}),F=n(_.prototype,"replyType",[Ut.observable],{enumerable:!0,initializer:function(){return""}}),N=n(_.prototype,"viewRight",[Ut.observable],{enumerable:!0,initializer:function(){return null}}),q=n(_.prototype,"approvalAtatus",[Ut.observable],{enumerable:!0,initializer:function(){return null}}),H=n(_.prototype,"detailHeader",[Ut.observable],{enumerable:!0,initializer:function(){return{}}}),J=n(_.prototype,"itemsVO",[Ut.observable],{enumerable:!0,initializer:function(){return{}}}),G=n(_.prototype,"fixTop",[Ut.observable],{enumerable:!0,initializer:function(){return!1}}),K=n(_.prototype,"coworkStatus",[Ut.observable],{enumerable:!0,initializer:function(){return"1"}}),B=n(_.prototype,"isAnonymous",[Ut.observable],{enumerable:!0,initializer:function(){return""}}),U=n(_.prototype,"placeholderValue",[Ut.observable],{enumerable:!0,initializer:function(){return Xt(390700,"\u4ea4\u6d41\u5185\u5bb9")}}),Q=n(_.prototype,"isImportant",[Ut.observable],{enumerable:!0,initializer:function(){return!1}}),W=n(_.prototype,"isHeart",[Ut.observable],{enumerable:!0,initializer:function(){return!1}}),$=n(_.prototype,"communicateReply",[Ut.observable],{enumerable:!0,initializer:function(){return new xt.default.Store({getAttachList:this.getReplyAttachList})}}),X=n(_.prototype,"atSomeOne",[Ut.observable],{enumerable:!0,initializer:null}),Y=n(_.prototype,"atSomeOneDatas",[Ut.observable],{enumerable:!0,initializer:function(){return[]}}),Z=n(_.prototype,"communicateReplyVisible",[Ut.observable],{enumerable:!0,initializer:function(){return null}}),ee=n(_.prototype,"outReplyVisible",[Ut.observable],{enumerable:!0,initializer:function(){return!0}}),te=n(_.prototype,"replyDatas",[Ut.observable],{enumerable:!0,initializer:function(){return{}}}),re=n(_.prototype,"loading",[Ut.observable],{enumerable:!0,initializer:function(){return!0}}),ie=n(_.prototype,"relatedPage",[Ut.observable],{enumerable:!0,initializer:function(){return 1}}),oe=n(_.prototype,"recordType",[Ut.observable],{enumerable:!0,initializer:function(){return"common"}}),ne=n(_.prototype,"relatedComment",[Ut.observable],{enumerable:!0,initializer:function(){return new Ot.default.Store({getComment:this.discussRecord,operate:this.detailOperate})}}),ae=n(_.prototype,"relatedAdSearch",[Ut.observable],{enumerable:!0,initializer:null}),le=n(_.prototype,"replyVisible",[Ut.observable],{enumerable:!0,initializer:function(){return null}}),ue=n(_.prototype,"replyComment",[Ut.observable],{enumerable:!0,initializer:function(){return null}}),se=n(_.prototype,"replyCommentParent",[Ut.observable],{enumerable:!0,initializer:function(){return null}}),ce=n(_.prototype,"detailReply",[Ut.observable],{enumerable:!0,initializer:function(){return new xt.default.Store({getAttachList:this.getReplyAttachList})}}),pe=n(_.prototype,"hasMore",[Ut.observable],{enumerable:!0,initializer:function(){return!0}}),de=n(_.prototype,"over",[Ut.observable],{enumerable:!0,initializer:function(){return""}}),he=n(_.prototype,"quoteReply",[Ut.observable],{enumerable:!0,initializer:function(){return new xt.default.Store({getAttachList:this.getReplyAttachList})}}),fe=n(_.prototype,"commentReplyStoreMap",[Ut.observable],{enumerable:!0,initializer:function(){return{}}}),me=n(_.prototype,"quoteReplyStoreMap",[Ut.observable],{enumerable:!0,initializer:function(){return{}}}),be=n(_.prototype,"partersMap",[Ut.observable],{enumerable:!0,initializer:function(){return{}}}),ye=n(_.prototype,"resourceMap",[Ut.observable],{enumerable:!0,initializer:function(){return{}}}),ve=n(_.prototype,"isCoworkHiddened",[Ut.observable],{enumerable:!0,initializer:function(){return""}}),ge=n(_.prototype,"routePath",[Ut.observable],{enumerable:!0,initializer:function(){return null}}),we=n(_.prototype,"relatedMeComment",[Ut.observable],{enumerable:!0,initializer:function(){return new Ot.default.Store({getComment:this.relatedMe,operate:this.detailOperate})}}),Ce=n(_.prototype,"imagrArr",[Ut.observable],{enumerable:!0,initializer:function(){return[]}}),Ae=n(_.prototype,"id",[Ut.observable],{enumerable:!0,initializer:function(){return null}}),ke=n(_.prototype,"createPage",[Ut.observable],{enumerable:!0,initializer:function(){return 0}}),Se=n(_.prototype,"topKey",[Ut.observable],{enumerable:!0,initializer:function(){return Yt.topKey}}),ze=n(_.prototype,"createLoading",[Ut.observable],{enumerable:!0,initializer:function(){return Yt.createLoading}}),Le=n(_.prototype,"addInfoForm",[Ut.observable],{enumerable:!0,initializer:function(){return new Rt.default.Store({route:"/communication/createCowork"})}}),Me=n(_.prototype,"endDate",[Ut.observable],{enumerable:!0,initializer:function(){return""}}),Pe=n(_.prototype,"coworkText",[Ut.observable],{enumerable:!0,initializer:function(){return""}}),Ie=n(_.prototype,"uploadUrl",[Ut.observable],{enumerable:!0,initializer:function(){return"/api/cowork/base/uploadOperate"}}),De=n(_.prototype,"createRichText",[Ut.observable],{enumerable:!0,initializer:function(){return null}}),_e=n(_.prototype,"itemsVORemark",[Ut.observable],{enumerable:!0,initializer:function(){return""}}),Re=n(_.prototype,"itemsVo",[Ut.observable],{enumerable:!0,initializer:function(){return{typeid:""}}}),Te=n(_.prototype,"coworkTypeInfoMap",[Ut.observable],{enumerable:!0,initializer:function(){return{}}}),Oe=n(_.prototype,"createRoutePath",[Ut.observable],{enumerable:!0,initializer:function(){return null}}),Ee=n(_.prototype,"typeId",[Ut.observable],{enumerable:!0,initializer:function(){return this.itemsVo.typeid}}),xe=n(_.prototype,"editTypeId",[Ut.observable],{enumerable:!0,initializer:function(){return""}}),Ve=n(_.prototype,"accessoryPath",[Ut.observable],{enumerable:!0,initializer:function(){return{}}}),je=n(_.prototype,"params_fileds",[Ut.observable],{enumerable:!0,initializer:function(){return Yt.params_fileds}}),Fe=n(_.prototype,"createDisabled",[Ut.observable],{enumerable:!0,initializer:function(){return!1}}),Ne=n(_.prototype,"currentModel",[Ut.observable],{enumerable:!0,initializer:function(){return{}}}),qe=n(_.prototype,"setStoreState",[Ut.action],{enumerable:!0,initializer:function(){var e=this;return function(t){(0,Dt.default)(t).forEach(function(r){e[r]=t[r]})}}}),He=n(_.prototype,"getAtConfig",[Ut.action],{enumerable:!0,initializer:function(){var e=this;return function(t){Wt.atList(t).then(function(t){e.atSomeOneDatas=t.operators?t.operators.map(function(e){return{name:e.data,id:e.uid,imgSrc:e.messagerUrl}}):[]})}}}),Je=n(_.prototype,"discussRecord",[a],{enumerable:!0,initializer:function(){var e=this;return function(){e.loading=!0;var t=e.relatedAdSearch.form.formParams||{},r=(0,Pt.default)({coworkId:e.coworkId,recordType:"common",currentPage:e.relatedPage++,srchFloorNum:e.floor,isShowApproval:""},t);return Wt.discussRecord(r).then(function(t){return e.hasMore=t.hasMore,e.loading=!1,t})}}}),Ge=n(_.prototype,"getNextPageDatas",[l],{enumerable:!0,initializer:function(){var e=this;return function(t){"relatedCommunication"===e.page?e.relatedComment.getNextPageDatas():e.relatedMeComment.getNextPageDatas(),t&&t()}}}),Ke=n(_.prototype,"coworkDiscussSearchCondition",[u],{enumerable:!0,initializer:function(){var e=this;return function(t){e.relatedAdSearch.getData({url:"/api/cowork/view/getDiscussRecordCondition",method:"GET",params:(0,Pt.default)({},t)}).then(function(t){e.floor&&t.updateField("srchFloorNum",e.floor)})}}}),Be=n(_.prototype,"onRelatedAdSearch",[s],{enumerable:!0,initializer:function(){var e=this;return function(){e.relatedPage=1,"relatedCommunication"===e.page?e.relatedComment.getDatas():e.relatedMeComment.getDatas()}}}),Ue=n(_.prototype,"onReset",[Ut.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.relatedAdSearch.form.resetFields(),e.floor&&e.relatedAdSearch.form.updateField("srchFloorNum",e.floor)}}}),Qe=n(_.prototype,"detailOperate",[c],{enumerable:!0,initializer:function(){var e=this;return function(t){var r=e.fixTop,i=t.data,o=t.parent,n=t.type,a=n.key,l=n.type;e.replyComment=i,e.replyCommentParent=o,"fabulous"===l?e.coworkDiscussOperation(i,o,"agree"):"reply"===l||"comment"===a?(e.fixTop=r,e.replyType="comment",e.placeholderValue=Xt(18540,"\u56de\u590d")+" "+i.creater.name,e.commentReplyStoreMap[i.replyId]||(e.commentReplyStoreMap[i.replyId]=new xt.default.Store({getAttachList:e.getReplyAttachList}),e.commentReplyStoreMap[i.replyId].doInit()),e.outReplyVisible=!1,e.communicateReplyVisible(!0)):"quote"===l?(e.replyType="quote",e.placeholderValue=Xt("19422","\u5f15\u7528"),e.quoteReplyStoreMap[i.replyId]||(e.quoteReplyStoreMap[i.replyId]=new xt.default.Store({getAttachList:e.getReplyAttachList}),e.quoteReplyStoreMap[i.replyId].doInit()),e.outReplyVisible=!1,e.communicateReplyVisible(!0)):"delete"===l?"delDiscuss"===a?e.currentModel=$t(Xt(390724,"\u786e\u8ba4\u8981\u5220\u9664\u8be5\u8ba8\u8bba\u8bb0\u5f55"),"",[{text:Xt(390722,"\u53ea\u5220\u9664\u8be5\u5e16\u5b50"),onPress:function(){e.coworkDiscussOperation(i,o,"delDiscuss","",{isDeleteAll:0})}},{text:Xt(390721,"\u540c\u65f6\u5220\u9664\u8be5\u5e16\u5b50\u7684\u6240\u6709\u8bc4\u8bba"),onPress:function(){e.coworkDiscussOperation(i,o,"delDiscuss","",{isDeleteAll:1})}},{text:Xt(31129,"\u53d6\u6d88")}]):"delComment"===a&&(e.currentModel=$t(Xt(388758,"\u786e\u8ba4\u8981\u5220\u9664\u5417\uff1f"),"",[{text:Xt(31129,"\u53d6\u6d88")},{text:Xt(33703,"\u786e\u8ba4"),onPress:function(){e.coworkDiscussOperation(i,o,"delComment")}}])):"dotop"===a?(e.relatedPage=1,e.coworkDiscussOperation(i,o,"dotop","relatedCommunication"===e.page?e.relatedComment.getDatas:e.relatedMeComment.getDatas)):"canceltop"===a?(e.relatedPage=1,e.coworkDiscussOperation(i,o,"canceltop","relatedCommunication"===e.page?e.relatedComment.getDatas:e.relatedMeComment.getDatas)):"doApproveDiscuss"===a?e.coworkDiscussOperation(i,o,"doApproveDiscuss"):"edit"===a&&(e.replyType="reply",e.outReplyVisible=!1,e.communicateReplyVisible(!0))}}}),We=n(_.prototype,"onMaskClick",[Ut.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.replyType=""}}}),$e=n(_.prototype,"coworkDiscussOperation",[p],{enumerable:!0,initializer:function(){var e=this;return function(t,r,i,o,n){var a=(0,Pt.default)({id:t.replyId,coworkId:t.coworkId,operationType:i,discussId:r?r.replyId:""},n),l=e.itemsVO&&"1"===e.itemsVO.isHideDelete;return"relatedToMe"===e.page&&(a=(0,Pt.default)({},a,{menuType:"relatedme"})),Wt.coworkDiscussOperation(a).then(function(n){"delComment"===i?"relatedCommunication"===e.page?e.relatedComment.doOperateReply({replyId:t.replyId,parentId:r?r.replyId:"",reply:l||2===n.deleteType?null:n.replyList[0].childReply}):e.relatedMeComment.doOperateReply({replyId:t.replyId,parentId:r?r.replyId:"",reply:l||2===n.deleteType?null:n.replyList[0].childReply}):"relatedCommunication"===e.page?e.relatedComment.doOperateReply({replyId:t.replyId,parentId:r?r.replyId:"",reply:n.replyList[0]}):e.relatedMeComment.doOperateReply({replyId:t.replyId,parentId:r?r.replyId:"",reply:n.replyList[0]}),o&&o()})}}}),Xe=n(_.prototype,"saveComment",[d],{enumerable:!0,initializer:function(){var e=this;return function(t,r){if(e.communicateReply.doClear(),"1"!==e.approvalAtatus){e.replyComment&&("quote"===e.replyType&&e.quoteReplyStoreMap[e.replyComment.replyId].doClear(),"comment"===e.replyType&&e.commentReplyStoreMap[e.replyComment.replyId].doClear());var i=t.text;e.imagrArr.forEach(function(e,t,r){i+=e});var o={id:"",coworkId:e.replyComment&&e.replyComment.coworkId||e.coworkId,remark:i,relatedprj:(0,Ut.toJS)(e.replyDatas).task&&(0,Ut.toJS)(e.replyDatas).task.map(function(e){return e.id})||"",relatedcus:(0,Ut.toJS)(e.replyDatas).customer&&(0,Ut.toJS)(e.replyDatas).customer.map(function(e){return e.id})||"",relatedwf:(0,Ut.toJS)(e.replyDatas).workFlow&&(0,Ut.toJS)(e.replyDatas).workFlow.map(function(e){return e.id})||"",relateddoc:(0,Ut.toJS)(e.replyDatas).document&&(0,Ut.toJS)(e.replyDatas).document.map(function(e){return e.id})||"",relatedacc:(0,Ut.toJS)(e.replyDatas).uploadFile&&(0,Ut.toJS)(e.replyDatas).uploadFile.map(function(e){return e.id})||"",projectIDs:(0,Ut.toJS)(e.replyDatas).project&&(0,Ut.toJS)(e.replyDatas).project.map(function(e){return e.id})||"",replayid:e.replyComment?e.replyComment.replyId:"",topdiscussid:e.replyComment?e.replyCommentParent?e.replyCommentParent.replyId:e.replyComment.replyId:"",isAnonymous:t.checked?"1":"",replyType:e.replyComment?e.replyType:"",delrelatedacc:""};return"relatedToMe"===e.page&&(o=(0,Pt.default)({},o,{menuType:"relatedme"})),Wt.submitCoworkDiscuss(o).then(function(t){e.replyComment?"quote"===e.replyType?(e.relatedPage=1,"relatedCommunication"===e.page?e.relatedComment.getDatas():e.relatedMeComment.getDatas(),e.quoteReplyStoreMap[e.replyComment.replyId].doClear(),e.imagrArr=[]):("relatedCommunication"===e.page?e.relatedComment.doOperateReply({replyId:e.replyComment.replyId,parentId:e.replyCommentParent?e.replyCommentParent.replyId:"",reply:e.replyCommentParent?t.replyList[0].childReply:t.replyList[0]}):e.relatedMeComment.doOperateReply({replyId:e.replyComment.replyId,parentId:e.replyCommentParent?e.replyCommentParent.replyId:"",reply:e.replyCommentParent?t.replyList[0].childReply:t.replyList[0]}),e.commentReplyStoreMap[e.replyComment.replyId].doClear(),e.imagrArr=[]):(e.relatedPage=1,"relatedCommunication"===e.page?e.relatedComment.getDatas():e.relatedMeComment.getDatas(),e.imagrArr=[]),e.outReplyVisible=!0,e.communicateReplyVisible(!1),e.replyType="",e.replyDatas={},r&&r()})}Lt.default.error(Xt(83249,"\u4e3b\u9898\u5904\u4e8e\u5f85\u5ba1\u6279\u72b6\u6001\u7981\u6b62\u53d1\u8a00"))}}}),Ye=n(_.prototype,"publishCowork",[h],{enumerable:!0,initializer:function(){var e=this;return function(t){if(e.communicateReply.doClear(),"1"!==e.approvalAtatus){var r=t.text;e.imagrArr.forEach(function(e,t,i){r+=e});var i={coworkId:e.coworkId,remark:r,isAnonymous:t.checked?"1":"",relatedprj:(0,Ut.toJS)(e.replyDatas).task&&(0,Ut.toJS)(e.replyDatas).task.map(function(e){return e.id})||"",relatedcus:(0,Ut.toJS)(e.replyDatas).customer&&(0,Ut.toJS)(e.replyDatas).customer.map(function(e){return e.id})||"",relatedwf:(0,Ut.toJS)(e.replyDatas).workFlow&&(0,Ut.toJS)(e.replyDatas).workFlow.map(function(e){return e.id})||"",relateddoc:(0,Ut.toJS)(e.replyDatas).document&&(0,Ut.toJS)(e.replyDatas).document.map(function(e){return e.id})||"",relatedacc:(0,Ut.toJS)(e.replyDatas).uploadFile&&(0,Ut.toJS)(e.replyDatas).uploadFile.map(function(e){return e.id})||"",projectIDs:(0,Ut.toJS)(e.replyDatas).project&&(0,Ut.toJS)(e.replyDatas).project.map(function(e){return e.id})||""};return Wt.submitCoworkDiscuss(i).then(function(t){e.relatedPage=1,"relatedCommunication"===e.page?e.relatedComment.getDatas():e.relatedMeComment.getDatas(),e.communicateReplyVisible(!1),e.imagrArr=[],e.replyDatas={}})}Lt.default.error(Xt(83249,"\u4e3b\u9898\u5904\u4e8e\u5f85\u5ba1\u6279\u72b6\u6001\u7981\u6b62\u53d1\u8a00"))}}}),Ze=n(_.prototype,"coworkMarkItemAsType",[f],{enumerable:!0,initializer:function(){var e=this;return function(t,r){var i={coworkids:r||e.coworkId,type:t};Wt.coworkMarkItemAsType(i).then(function(r){r.api_status&&"normal"===t?e.setStoreState({isImportant:!1}):e.setStoreState({isImportant:!0})})}}}),et=n(_.prototype,"batchCoworkItemMonitorEnd",[m],{enumerable:!0,initializer:function(){var e=this;return function(){var t={coworkIds:e.coworkId};Wt.batchCoworkItemMonitorEnd(t).then(function(t){"1"===t.status&&(e.relatedPage=1,e.page="relatedCommunication","relatedCommunication"===e.page?e.relatedComment.getDatas():e.relatedMeComment.getDatas(),Lt.default.success(Xt(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1),e.viewCowork())})}}}),tt=n(_.prototype,"coworkItemOperation",[b],{enumerable:!0,initializer:function(){var e=this;return function(){var t={coworkId:e.coworkId,operationType:"open"};Wt.coworkItemOperation(t).then(function(t){"1"===t.status&&(e.relatedPage=1,e.page="relatedCommunication","relatedCommunication"===e.page?e.relatedComment.getDatas():e.relatedMeComment.getDatas(),Lt.default.success(Xt(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1),e.viewCowork())})}}}),rt=n(_.prototype,"quitCowork",[y],{enumerable:!0,initializer:function(){var e=this;return function(t){var r={coworkId:e.coworkId};Wt.quitCowork(r).then(function(e){if(e.flag)Lt.default.success(Xt("513434","\u9000\u51fa\u534f\u4f5c\u6210\u529f\uff01")),t&&setTimeout(function(){return t()},1250);else{var r=Xt("384402","\u64cd\u4f5c\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5\uff01");"1"!==e.canQuit&&e.message&&(r=e.message),Lt.default.error(r)}})}}}),it=n(_.prototype,"relatedMe",[v],{enumerable:!0,initializer:function(){var e=this;return function(){e.loading=!0;var t=e.relatedAdSearch.form.formParams||{},r=(0,Pt.default)({coworkId:e.coworkId,recordType:"relatedme",currentPage:e.relatedPage++,srchFloorNum:e.floor,isShowApproval:""},t);return Wt.discussRecord(r).then(function(t){return e.hasMore=t.hasMore,e.loading=!1,t})}}}),ot=n(_.prototype,"getShareConditionStrList",[g],{enumerable:!0,initializer:function(){var e=this;return function(t){var r={coworkId:e.coworkId,type:t};Wt.getShareConditionStrList(r).then(function(t){e.partersMap=t})}}}),nt=n(_.prototype,"getCoworkDiscussData",[w],{enumerable:!0,initializer:function(){var e=this;return function(){var t={coworkId:e.coworkId};Wt.getCoworkDiscussData(t).then(function(t){e.resourceMap=t})}}}),at=n(_.prototype,"getAttachList",[Ut.action],{enumerable:!0,initializer:function(){var e=this;return function(){var t={routePath:e.routePath,typeId:e.itemsVO.typeid};return Wt.getCoworkAppStatus(t).then(function(e){return e})}}}),lt=n(_.prototype,"setRoutePath",[Ut.action],{enumerable:!0,initializer:function(){var e=this;return function(t){e.routePath=t}}}),ut=n(_.prototype,"createInital",[Ut.action],{enumerable:!0,initializer:function(){var e=this;return function(t){e.createRichText=new St.default.Store({reply:{getAttachList:function(){return e.getCreateAttachList()}}}),t?e.coworkAddCondition({id:t,type:"edit"}):e.coworkAddCondition(),e.getNewMyCoworkTypeMapByMobile()}}}),st=n(_.prototype,"coworkAddCondition",[C],{enumerable:!0,initializer:function(){var e=this;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.createLoading=!0,Wt.coworkAddCondition(t).then(function(t){e.addInfoForm.initForm(t.condition,e.createRoutePath),e.createLoading=!1})}}}),ct=n(_.prototype,"getCoworkAccessory",[A],{enumerable:!0,initializer:function(){var e=this;return function(t){var r={typeId:e.addInfoForm.formParams.typeId||e.typeId||""};Wt.getCoworkAccessory(r).then(function(t){"1"===t.status?(e.accessoryPath=t,e.uploadUrl=e.uploadUrl+"?secId="+t.secId):Lt.default.error(Xt(187,"\u8bfb\u53d6\u534f\u4f5c\u9644\u4ef6\u5931\u8d25, msg:","error")+t.msg)})}}}),pt=n(_.prototype,"updateEndDate",[k],{enumerable:!0,initializer:function(){var e=this;return function(t){e.addInfoForm.updateField("endDate",t)}}}),dt=n(_.prototype,"getNewMyCoworkTypeMapByMobile",[S],{enumerable:!0,initializer:function(){var e=this;return function(){Wt.getNewMyCoworkTypeMapByMobile().then(function(t){e.coworkTypeInfoMap=t.coworkTypeInfoMap})}}}),ht=n(_.prototype,"submitInfo",[z],{enumerable:!0,initializer:function(){var e=this;return function(t){var r=e.addInfoForm.doValidate();r.pass?(e.createDisabled=!0,e.baseSave("",t)):(Lt.default.error(r.message),1===e.createPage&&e.setStoreState({createPage:0}))}}}),ft=n(_.prototype,"baseSave",[L],{enumerable:!0,initializer:function(){var e=this;return function(t,r){t=(0,Pt.default)({params:t},(0,Ut.toJS)(e.addInfoForm.formParams),{operationType:"add",remark:e.coworkText,relatedPrj:e.params_fileds.task&&e.params_fileds.task.map(function(e){return""+e.id})||"",relatedCus:e.params_fileds.customer&&e.params_fileds.customer.map(function(e){return""+e.id})||"",relatedWf:e.params_fileds.workFlow&&e.params_fileds.workFlow.map(function(e){return""+e.id})||"",relatedDoc:e.params_fileds.document&&e.params_fileds.document.map(function(e){return""+e.id})||"",relatedAcc:e.params_fileds.uploadFile&&e.params_fileds.uploadFile.map(function(e){return""+e.id})||"",projectIds:e.params_fileds.project&&e.params_fileds.project.map(function(e){return""+e.id})||""}),Wt.saveorupdateCoworkItemVo(t).then(function(t){"1"===t.status&&(Lt.default.success(Xt(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1),e.itemsVo=t.coworkItemVoMap.itemsVO,r?setTimeout(function(){r(),e.createDisabled=!1},1e3):e.createDisabled=!1,e.addInfoForm.resetFields(),e.coworkText="")})}}}),mt=n(_.prototype,"setCoworkText",[M],{enumerable:!0,initializer:function(){var e=this;return function(t){e.coworkText=t}}}),bt=n(_.prototype,"submitEditInfo",[P],{enumerable:!0,initializer:function(){var e=this;return function(t){var r=e.addInfoForm.doValidate();r.pass?(e.createDisabled=!0,e.editSave(t),e.relatedPage=1):(Lt.default.error(r.message),e.relatedPage=1,e.createPage=0)}}}),yt=n(_.prototype,"editSave",[I],{enumerable:!0,initializer:function(){var e=this;return function(t){var r=(0,Pt.default)({},(0,Ut.toJS)(e.addInfoForm.formParams),{operationType:"edit",id:e.id,remark:e.coworkText,relatedPrj:e.params_fileds.task.map(function(e){return""+e.id}),relatedCus:e.params_fileds.customer.map(function(e){return""+e.id}),relatedWf:e.params_fileds.workFlow.map(function(e){return""+e.id}),relatedDoc:e.params_fileds.document.map(function(e){return""+e.id}),relatedAcc:e.params_fileds.uploadFile.map(function(e){return""+e.id}),projectIds:e.params_fileds.project.map(function(e){return""+e.id})});Wt.saveorupdateCoworkItemVo(r).then(function(r){"1"===r.status&&!1!==r.flag&&(Lt.default.success(Xt(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1),e.itemsVo=r.coworkItemVoMap.itemsVO,e.addInfoForm.resetFields(),t&&t(),e.createDisabled=!1,e.createPage=0,e.page="relatedCommunication")})}}}),vt=n(_.prototype,"getCreateAttachList",[Ut.action],{enumerable:!0,initializer:function(){var e=this;return function(){var t={routePath:e.createRoutePath,typeId:e.editTypeId,id:e.id};return Wt.getCoworkAppStatus(t).then(function(t){return(0,Ut.toJS)(t.attachList).map(function(t){"uploadFile"===t.key?e.params_fileds[t.key]=t.config.datas:e.params_fileds[t.key]=t.config.valueArray}),t})}}}),gt=n(_.prototype,"clear",[D],{enumerable:!0,initializer:function(){var e=this;return function(){e.addInfoForm.resetFields(),e.createPage=0,e.params_fileds=Yt.params_fileds,e.atSomeOneDatas=[]}}}),wt=n(_.prototype,"closeAllModel",[Ut.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.currentModel&&"function"===typeof e.currentModel.close&&e.currentModel.close()}}}),_);t.default=Zt},1148:function(e,t,r){e.exports={default:r(1149),__esModule:!0}},1149:function(e,t,r){r(1150);var i=r(34).Object;e.exports=function(e){return i.getOwnPropertyNames(e)}},1150:function(e,t,r){r(183)("getOwnPropertyNames",function(){return r(367).f})},1151:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,i){r&&(0,z.default)(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function n(e,t,r,i,o){var n={};return Object.keys(i).forEach(function(e){n[e]=i[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=r.slice().reverse().reduce(function(r,i){return i(e,t,r)||r},n),o&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(o):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,l,u,s,c,p,d,h,f,m,b,y,v,g,w,C,A,k,S=r(17),z=i(S),L=r(29),M=i(L),P=r(5),I=i(P),D=r(18),_=i(D),R=r(305),T=i(R),O=r(33),E=i(O),x=r(1),V=i(x),j=r(9),F=i(j),N=r(45),q=i(N),H=r(10),J=r(132),G=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(J),K=q.default.alert,B=F.default.getLabel,U=(a=(0,H.action)("\u53c2\u52a0\u8303\u56f4Condition\u8bf7\u6c42"),l=(0,H.action)("\u6dfb\u52a0\u53c2\u4e0e\u8303\u56f4--\u5c55\u793a\u4eba\u5458\u5217\u8868"),u=(0,H.action)("\u4fdd\u5b58\u53c2\u4e0e\u4eba"),s=(0,H.action)("\u53c2\u4e0e\u8303\u56f4--\u5220\u9664\u64cd\u4f5c"),c=function e(){var t=this;(0,V.default)(this,e),o(this,"coworkId",p,this),o(this,"parterlistLoading",d,this),o(this,"parterlist",h,this),o(this,"shareConditionInfo",f,this),o(this,"shareAuthRoute",m,this),o(this,"params",b,this),o(this,"currentModel",y,this),o(this,"setStoreState",v,this),this.inital=function(e){t.parterlist=new E.default.Store({route:e,id:"parterList"}),t.shareAuthRoute=new T.default.Store({route:e,id:"addShare"}),t.getParterListData({coworkId:t.coworkId}),t.getWeaAuthConditions()},o(this,"getWeaAuthConditions",g,this),o(this,"getParterListData",w,this),o(this,"parterListChange",C,this),o(this,"parterDelete",A,this),this.clear=function(){t.shareConditionInfo=[]},o(this,"closeAllModel",k,this)},p=n(c.prototype,"coworkId",[H.observable],{enumerable:!0,initializer:function(){return""}}),d=n(c.prototype,"parterlistLoading",[H.observable],{enumerable:!0,initializer:function(){return!0}}),h=n(c.prototype,"parterlist",[H.observable],{enumerable:!0,initializer:function(){return null}}),f=n(c.prototype,"shareConditionInfo",[H.observable],{enumerable:!0,initializer:function(){return[]}}),m=n(c.prototype,"shareAuthRoute",[H.observable],{enumerable:!0,initializer:function(){return null}}),b=n(c.prototype,"params",[H.observable],{enumerable:!0,initializer:function(){return{id:"",shareType:"",shareValue:"",secLevel:"",jobtitleLevel:"",jobtitleScopeid:"",secLevelMax:"",shareId:""}}}),y=n(c.prototype,"currentModel",[H.observable],{enumerable:!0,initializer:function(){return{}}}),v=n(c.prototype,"setStoreState",[H.action],{enumerable:!0,initializer:function(){var e=this;return function(t){(0,_.default)(t).forEach(function(r){e[r]=t[r]})}}}),g=n(c.prototype,"getWeaAuthConditions",[a],{enumerable:!0,initializer:function(){var e=this;return function(){G.getWeaAuthConditions().then(function(t){e.shareConditionInfo=t.conditioninfo})}}}),w=n(c.prototype,"getParterListData",[l],{enumerable:!0,initializer:function(){var e=this;return function(t){e.parterlistLoading=!0,G.getParterListData(t).then(function(t){var r=t.status,i=t.shareList;"1"===r&&(e.parterlist.setState({data:i}),e.parterlistLoading=!1)})}}}),C=n(c.prototype,"parterListChange",[u],{enumerable:!0,initializer:function(){var e=this;return function(t,r){var i=t.has_child,o=t.secLevel,n=t.secLevelMax,a=t.shareType,l=t.shareValue,u=t.shareValuespan,s=t.roleLevel,c=t.jobtitleLevel,p=t.typeId,d={id:e.coworkId,shareType:a,typeId:p};"2"===a||"3"===a?d=(0,I.default)({},d,{shareValue:l,shareValuespan:u,has_child:i||0,secLevel:o,secLevelMax:n}):"4"===a?d=(0,I.default)({},d,{shareValue:l,shareValuespan:u,secLevel:o,secLevelMax:n,roleLevel:s}):"5"===a?d=(0,I.default)({},d,{secLevel:o,secLevelMax:n}):"6"===a?d=(0,I.default)({},d,{shareValue:l,shareValuespan:u,jobtitleLevel:(0,H.toJS)(c.jobtitleLevel),jobtitleScopeid:(0,H.toJS)(c.jobtitleScopeid)}):"1"===a&&(d=(0,I.default)({},d,{shareValue:l,shareValuespan:u})),G.saveorupdateCoworkShare(d).then(function(t){t.flag&&(e.getParterListData({coworkId:e.coworkId}),r&&"function"===typeof r&&r())})}}}),A=n(c.prototype,"parterDelete",[s],{enumerable:!0,initializer:function(){var e=this;return function(t,r){var i=t.coworkId,o=t.id,n=t.typeId;e.currentModel=K(B(388758,"\u786e\u8ba4\u8981\u5220\u9664\u5417\uff1f"),"",[{text:B(31129,"\u53d6\u6d88")},{text:B(33703,"\u786e\u8ba4"),onPress:function(){var t={id:i,shareId:o,typeId:n};G.saveorupdateCoworkShare(t).then(function(t){"1"===t.status&&(e.getParterListData({coworkId:e.coworkId}),M.default.success(B(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1),r&&"function"===typeof r&&r())})}}])}}}),k=n(c.prototype,"closeAllModel",[H.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.currentModel&&"function"===typeof e.currentModel.close&&e.currentModel.close()}}}),c);t.default=U},1156:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,i){r&&(0,O.default)(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function n(e,t,r,i,o){var n={};return Object.keys(i).forEach(function(e){n[e]=i[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=r.slice().reverse().reduce(function(r,i){return i(e,t,r)||r},n),o&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(o):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,l,u,s,c,p,d,h,f,m,b,y,v,g,w,C,A,k,S,z,L,M,P,I,D,_,R,T=r(17),O=i(T),E=r(29),x=i(E),V=r(240),j=i(V),F=r(5),N=i(F),q=r(54),H=i(q),J=r(41),G=i(J),K=r(90),B=i(K),U=r(18),Q=i(U),W=r(78),$=i(W),X=r(1),Y=i(X),Z=r(9),ee=i(Z),te=r(10),re=r(132),ie=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(re),oe=ee.default.getLabel,ne=function(){return[{key:"unread",name:oe(25420,"\u6807\u8bb0\u4e3a\u672a\u8bfb")},{key:"read",name:oe(18492,"\u6807\u8bb0\u4e3a\u5df2\u8bfb")},{key:"important",name:oe(382626,"\u6807\u661f")},{key:"normal",name:oe(382669,"\u53d6\u6d88\u6807\u661f")},{key:"hidden",name:oe(16636,"\u9690\u85cf")},{key:"show",name:oe(25424,"\u53d6\u6d88\u9690\u85cf")}]},ae={page:""},le=(a=(0,te.action)("\u8bf7\u6c42\u6807\u7b7e\u5217\u8868"),l=(0,te.action)("\u6807\u8bb0\u4e3a\u64cd\u4f5c"),u=(0,te.action)("\u4fdd\u5b58\u8bbe\u7f6e"),s=(0,te.action)("\u5220\u9664\u6807\u7b7e"),c=(0,te.action)("\u4fdd\u5b58\u64cd\u4f5c"),p=function e(){var t=this;(0,Y.default)(this,e),this.markArr=ne(),o(this,"page",d,this),o(this,"tagLoading",h,this),o(this,"coworkids",f,this),o(this,"labelList",m,this),o(this,"check",b,this),o(this,"labelType",y,this),o(this,"type",v,this),o(this,"typeCheck",g,this),o(this,"tempList",w,this),o(this,"tagForm",C,this),o(this,"newTagLoading",A,this),o(this,"labelOrder",k,this),o(this,"params",S,this),o(this,"setStoreState",z,this),o(this,"getCoworkLabelList",L,this),o(this,"tagMark",M,this),o(this,"cancelMark",P,this),o(this,"coworkLabelCondition",I,this),o(this,"submitTag",D,this),o(this,"deleteTag",_,this),o(this,"saveTag",R,this),this.clear=function(){t.setStoreState(ae),t.labelList=[],t.check=0,t.labelType={},t.type="",t.labelOrder="",t.params={operateType:"",id:"",labelName:"",labelColor:"",isUsed:"",labelOrder:"",textColor:"",labelType:"",typeid:""}}},d=n(p.prototype,"page",[te.observable],{enumerable:!0,initializer:function(){return ae.page}}),h=n(p.prototype,"tagLoading",[te.observable],{enumerable:!0,initializer:function(){return!0}}),f=n(p.prototype,"coworkids",[te.observable],{enumerable:!0,initializer:function(){return null}}),m=n(p.prototype,"labelList",[te.observable],{enumerable:!0,initializer:function(){return[]}}),b=n(p.prototype,"check",[te.observable],{enumerable:!0,initializer:function(){return 0}}),y=n(p.prototype,"labelType",[te.observable],{enumerable:!0,initializer:function(){return{}}}),v=n(p.prototype,"type",[te.observable],{enumerable:!0,initializer:function(){return{}}}),g=n(p.prototype,"typeCheck",[te.observable],{enumerable:!0,initializer:function(){return!1}}),w=n(p.prototype,"tempList",[te.observable],{enumerable:!0,initializer:function(){return[]}}),C=n(p.prototype,"tagForm",[te.observable],{enumerable:!0,initializer:function(){return new $.default.Store({route:"/communication/tag",id:"createTag"})}}),A=n(p.prototype,"newTagLoading",[te.observable],{enumerable:!0,initializer:function(){return!0}}),k=n(p.prototype,"labelOrder",[te.observable],{enumerable:!0,initializer:function(){return""}}),S=n(p.prototype,"params",[te.observable],{enumerable:!0,initializer:function(){return{operateType:"",id:"",labelName:"",labelColor:"",isUsed:"",labelOrder:"",textColor:"",labelType:"",typeid:""}}}),z=n(p.prototype,"setStoreState",[te.action],{enumerable:!0,initializer:function(){var e=this;return function(t){(0,Q.default)(t).forEach(function(r){e[r]=t[r]})}}}),L=n(p.prototype,"getCoworkLabelList",[a],{enumerable:!0,initializer:function(){var e=this;return function(){e.tagLoading=!0,e.labelList=[],ie.getCoworkLabelList().then(function(t){e.tempList=t.labelList;var r=t.labelList[0].labelOrder;t.labelList&&t.labelList.map(function(t){return"label"===t.labelType&&e.labelList.push(t),1*t.labelOrder>r&&(r=1*t.labelOrder),e.labelOrder=1*r+1,e.tagLoading=!1,t})})}}}),M=n(p.prototype,"tagMark",[l],{enumerable:!0,initializer:function(){var e=this;return function(t){var r="",i=[];if((0,Q.default)((0,te.toJS)(e.type)).forEach(function(e){r=e}),(0,Q.default)((0,te.toJS)(e.labelType)).forEach(function(t){!1!==(0,te.toJS)(e.labelType)[t]&&i.push(t)}),0!==(0,te.toJS)(i).length||"{}"!==(0,B.default)((0,te.toJS)(e.type))&&""!==e.type){var o=!1,n=!1;return new H.default(function(a){if("{}"!==(0,B.default)((0,te.toJS)(e.type))){var l={coworkids:e.coworkids,type:r};ie.coworkMarkItemAsType(l).then(function(e){o=e.api_status})}if(0!==i.length){var u={coworkids:e.coworkids,type:"addLabel",labelIds:i.join(",")};ie.coworkMarkItemAsType(u).then(function(e){n=e.api_status})}var s=setInterval(function(){(n||o)&&(G.default.success(oe(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1),t&&t(),a(!0),clearInterval(s))},100)})}G.default.info(oe(390694,"\u8bf7\u6267\u884c\u6b63\u786e\u64cd\u4f5c\uff01"),1)}}}),P=n(p.prototype,"cancelMark",[te.action],{enumerable:!0,initializer:function(){var e=this;return function(t){var r={coworkids:e.coworkids,type:"deleteAll"};ie.coworkMarkItemAsType(r),t&&t()}}}),I=n(p.prototype,"coworkLabelCondition",[te.action],{enumerable:!0,initializer:function(){var e=this;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments[1];e.newTagLoading=!0,ie.coworkLabelCondition(t).then(function(t){e.tagForm.initForm(t.conditioninfo,r),e.newTagLoading=!1})}}}),D=n(p.prototype,"submitTag",[u],{enumerable:!0,initializer:function(){var e=this;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments[1],i=e.tagForm.formParams,o=e.tagForm.doValidate(),n=(0,N.default)({},i,{labelOrder:e.labelOrder});o.pass?((0,j.default)(e.params,t,n),ie.uploadCoworkLabelByMobile(e.params).then(function(t){t.flag&&(e.labelList=[],e.getCoworkLabelList(),x.default.success(oe(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1),e.tagForm.resetFields())}),r&&r()):x.default.error(o.message)}}}),_=n(p.prototype,"deleteTag",[s],{enumerable:!0,initializer:function(){var e=this;return function(t){e.labelList.map(function(r,i){return r.id===t&&e.labelList.splice(i,1),r}),e.tempList.map(function(r,i){return r.id===t&&e.tempList.splice(i,1),r})}}}),R=n(p.prototype,"saveTag",[c],{enumerable:!0,initializer:function(){var e=this;return function(t){var r={labelArray:(0,B.default)((0,te.toJS)(e.tempList))};ie.uploadCoworkLabelList(r).then(function(e){"1"===e.status?x.default.success(oe(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1):x.default.error(oe(30651,"\u64cd\u4f5c\u5931\u8d25")+"!",1),t&&t()})}}}),p);t.default=le},1157:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,i){r&&(0,m.default)(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function n(e,t,r,i,o){var n={};return Object.keys(i).forEach(function(e){n[e]=i[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=r.slice().reverse().reduce(function(r,i){return i(e,t,r)||r},n),o&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(o):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,l,u,s,c,p,d,h,f=r(17),m=i(f),b=r(29),y=i(b),v=r(27),g=i(v),w=r(18),C=i(w),A=r(38),k=i(A),S=r(1),z=i(S),L=r(9),M=i(L),P=r(45),I=i(P),D=r(10),_=r(132),R=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(_),T=I.default.alert,O=M.default.getLabel,E={coworkId:"",loading:!0},x=(a=function e(){var t=this;(0,z.default)(this,e),o(this,"coworkId",l,this),o(this,"loading",u,this),o(this,"setStoreState",s,this),this.inital=function(e){t.loading=!0,t.quitList=new k.default.Store({route:e,id:"quit"}),t.getQuitList({coworkId:t.coworkId})},o(this,"getQuitList",c,this),o(this,"doQuitSelectAll",p,this),o(this,"doQuitSelectNone",d,this),o(this,"reJoinCowork",h,this)},l=n(a.prototype,"coworkId",[D.observable],{enumerable:!0,initializer:function(){return E.coworkId}}),u=n(a.prototype,"loading",[D.observable],{enumerable:!0,initializer:function(){return E.loading}}),s=n(a.prototype,"setStoreState",[D.action],{enumerable:!0,initializer:function(){var e=this;return function(t){(0,C.default)(t).forEach(function(r){e[r]=t[r]})}}}),c=n(a.prototype,"getQuitList",[D.action],{enumerable:!0,initializer:function(){var e=this;return function(t){R.coworkQuitList(t).then(function(t){if("1"===t.status){var r={isTable:!1,loading:!1,haveCheck:!0,template:{default:[]},hasMore:!1,data:[].concat((0,g.default)(t.shareList))};e.quitList.setState(r),e.quitList.updateDataSource(),e.loading=!1}})}}}),p=n(a.prototype,"doQuitSelectAll",[D.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.quitList.selectAll()}}}),d=n(a.prototype,"doQuitSelectNone",[D.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.quitList.selectNone()}}}),h=n(a.prototype,"reJoinCowork",[D.action],{enumerable:!0,initializer:function(){var e=this;return function(){var t=(0,D.toJS)(e.quitList.selectedRowKeys).join();T(O("513246","\u786e\u5b9a\u8981\u5c06\u9009\u4e2d\u4eba\u5458\u91cd\u65b0\u52a0\u5165\u534f\u4f5c\u5417\uff1f"),"",[{text:O(31129,"\u53d6\u6d88")},{text:O(33703,"\u786e\u8ba4"),onPress:function(){var r={coworkId:e.coworkId,quiterIds:t};R.reJoinCoworkQuiter(r).then(function(t){t.flag?(y.default.success(O("513249","\u91cd\u65b0\u52a0\u5165\u534f\u4f5c\u6210\u529f\uff01")),e.doQuitSelectNone(),e.getQuitList({coworkId:e.coworkId})):y.default.error(O("384402","\u64cd\u4f5c\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5\uff01"))})}}])}}}),a);t.default=x},1158:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,i){r&&(0,J.default)(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function n(e,t,r,i,o){var n={};return Object.keys(i).forEach(function(e){n[e]=i[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=r.slice().reverse().reduce(function(r,i){return i(e,t,r)||r},n),o&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(o):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,l,u,s,c,p,d,h,f,m,b,y,v,g,w,C,A,k,S,z,L,M,P,I,D,_,R,T,O,E,x,V,j,F,N,q,H=r(17),J=i(H),G=r(29),K=i(G),B=r(41),U=i(B),Q=r(5),W=i(Q),$=r(18),X=i($),Y=r(38),Z=i(Y),ee=r(39),te=i(ee),re=r(1),ie=i(re),oe=r(45),ne=i(oe),ae=r(9),le=i(ae),ue=r(10),se=r(1159),ce=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(se),pe=le.default.getLabel,de=ne.default.alert,he=(a=function e(){(0,ie.default)(this,e),o(this,"page",l,this),o(this,"visible",u,this),o(this,"themeSearch",s,this),o(this,"themeList",c,this),o(this,"showThemeCheck",p,this),o(this,"themeAdValue",d,this),o(this,"themeLoading",h,this),o(this,"contentSearch",f,this),o(this,"contentList",m,this),o(this,"showContentCheck",b,this),o(this,"contentAdValue",y,this),o(this,"contentLoading",v,this),o(this,"currentModel",g,this),o(this,"setStoreState",w,this),o(this,"getThemeData",C,this),o(this,"getThemeSearchCondition",A,this),o(this,"doThemeApprove",k,this),o(this,"doThemeDelete",S,this),o(this,"updateThemeAdvance",z,this),o(this,"doThemeCancel",L,this),o(this,"doThemeSelectAll",M,this),o(this,"doThemeselectNone",P,this),o(this,"doThemeReset",I,this),o(this,"doThemeMount",D,this),o(this,"getContentData",_,this),o(this,"getContentSearchCondition",R,this),o(this,"doContentApprove",T,this),o(this,"doContentDelete",O,this),o(this,"updateContentAdvance",E,this),o(this,"doContentCancel",x,this),o(this,"doContentSelectAll",V,this),o(this,"doContentselectNone",j,this),o(this,"doContentReset",F,this),o(this,"doContentMount",N,this),o(this,"closeAllModel",q,this)},l=n(a.prototype,"page",[ue.observable],{enumerable:!0,initializer:function(){return 0}}),u=n(a.prototype,"visible",[ue.observable],{enumerable:!0,initializer:function(){return!1}}),s=n(a.prototype,"themeSearch",[ue.observable],{enumerable:!0,initializer:function(){return new te.default.Store({route:"/approval",id:"search"})}}),c=n(a.prototype,"themeList",[ue.observable],{enumerable:!0,initializer:function(){return new Z.default.Store({route:"/approval",id:"theme"})}}),p=n(a.prototype,"showThemeCheck",[ue.observable],{enumerable:!0,initializer:function(){return!1}}),d=n(a.prototype,"themeAdValue",[ue.observable],{enumerable:!0,initializer:function(){return""}}),h=n(a.prototype,"themeLoading",[ue.observable],{enumerable:!0,initializer:function(){return!0}}),f=n(a.prototype,"contentSearch",[ue.observable],{enumerable:!0,initializer:function(){return new te.default.Store({route:"/approval",id:"content"})}}),m=n(a.prototype,"contentList",[ue.observable],{enumerable:!0,initializer:function(){return new Z.default.Store({route:"/approval",id:"content"})}}),b=n(a.prototype,"showContentCheck",[ue.observable],{enumerable:!0,initializer:function(){return!1}}),y=n(a.prototype,"contentAdValue",[ue.observable],{enumerable:!0,initializer:function(){return""}}),v=n(a.prototype,"contentLoading",[ue.observable],{enumerable:!0,initializer:function(){return!0}}),g=n(a.prototype,"currentModel",[ue.observable],{enumerable:!0,initializer:function(){return{}}}),w=n(a.prototype,"setStoreState",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(t){(0,X.default)(t).forEach(function(r){e[r]=t[r]})}}}),C=n(a.prototype,"getThemeData",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(){var t=e.themeSearch.form.formParams||{},r=(0,W.default)({from:"cowork",fromPage:"itemApproval",layout:2,jointype:5},t);ce.getCoworkList(r).then(function(t){var r=t.sessionkey;r&&(e.dataKey=r,e.themeList.getData({dataKey:r},function(){return e.themeLoading=!1},!0))})}}}),A=n(a.prototype,"getThemeSearchCondition",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.themeSearch.getData({url:"/api/cowork/itemMonitor/getCoworkItemApproveShareCondition",method:"GET"})}}}),k=n(a.prototype,"doThemeApprove",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(t){var r=t.dotype,i=t.coworkIds;if(void 0===r);else if(""===i)return void U.default.info(pe(390692,"\u8bf7\u9009\u62e9\u8981\u6279\u51c6\u7684\u4e3b\u9898")+"!",1);e.currentModel=de(pe("500754","\u786e\u5b9a\u6279\u51c6\u9009\u5b9a\u7684\u4fe1\u606f\u5417\uff1f"),"",[{text:pe(31129,"\u53d6\u6d88")},{text:pe(33703,"\u786e\u8ba4"),onPress:function(){ce.batchCoworkItemApprove(t).then(function(t){e.doThemeReset(),e.doThemeCancel(),K.default.success(pe(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1)})}}])}}}),S=n(a.prototype,"doThemeDelete",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(t){var r=t.dotype,i=t.coworkIds;if(void 0===r);else if(""===i)return void U.default.info(pe(390691,"\u8bf7\u9009\u62e9\u8981\u5220\u9664\u7684\u4e3b\u9898")+"!",1);e.currentModel=de(pe("500753","\u786e\u8ba4\u8981\u5220\u9664\u9009\u5b9a\u7684\u4fe1\u606f\u5417\uff1f"),"",[{text:pe(31129,"\u53d6\u6d88")},{text:pe(33703,"\u786e\u8ba4"),onPress:function(){ce.batchCoworkItemMonitorDel(t).then(function(t){e.doThemeReset(),e.doThemeCancel(),K.default.success(pe(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1)})}}])}}}),z=n(a.prototype,"updateThemeAdvance",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(t){e.themeAdValue=t,e.themeSearch.form.updateField("name",t)}}}),L=n(a.prototype,"doThemeCancel",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.showThemeCheck=!1,e.doThemeselectNone()}}}),M=n(a.prototype,"doThemeSelectAll",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.themeList.selectAll()}}}),P=n(a.prototype,"doThemeselectNone",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.themeList.selectNone()}}}),I=n(a.prototype,"doThemeReset",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.themeSearch.form.resetFields(),e.themeAdValue="",e.getThemeData()}}}),D=n(a.prototype,"doThemeMount",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.themeSearch.form.resetFields(),e.themeAdValue=""}}}),_=n(a.prototype,"getContentData",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(){var t=e.contentSearch.form.formParams||{};ce.getCoworkDiscussApprovalList(t).then(function(t){var r=t.sessionkey;r&&(e.dataKey=r,e.contentList.getData({dataKey:r},function(){return e.contentLoading=!1},!0))})}}}),R=n(a.prototype,"getContentSearchCondition",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.contentSearch.getData({url:"/api/cowork/discussApproval/getCoworkDiscussApprovalShareCondition",method:"GET"})}}}),T=n(a.prototype,"doContentApprove",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(t){var r=t.dotype,i=t.discussIds;if(void 0===r);else if(""===i)return void U.default.info(pe(390690,"\u8bf7\u9009\u62e9\u8981\u6279\u51c6\u7684\u5185\u5bb9")+"!",1);e.currentModel=de(pe("500757","\u786e\u5b9a\u5ba1\u6279\u9009\u5b9a\u7684\u4fe1\u606f\u5417?"),"",[{text:pe(31129,"\u53d6\u6d88")},{text:pe(33703,"\u786e\u8ba4"),onPress:function(){ce.batchDiscussApprove(t).then(function(t){e.doContentReset(),e.doContentCancel(),K.default.success(pe(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1)})}}])}}}),O=n(a.prototype,"doContentDelete",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(t){var r=t.dotype,i=t.discussIds;if(void 0===r);else if(""===i)return void U.default.info(pe(390685,"\u8bf7\u9009\u62e9\u8981\u5220\u9664\u7684\u5185\u5bb9")+"!",1);e.currentModel=de(pe("16344","\u786e\u5b9a\u5220\u9664\u9009\u5b9a\u7684\u4fe1\u606f\u5417?"),"",[{text:pe(31129,"\u53d6\u6d88")},{text:pe(33703,"\u786e\u8ba4"),onPress:function(){ce.batchDiscussDel(t).then(function(t){e.doContentReset(),e.doContentCancel(),K.default.success(pe(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1)})}}])}}}),E=n(a.prototype,"updateContentAdvance",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(t){e.contentAdValue=t,e.contentSearch.form.updateField("remark",t)}}}),x=n(a.prototype,"doContentCancel",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.showContentCheck=!1,e.doContentselectNone()}}}),V=n(a.prototype,"doContentSelectAll",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.contentList.selectAll()}}}),j=n(a.prototype,"doContentselectNone",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.contentList.selectNone()}}}),F=n(a.prototype,"doContentReset",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.contentSearch.form.resetFields(),e.contentAdValue="",e.getContentData()}}}),N=n(a.prototype,"doContentMount",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.contentSearch.form.resetFields(),e.contentAdValue=""}}}),q=n(a.prototype,"closeAllModel",[ue.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.currentModel&&"function"===typeof e.currentModel.close&&e.currentModel.close()}}}),a);t.default=he},1159:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.batchDiscussDel=t.batchDiscussApprove=t.getCoworkDiscussApprovalList=t.batchCoworkItemMonitorDel=t.batchCoworkItemApprove=t.getCoworkList=void 0;var o=r(9),n=i(o),a=r(5),l=i(a),u=r(55);t.getCoworkList=function(e){var t={method:"GET",url:"/api/cowork/base/getCoworkList",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.batchCoworkItemApprove=function(e){var t={method:"POST",url:"/api/cowork/itemMonitor/batchCoworkItemApprove",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.batchCoworkItemMonitorDel=function(e){var t={method:"POST",url:"/api/cowork/itemMonitor/batchCoworkItemMonitorDel",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getCoworkDiscussApprovalList=function(e){var t={method:"GET",url:"/api/cowork/discussApproval/getCoworkDiscussApprovalList",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.batchDiscussApprove=function(e){var t={method:"POST",url:"/api/cowork/discussApproval/batchDiscussApprove",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.batchDiscussDel=function(e){var t={method:"POST",url:"/api/cowork/discussApproval/batchDiscussDel",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)}},1160:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,i){r&&(0,ce.default)(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function n(e,t,r,i,o){var n={};return Object.keys(i).forEach(function(e){n[e]=i[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=r.slice().reverse().reduce(function(r,i){return i(e,t,r)||r},n),o&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(o):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,l,u,s,c,p,d,h,f,m,b,y,v,g,w,C,A,k,S,z,L,M,P,I,D,_,R,T,O,E,x,V,j,F,N,q,H,J,G,K,B,U,Q,W,$,X,Y,Z,ee,te,re,ie,oe,ne,ae,le,ue,se=r(17),ce=i(se),pe=r(29),de=i(pe),he=r(41),fe=i(he),me=r(5),be=i(me),ye=r(18),ve=i(ye),ge=r(38),we=i(ge),Ce=r(39),Ae=i(Ce),ke=r(1),Se=i(ke),ze=r(45),Le=i(ze),Me=r(9),Pe=i(Me),Ie=r(10),De=r(462),_e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(De),Re=r(55),Te=r(1161),Oe=i(Te),Ee=Pe.default.getLabel,xe=Le.default.alert,Ve=(a=(0,Ie.action)("\u7533\u8bf7\u52a0\u5165\u5217\u8868"),l=(0,Ie.action)("\u7533\u8bf7\u52a0\u5165\u9ad8\u7ea7\u641c\u7d22"),u=(0,Ie.action)("\u7533\u8bf7\u52a0\u5165\u64cd\u4f5c"),s=(0,Ie.action)("\u7533\u8bf7\u5ba1\u6279\u9ad8\u7ea7\u641c\u7d22"),c=(0,Ie.action)("\u5ba1\u6279\u64cd\u4f5c"),p=(0,Ie.action)("\u5f85\u5ba1\u6279\u6570\u91cf"),d=(0,Ie.action)("\u7533\u8bf7\u5386\u53f2\u9ad8\u7ea7\u641c\u7d22"),h=function e(){(0,Se.default)(this,e),o(this,"quitedCoworkStore",f,this),o(this,"applyInfoSearch",m,this),o(this,"applyApproveSearch",b,this),o(this,"applyLogSearch",y,this),o(this,"applyInfoList",v,this),o(this,"applyApproveList",g,this),o(this,"applyLogList",w,this),o(this,"topCounts",C,this),o(this,"page",A,this),o(this,"topKey",k,this),o(this,"visible",S,this),o(this,"showApplyCheck",z,this),o(this,"applyAdValue",L,this),o(this,"applyLoading",M,this),o(this,"showApplyApproveCheck",P,this),o(this,"applyApproveAdValue",I,this),o(this,"applyApproveLoading",D,this),o(this,"showApplyLogCheck",_,this),o(this,"applyLogAdValue",R,this),o(this,"applyLogLoading",T,this),o(this,"currentModel",O,this),o(this,"setStoreState",E,this),o(this,"clear",x,this),o(this,"getCoworkApplyPageList",V,this),o(this,"getCoworkApplyShareCondition",j,this),o(this,"coworkApplayInfo",F,this),o(this,"doApplyCancel",N,this),o(this,"doApplySelectAll",q,this),o(this,"doApplyselectNone",H,this),o(this,"doApplyReset",J,this),o(this,"updateApplyAdvance",G,this),o(this,"clearInfo",K,this),o(this,"getCoworkApplyApproveShareCondition",B,this),o(this,"doApplyApprove",U,this),o(this,"getCoworkApplyPageTopCounts",Q,this),o(this,"doApplyApproveCancel",W,this),o(this,"doApplyApproveSelectAll",$,this),o(this,"doApplyApproveselectNone",X,this),o(this,"doApplyApproveReset",Y,this),o(this,"updateApplyApproveAdvance",Z,this),o(this,"clearApprove",ee,this),o(this,"getCoworkApplyLogShareCondition",te,this),o(this,"doApplyLogCancel",re,this),o(this,"doApplyLogSelectAll",ie,this),o(this,"doApplyLogselectNone",oe,this),o(this,"doApplyLogReset",ne,this),o(this,"updateApplyLogAdvance",ae,this),o(this,"clearLog",le,this),o(this,"closeAllModel",ue,this)},f=n(h.prototype,"quitedCoworkStore",[Ie.observable],{enumerable:!0,initializer:function(){return new Oe.default}}),m=n(h.prototype,"applyInfoSearch",[Ie.observable],{enumerable:!0,initializer:function(){return new Ae.default.Store({route:"/apply",id:"applyInfoSearch"})}}),b=n(h.prototype,"applyApproveSearch",[Ie.observable],{enumerable:!0,initializer:function(){return new Ae.default.Store({route:"/apply",id:"applyApproveSearch"})}}),y=n(h.prototype,"applyLogSearch",[Ie.observable],{enumerable:!0,initializer:function(){return new Ae.default.Store({route:"/apply",id:"applyLogSearch"})}}),v=n(h.prototype,"applyInfoList",[Ie.observable],{enumerable:!0,initializer:function(){return new we.default.Store({route:"/apply",id:"applyInfo"})}}),g=n(h.prototype,"applyApproveList",[Ie.observable],{enumerable:!0,initializer:function(){return new we.default.Store({route:"/apply",id:"applyApprove"})}}),w=n(h.prototype,"applyLogList",[Ie.observable],{enumerable:!0,initializer:function(){return new we.default.Store({route:"/apply",id:"applyLog"})}}),C=n(h.prototype,"topCounts",[Ie.observable],{enumerable:!0,initializer:function(){return{}}}),A=n(h.prototype,"page",[Ie.observable],{enumerable:!0,initializer:function(){return 0}}),k=n(h.prototype,"topKey",[Ie.observable],{enumerable:!0,initializer:function(){return"apply"}}),S=n(h.prototype,"visible",[Ie.observable],{enumerable:!0,initializer:function(){return!1}}),z=n(h.prototype,"showApplyCheck",[Ie.observable],{enumerable:!0,initializer:function(){return!1}}),L=n(h.prototype,"applyAdValue",[Ie.observable],{enumerable:!0,initializer:function(){return""}}),M=n(h.prototype,"applyLoading",[Ie.observable],{enumerable:!0,initializer:function(){return!0}}),P=n(h.prototype,"showApplyApproveCheck",[Ie.observable],{enumerable:!0,initializer:function(){return!1}}),I=n(h.prototype,"applyApproveAdValue",[Ie.observable],{enumerable:!0,initializer:function(){return""}}),D=n(h.prototype,"applyApproveLoading",[Ie.observable],{enumerable:!0,initializer:function(){return!0}}),_=n(h.prototype,"showApplyLogCheck",[Ie.observable],{enumerable:!0,initializer:function(){return!1}}),R=n(h.prototype,"applyLogAdValue",[Ie.observable],{enumerable:!0,initializer:function(){return""}}),T=n(h.prototype,"applyLogLoading",[Ie.observable],{enumerable:!0,initializer:function(){return!0}}),O=n(h.prototype,"currentModel",[Ie.observable],{enumerable:!0,initializer:function(){return{}}}),E=n(h.prototype,"setStoreState",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(t){(0,ve.default)(t).forEach(function(r){e[r]=t[r]})}}}),x=n(h.prototype,"clear",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.page=0,e.topKey="apply"}}}),V=n(h.prototype,"getCoworkApplyPageList",[a],{enumerable:!0,initializer:function(){var e=this;return function(){var t=e.applyInfoSearch.form.formParams||{};t="apply"===e.topKey?e.applyInfoSearch.form.formParams||{}:"approval"===e.topKey?e.applyApproveSearch.form.formParams||{}:e.applyLogSearch.form.formParams||{};var r=(0,be.default)({topKey:e.topKey},t);_e.getCoworkApplyPageList(r).then(function(t){var r=t.sessionkey;r&&(e.dataKey=r,"apply"===e.topKey?e.applyInfoList.getData({dataKey:r},function(){return e.applyLoading=!1},!0):"approval"===e.topKey?e.applyApproveList.getData({dataKey:r},function(){return e.applyApproveLoading=!1},!0):"applyLog"===e.topKey&&e.applyLogList.getData({dataKey:r},function(){return e.applyLogLoading=!1},!0))})}}}),j=n(h.prototype,"getCoworkApplyShareCondition",[l],{enumerable:!0,initializer:function(){var e=this;return function(){e.applyInfoSearch.getData({url:"/api/cowork/apply/getCoworkApplyShareCondition",method:"GET",params:(0,be.default)({},Re.PARAMS)})}}}),F=n(h.prototype,"coworkApplayInfo",[u],{enumerable:!0,initializer:function(){var e=this;return function(t){var r=t.dotype,i=t.coworkIds;if(void 0===r);else if(""===i)return void fe.default.info(Ee(390682,"\u8bf7\u9009\u62e9\u8981\u52a0\u5165\u7684\u4e3b\u9898")+"!",1);var o=(0,be.default)({},t);_e.coworkApplayInfo(o).then(function(t){"1"===t.status&&(e.doApplyReset(),e.doApplyCancel(),de.default.success(Ee(390683,"\u7533\u8bf7\u6210\u529f\uff0c\u8bf7\u7b49\u5f85\u5ba1\u6279")+"!",1))})}}}),N=n(h.prototype,"doApplyCancel",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.showApplyCheck=!1,e.doApplyselectNone()}}}),q=n(h.prototype,"doApplySelectAll",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.applyInfoList.selectAll()}}}),H=n(h.prototype,"doApplyselectNone",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.applyInfoList.selectNone()}}}),J=n(h.prototype,"doApplyReset",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.applyInfoSearch.form.resetFields(),e.applyAdValue="",e.getCoworkApplyPageList()}}}),G=n(h.prototype,"updateApplyAdvance",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(t){e.applyAdValue=t,e.applyInfoSearch.form.updateField("name",t)}}}),K=n(h.prototype,"clearInfo",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.applyAdValue="",e.applyInfoSearch.form.resetFields()}}}),B=n(h.prototype,"getCoworkApplyApproveShareCondition",[s],{enumerable:!0,initializer:function(){var e=this;return function(){e.applyApproveSearch.getData({url:"/api/cowork/apply/getCoworkApplyApproveShareCondition",method:"GET",params:(0,be.default)({},Re.PARAMS)})}}}),U=n(h.prototype,"doApplyApprove",[c],{enumerable:!0,initializer:function(){var e=this;return function(t){var r=t.dotype,i=t.applyIds;if(void 0!==r&&""===i)return void fe.default.info(Ee(390684,"\u8bf7\u9009\u62e9\u8981\u64cd\u4f5c\u7684\u4e3b\u9898")+"!",1);var o=(0,be.default)({},t);e.currentModel=xe(Ee(390849,"\u786e\u8ba4\u8981\u64cd\u4f5c\u5417"),"",[{text:Ee(31129,"\u53d6\u6d88")},{text:Ee(33703,"\u786e\u8ba4"),onPress:function(){_e.coworkApplayApproveInfo(o).then(function(t){var r=t.api_status,i=t.status;r&&"1"===i&&(e.doApplyReset(),e.doApplyApproveCancel(),de.default.success(Ee(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1))})}}])}}}),Q=n(h.prototype,"getCoworkApplyPageTopCounts",[p],{enumerable:!0,initializer:function(){var e=this;return function(t){var r=(0,be.default)({},t);_e.getCoworkApplyPageTopCounts(r).then(function(t){"1"===t.status&&(e.topCounts=t.topCounts)})}}}),W=n(h.prototype,"doApplyApproveCancel",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.showApplyApproveCheck=!1,e.doApplyApproveselectNone()}}}),$=n(h.prototype,"doApplyApproveSelectAll",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.applyApproveList.selectAll()}}}),X=n(h.prototype,"doApplyApproveselectNone",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.applyApproveList.selectNone()}}}),Y=n(h.prototype,"doApplyApproveReset",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.applyApproveSearch.form.resetFields(),e.applyApproveAdValue="",e.getCoworkApplyPageList()}}}),Z=n(h.prototype,"updateApplyApproveAdvance",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(t){e.applyApproveAdValue=t,e.applyApproveSearch.form.updateField("name",t)}}}),ee=n(h.prototype,"clearApprove",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.applyApproveAdValue="",e.applyApproveSearch.form.resetFields()}}}),te=n(h.prototype,"getCoworkApplyLogShareCondition",[d],{enumerable:!0,initializer:function(){var e=this;return function(){e.applyLogSearch.getData({url:"/api/cowork/apply/getCoworkApplyLogShareCondition",method:"GET",params:(0,be.default)({},Re.PARAMS)})}}}),re=n(h.prototype,"doApplyLogCancel",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.showApplyLogCheck=!1,e.doApplyLogselectNone()}}}),ie=n(h.prototype,"doApplyLogSelectAll",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.applyLogList.selectAll()}}}),oe=n(h.prototype,"doApplyLogselectNone",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.applyLogList.selectNone()}}}),ne=n(h.prototype,"doApplyLogReset",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.applyLogSearch.form.resetFields(),e.applyLogAdValue="",e.getCoworkApplyPageList()}}}),ae=n(h.prototype,"updateApplyLogAdvance",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(t){e.applyLogAdValue=t,e.applyLogSearch.form.updateField("name",t)}}}),le=n(h.prototype,"clearLog",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.applyLogSearch.form.resetFields(),e.applyLogAdValue=""}}}),ue=n(h.prototype,"closeAllModel",[Ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.currentModel&&"function"===typeof e.currentModel.close&&e.currentModel.close()}}}),h);t.default=Ve},1161:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,i){r&&(0,f.default)(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function n(e,t,r,i,o){var n={};return Object.keys(i).forEach(function(e){n[e]=i[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=r.slice().reverse().reduce(function(r,i){return i(e,t,r)||r},n),o&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(o):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,l,u,s,c,p,d,h=r(17),f=i(h),m=r(29),b=i(m),y=r(5),v=i(y),g=r(41),w=i(g),C=r(18),A=i(C),k=r(38),S=i(k),z=r(1),L=i(z),M=r(9),P=i(M),I=r(10),D=r(462),_=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(D),R=P.default.getLabel,T={quitLoading:!0},O=(a=(0,I.action)("\u7533\u8bf7\u52a0\u5165\u64cd\u4f5c"),l=function e(){(0,L.default)(this,e),o(this,"quitedList",u,this),o(this,"quitLoading",s,this),o(this,"setStoreState",c,this),o(this,"getCoworkApplyPageList",p,this),o(this,"coworkApplayInfo",d,this)},u=n(l.prototype,"quitedList",[I.observable],{enumerable:!0,initializer:function(){return new S.default.Store({route:"/apply",id:"quited"})}}),s=n(l.prototype,"quitLoading",[I.observable],{enumerable:!0,initializer:function(){return T.quitLoading}}),c=n(l.prototype,"setStoreState",[I.action],{enumerable:!0,initializer:function(){var e=this;return function(t){(0,A.default)(t).forEach(function(r){e[r]=t[r]})}}}),p=n(l.prototype,"getCoworkApplyPageList",[I.action],{enumerable:!0,initializer:function(){var e=this;return function(){var t={topKey:"applyquited"};_.getCoworkApplyPageList(t).then(function(t){var r=t.sessionkey;e.quitedList.getData({dataKey:r},function(){return e.quitLoading=!1},!0)})}}}),d=n(l.prototype,"coworkApplayInfo",[a],{enumerable:!0,initializer:function(){var e=this;return function(t){if(""===t.coworkIds)return void w.default.info(R(390682,"\u8bf7\u9009\u62e9\u8981\u52a0\u5165\u7684\u4e3b\u9898")+"!",1);var r=(0,v.default)({},t);_.coworkApplayInfo(r).then(function(t){"1"===t.status&&(b.default.success(R(390683,"\u7533\u8bf7\u6210\u529f\uff0c\u8bf7\u7b49\u5f85\u5ba1\u6279")+"!",1),e.getCoworkApplyPageList())})}}}),l);t.default=O},1162:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,i){r&&(0,R.default)(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function n(e,t,r,i,o){var n={};return Object.keys(i).forEach(function(e){n[e]=i[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=r.slice().reverse().reduce(function(r,i){return i(e,t,r)||r},n),o&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(o):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,l,u,s,c,p,d,h,f,m,b,y,v,g,w,C,A,k,S,z,L,M,P,I,D,_=r(17),R=i(_),T=r(18),O=i(T),E=r(22),x=i(E),V=r(1),j=i(V),F=r(10),N=r(1163),q=i(N),H=r(1164),J=i(H),G=r(1165),K=i(G),B=r(1166),U=i(B),Q=r(1167),W=i(Q),$=r(1168),X=i($),Y=r(133),Z=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(Y),ee=(a=(0,F.action)("\u534f\u4f5c\u6570\u91cf"),l=(0,F.action)("\u4eba\u5458\u5934\u50cf\u4fe1\u606f"),u=function e(){(0,j.default)(this,e),o(this,"relateStore",s,this),o(this,"monitorStore",c,this),o(this,"collectStore",p,this),o(this,"contentMonitorStore",d,this),o(this,"commentMonitorStore",h,this),o(this,"publishStore",f,this),o(this,"joinLayout",m,this),o(this,"responseLayout",b,this),o(this,"createCoworkListLayout",y,this),o(this,"relateLayout",v,this),o(this,"publishLayout",g,this),o(this,"collectLayout",w,this),o(this,"themeLayout",C,this),o(this,"contentLayout",A,this),o(this,"commentsLayout",k,this),o(this,"pathMap",S,this),o(this,"coworkCounts",z,this),o(this,"userInfo",L,this),o(this,"setStoreState",M,this),o(this,"getPath",P,this),o(this,"getCoworkCounts",I,this),o(this,"getUserInfo",D,this)},s=n(u.prototype,"relateStore",[F.observable],{enumerable:!0,initializer:function(){return new q.default}}),c=n(u.prototype,"monitorStore",[F.observable],{enumerable:!0,initializer:function(){return new K.default}}),p=n(u.prototype,"collectStore",[F.observable],{enumerable:!0,initializer:function(){return new J.default}}),d=n(u.prototype,"contentMonitorStore",[F.observable],{enumerable:!0,initializer:function(){return new U.default}}),h=n(u.prototype,"commentMonitorStore",[F.observable],{enumerable:!0,initializer:function(){return new W.default}}),f=n(u.prototype,"publishStore",[F.observable],{enumerable:!0,initializer:function(){return new X.default}}),m=n(u.prototype,"joinLayout",[F.observable],{enumerable:!0,initializer:function(){return new x.default.Store({route:"/center",id:"join"})}}),b=n(u.prototype,"responseLayout",[F.observable],{enumerable:!0,initializer:function(){return new x.default.Store({route:"/center",id:"response"})}}),y=n(u.prototype,"createCoworkListLayout",[F.observable],{enumerable:!0,initializer:function(){return new x.default.Store({route:"/center",id:"createCoworkList"})}}),v=n(u.prototype,"relateLayout",[F.observable],{enumerable:!0,initializer:function(){return new x.default.Store({route:"/center",id:"relate"})}}),g=n(u.prototype,"publishLayout",[F.observable],{enumerable:!0,initializer:function(){return new x.default.Store({route:"/center",id:"publish"})}}),w=n(u.prototype,"collectLayout",[F.observable],{enumerable:!0,initializer:function(){return new x.default.Store({route:"/center",id:"collect"})}}),C=n(u.prototype,"themeLayout",[F.observable],{enumerable:!0,initializer:function(){return new x.default.Store({route:"/center",id:"theme"})}}),A=n(u.prototype,"contentLayout",[F.observable],{enumerable:!0,initializer:function(){return new x.default.Store({route:"/center",id:"content"})}}),k=n(u.prototype,"commentsLayout",[F.observable],{enumerable:!0,initializer:function(){return new x.default.Store({route:"/center",id:"comment"})}}),S=n(u.prototype,"pathMap",[F.observable],{enumerable:!0,initializer:function(){return[{key:"join",name:"\u53c2\u4e0e\u7684\u534f\u4f5c",path:"/center/join"},{key:"response",name:"\u8d1f\u8d23\u7684\u534f\u4f5c",path:"/center/response"},{key:"createCoworkList",name:"\u521b\u5efa\u7684\u534f\u4f5c",path:"/center/createCoworkList"},{key:"relate",name:"\u4e0e\u6211\u76f8\u5173",path:"/center/relate"},{key:"publish",name:"\u6211\u7684\u53d1\u8868",path:"/center/publish"},{key:"collect",name:"\u6536\u85cf\u7684\u5e16\u5b50",path:"/center/collect"},{key:"theme",name:"\u4e3b\u9898\u76d1\u63a7",path:"/center/theme"},{key:"content",name:"\u5185\u5bb9\u76d1\u63a7",path:"/center/content"},{key:"comment",name:"\u8bc4\u8bba\u76d1\u63a7",path:"/center/comment"}]}}),z=n(u.prototype,"coworkCounts",[F.observable],{enumerable:!0,initializer:function(){return{}}}),L=n(u.prototype,"userInfo",[F.observable],{enumerable:!0,initializer:function(){return{}}}),M=n(u.prototype,"setStoreState",[F.action],{enumerable:!0,initializer:function(){var e=this;return function(t){(0,O.default)(t).forEach(function(r){e[r]=t[r]})}}}),P=n(u.prototype,"getPath",[F.action],{enumerable:!0,initializer:function(){var e=this;return function(t){return(0,F.toJS)(e.pathMap).filter(function(e){return e.key===t})[0].path}}}),I=n(u.prototype,"getCoworkCounts",[a],{enumerable:!0,initializer:function(){var e=this;return function(){Z.getCoworkCounts().then(function(t){e.coworkCounts=t})}}}),D=n(u.prototype,"getUserInfo",[l],{enumerable:!0,initializer:function(){var e=this;return function(){Z.getUserInfo().then(function(t){e.userInfo=t.user})}}}),u);t.default=ee},1163:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,i){r&&(0,T.default)(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function n(e,t,r,i,o){var n={};return Object.keys(i).forEach(function(e){n[e]=i[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=r.slice().reverse().reduce(function(r,i){return i(e,t,r)||r},n),o&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(o):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,l,u,s,c,p,d,h,f,m,b,y,v,g,w,C,A,k,S,z,L,M,P,I,D,_,R=r(17),T=i(R),O=r(5),E=i(O),x=r(18),V=i(x),j=r(136),F=i(j),N=r(135),q=i(N),H=r(1),J=i(H),G=r(9),K=i(G),B=r(10),U=r(132),Q=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(U),W=K.default.getLabel,$=(a=(0,B.action)("\u5207\u6362\u4e0e\u6211\u76f8\u5173tabs"),l=(0,B.action)("\u8bc4\u8bba\u7ec4\u4ef6\u7684\u64cd\u4f5c"),u=(0,B.action)("\u534f\u4f5c-\u534f\u4f5c\u4ea4\u6d41-\u7f6e\u9876/\u53d6\u6d88\u7f6e\u9876/\u5ba1\u6279/\u6536\u85cf/\u5220\u9664\u8bc4\u8bba/\u8d5e \u4ea4\u6d41\u8bb0\u5f55"),s=(0,B.action)("\u8bc4\u8bba\u63d0\u4ea4\u4e8b\u4ef6"),c=function e(){var t=this;(0,J.default)(this,e),o(this,"itemsVO",p,this),o(this,"dateType",d,this),o(this,"relatedPage",h,this),o(this,"replyType",f,this),o(this,"recordType",m,this),o(this,"replyVisible",b,this),o(this,"replyComment",y,this),o(this,"replyCommentParent",v,this),o(this,"relatedComment",g,this),o(this,"quoteReply",w,this),o(this,"commentReplyStoreMap",C,this),o(this,"quoteReplyStoreMap",A,this),o(this,"currentModel",k,this),o(this,"setDateType",S,this),o(this,"setStoreState",z,this),o(this,"discussRecordRelate",L,this),o(this,"detailOperate",M,this),o(this,"coworkDiscussOperation",P,this),o(this,"saveComment",I,this),this.getReplyAttachList=function(){var e={routePath:t.routePath,typeId:t.itemsVO.typeid||""};return Q.getCoworkAppStatus(e).then(function(e){return e})},o(this,"setRoutePath",D,this),this.clear=function(){t.relatedPage=1},o(this,"closeAllModel",_,this)},p=n(c.prototype,"itemsVO",[B.observable],{enumerable:!0,initializer:function(){return{}}}),d=n(c.prototype,"dateType",[B.observable],{enumerable:!0,initializer:function(){return"all"}}),h=n(c.prototype,"relatedPage",[B.observable],{enumerable:!0,initializer:function(){return 1}}),f=n(c.prototype,"replyType",[B.observable],{enumerable:!0,initializer:function(){return"comment"}}),m=n(c.prototype,"recordType",[B.observable],{enumerable:!0,initializer:function(){return"common"}}),b=n(c.prototype,"replyVisible",[B.observable],{enumerable:!0,initializer:function(){return null}}),y=n(c.prototype,"replyComment",[B.observable],{enumerable:!0,initializer:function(){return null}}),v=n(c.prototype,"replyCommentParent",[B.observable],{enumerable:!0,initializer:function(){return null}}),g=n(c.prototype,"relatedComment",[B.observable],{enumerable:!0,initializer:function(){return new q.default.Store({getComment:this.discussRecordRelate,getChild:this.getChild,operate:this.detailOperate})}}),w=n(c.prototype,"quoteReply",[B.observable],{enumerable:!0,initializer:function(){return new F.default.Store({getAttachList:this.getReplyAttachList})}}),C=n(c.prototype,"commentReplyStoreMap",[B.observable],{enumerable:!0,initializer:function(){return{}}}),A=n(c.prototype,"quoteReplyStoreMap",[B.observable],{enumerable:!0,initializer:function(){return{}}}),k=n(c.prototype,"currentModel",[B.observable],{enumerable:!0,initializer:function(){return{}}}),S=n(c.prototype,"setDateType",[a],{enumerable:!0,initializer:function(){var e=this;return function(t){e.dateType=t,e.relatedPage=1,e.relatedComment.getDatas()}}}),z=n(c.prototype,"setStoreState",[B.action],{enumerable:!0,initializer:function(){var e=this;return function(t){(0,V.default)(t).forEach(function(r){e[r]=t[r]})}}}),L=n(c.prototype,"discussRecordRelate",[B.action],{enumerable:!0,initializer:function(){var e=this;return function(){var t={recordType:"related",currentPage:e.relatedPage++,dateType:e.dateType};return Q.discussRecord(t).then(function(e){return e})}}}),M=n(c.prototype,"detailOperate",[l],{enumerable:!0,initializer:function(){var e=this;return function(t){var r=t.data,i=t.parent,o=t.type,n=o.key,a=o.type;e.replyComment=r,e.replyCommentParent=i,"fabulous"===a?e.coworkDiscussOperation(r,i,"agree"):"reply"===a||"comment"===n?(e.fixTop=e.fixTop,e.replyType="comment",e.commentReplyStoreMap[r.replyId]||(e.commentReplyStoreMap[r.replyId]=new F.default.Store({getAttachList:e.getReplyAttachList})),e.replyVisible(!0)):"quote"===a?(e.replyType="quote",e.quoteReplyStoreMap[r.replyId]||(e.quoteReplyStoreMap[r.replyId]=new F.default.Store({getAttachList:e.getReplyAttachList})),e.replyVisible(!0)):"delete"===a?"delDiscuss"===n?e.currentModel=alert(W(390724,"\u786e\u8ba4\u8981\u5220\u9664\u8be5\u8ba8\u8bba\u8bb0\u5f55"),"",[{text:W(390722,"\u53ea\u5220\u9664\u8be5\u5e16\u5b50"),onPress:function(){e.coworkDiscussOperation(r,i,"delDiscuss","",{isDeleteAll:0})}},{text:W(390721,"\u540c\u65f6\u5220\u9664\u8be5\u5e16\u5b50\u7684\u6240\u6709\u8bc4\u8bba"),onPress:function(){e.coworkDiscussOperation(r,i,"delDiscuss","",{isDeleteAll:1})}},{text:W(31129,"\u53d6\u6d88")}]):"delComment"===n&&(e.currentModel=alert(W(388758,"\u786e\u8ba4\u8981\u5220\u9664\u5417\uff1f"),"",[{text:W(31129,"\u53d6\u6d88")},{text:W(33703,"\u786e\u8ba4"),onPress:function(){e.coworkDiscussOperation(r,i,"delComment")}}])):"dotop"===n?(e.relatedPage=1,e.coworkDiscussOperation(r,i,"dotop",e.relatedComment.getDatas)):"canceltop"===n?(e.relatedPage=1,e.coworkDiscussOperation(r,i,"canceltop",e.relatedComment.getDatas)):"doApproveDiscuss"===n?e.coworkDiscussOperation(r,i,"doApproveDiscuss"):"edit"===n&&(e.replyType="reply",e.replyVisible(!0))}}}),P=n(c.prototype,"coworkDiscussOperation",[u],{enumerable:!0,initializer:function(){var e=this;return function(t,r,i,o,n){var a=(0,E.default)({id:t.replyId,coworkId:t.coworkId,operationType:i,discussId:r?r.replyId:""},n);return Q.coworkDiscussOperation(a).then(function(n){"delComment"===i?e.relatedComment.doOperateReply({replyId:t.replyId,parentId:r?r.replyId:"",reply:n.replyList[0].childReply}):e.relatedComment.doOperateReply({replyId:t.replyId,parentId:r?r.replyId:"",reply:n.replyList[0]}),o&&o()})}}}),I=n(c.prototype,"saveComment",[s],{enumerable:!0,initializer:function(){var e=this;return function(t,r){var i={id:"",coworkId:e.replyComment&&e.replyComment.coworkId||e.coworkId,remark:t.text,relatedprj:"",relatedcus:"",relatedwf:"",relateddoc:"",relatedacc:"",projectIDs:"",replayid:e.replyComment?e.replyComment.replyId:"",topdiscussid:e.replyComment?e.replyCommentParent?e.replyCommentParent.replyId:e.replyComment.replyId:"",isAnonymous:"",replyType:e.replyComment?e.replyType:"",delrelatedacc:""};return Q.submitCoworkDiscuss(i).then(function(t){e.replyComment?"quote"===e.replyType?(e.relatedPage=1,e.relatedComment.getDatas(),e.quoteReplyStoreMap[e.replyComment.replyId].doClear()):(e.relatedComment.doOperateReply({replyId:e.replyComment.replyId,parentId:e.replyCommentParent?e.replyCommentParent.replyId:"",reply:e.replyCommentParent?t.replyList[0].childReply:t.replyList[0]}),e.commentReplyStoreMap[e.replyComment.replyId].doClear()):(e.relatedPage=1,e.relatedComment.getDatas(),e.communicateReply.doClear()),e.replyVisible(!1)})}}}),D=n(c.prototype,"setRoutePath",[B.action],{enumerable:!0,initializer:function(){var e=this;return function(t){e.routePath=t}}}),_=n(c.prototype,"closeAllModel",[B.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.currentModel&&"function"===typeof e.currentModel.close&&e.currentModel.close()}}}),c);t.default=$},1164:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,i){r&&(0,k.default)(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function n(e,t,r,i,o){var n={};return Object.keys(i).forEach(function(e){n[e]=i[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=r.slice().reverse().reduce(function(r,i){return i(e,t,r)||r},n),o&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(o):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,l,u,s,c,p,d,h,f,m,b,y,v,g,w,C,A=r(17),k=i(A),S=r(5),z=i(S),L=r(18),M=i(L),P=r(39),I=i(P),D=r(135),_=i(D),R=r(1),T=i(R),O=r(10),E=r(133),x=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(E),V=r(55),j=(a=(0,O.action)("\u6536\u85cf\u5e16\u5b50\u5217\u8868\u8bf7\u6c42"),l=(0,O.action)("\u6536\u85cf\u7684\u5e16\u5b50\u9ad8\u7ea7\u641c\u7d22"),u=(0,O.action)("\u534f\u4f5c-\u534f\u4f5c\u4ea4\u6d41-\u7f6e\u9876/\u53d6\u6d88\u7f6e\u9876/\u5ba1\u6279/\u6536\u85cf/\u5220\u9664\u8bc4\u8bba/\u8d5e \u4ea4\u6d41\u8bb0\u5f55"),s=(0,O.action)("\u641c\u7d22\u64cd\u4f5c"),c=function e(){var t=this;(0,T.default)(this,e),o(this,"relatePage",p,this),o(this,"collectList",d,this),o(this,"onCollectSearch",h,this),o(this,"collectAdValue",f,this),o(this,"setStoreState",m,this),o(this,"getCollectComment",b,this),o(this,"getCoworkCollectShareCondition",y,this),o(this,"coworkDiscussOperation",v,this),o(this,"collectSearch",g,this),o(this,"doCollectReset",w,this),o(this,"updateCollectAdvance",C,this),this.clear=function(){t.onCollectSearch.form.resetFields(),t.collectAdValue="",t.relatePage=1}},p=n(c.prototype,"relatePage",[O.observable],{enumerable:!0,initializer:function(){return 1}}),d=n(c.prototype,"collectList",[O.observable],{enumerable:!0,initializer:function(){return new _.default.Store({getComment:this.getCollectComment})}}),h=n(c.prototype,"onCollectSearch",[O.observable],{enumerable:!0,initializer:function(){return new I.default.Store({route:"/center/collect",id:"collectSearch"})}}),f=n(c.prototype,"collectAdValue",[O.observable],{enumerable:!0,initializer:function(){return""}}),m=n(c.prototype,"setStoreState",[O.action],{enumerable:!0,initializer:function(){var e=this;return function(t){(0,M.default)(t).forEach(function(r){e[r]=t[r]})}}}),b=n(c.prototype,"getCollectComment",[a],{enumerable:!0,initializer:function(){var e=this;return function(){var t=e.onCollectSearch.form.formParams||{},r=(0,z.default)({currentPage:e.relatePage++},t);return x.getCoworkCollectList(r).then(function(e){return e})}}}),y=n(c.prototype,"getCoworkCollectShareCondition",[l],{enumerable:!0,initializer:function(){var e=this;return function(t){e.onCollectSearch.getData({url:"/api/cowork/collect/getCoworkCollectShareCondition",method:"GET",params:(0,z.default)({},t,V.PARAMS)})}}}),v=n(c.prototype,"coworkDiscussOperation",[u],{enumerable:!0,initializer:function(){var e=this;return function(t,r,i,o){var n={id:t.replyId,coworkId:t.coworkId,operationType:i,discussId:r?r.replyId:"",menuType:"myCollect"};return x.coworkDiscussOperation(n).then(function(n){"collect"===i?(e.relatePage=1,e.collectList.getDatas()):e.collectList.doOperateReply({replyId:t.replyId,parentId:r?r.replyId:"",reply:n.replyList[0]}),o&&o()})}}}),g=n(c.prototype,"collectSearch",[s],{enumerable:!0,initializer:function(){var e=this;return function(){e.relatePage=1,e.collectList.getDatas()}}}),w=n(c.prototype,"doCollectReset",[O.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.onCollectSearch.form.resetFields(),e.collectAdValue="",e.getCollectComment()}}}),C=n(c.prototype,"updateCollectAdvance",[O.action],{enumerable:!0,initializer:function(){var e=this;return function(t){e.collectAdValue=t,e.onCollectSearch.form.updateField("remark",t)}}}),c);t.default=j},1165:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,i){r&&(0,F.default)(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function n(e,t,r,i,o){var n={};return Object.keys(i).forEach(function(e){n[e]=i[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=r.slice().reverse().reduce(function(r,i){return i(e,t,r)||r},n),o&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(o):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,l,u,s,c,p,d,h,f,m,b,y,v,g,w,C,A,k,S,z,L,M,P,I,D,_,R,T,O,E,x,V,j=r(17),F=i(j),N=r(29),q=i(N),H=r(5),J=i(H),G=r(18),K=i(G),B=r(38),U=i(B),Q=r(39),W=i(Q),$=r(1),X=i($),Y=r(45),Z=i(Y),ee=r(9),te=i(ee),re=r(10),ie=r(133),oe=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(ie),ne=r(55),ae=te.default.getLabel,le=Z.default.alert,ue=(a=(0,re.action)("\u4e3b\u9898\u76d1\u63a7\u8bf7\u6c42"),l=(0,re.action)("\u4e3b\u9898\u76d1\u63a7\u9ad8\u7ea7\u641c\u7d22"),u=(0,re.action)("\u4e3b\u9898\u76d1\u63a7\u7f6e\u9876"),s=(0,re.action)("\u4e3b\u9898\u76d1\u63a7\u53d6\u6d88\u7f6e\u9876"),c=(0,re.action)("\u4e3b\u9898\u76d1\u63a7\u7ed3\u675f"),p=(0,re.action)("\u4e3b\u9898\u76d1\u63a7\u6253\u5f00"),d=(0,re.action)("\u4e3b\u9898\u76d1\u63a7\u5220\u9664"),h=function e(){(0,X.default)(this,e),o(this,"themevisible",f,this),o(this,"themeLoading",m,this),o(this,"themeSearch",b,this),o(this,"themeList",y,this),o(this,"showThemeCheck",v,this),o(this,"themeAdValue",g,this),o(this,"optIndex",w,this),o(this,"viewRight",C,this),o(this,"currentModel",A,this),o(this,"setStoreState",k,this),o(this,"getCoworkList",S,this),o(this,"getCoworkItemMonitorShareCondition",z,this),o(this,"batchCoworkItemMonitorTop",L,this),o(this,"batchCoworkItemMonitorCancelTop",M,this),o(this,"batchCoworkItemMonitorEnd",P,this),o(this,"coworkItemOperation",I,this),o(this,"batchCoworkItemMonitorDel",D,this),o(this,"updateThemeAdvance",_,this),o(this,"doThemeCancel",R,this),o(this,"doThemeSelectAll",T,this),o(this,"doThemeselectNone",O,this),o(this,"doThemeReset",E,this),o(this,"doThemeMount",x,this),o(this,"closeAllModel",V,this)},f=n(h.prototype,"themevisible",[re.observable],{enumerable:!0,initializer:function(){return!1}}),m=n(h.prototype,"themeLoading",[re.observable],{enumerable:!0,initializer:function(){return!0}}),b=n(h.prototype,"themeSearch",[re.observable],{enumerable:!0,initializer:function(){return new W.default.Store({route:"/center/theme",id:"themeSearch"})}}),y=n(h.prototype,"themeList",[re.observable],{enumerable:!0,initializer:function(){return new U.default.Store({route:"/center/theme",id:"theme"})}}),v=n(h.prototype,"showThemeCheck",[re.observable],{enumerable:!0,initializer:function(){return!1}}),g=n(h.prototype,"themeAdValue",[re.observable],{enumerable:!0,initializer:function(){return""}}),w=n(h.prototype,"optIndex",[re.observable],{enumerable:!0,initializer:function(){return 1}}),C=n(h.prototype,"viewRight",[re.observable],{enumerable:!0,initializer:function(){return 0}}),A=n(h.prototype,"currentModel",[re.observable],{enumerable:!0,initializer:function(){return{}}}),k=n(h.prototype,"setStoreState",[re.action],{enumerable:!0,initializer:function(){var e=this;return function(t){(0,K.default)(t).forEach(function(r){e[r]=t[r]})}}}),S=n(h.prototype,"getCoworkList",[a],{enumerable:!0,initializer:function(){var e=this;return function(t){var r=e.themeSearch.form.formParams||{};t=(0,J.default)({mainid:"",datetype:"all"},r,t),oe.getCoworkItemMonitorList(t).then(function(t){var r=t.sessionkey;e.viewRight=t.viewRight,0===e.viewRight?e.themeLoading=!1:r&&(e.dataKey=r,e.themeList.getData({dataKey:r},function(){return e.themeLoading=!1},!0))})}}}),z=n(h.prototype,"getCoworkItemMonitorShareCondition",[l],{enumerable:!0,initializer:function(){var e=this;return function(){e.themeSearch.getData({url:"/api/cowork/itemMonitor/getCoworkItemMonitorShareCondition",method:"GET",params:(0,J.default)({},ne.PARAMS)})}}}),L=n(h.prototype,"batchCoworkItemMonitorTop",[u],{enumerable:!0,initializer:function(){var e=this;return function(t){oe.batchCoworkItemMonitorTop(t).then(function(t){"1"===t.status&&(e.getCoworkList(),e.doThemeCancel(),q.default.success(ae(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1))})}}}),M=n(h.prototype,"batchCoworkItemMonitorCancelTop",[s],{enumerable:!0,initializer:function(){var e=this;return function(t){oe.batchCoworkItemMonitorCancelTop(t).then(function(t){"1"===t.status&&(e.getCoworkList(),e.doThemeCancel(),q.default.success(ae(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1))})}}}),P=n(h.prototype,"batchCoworkItemMonitorEnd",[c],{enumerable:!0,initializer:function(){var e=this;return function(t){oe.batchCoworkItemMonitorEnd(t).then(function(t){"1"===t.status&&(e.getCoworkList(),e.doThemeCancel(),q.default.success(ae(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1))})}}}),I=n(h.prototype,"coworkItemOperation",[p],{enumerable:!0,initializer:function(){var e=this;return function(t){oe.coworkItemOperation(t).then(function(t){"1"===t.status&&(e.getCoworkList(),e.doThemeCancel(),q.default.success(ae(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1))})}}}),D=n(h.prototype,"batchCoworkItemMonitorDel",[d],{enumerable:!0,initializer:function(){var e=this;return function(t){e.currentModel=le(ae(388758,"\u786e\u8ba4\u8981\u5220\u9664\u5417\uff1f"),"",[{text:ae(31129,"\u53d6\u6d88")},{text:ae(33703,"\u786e\u8ba4"),onPress:function(){oe.batchCoworkItemMonitorDel(t).then(function(t){"1"===t.status&&(e.getCoworkList(),e.doThemeCancel(),q.default.success(ae(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1))})}}])}}}),_=n(h.prototype,"updateThemeAdvance",[re.action],{enumerable:!0,initializer:function(){var e=this;return function(t){e.themeAdValue=t,e.themeSearch.form.updateField("name",t)}}}),R=n(h.prototype,"doThemeCancel",[re.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.showThemeCheck=!1,e.doThemeselectNone()}}}),T=n(h.prototype,"doThemeSelectAll",[re.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.themeList.selectAll()}}}),O=n(h.prototype,"doThemeselectNone",[re.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.themeList.selectNone()}}}),E=n(h.prototype,"doThemeReset",[re.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.themeSearch.form.resetFields(),e.themeAdValue="",e.getCoworkList()}}}),x=n(h.prototype,"doThemeMount",[re.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.themeSearch.form.resetFields(),e.themeAdValue=""}}}),V=n(h.prototype,"closeAllModel",[re.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.currentModel&&"function"===typeof e.currentModel.close&&e.currentModel.close()}}}),h);t.default=ue},1166:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,i){r&&(0,N.default)(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function n(e,t,r,i,o){var n={};return Object.keys(i).forEach(function(e){n[e]=i[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=r.slice().reverse().reduce(function(r,i){return i(e,t,r)||r},n),o&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(o):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,l,u,s,c,p,d,h,f,m,b,y,v,g,w,C,A,k,S,z,L,M,P,I,D,_,R,T,O,E,x,V,j,F=r(17),N=i(F),q=r(29),H=i(q),J=r(5),G=i(J),K=r(18),B=i(K),U=r(38),Q=i(U),W=r(39),$=i(W),X=r(1),Y=i(X),Z=r(45),ee=i(Z),te=r(9),re=i(te),ie=r(10),oe=r(133),ne=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(oe),ae=r(55),le=re.default.getLabel,ue=ee.default.alert,se=(a=(0,ie.action)("\u5185\u5bb9\u76d1\u63a7\u5217\u8868\u8bf7\u6c42"),l=(0,ie.action)("\u5185\u5bb9\u76d1\u63a7\u9ad8\u7ea7\u641c\u7d22"),u=(0,ie.action)("\u5185\u5bb9\u76d1\u63a7\u5220\u9664"),s=(0,ie.action)("\u5185\u5bb9\u76d1\u63a7\u5df2\u5220\u9664\u5217\u8868\u8bf7\u6c42"),c=function e(){(0,Y.default)(this,e),o(this,"viewRight",p,this),o(this,"contentpage",d,this),o(this,"contentvisible",h,this),o(this,"contentLoading",f,this),o(this,"contentSearch",m,this),o(this,"contentList",b,this),o(this,"showContentCheck",y,this),o(this,"contentAdValue",v,this),o(this,"contentDeleteLoading",g,this),o(this,"contentDeleteSearch",w,this),o(this,"contentDeleteList",C,this),o(this,"contentDeleteAdValue",A,this),o(this,"currentModel",k,this),o(this,"setStoreState",S,this),o(this,"getContentList",z,this),o(this,"getCoworkDiscussMonitorShareCondition",L,this),o(this,"batchDiscussDel",M,this),o(this,"updateContentAdvance",P,this),o(this,"doContentCancel",I,this),o(this,"doContentSelectAll",D,this),o(this,"doContentselectNone",_,this),o(this,"doContentReset",R,this),o(this,"doContentMount",T,this),o(this,"getContentDeleteList",O,this),o(this,"updateContentDeleteAdvance",E,this),o(this,"doContentDeleteReset",x,this),o(this,"doContentDeleteMount",V,this),o(this,"closeAllModel",j,this)},p=n(c.prototype,"viewRight",[ie.observable],{enumerable:!0,initializer:function(){return 0}}),d=n(c.prototype,"contentpage",[ie.observable],{enumerable:!0,initializer:function(){return 0}}),h=n(c.prototype,"contentvisible",[ie.observable],{enumerable:!0,initializer:function(){return!1}}),f=n(c.prototype,"contentLoading",[ie.observable],{enumerable:!0,initializer:function(){return!0}}),m=n(c.prototype,"contentSearch",[ie.observable],{enumerable:!0,initializer:function(){return new $.default.Store({route:"/center/content",id:"contentSearch"})}}),b=n(c.prototype,"contentList",[ie.observable],{enumerable:!0,initializer:function(){return new Q.default.Store({route:"/center/content",id:"content"})}}),y=n(c.prototype,"showContentCheck",[ie.observable],{enumerable:!0,initializer:function(){return!1}}),v=n(c.prototype,"contentAdValue",[ie.observable],{enumerable:!0,initializer:function(){return""}}),g=n(c.prototype,"contentDeleteLoading",[ie.observable],{enumerable:!0,initializer:function(){return!0}}),w=n(c.prototype,"contentDeleteSearch",[ie.observable],{enumerable:!0,initializer:function(){return new $.default.Store({route:"/center/content",id:"contentDeleteSearch"})}}),C=n(c.prototype,"contentDeleteList",[ie.observable],{enumerable:!0,initializer:function(){return new Q.default.Store({route:"/center/content",id:"contentDelete"})}}),A=n(c.prototype,"contentDeleteAdValue",[ie.observable],{enumerable:!0,initializer:function(){return""}}),k=n(c.prototype,"currentModel",[ie.observable],{enumerable:!0,initializer:function(){return{}}}),S=n(c.prototype,"setStoreState",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(t){(0,B.default)(t).forEach(function(r){e[r]=t[r]})}}}),z=n(c.prototype,"getContentList",[a],{enumerable:!0,initializer:function(){var e=this;return function(){var t=e.contentSearch.form.formParams||{},r=(0,G.default)({isDeleted:0,datetype:0,typeid:"0"},t);ne.getCoworkDiscussMonitorList(r).then(function(t){var r=t.sessionkey;e.viewRight=t.viewRight,0===e.viewRight?e.contentLoading=!1:r&&(e.dataKey=r,e.contentList.getData({dataKey:r},function(){return e.contentLoading=!1},!0),e.contentLoading=!1)})}}}),L=n(c.prototype,"getCoworkDiscussMonitorShareCondition",[l],{enumerable:!0,initializer:function(){var e=this;return function(t){t=(0,G.default)({},t,ae.PARAMS),"delete"===t.contentType?e.contentDeleteSearch.getData({url:"/api/cowork/discussMonitor/getCoworkDiscussMonitorShareCondition",method:"GET",params:t}):e.contentSearch.getData({url:"/api/cowork/discussMonitor/getCoworkDiscussMonitorShareCondition",method:"GET",params:t})}}}),M=n(c.prototype,"batchDiscussDel",[u],{enumerable:!0,initializer:function(){var e=this;return function(t){e.currentModel=ue(le(390686,"\u786e\u8ba4\u8981\u5220\u9664\u8be5\u5185\u5bb9")+"\uff1f","",[{text:le(390687,"\u53ea\u5220\u9664\u8be5\u5185\u5bb9"),onPress:function(){t=(0,G.default)({isDeleteAll:0},t),ne.batchDiscussDel(t).then(function(t){"1"===t.status&&(e.getContentList(),e.doContentCancel(),H.default.success(le(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1))})}},{text:le(390688,"\u540c\u65f6\u5220\u9664\u8be5\u5185\u5bb9\u7684\u6240\u6709\u8bc4\u8bba"),onPress:function(){t=(0,G.default)({isDeleteAll:1},t),ne.batchDiscussDel(t).then(function(t){"1"===t.status&&(e.getContentList(),e.doContentCancel(),H.default.success(le(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1))})}},{text:le(201,"\u53d6\u6d88")}])}}}),P=n(c.prototype,"updateContentAdvance",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(t){e.contentAdValue=t,e.contentSearch.form.updateField("remark",t)}}}),I=n(c.prototype,"doContentCancel",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.showContentCheck=!1,e.doContentselectNone()}}}),D=n(c.prototype,"doContentSelectAll",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.contentList.selectAll()}}}),_=n(c.prototype,"doContentselectNone",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.contentList.selectNone()}}}),R=n(c.prototype,"doContentReset",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.contentSearch.form.resetFields(),e.contentAdValue="",e.getContentList()}}}),T=n(c.prototype,"doContentMount",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.contentSearch.form.resetFields(),e.contentAdValue=""}}}),O=n(c.prototype,"getContentDeleteList",[s],{enumerable:!0,initializer:function(){var e=this;return function(){var t=e.contentDeleteSearch.form.formParams||{},r=(0,G.default)({isDeleted:1,del_datetype:0,typeid:"0"},t);ne.getCoworkDiscussMonitorList(r).then(function(t){var r=t.sessionkey;r&&(e.dataKey=r,e.contentDeleteList.getData({dataKey:r},function(){return e.contentDeleteLoading=!1},!0),e.contentDeleteLoading=!1)})}}}),E=n(c.prototype,"updateContentDeleteAdvance",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(t){e.contentDeleteAdValue=t,e.contentDeleteSearch.form.updateField("remarkBack",t)}}}),x=n(c.prototype,"doContentDeleteReset",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.contentDeleteSearch.form.resetFields(),e.contentDeleteAdValue="",e.getContentDeleteList()}}}),V=n(c.prototype,"doContentDeleteMount",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.contentDeleteSearch.form.resetFields(),e.contentDeleteAdValue="",e.contentpage=0}}}),j=n(c.prototype,"closeAllModel",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.currentModel&&"function"===typeof e.currentModel.close&&e.currentModel.close()}}}),c);t.default=se},1167:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,i){r&&(0,N.default)(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function n(e,t,r,i,o){var n={};return Object.keys(i).forEach(function(e){n[e]=i[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=r.slice().reverse().reduce(function(r,i){return i(e,t,r)||r},n),o&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(o):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,l,u,s,c,p,d,h,f,m,b,y,v,g,w,C,A,k,S,z,L,M,P,I,D,_,R,T,O,E,x,V,j,F=r(17),N=i(F),q=r(29),H=i(q),J=r(5),G=i(J),K=r(18),B=i(K),U=r(38),Q=i(U),W=r(39),$=i(W),X=r(1),Y=i(X),Z=r(45),ee=i(Z),te=r(9),re=i(te),ie=r(10),oe=r(133),ne=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(oe),ae=r(55),le=re.default.getLabel,ue=ee.default.alert,se=(a=(0,ie.action)("\u8bc4\u8bba\u76d1\u63a7\u5217\u8868\u8bf7\u6c42"),l=(0,ie.action)("\u8bc4\u8bba\u76d1\u63a7\u9ad8\u7ea7\u641c\u7d22"),u=(0,ie.action)("\u8bc4\u8bba\u76d1\u63a7\u5220\u9664"),s=(0,ie.action)("\u8bc4\u8bba\u76d1\u63a7\u5df2\u5220\u9664\u5217\u8868\u8bf7\u6c42"),c=function e(){(0,Y.default)(this,e),o(this,"viewRight",p,this),o(this,"commentpage",d,this),o(this,"commentvisible",h,this),o(this,"commentLoading",f,this),o(this,"commentSearch",m,this),o(this,"commentList",b,this),o(this,"showCommentCheck",y,this),o(this,"commentAdValue",v,this),o(this,"commentDeleteLoading",g,this),o(this,"commentDeleteSearch",w,this),o(this,"commentDeleteList",C,this),o(this,"commentDeleteAdValue",A,this),o(this,"currentModel",k,this),o(this,"setStoreState",S,this),o(this,"getCommentList",z,this),o(this,"getCoworkCommentMonitorShareCondition",L,this),o(this,"batchCommentMonitorDel",M,this),o(this,"updateCommentAdvance",P,this),o(this,"doCommentCancel",I,this),o(this,"doCommentSelectAll",D,this),o(this,"doCommentselectNone",_,this),o(this,"doCommentReset",R,this),o(this,"doCommentMount",T,this),o(this,"getCommentDeleteList",O,this),o(this,"updateCommentDeleteAdvance",E,this),o(this,"doCommentDeleteReset",x,this),o(this,"doCommentDeleteMount",V,this),o(this,"closeAllModel",j,this)},p=n(c.prototype,"viewRight",[ie.observable],{enumerable:!0,initializer:function(){return 0}}),d=n(c.prototype,"commentpage",[ie.observable],{enumerable:!0,initializer:function(){return 0}}),h=n(c.prototype,"commentvisible",[ie.observable],{enumerable:!0,initializer:function(){return!1}}),f=n(c.prototype,"commentLoading",[ie.observable],{enumerable:!0,initializer:function(){return!0}}),m=n(c.prototype,"commentSearch",[ie.observable],{enumerable:!0,initializer:function(){return new $.default.Store({route:"/center/comment",id:"commentSearch"})}}),b=n(c.prototype,"commentList",[ie.observable],{enumerable:!0,initializer:function(){return new Q.default.Store({route:"/center/comment",id:"comment"})}}),y=n(c.prototype,"showCommentCheck",[ie.observable],{enumerable:!0,initializer:function(){return!1}}),v=n(c.prototype,"commentAdValue",[ie.observable],{enumerable:!0,initializer:function(){return""}}),g=n(c.prototype,"commentDeleteLoading",[ie.observable],{enumerable:!0,initializer:function(){return!0}}),w=n(c.prototype,"commentDeleteSearch",[ie.observable],{enumerable:!0,initializer:function(){return new $.default.Store({route:"/center/comment",id:"commentDeleteSearch"})}}),C=n(c.prototype,"commentDeleteList",[ie.observable],{enumerable:!0,initializer:function(){return new Q.default.Store({route:"/center/comment",id:"contentDelete"})}}),A=n(c.prototype,"commentDeleteAdValue",[ie.observable],{enumerable:!0,initializer:function(){return""}}),k=n(c.prototype,"currentModel",[ie.observable],{enumerable:!0,initializer:function(){return{}}}),S=n(c.prototype,"setStoreState",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(t){(0,B.default)(t).forEach(function(r){e[r]=t[r]})}}}),z=n(c.prototype,"getCommentList",[a],{enumerable:!0,initializer:function(){var e=this;return function(){var t=e.commentSearch.form.formParams||{},r=(0,G.default)({typeid:0,datetype:0,commentStatus:0},t);ne.getCoworkCommentMonitorList(r).then(function(t){var r=t.sessionkey;e.viewRight=t.viewRight,0===e.viewRight?e.commentLoading=!1:r&&(e.dataKey=r,e.commentList.getData({dataKey:r},function(){return e.commentLoading=!1},!0),e.commentLoading=!1)})}}}),L=n(c.prototype,"getCoworkCommentMonitorShareCondition",[l],{enumerable:!0,initializer:function(){var e=this;return function(t){t=(0,G.default)({},t,ae.PARAMS),"delete"===t.commentType?e.commentDeleteSearch.getData({url:"/api/cowork/commentMonitor/getCoworkCommentMonitorShareCondition",method:"GET",params:t}):e.commentSearch.getData({url:"/api/cowork/commentMonitor/getCoworkCommentMonitorShareCondition",method:"GET",params:t})}}}),M=n(c.prototype,"batchCommentMonitorDel",[u],{enumerable:!0,initializer:function(){var e=this;return function(t){t=(0,G.default)({},t),e.currentModel=ue(le(388758,"\u786e\u8ba4\u8981\u5220\u9664\u5417\uff1f"),"",[{text:le(31129,"\u53d6\u6d88")},{text:le(33703,"\u786e\u8ba4"),onPress:function(){ne.batchCommentMonitorDel(t).then(function(t){"1"===t.status&&(e.getCommentList(),e.doCommentCancel(),H.default.success(le(30700,"\u64cd\u4f5c\u6210\u529f")+"!",1))})}}])}}}),P=n(c.prototype,"updateCommentAdvance",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(t){e.commentAdValue=t,e.commentSearch.form.updateField("remark",t)}}}),I=n(c.prototype,"doCommentCancel",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.showCommentCheck=!1,e.doCommentselectNone()}}}),D=n(c.prototype,"doCommentSelectAll",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.commentList.selectAll()}}}),_=n(c.prototype,"doCommentselectNone",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.commentList.selectNone()}}}),R=n(c.prototype,"doCommentReset",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.commentSearch.form.resetFields(),e.commentAdValue="",e.getCommentList()}}}),T=n(c.prototype,"doCommentMount",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.commentSearch.form.resetFields(),e.commentAdValue=""}}}),O=n(c.prototype,"getCommentDeleteList",[s],{enumerable:!0,initializer:function(){var e=this;return function(){var t=e.commentDeleteSearch.form.formParams||{},r=(0,G.default)({typeid:0,del_datetype:0,commentStatus:1},t);ne.getCoworkCommentMonitorList(r).then(function(t){var r=t.sessionkey;e.viewRight=t.viewRight,0===e.viewRight?e.commentLoading=!1:r&&(e.dataKey=r,e.commentDeleteList.getData({dataKey:r},function(){return e.commentDeleteLoading=!1},!0),e.commentDeleteLoading=!1)})}}}),E=n(c.prototype,"updateCommentDeleteAdvance",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(t){e.commentDeleteAdValue=t,e.commentDeleteSearch.form.updateField("remark",t)}}}),x=n(c.prototype,"doCommentDeleteReset",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.commentDeleteSearch.form.resetFields(),e.commentDeleteAdValue="",e.getCommentDeleteList()}}}),V=n(c.prototype,"doCommentDeleteMount",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.commentDeleteSearch.form.resetFields(),e.commentDeleteAdValue="",e.commentpage=0}}}),j=n(c.prototype,"closeAllModel",[ie.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.currentModel&&"function"===typeof e.currentModel.close&&e.currentModel.close()}}}),c);t.default=se},1168:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,i){r&&(0,_.default)(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function n(e,t,r,i,o){var n={};return Object.keys(i).forEach(function(e){n[e]=i[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=r.slice().reverse().reduce(function(r,i){return i(e,t,r)||r},n),o&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(o):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,l,u,s,c,p,d,h,f,m,b,y,v,g,w,C,A,k,S,z,L,M,P,I,D=r(17),_=i(D),R=r(5),T=i(R),O=r(18),E=i(O),x=r(38),V=i(x),j=r(39),F=i(j),N=r(135),q=i(N),H=r(1),J=i(H),G=r(10),K=r(133),B=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(K),U=r(55),Q=(a=(0,G.action)("\u6211\u7684\u5e16\u5b50\u5217\u8868\u8bf7\u6c42"),l=(0,G.action)("\u6211\u7684\u5e16\u5b50\u9ad8\u7ea7\u641c\u7d22"),u=(0,G.action)("\u6211\u7684\u5e16\u5b50\u641c\u7d22\u64cd\u4f5c"),s=(0,G.action)("\u6211\u7684\u8bc4\u8bba\u5217\u8868"),c=function e(){var t=this;(0,J.default)(this,e),o(this,"page",p,this),o(this,"relatePage",d,this),o(this,"searchType",h,this),o(this,"myPostAdValue",f,this),o(this,"myPostComment",m,this),o(this,"waitApproveComment",b,this),o(this,"onMyPostSearch",y,this),o(this,"myCommentLoading",v,this),o(this,"myCommentList",g,this),o(this,"setStoreState",w,this),o(this,"getMyPostComment",C,this),o(this,"getCoworkMineShareCondition",A,this),o(this,"myPostSearch",k,this),o(this,"doMyPostReset",S,this),o(this,"updateMyPostAdvance",z,this),this.clear=function(){t.onMyPostSearch.form.resetFields(),t.myPostAdValue="",t.relatePage=1,t.searchType="all",t.page=0},o(this,"getWaitApproveComment",L,this),o(this,"getMyCommentList",M,this),o(this,"doMyCommentDeleteMount",P,this),o(this,"doMyCommentReset",I,this)},p=n(c.prototype,"page",[G.observable],{enumerable:!0,initializer:function(){return 0}}),d=n(c.prototype,"relatePage",[G.observable],{enumerable:!0,initializer:function(){return 1}}),h=n(c.prototype,"searchType",[G.observable],{enumerable:!0,initializer:function(){return"all"}}),f=n(c.prototype,"myPostAdValue",[G.observable],{enumerable:!0,initializer:function(){return""}}),m=n(c.prototype,"myPostComment",[G.observable],{enumerable:!0,initializer:function(){return new q.default.Store({getComment:this.getMyPostComment})}}),b=n(c.prototype,"waitApproveComment",[G.observable],{enumerable:!0,initializer:function(){return new q.default.Store({getComment:this.getWaitApproveComment})}}),y=n(c.prototype,"onMyPostSearch",[G.observable],{enumerable:!0,initializer:function(){return new F.default.Store({route:"/center/publish",id:"myPostSearch"})}}),v=n(c.prototype,"myCommentLoading",[G.observable],{enumerable:!0,initializer:function(){return!0}}),g=n(c.prototype,"myCommentList",[G.observable],{enumerable:!0,initializer:function(){return new V.default.Store({route:"/center/publish",id:"myComment"})}}),w=n(c.prototype,"setStoreState",[G.action],{enumerable:!0,initializer:function(){var e=this;return function(t){(0,E.default)(t).forEach(function(r){e[r]=t[r]})}}}),C=n(c.prototype,"getMyPostComment",[a],{enumerable:!0,initializer:function(){var e=this;return function(){var t=e.onMyPostSearch.form.formParams||{},r=(0,T.default)({currentPage:e.relatePage++,searchType:"all"},t);return B.getCoworkMineList(r).then(function(e){return e})}}}),A=n(c.prototype,"getCoworkMineShareCondition",[l],{enumerable:!0,initializer:function(){var e=this;return function(t){e.onMyPostSearch.getData({url:"/api/cowork/mine/getCoworkMineShareCondition",method:"GET",params:(0,T.default)({},t,U.PARAMS)})}}}),k=n(c.prototype,"myPostSearch",[u],{enumerable:!0,initializer:function(){var e=this;return function(){e.relatePage=1,e.myPostComment.getDatas()}}}),S=n(c.prototype,"doMyPostReset",[G.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.onMyPostSearch.form.resetFields(),e.myPostAdValue=""}}}),z=n(c.prototype,"updateMyPostAdvance",[G.action],{enumerable:!0,initializer:function(){var e=this;return function(t){e.myPostAdValue=t,e.onMyPostSearch.form.updateField("remark",t)}}}),L=n(c.prototype,"getWaitApproveComment",[G.action],{enumerable:!0,initializer:function(){var e=this;return function(){var t=e.onMyPostSearch.form.formParams||{},r=(0,T.default)({currentPage:e.relatePage++,searchType:"approve"},t);return B.getCoworkMineList(r).then(function(e){return e})}}}),M=n(c.prototype,"getMyCommentList",[s],{enumerable:!0,initializer:function(){var e=this;return function(){var t=e.onMyPostSearch.form.formParams||{},r=(0,T.default)({},U.PARAMS,{searchType:e.searchType},t);B.getCoworkMineList(r).then(function(t){var r=t.sessionkey;r&&(e.dataKey=r,e.myCommentList.getData({dataKey:r},function(){return e.myCommentLoading=!1},!0),e.myCommentLoading=!1)})}}}),P=n(c.prototype,"doMyCommentDeleteMount",[G.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.onMyPostSearch.form.resetFields(),e.myPostAdValue=""}}}),I=n(c.prototype,"doMyCommentReset",[G.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.onMyPostSearch.form.resetFields(),e.myPostAdValue=""}}}),c);t.default=Q},1169:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,i){r&&(0,g.default)(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function n(e,t,r,i,o){var n={};return Object.keys(i).forEach(function(e){n[e]=i[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=r.slice().reverse().reduce(function(r,i){return i(e,t,r)||r},n),o&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(o):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,l,u,s,c,p,d,h,f,m,b,y,v=r(17),g=i(v),w=r(18),C=i(w),A=r(38),k=i(A),S=r(39),z=i(S),L=r(5),M=i(L),P=r(1),I=i(P),D=r(10),_=r(132),R=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(_),T=r(55),O={joinLoading:!0,joinAdValue:"",searchHrmid:null},E=(a=(0,D.action)("\u9ad8\u7ea7\u5217\u8868\u91cd\u7f6e\u6570\u636e"),l=(0,D.action)("\u66f4\u65b0\u9ad8\u7ea7\u641c\u7d22\u5b57\u6bb5"),u=function e(){var t=this;(0,I.default)(this,e),o(this,"search",s,this),o(this,"joinList",c,this),o(this,"joinLoading",p,this),o(this,"joinAdValue",d,this),o(this,"searchHrmid",h,this),o(this,"setStoreState",f,this),o(this,"clear",m,this),this.getAdSearchCondition=function(e){t.search.getData({url:"/api/cowork/base/getCoworkHrmViewShareCondition",method:"GET",params:(0,M.default)({},e,T.PARAMS)})},this.getJoinList=function(){var e=t.search.form.formParams||{},r=(0,M.default)({searchHrmid:t.searchHrmid},e);R.getCoworkHrmViewList(r).then(function(e){var r=e.sessionkey;r&&t.joinList.getData({dataKey:r},function(){return t.joinLoading=!1},!0)})},o(this,"doJoinReset",b,this),o(this,"updateJoinAdvance",y,this)},s=n(u.prototype,"search",[D.observable],{enumerable:!0,initializer:function(){return new z.default.Store({route:"/hrmjion",id:"adSearch"})}}),c=n(u.prototype,"joinList",[D.observable],{enumerable:!0,initializer:function(){return new k.default.Store({route:"/hrmjion",id:"join"})}}),p=n(u.prototype,"joinLoading",[D.observable],{enumerable:!0,initializer:function(){return O.joinLoading}}),d=n(u.prototype,"joinAdValue",[D.observable],{enumerable:!0,initializer:function(){return O.joinAdValue}}),h=n(u.prototype,"searchHrmid",[D.observable],{enumerable:!0,initializer:function(){return O.searchHrmid}}),f=n(u.prototype,"setStoreState",[D.action],{enumerable:!0,initializer:function(){var e=this;return function(t){(0,C.default)(t).forEach(function(r){e[r]=t[r]})}}}),m=n(u.prototype,"clear",[D.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.setStoreState(O)}}}),b=n(u.prototype,"doJoinReset",[a],{enumerable:!0,initializer:function(){var e=this;return function(){e.search.form.resetFields(),e.joinAdValue="",e.getJoinList()}}}),y=n(u.prototype,"updateJoinAdvance",[l],{enumerable:!0,initializer:function(){var e=this;return function(t){e.joinAdValue=t,e.search.form.updateField("name",t)}}}),u);t.default=E},1170:function(e,t,r){"use strict";r(1171),r(1172),r(1173)},1171:function(e,t){},1172:function(e,t){},1173:function(e,t){},132:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.reJoinCoworkQuiter=t.coworkQuitList=t.getCoworkHrmViewList=t.getCoworkAccessory=t.coworkLabelCondition=t.uploadCoworkLabelByMobile=t.uploadCoworkLabelList=t.getCoworkLabelList=t.getNewMyCoworkTypeMapByMobile=t.getWeaAuthConditions=t.saveorupdateCoworkShare=t.getParterListData=t.getCoworkDiscussData=t.getShareConditionStrList=t.quitCowork=t.coworkItemOperation=t.batchCoworkItemMonitorEnd=t.saveorupdateCoworkItemVo=t.coworkAddCondition=t.getCoworkAppStatus=t.coworkMarkItemAsType=t.submitCoworkDiscuss=t.coworkDiscussOperation=t.atList=t.discussRecord=t.viewCowork=t.coworkdeleteItemLabels=t.getCoworkList=void 0;var o=r(9),n=i(o),a=r(5),l=i(a),u=r(55);t.getCoworkList=function(e){var t={method:"GET",url:"/api/cowork/base/getCoworkList",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.coworkdeleteItemLabels=function(e){var t={method:"POST",url:"/api/cowork/base/coworkdeleteItemLabels",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.viewCowork=function(e){var t={method:"GET",url:"/api/cowork/view/viewCowork",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.discussRecord=function(e){var t={method:"GET",url:"/api/cowork/view/discussRecord",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.atList=function(e){var t={method:"GET",url:"/api/cowork/view/atList",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.coworkDiscussOperation=function(e){var t={method:"POST",url:"/api/cowork/base/coworkDiscussOperation",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.submitCoworkDiscuss=function(e){var t={method:"POST",url:"/api/cowork/base/submitCoworkDiscuss",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.coworkMarkItemAsType=function(e){var t={method:"POST",url:"/api/cowork/base/coworkMarkItemAsType",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getCoworkAppStatus=function(e){var t={method:"GET",url:"/api/cowork/base/getCoworkAppStatus",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.coworkAddCondition=function(e){var t={method:"GET",url:"/api/cowork/base/coworkAddCondition",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.saveorupdateCoworkItemVo=function(e){var t={method:"POST",url:"/api/cowork/base/saveorupdateCoworkItemVo",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.batchCoworkItemMonitorEnd=function(e){var t={method:"POST",url:"/api/cowork/itemMonitor/batchCoworkItemMonitorEnd",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.coworkItemOperation=function(e){var t={method:"POST",url:"/api/cowork/base/coworkItemOperation",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.quitCowork=function(e){var t={method:"POST",url:"/api/cowork/base/quitCowork",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getShareConditionStrList=function(e){var t={method:"GET",url:"/api/cowork/base/getShareConditionStrList",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getCoworkDiscussData=function(e){var t={method:"GET",url:"/api/cowork/base/getCoworkDiscussData",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getParterListData=function(e){var t={method:"GET",url:"/api/cowork/base/coworkShareList",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.saveorupdateCoworkShare=function(e){var t={method:"POST",url:"/api/cowork/base/saveorupdateCoworkShare",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getWeaAuthConditions=function(e){var t={method:"GET",url:"/api/cowork/base/getWeaAuthConditions",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getNewMyCoworkTypeMapByMobile=function(e){var t={method:"GET",url:"/api/cowork/base/getNewMyCoworkTypeMapByMobile",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getCoworkLabelList=function(e){var t={method:"GET",url:"/api/cowork/base/getCoworkLabelList",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.uploadCoworkLabelList=function(e){var t={method:"POST",url:"/api/cowork/base/uploadCoworkLabelList",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.uploadCoworkLabelByMobile=function(e){var t={method:"POST",url:"/api/cowork/base/uploadCoworkLabelByMobile",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.coworkLabelCondition=function(e){var t={method:"GET",url:"/api/cowork/base/coworkLabelCondition",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getCoworkAccessory=function(e){var t={method:"GET",url:"/api/cowork/base/getCoworkAccessory",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getCoworkHrmViewList=function(e){var t={method:"GET",url:"/api/cowork/base/getCoworkHrmViewList",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.coworkQuitList=function(e){var t={method:"GET",url:"/api/cowork/base/coworkQuitList",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.reJoinCoworkQuiter=function(e){var t={method:"POST",url:"/api/cowork/base/reJoinCoworkQuiter",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)}},133:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getCoworkMineList=t.batchCommentMonitorDel=t.getCoworkCommentMonitorList=t.getUserInfo=t.getCoworkCounts=t.batchDiscussDel=t.getCoworkDiscussMonitorList=t.batchCoworkItemMonitorDel=t.coworkItemOperation=t.batchCoworkItemMonitorEnd=t.batchCoworkItemMonitorCancelTop=t.batchCoworkItemMonitorTop=t.getCoworkItemMonitorList=t.coworkDiscussOperation=t.getCoworkCollectList=t.discussRecord=void 0;var o=r(9),n=i(o),a=r(5),l=i(a),u=r(55);t.discussRecord=function(e){var t={method:"GET",url:"/api/cowork/view/discussRecord",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getCoworkCollectList=function(e){var t={method:"GET",url:"/api/cowork/collect/getCoworkCollectList",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.coworkDiscussOperation=function(e){var t={method:"POST",url:"/api/cowork/base/coworkDiscussOperation",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getCoworkItemMonitorList=function(e){var t={method:"GET",url:"/api/cowork/itemMonitor/getCoworkItemMonitorList",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.batchCoworkItemMonitorTop=function(e){var t={method:"POST",url:"/api/cowork/itemMonitor/batchCoworkItemMonitorTop",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.batchCoworkItemMonitorCancelTop=function(e){var t={method:"POST",url:"/api/cowork/itemMonitor/batchCoworkItemMonitorCancelTop",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.batchCoworkItemMonitorEnd=function(e){var t={method:"POST",url:"/api/cowork/itemMonitor/batchCoworkItemMonitorEnd",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.coworkItemOperation=function(e){var t={method:"POST",url:"/api/cowork/base/coworkItemOperation",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.batchCoworkItemMonitorDel=function(e){var t={method:"POST",url:"/api/cowork/itemMonitor/batchCoworkItemMonitorDel",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getCoworkDiscussMonitorList=function(e){var t={method:"GET",url:"/api/cowork/discussMonitor/getCoworkDiscussMonitorList",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.batchDiscussDel=function(e){var t={method:"POST",url:"/api/cowork/discussApproval/batchDiscussDel",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getCoworkCounts=function(e){var t={method:"GET",url:"/api/cowork/base/getCoworkCounts",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getUserInfo=function(e){var t={method:"GET",url:"/api/cowork/base/getUserInfo",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getCoworkCommentMonitorList=function(e){var t={method:"GET",url:"/api/cowork/commentMonitor/getCoworkCommentMonitorList",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.batchCommentMonitorDel=function(e){var t={method:"POST",url:"/api/cowork/commentMonitor/batchCommentMonitorDel",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getCoworkMineList=function(e){var t={method:"GET",url:"/api/cowork/mine/getCoworkMineList",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)}},462:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getCoworkApplyPageTopCounts=t.coworkApplayApproveInfo=t.getCoworkApplyShareCondition=t.coworkApplayInfo=t.getCoworkApplyPageList=void 0;var o=r(9),n=i(o),a=r(5),l=i(a),u=r(55);t.getCoworkApplyPageList=function(e){var t={method:"GET",url:"/api/cowork/apply/getCoworkApplyPageList",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.coworkApplayInfo=function(e){var t={method:"POST",url:"/api/cowork/apply/coworkApplayInfo",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getCoworkApplyShareCondition=function(e){var t={method:"get",url:"/api/cowork/apply/getCoworkApplyShareCondition",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.coworkApplayApproveInfo=function(e){var t={method:"POST",url:"/api/cowork/apply/coworkApplayApproveInfo",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)},t.getCoworkApplyPageTopCounts=function(e){var t={method:"GET",url:"/api/cowork/apply/getCoworkApplyPageTopCounts",params:(0,l.default)({},u.PARAMS,e)};return n.default.callApi(t).then(u.catchApiError)}},483:function(e,t,r){var i;!function(o){function n(e,t){if(e=e||"",t=t||{},e instanceof n)return e;if(!(this instanceof n))return new n(e,t);var r=a(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=G(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=G(this._r)),this._g<1&&(this._g=G(this._g)),this._b<1&&(this._b=G(this._b)),this._ok=r.ok,this._tc_id=J++}function a(e){var t={r:0,g:0,b:0},r=1,i=null,o=null,n=null,a=!1,u=!1;return"string"==typeof e&&(e=F(e)),"object"==typeof e&&(j(e.r)&&j(e.g)&&j(e.b)?(t=l(e.r,e.g,e.b),a=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):j(e.h)&&j(e.s)&&j(e.v)?(i=E(e.s),o=E(e.v),t=p(e.h,i,o),a=!0,u="hsv"):j(e.h)&&j(e.s)&&j(e.l)&&(i=E(e.s),n=E(e.l),t=s(e.h,i,n),a=!0,u="hsl"),e.hasOwnProperty("a")&&(r=e.a)),r=P(r),{ok:a,format:e.format||u,r:K(255,B(t.r,0)),g:K(255,B(t.g,0)),b:K(255,B(t.b,0)),a:r}}function l(e,t,r){return{r:255*I(e,255),g:255*I(t,255),b:255*I(r,255)}}function u(e,t,r){e=I(e,255),t=I(t,255),r=I(r,255);var i,o,n=B(e,t,r),a=K(e,t,r),l=(n+a)/2;if(n==a)i=o=0;else{var u=n-a;switch(o=l>.5?u/(2-n-a):u/(n+a),n){case e:i=(t-r)/u+(t<r?6:0);break;case t:i=(r-e)/u+2;break;case r:i=(e-t)/u+4}i/=6}return{h:i,s:o,l:l}}function s(e,t,r){function i(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}var o,n,a;if(e=I(e,360),t=I(t,100),r=I(r,100),0===t)o=n=a=r;else{var l=r<.5?r*(1+t):r+t-r*t,u=2*r-l;o=i(u,l,e+1/3),n=i(u,l,e),a=i(u,l,e-1/3)}return{r:255*o,g:255*n,b:255*a}}function c(e,t,r){e=I(e,255),t=I(t,255),r=I(r,255);var i,o,n=B(e,t,r),a=K(e,t,r),l=n,u=n-a;if(o=0===n?0:u/n,n==a)i=0;else{switch(n){case e:i=(t-r)/u+(t<r?6:0);break;case t:i=(r-e)/u+2;break;case r:i=(e-t)/u+4}i/=6}return{h:i,s:o,v:l}}function p(e,t,r){e=6*I(e,360),t=I(t,100),r=I(r,100);var i=o.floor(e),n=e-i,a=r*(1-t),l=r*(1-n*t),u=r*(1-(1-n)*t),s=i%6;return{r:255*[r,l,a,a,u,r][s],g:255*[u,r,r,l,a,a][s],b:255*[a,a,u,r,r,l][s]}}function d(e,t,r,i){var o=[O(G(e).toString(16)),O(G(t).toString(16)),O(G(r).toString(16))];return i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function h(e,t,r,i,o){var n=[O(G(e).toString(16)),O(G(t).toString(16)),O(G(r).toString(16)),O(x(i))];return o&&n[0].charAt(0)==n[0].charAt(1)&&n[1].charAt(0)==n[1].charAt(1)&&n[2].charAt(0)==n[2].charAt(1)&&n[3].charAt(0)==n[3].charAt(1)?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0)+n[3].charAt(0):n.join("")}function f(e,t,r,i){return[O(x(i)),O(G(e).toString(16)),O(G(t).toString(16)),O(G(r).toString(16))].join("")}function m(e,t){t=0===t?0:t||10;var r=n(e).toHsl();return r.s-=t/100,r.s=D(r.s),n(r)}function b(e,t){t=0===t?0:t||10;var r=n(e).toHsl();return r.s+=t/100,r.s=D(r.s),n(r)}function y(e){return n(e).desaturate(100)}function v(e,t){t=0===t?0:t||10;var r=n(e).toHsl();return r.l+=t/100,r.l=D(r.l),n(r)}function g(e,t){t=0===t?0:t||10;var r=n(e).toRgb();return r.r=B(0,K(255,r.r-G(-t/100*255))),r.g=B(0,K(255,r.g-G(-t/100*255))),r.b=B(0,K(255,r.b-G(-t/100*255))),n(r)}function w(e,t){t=0===t?0:t||10;var r=n(e).toHsl();return r.l-=t/100,r.l=D(r.l),n(r)}function C(e,t){var r=n(e).toHsl(),i=(r.h+t)%360;return r.h=i<0?360+i:i,n(r)}function A(e){var t=n(e).toHsl();return t.h=(t.h+180)%360,n(t)}function k(e){var t=n(e).toHsl(),r=t.h;return[n(e),n({h:(r+120)%360,s:t.s,l:t.l}),n({h:(r+240)%360,s:t.s,l:t.l})]}function S(e){var t=n(e).toHsl(),r=t.h;return[n(e),n({h:(r+90)%360,s:t.s,l:t.l}),n({h:(r+180)%360,s:t.s,l:t.l}),n({h:(r+270)%360,s:t.s,l:t.l})]}function z(e){var t=n(e).toHsl(),r=t.h;return[n(e),n({h:(r+72)%360,s:t.s,l:t.l}),n({h:(r+216)%360,s:t.s,l:t.l})]}function L(e,t,r){t=t||6,r=r||30;var i=n(e).toHsl(),o=360/r,a=[n(e)];for(i.h=(i.h-(o*t>>1)+720)%360;--t;)i.h=(i.h+o)%360,a.push(n(i));return a}function M(e,t){t=t||6;for(var r=n(e).toHsv(),i=r.h,o=r.s,a=r.v,l=[],u=1/t;t--;)l.push(n({h:i,s:o,v:a})),a=(a+u)%1;return l}function P(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function I(e,t){R(e)&&(e="100%");var r=T(e);return e=K(t,B(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function D(e){return K(1,B(0,e))}function _(e){return parseInt(e,16)}function R(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function T(e){return"string"===typeof e&&-1!=e.indexOf("%")}function O(e){return 1==e.length?"0"+e:""+e}function E(e){return e<=1&&(e=100*e+"%"),e}function x(e){return o.round(255*parseFloat(e)).toString(16)}function V(e){return _(e)/255}function j(e){return!!$.CSS_UNIT.exec(e)}function F(e){e=e.replace(q,"").replace(H,"").toLowerCase();var t=!1;if(Q[e])e=Q[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};var r;return(r=$.rgb.exec(e))?{r:r[1],g:r[2],b:r[3]}:(r=$.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=$.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=$.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=$.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=$.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=$.hex8.exec(e))?{r:_(r[1]),g:_(r[2]),b:_(r[3]),a:V(r[4]),format:t?"name":"hex8"}:(r=$.hex6.exec(e))?{r:_(r[1]),g:_(r[2]),b:_(r[3]),format:t?"name":"hex"}:(r=$.hex4.exec(e))?{r:_(r[1]+""+r[1]),g:_(r[2]+""+r[2]),b:_(r[3]+""+r[3]),a:V(r[4]+""+r[4]),format:t?"name":"hex8"}:!!(r=$.hex3.exec(e))&&{r:_(r[1]+""+r[1]),g:_(r[2]+""+r[2]),b:_(r[3]+""+r[3]),format:t?"name":"hex"}}function N(e){var t,r;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==r&&"large"!==r&&(r="small"),{level:t,size:r}}var q=/^\s+/,H=/\s+$/,J=0,G=o.round,K=o.min,B=o.max,U=o.random;n.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,i,n,a,l=this.toRgb();return e=l.r/255,t=l.g/255,r=l.b/255,i=e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4),n=t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4),a=r<=.03928?r/12.92:o.pow((r+.055)/1.055,2.4),.2126*i+.7152*n+.0722*a},setAlpha:function(e){return this._a=P(e),this._roundA=G(100*this._a)/100,this},toHsv:function(){var e=c(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=c(this._r,this._g,this._b),t=G(360*e.h),r=G(100*e.s),i=G(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+i+"%)":"hsva("+t+", "+r+"%, "+i+"%, "+this._roundA+")"},toHsl:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=u(this._r,this._g,this._b),t=G(360*e.h),r=G(100*e.s),i=G(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+i+"%)":"hsla("+t+", "+r+"%, "+i+"%, "+this._roundA+")"},toHex:function(e){return d(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return h(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:G(this._r),g:G(this._g),b:G(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+G(this._r)+", "+G(this._g)+", "+G(this._b)+")":"rgba("+G(this._r)+", "+G(this._g)+", "+G(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:G(100*I(this._r,255))+"%",g:G(100*I(this._g,255))+"%",b:G(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+G(100*I(this._r,255))+"%, "+G(100*I(this._g,255))+"%, "+G(100*I(this._b,255))+"%)":"rgba("+G(100*I(this._r,255))+"%, "+G(100*I(this._g,255))+"%, "+G(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(W[d(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+f(this._r,this._g,this._b,this._a),r=t,i=this._gradientType?"GradientType = 1, ":"";if(e){var o=n(e);r="#"+f(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,i=this._a<1&&this._a>=0;return t||!i||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return n(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(v,arguments)},brighten:function(){return this._applyModification(g,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(b,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(C,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(L,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(M,arguments)},splitcomplement:function(){return this._applyCombination(z,arguments)},triad:function(){return this._applyCombination(k,arguments)},tetrad:function(){return this._applyCombination(S,arguments)}},n.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var i in e)e.hasOwnProperty(i)&&(r[i]="a"===i?e[i]:E(e[i]));e=r}return n(e,t)},n.equals=function(e,t){return!(!e||!t)&&n(e).toRgbString()==n(t).toRgbString()},n.random=function(){return n.fromRatio({r:U(),g:U(),b:U()})},n.mix=function(e,t,r){r=0===r?0:r||50;var i=n(e).toRgb(),o=n(t).toRgb(),a=r/100;return n({r:(o.r-i.r)*a+i.r,g:(o.g-i.g)*a+i.g,b:(o.b-i.b)*a+i.b,a:(o.a-i.a)*a+i.a})},n.readability=function(e,t){var r=n(e),i=n(t);return(o.max(r.getLuminance(),i.getLuminance())+.05)/(o.min(r.getLuminance(),i.getLuminance())+.05)},n.isReadable=function(e,t,r){var i,o,a=n.readability(e,t);switch(o=!1,i=N(r),i.level+i.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},n.mostReadable=function(e,t,r){var i,o,a,l,u=null,s=0;r=r||{},o=r.includeFallbackColors,a=r.level,l=r.size;for(var c=0;c<t.length;c++)(i=n.readability(e,t[c]))>s&&(s=i,u=n(t[c]));return n.isReadable(e,u,{level:a,size:l})||!o?u:(r.includeFallbackColors=!1,n.mostReadable(e,["#fff","#000"],r))};var Q=n.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},W=n.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(Q),$=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",r="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+r),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+r),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+r),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();"undefined"!==typeof e&&e.exports?e.exports=n:void 0!==(i=function(){return n}.call(t,r,t,e))&&(e.exports=i)}(Math)},55:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e){return(0,C.default)(e).getBrightness()<127?"#fff":"#333"}function n(e){for(var t={},r=[],i="",o="",n=/[^?&]+=[^?&]+/g,a=e.match(n),l=0;l<a.length;l++)r=a[l].split("="),i=r[0],o=r[1],t[i]=o;return t}Object.defineProperty(t,"__esModule",{value:!0}),t.TitleUtil=t.compareParams=t.PARAMS=void 0;var a=r(5),l=i(a),u=r(90),s=i(u),c=r(43),p=i(c),d=r(1148),h=i(d),f=r(41),m=i(f),b=r(54),y=i(b),v=r(9),g=i(v);t.getFontColorFromBgHex=o,t.parseQueryString=n;var w=r(483),C=i(w),A=g.default.getLabel,k={catchApiError:function(e){return new y.default(function(t,r){if(!e.api_status)return m.default.fail(e.msg||A(30651,"\u64cd\u4f5c\u5931\u8d25")),void r(e);t(e)})}};t.default=k;var S=(t.PARAMS={_ec_ismobile:"true"},t.compareParams=function e(t,r){var i=(0,h.default)(t),o=(0,h.default)(r),n=!0;if(i.length!==o.length)return!1;for(var a in t)if(t[a]!==r[a]){if("object"!==(0,p.default)(t[a])){n=!1;break}if(!e(t[a],r[a])){n=!1;break}}return n},function(e){return!!window.em});t.TitleUtil={setTitle:function(e){if(document.title=e||"",window.document.title=e||"\u534f\u4f5c",S()){var t={success:function(e){console.log("controlEmTopNav success",(0,s.default)(e))},fail:function(e){console.log("controlEmTopNav fail",(0,s.default)(e))},left:{},right:{},title:"",showCloseButton:!0};window.em.ready(function(){void 0===e&&(e="\u534f\u4f5c"),window.em.configNavigation((0,l.default)({},t,{title:e}))})}},resetEmElement:function(){S()&&window.em.ready(function(){window.em.resetNavigation({title:""})})}}},740:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var o=r(359),n=i(o),a=r(8),l=i(a),u=r(1),s=i(u),c=r(4),p=i(c),d=r(2),h=i(d),f=r(3),m=i(f),b=r(9),y=i(b),v=r(0),g=i(v),w=r(19),C=r(11),A=r(12),k=r(793),S=r(794),z=i(S);r(1170);var L=y.default.getLocaleLabel.bind(void 0,"cowork_mobile"),M={Main:(0,k.asyncComponent)({resolve:function(){return r.e(10).then(r.bind(null,1278))}}),Communication:(0,k.asyncComponent)({resolve:function(){return r.e(8).then(r.bind(null,1274))}}),Approval:(0,k.asyncComponent)({resolve:function(){return r.e(6).then(r.bind(null,1279))}}),Apply:(0,k.asyncComponent)({resolve:function(){return r.e(5).then(r.bind(null,1280))}}),Center:(0,k.asyncComponent)({resolve:function(){return r.e(4).then(r.bind(null,1281))}}),Detail:(0,k.asyncComponent)({resolve:function(){return r.e(9).then(r.bind(null,1273))}}),HrmJoin:(0,k.asyncComponent)({resolve:function(){return r.e(7).then(r.bind(null,1282))}})},P=function(e){function t(){return(0,s.default)(this,t),(0,h.default)(this,(t.__proto__||(0,l.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,p.default)(t,[{key:"onHomePageClick",value:function(){window.location.href="/#/"}},{key:"render",value:function(){var e=this;return g.default.createElement(C.Provider,z.default,g.default.createElement(A.HashRouter,null,g.default.createElement(n.default,{onClick:function(){return e.onHomePageClick()}},g.default.createElement(A.Route,{name:"home",path:"/",onEnter:L,render:function(){return g.default.createElement(M.Main,null,g.default.createElement(A.Switch,null,g.default.createElement(A.Route,{name:"communication",breadcrumbName:"\u534f\u4f5c\u4ea4\u6d41",path:"/communication",component:M.Communication}),g.default.createElement(A.Route,{name:"approval",breadcrumbName:"\u534f\u4f5c\u5ba1\u6279",path:"/approval",component:M.Approval}),g.default.createElement(A.Route,{name:"apply",breadcrumbName:"\u534f\u4f5c\u7533\u8bf7",path:"/apply",component:M.Apply}),g.default.createElement(A.Route,{name:"center",breadcrumbName:"\u4e2a\u4eba\u4e2d\u5fc3",path:"/center",component:M.Center}),g.default.createElement(A.Route,{name:"detail",breadcrumbName:"\u534f\u4f5c\u8be6\u60c5\u9875\u9762",path:"/detail",component:M.Detail}),g.default.createElement(A.Route,{name:"hrmjion",breadcrumbName:"\u5176\u4ed6\u53c2\u4e0e\u4eba\u53c2\u4e0e\u7684\u534f\u4f5c",path:"/hrmjion",component:M.HrmJoin}),g.default.createElement(A.Redirect,{exact:!0,path:"/",to:{pathname:"/communication"}})))}}))))}}]),t}(g.default.Component);y.default.getLocaleLabel("cowork_mobile",function(){(0,w.render)(g.default.createElement(P,null),document.getElementById("root"))})},793:function(e,t,r){"use strict";function i(e){return e&&"object"===typeof e&&"default"in e?e.default:e}function o(e){var t,r,i=e.name,o=e.resolve,n=e.autoResolveES2015Default,p=void 0===n||n,m=e.serverMode,b=void 0===m?"resolve":m,v=e.LoadingComponent,g=e.ErrorComponent;if(-1===y.indexOf(b))throw new Error("Invalid serverMode provided to asyncComponent");var w=["node","browser"].indexOf(e.env)>-1?e.env:"undefined"===typeof window?"node":"browser",C={id:null,module:null,error:null,resolver:null,resolving:!1,asyncComponents:null,asyncComponentsAncestor:null},A=function(){return null==C.module&&null==C.error&&!C.resolving&&"undefined"!==typeof window},k=function(e){return p&&null!=e&&("function"===typeof e||"object"===("undefined"===typeof e?"undefined":u(e)))&&e.default?e.default:e},S=function(){if(null==C.resolver){C.resolving=!0;try{C.resolver=Promise.resolve(o())}catch(e){C.resolver=Promise.reject(e)}}return C.resolver};return r=t=function(e){function t(){return s(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),c(t,[{key:"getChildContext",value:function(){return{asyncComponentsAncestor:null==C.asyncComponents?null:{isBoundary:"boundary"===b}}}},{key:"componentWillMount",value:function(){null!=this.context.asyncComponents&&(C.asyncComponents=this.context.asyncComponents,C.asyncComponentsAncestor=this.context.asyncComponentsAncestor,C.id||(C.id=this.context.asyncComponents.getNextId()))}},{key:"bootstrap",value:function(){var e=this,t=function(){return e.resolveModule().then(function(e){return void 0!==e&&void 0})};if("browser"===w){var r=C.asyncComponents,i=r.shouldRehydrate,o=r.getError,n=o(C.id);return n?(C.error=n,!1):!!i(C.id)&&t()}var a=null!=C.asyncComponentsAncestor&&C.asyncComponentsAncestor.isBoundary;return"defer"!==b&&!a&&t()}},{key:"componentDidMount",value:function(){A()&&this.resolveModule()}},{key:"resolveModule",value:function(){var e=this;return S().then(function(e){return null!=C.asyncComponents&&C.asyncComponents.resolved(C.id),C.module=e,C.error=null,C.resolving=!1,e}).catch(function(e){var t=e.message,r=e.stack,i={message:t,stack:r};null!=C.asyncComponents&&C.asyncComponents.failed(C.id,i),C.error=i,C.resolving=!1,g||console.error(i)}).then(function(t){if(!e.unmounted)return e.context.reactAsyncBootstrapperRunning||"browser"!==w||e.forceUpdate(),t})}},{key:"componentWillUnmount",value:function(){this.unmounted=!0}},{key:"render",value:function(){var e=C.module,t=C.error;if(t)return g?a.createElement(g,d({},this.props,{error:t})):null;var r=k(e);return r?a.createElement(r,this.props):v?a.createElement(v,this.props):null}}]),t}(a.Component),t.displayName=i||"AsyncComponent",t.contextTypes={asyncComponentsAncestor:l.shape({isBoundary:l.bool}),asyncComponents:l.shape({getNextId:l.func.isRequired,resolved:l.func.isRequired,shouldRehydrate:l.func.isRequired})},t.childContextTypes={asyncComponentsAncestor:l.shape({isBoundary:l.bool})},r}Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),a=i(n),l=i(r(16)),u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},c=function(){function e(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}(),p=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},h=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},f=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},m=function(){var e=0,t={},r={};return{getNextId:function(){return e+=1},resolved:function(e){t[e]=!0},failed:function(e,t){r[e]=t},getState:function(){return{resolved:Object.keys(t).reduce(function(e,t){return Object.assign(e,p({},t,!0))},{}),errors:r}}}},b=function(e){function t(){return s(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),c(t,[{key:"componentWillMount",value:function(){this.asyncContext=this.props.asyncContext||m(),this.rehydrateState=this.props.rehydrateState}},{key:"getChildContext",value:function(){var e=this;return{asyncComponents:{getNextId:this.asyncContext.getNextId,resolved:this.asyncContext.resolved,failed:this.asyncContext.failed,shouldRehydrate:function(t){var r=e.rehydrateState.resolved[t];return delete e.rehydrateState.resolved[t],r},getError:function(t){return e.rehydrateState.errors&&e.rehydrateState.errors[t]}}}}},{key:"render",value:function(){return a.Children.only(this.props.children)}}]),t}(n.Component);b.propTypes={children:l.node.isRequired,asyncContext:l.shape({getNextId:l.func.isRequired,resolved:l.func.isRequired,failed:l.func.isRequired,getState:l.func.isRequired}),rehydrateState:l.shape({resolved:l.object})},b.defaultProps={asyncContext:void 0,rehydrateState:{resolved:{}}},b.childContextTypes={asyncComponents:l.shape({getNextId:l.func.isRequired,resolved:l.func.isRequired,failed:l.func.isRequired,shouldRehydrate:l.func.isRequired,getError:l.func.isRequired}).isRequired};var y=["resolve","defer","boundary"];t.AsyncComponentProvider=b,t.createAsyncContext=m,t.asyncComponent=o},794:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var o=r(795),n=i(o),a=r(796),l=i(a),u=r(1158),s=i(u),c=r(1160),p=i(c),d=r(1162),h=i(d),f=r(1169),m=i(f),b={mainStore:new n.default,communicationStore:new l.default,approvalStore:new s.default,applyStore:new p.default,centerStore:new h.default,hrmJoinStore:new m.default};e.exports=b},795:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,i){r&&(0,h.default)(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function n(e,t,r,i,o){var n={};return Object.keys(i).forEach(function(e){n[e]=i[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=r.slice().reverse().reduce(function(r,i){return i(e,t,r)||r},n),o&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(o):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,l,u,s,c,p,d=r(17),h=i(d),f=r(18),m=i(f),b=r(1),y=i(b),v=r(10),g=(a=function e(){(0,y.default)(this,e),o(this,"visible",l,this),o(this,"pathMap",u,this),o(this,"getPath",s,this),o(this,"getKey",c,this),o(this,"setStoreState",p,this)},l=n(a.prototype,"visible",[v.observable],{enumerable:!0,initializer:function(){return!1}}),u=n(a.prototype,"pathMap",[v.observable],{enumerable:!0,initializer:function(){return[{key:"communication",name:"\u534f\u4f5c\u4ea4\u6d41",path:"/communication"},{key:"approval",name:"\u534f\u4f5c\u5ba1\u6279",path:"/approval"},{key:"apply",name:"\u534f\u4f5c\u7533\u8bf7",path:"/apply"},{key:"center",name:"\u4e2a\u4eba\u4e2d\u5fc3",path:"/center"},{key:"detail",name:"\u8be6\u60c5\u9875\u9762",path:"/detail"},{key:"hrmjion",name:"\u5176\u4ed6\u53c2\u4e0e\u4eba\u53c2\u4e0e\u7684\u534f\u4f5c",path:"/hrmjion"}]}}),s=n(a.prototype,"getPath",[v.action],{enumerable:!0,initializer:function(){var e=this;return function(t){return(0,v.toJS)(e.pathMap).filter(function(e){return e.key===t})[0].path}}}),c=n(a.prototype,"getKey",[v.action],{enumerable:!0,initializer:function(){var e=this;return function(t){return"/"!==t&&(0,v.toJS)(e.pathMap).filter(function(e){return t.indexOf(e.path)>-1})[0].key}}}),p=n(a.prototype,"setStoreState",[v.action],{enumerable:!0,initializer:function(){var e=this;return function(t){(0,m.default)(t).forEach(function(r){e[r]=t[r]})}}}),a);t.default=g},796:function(e,t,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r,i){r&&(0,B.default)(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function n(e,t,r,i,o){var n={};return Object.keys(i).forEach(function(e){n[e]=i[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=r.slice().reverse().reduce(function(r,i){return i(e,t,r)||r},n),o&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(o):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,l,u,s,c,p,d,h,f,m,b,y,v,g,w,C,A,k,S,z,L,M,P,I,D,_,R,T,O,E,x,V,j,F,N,q,H,J,G,K=r(17),B=i(K),U=r(54),Q=i(U),W=r(41),$=i(W),X=r(5),Y=i(X),Z=r(309),ee=i(Z),te=r(18),re=i(te),ie=r(22),oe=i(ie),ne=r(1),ae=i(ne),le=r(9),ue=i(le),se=r(10),ce=r(1142),pe=i(ce),de=r(1151),he=i(de),fe=r(1156),me=i(fe),be=r(1157),ye=i(be),ve=ue.default.getLabel,ge={detailList:null,tagLayout:null,activePage:"",path:"",loading:!1,searchValue:"",showCheck:!1,visible:!1,selectedListPageStore:[]},we=[{key:"communication",name:"\u534f\u4f5c\u5217\u8868",jointype:"0"},{key:"join",name:"\u53c2\u4e0e\u7684\u534f\u4f5c",jointype:"6"},{key:"response",name:"\u8d1f\u8d23\u7684\u534f\u4f5c",jointype:"3"},{key:"createCoworkList",name:"\u521b\u5efa\u7684\u534f\u4f5c",jointype:"4"}],Ce=(a=(0,se.action)("\u641c\u7d22 || \u9ad8\u7ea7\u641c\u7d22"),l=(0,se.action)("\u6279\u91cf\u6807\u8bb0"),u=(0,se.action)("\u5168\u9009\u53d6\u6d88"),s=(0,se.action)("\u66f4\u65b0list\u6570\u636e"),c=function e(){(0,ae.default)(this,e),o(this,"createLayout",p,this),o(this,"editLayout",d,this),o(this,"manageLayout",h,this),o(this,"detailLayout",f,this),o(this,"createTagLayout",m,this),o(this,"editTagLayout",b,this),o(this,"parterListLayout",y,this),o(this,"detailStore",v,this),o(this,"parterListStore",g,this),o(this,"tagStore",w,this),o(this,"quitedListStore",C,this),o(this,"tagLayout",A,this),o(this,"loading",k,this),o(this,"path",S,this),o(this,"activePage",z,this),o(this,"detailList",L,this),o(this,"searchValue",M,this),o(this,"visible",P,this),o(this,"showCheck",I,this),o(this,"tagOps",D,this),o(this,"selectedListPageStore",_,this),o(this,"isImportant",R,this),o(this,"tagData",T,this),o(this,"pathMap",O,this),o(this,"getPath",E,this),o(this,"setStoreState",x,this),o(this,"clear",V,this),o(this,"inital",j,this),o(this,"getParams",F,this),o(this,"getCoworkList",N,this),o(this,"onSearch",q,this),o(this,"batchMark",H,this),o(this,"onHideCheck",J,this),o(this,"updateListData",G,this)},p=n(c.prototype,"createLayout",[se.observable],{enumerable:!0,initializer:function(){return new oe.default.Store({route:"/communication",id:"create"})}}),d=n(c.prototype,"editLayout",[se.observable],{enumerable:!0,initializer:function(){return new oe.default.Store({route:"/communication",id:"edit"})}}),h=n(c.prototype,"manageLayout",[se.observable],{enumerable:!0,initializer:function(){return new oe.default.Store({route:"/communication",id:"manage"})}}),f=n(c.prototype,"detailLayout",[se.observable],{enumerable:!0,initializer:function(){return new oe.default.Store({route:"/communication",id:"detail"})}}),m=n(c.prototype,"createTagLayout",[se.observable],{enumerable:!0,initializer:function(){return new oe.default.Store({route:"/communication/tag",id:"createTag"})}}),b=n(c.prototype,"editTagLayout",[se.observable],{enumerable:!0,initializer:function(){return new oe.default.Store({route:"/communication/tag",id:"editTag"})}}),y=n(c.prototype,"parterListLayout",[se.observable],{enumerable:!0,initializer:function(){return new oe.default.Store({route:"/communication",id:"parterList"})}}),v=n(c.prototype,"detailStore",[se.observable],{enumerable:!0,initializer:function(){return new pe.default}}),g=n(c.prototype,"parterListStore",[se.observable],{enumerable:!0,initializer:function(){return new he.default}}),w=n(c.prototype,"tagStore",[se.observable],{enumerable:!0,initializer:function(){return new me.default}}),C=n(c.prototype,"quitedListStore",[se.observable],{enumerable:!0,initializer:function(){return new ye.default}}),A=n(c.prototype,"tagLayout",[se.observable],{enumerable:!0,initializer:function(){return new oe.default.Store({route:"/communication",id:"tag"})}}),k=n(c.prototype,"loading",[se.observable],{enumerable:!0,initializer:function(){return ge.loading}}),S=n(c.prototype,"path",[se.observable],{enumerable:!0,initializer:function(){return ge.path}}),z=n(c.prototype,"activePage",[se.observable],{enumerable:!0,initializer:function(){return ge.activePage}}),L=n(c.prototype,"detailList",[se.observable],{enumerable:!0,initializer:function(){return ge.detailList}}),M=n(c.prototype,"searchValue",[se.observable],{enumerable:!0,initializer:function(){return ge.searchValue}}),P=n(c.prototype,"visible",[se.observable],{enumerable:!0,initializer:function(){return ge.visible}}),I=n(c.prototype,"showCheck",[se.observable],{enumerable:!0,initializer:function(){return ge.showCheck}}),D=n(c.prototype,"tagOps",[se.observable],{enumerable:!0,initializer:function(){return null}}),_=n(c.prototype,"selectedListPageStore",[se.observable],{enumerable:!0,initializer:function(){return ge.selectedListPageStore}}),R=n(c.prototype,"isImportant",[se.observable],{enumerable:!0,initializer:function(){return 0}}),T=n(c.prototype,"tagData",[se.observable],{enumerable:!0,initializer:function(){return""}}),O=n(c.prototype,"pathMap",[se.observable],{enumerable:!0,initializer:function(){return[{key:"createCowork",name:"\u65b0\u5efa\u534f\u4f5c",path:"/communication/createCowork"},{key:"manage",name:"\u6807\u7b7e\u7ba1\u7406",path:"/communication/manage"},{key:"detail",name:"\u76f8\u5173\u4ea4\u6d41",path:"/communication/detail"},{key:"tag",name:"\u6807\u8bb0\u4e3a",path:"/communication/tag"},{key:"createTag",name:"\u65b0\u5efa\u6807\u7b7e",path:"/communication/tag/createTag"},{key:"parterList",name:"\u8bf7\u786e\u8ba4\u534f\u4f5c\u53c2\u4e0e\u8303\u56f4",path:"/communication/parterList"},{key:"addShare",name:"\u6dfb\u52a0\u5206\u4eab",path:"/communication/addShare"}]}}),E=n(c.prototype,"getPath",[se.action],{enumerable:!0,initializer:function(){var e=this;return function(t){return(0,se.toJS)(e.pathMap).filter(function(e){return e.key===t})[0].path}}}),x=n(c.prototype,"setStoreState",[se.action],{enumerable:!0,initializer:function(){var e=this;return function(t){(0,re.default)(t).forEach(function(r){e[r]=t[r]})}}}),V=n(c.prototype,"clear",[se.action],{enumerable:!0,initializer:function(){var e=this;return function(){return e.setStoreState(ge)}}}),j=n(c.prototype,"inital",[se.action],{enumerable:!0,initializer:function(){var e=this;return function(){e.detailList=new ee.default.Store({route:e.path,id:e.activePage})}}}),F=n(c.prototype,"getParams",[se.action],{enumerable:!0,initializer:function(){return function(e){return(0,se.toJS)(we).filter(function(t){return t.key===e})[0].jointype}}}),N=n(c.prototype,"getCoworkList",[se.action],{enumerable:!0,initializer:function(){var e=this;return function(){var t=e.detailList.searchAdvancedStore.form.formParams;t.labelid&&"allTab"===t.labelid?t.type="all":t.labelid&&"1"===t.labelid?t.type="unread":t.labelid&&"2"===t.labelid?t.type="important":t.labelid&&"3"===t.labelid?t.type="hidden":t.labelid&&(t.type="label");var r=(0,Y.default)({type:"all",labelid:"allTab",layout:2,mainid:"",pagesize:30,pageNum:1},t);e.detailList&&e.detailList.getData({url:"/api/cowork/base/getCoworkList",method:"GET",params:r})}}}),q=n(c.prototype,"onSearch",[a],{enumerable:!0,initializer:function(){var e=this;return function(){e.detailList.listViewStore.clearData(),e.getCoworkList()}}}),H=n(c.prototype,"batchMark",[l],{enumerable:!0,initializer:function(){var e=this;return function(t){0===(0,se.toJS)(e.detailList).listViewStore.selectedRowKeys.length?$.default.info(ve(390693,"\u8bf7\u9009\u62e9\u8981\u6807\u8bb0\u7684\u534f\u4f5c"),1):(e.selectedListPageStore=(0,se.toJS)(e.detailList).listViewStore.selectedRowKeys,t&&t())}}}),J=n(c.prototype,"onHideCheck",[u],{enumerable:!0,initializer:function(){var e=this;return function(){e.showCheck=!1,e.detailList.listViewStore.selectNone()}}}),G=n(c.prototype,"updateListData",[s],{enumerable:!0,initializer:function(){var e=this;return function(t,r){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e.detailList){var o=e.detailList.listViewStore,n=o.data,a=o.updateDataSource,l=o.setState,u=[];u=i?(0,se.toJS)(n).filter(function(e){return t.split(",").indexOf(e.id)<0}):(0,se.toJS)(n).map(function(e){return t.split(",").indexOf(e.id)>-1?(0,Y.default)({},e,r):e}),Q.default.all([l({data:u})]).then(function(){e.showCheck=!1,l({selectedRowKeys:[]}),a()})}}}}),c);t.default=Ce}},[740]);
//# sourceMappingURL=main.js.map?v=5098a5ab