main.js 57.1 KB
webpackJsonp([13],{1136:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRequstId=t.saveRegistrationFormData=void 0;var r=o(9),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.saveRegistrationFormData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/offical/receiveDoc/saveRegistrationFormData",method:"POST",params:e})},t.getRequstId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/offical/receiveDoc/createflowByWS",method:"POST",params:e})}},1137:function(e,t,o){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,o,r){o&&(0,C.default)(e,t,{enumerable:o.enumerable,configurable:o.configurable,writable:o.writable,value:o.initializer?o.initializer.call(r):void 0})}function n(e,t,o,r,i){var n={};return Object.keys(r).forEach(function(e){n[e]=r[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=o.slice().reverse().reduce(function(o,r){return r(e,t,o)||o},n),i&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0});var a,u,l,c,s,d,p,f,h,y,b,v,m,g,D,w,T,O=o(17),C=r(O),k=o(35),_=r(k),S=o(48),z=r(S),L=o(1),R=r(L),I=o(4),P=r(I),E=o(11),j=o(1138),M=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}(j),A=(a=E.action.bound,u=E.action.bound,l=E.action.bound,c=E.action.bound,s=E.action.bound,d=E.action.bound,p=E.action.bound,f=function(){function e(){(0,R.default)(this,e),i(this,"libraryList",h,this),i(this,"todoList",y,this),i(this,"tabsData",b,this),i(this,"hotThemeList",v,this),i(this,"officalType",m,this),i(this,"tabs",g,this),i(this,"userId",D,this),i(this,"libraryLoading",w,this),i(this,"todoLoading",T,this)}return(0,P.default)(e,[{key:"getlibraryList",value:function(){var e=this;this.libraryLoading=!0,M.odocLibrary().then(function(t){t.sessionkey&&e.libraryList.getData({dataKey:t.sessionkey,pageSize:5},function(){e.libraryLoading=!1},!0)})}},{key:"getTodoList",value:function(){var e=this;this.todoLoading=!0;var t={officalType:this.officalType};M.getTodoList(t).then(function(t){t.sessionkey&&e.todoList.getData({dataKey:t.sessionkey,pageSize:5},function(){e.todoLoading=!1},!0)})}},{key:"getCenterTab",value:function(){var e=this;M.getCenterTab().then(function(t){t.api_status&&(e.tabsData=t.mobileTab)})}},{key:"getHotTheme",value:function(){var e=this;M.getHotTheme().then(function(t){t.countByTopicType&&(e.hotThemeList=t.countByTopicType.dataList.sort(function(e,t){return t.count-e.count}))})}},{key:"getTodoTabs",value:function(){var e=this,t={isDocCenter:!0};M.getTodoTabs(t).then(function(t){t.datalist&&(e.tabs=e.changeTabData(t.datalist))})}},{key:"changeTabData",value:function(e){return e.map(function(e){e.title=e.title+"("+e.count+")"}),e}},{key:"changeTab",value:function(e){this.officalType=e.officalType,this.getTodoList()}},{key:"getUserId",value:function(){var e=this;M.getUserId().then(function(t){t.api_status&&(e.userId=t.userId)})}}]),e}(),h=n(f.prototype,"libraryList",[E.observable],{enumerable:!0,initializer:function(){return new z.default.Store({route:"/docLabrary"})}}),y=n(f.prototype,"todoList",[E.observable],{enumerable:!0,initializer:function(){return new z.default.Store({route:"/docLabrary"})}}),b=n(f.prototype,"tabsData",[E.observable],{enumerable:!0,initializer:function(){return[]}}),v=n(f.prototype,"hotThemeList",[E.observable],{enumerable:!0,initializer:function(){return[]}}),m=n(f.prototype,"officalType",[E.observable],{enumerable:!0,initializer:function(){return"1"}}),g=n(f.prototype,"tabs",[E.observable],{enumerable:!0,initializer:function(){return[]}}),D=n(f.prototype,"userId",[E.observable],{enumerable:!0,initializer:function(){return""}}),w=n(f.prototype,"libraryLoading",[E.observable],{enumerable:!0,initializer:function(){return!1}}),T=n(f.prototype,"todoLoading",[E.observable],{enumerable:!0,initializer:function(){return!1}}),n(f.prototype,"getlibraryList",[a],(0,_.default)(f.prototype,"getlibraryList"),f.prototype),n(f.prototype,"getTodoList",[u],(0,_.default)(f.prototype,"getTodoList"),f.prototype),n(f.prototype,"getCenterTab",[l],(0,_.default)(f.prototype,"getCenterTab"),f.prototype),n(f.prototype,"getHotTheme",[c],(0,_.default)(f.prototype,"getHotTheme"),f.prototype),n(f.prototype,"getTodoTabs",[s],(0,_.default)(f.prototype,"getTodoTabs"),f.prototype),n(f.prototype,"changeTab",[d],(0,_.default)(f.prototype,"changeTab"),f.prototype),n(f.prototype,"getUserId",[p],(0,_.default)(f.prototype,"getUserId"),f.prototype),f);t.default=A},1138:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUserId=t.getTodoTabs=t.getHotTheme=t.getCenterTab=t.getTodoList=t.odocLibrary=void 0;var r=o(9),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.odocLibrary=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocDoclib/odocLibrary",method:"POST",params:e})},t.getTodoList=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocTodoList/getTodoList",method:"POST",params:e})},t.getCenterTab=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocCenter/odocMobileTab",method:"POST",params:e})},t.getHotTheme=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocCenter/getCountByTopicType",method:"POST",params:e})},t.getTodoTabs=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocTodoList/getTodoCount",method:"POST",params:e})},t.getUserId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocCenter/odocGetUserId",method:"POST",params:e})}},1139:function(e,t,o){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,o,r){o&&(0,w.default)(e,t,{enumerable:o.enumerable,configurable:o.configurable,writable:o.writable,value:o.initializer?o.initializer.call(r):void 0})}function n(e,t,o,r,i){var n={};return Object.keys(r).forEach(function(e){n[e]=r[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=o.slice().reverse().reduce(function(o,r){return r(e,t,o)||o},n),i&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0});var a,u,l,c,s,d,p,f,h,y,b,v,m,g,D=o(17),w=r(D),T=o(62),O=r(T),C=o(9),k=r(C),_=o(74),S=r(_),z=o(35),L=r(z),R=o(5),I=r(R),P=o(76),E=r(P),j=o(1),M=r(j),A=o(4),x=r(A),F=o(11),U=(a=F.action.bound,u=F.action.bound,l=F.action.bound,c=F.action.bound,s=F.action.bound,d=F.action.bound,p=F.action.bound,f=function(){function e(){(0,M.default)(this,e),i(this,"search",h,this),i(this,"searchAdValue",y,this),i(this,"url",b,this),i(this,"searchHotTerm",v,this),i(this,"updateAdSearchSubject",m,this),i(this,"getData",g,this)}return(0,x.default)(e,[{key:"setSearchPath",value:function(e){this.search=new E.default.Store({route:e})}},{key:"getSearchCondition",value:function(e){var t=(0,I.default)({url:"",method:"POST",params:{}},e);this.getData(t)}},{key:"searchFormReset",value:function(){this.searchAdValue="",this.search.form.resetFields()}},{key:"searchFormChange",value:function(e,t,o){e.domkey[0]===o&&(this.searchAdValue=t),this.search.form.updateField(e.domkey[0],t)}},{key:"setSearchValue",value:function(e){this.searchAdValue=e}}]),e}(),h=n(f.prototype,"search",[F.observable],{enumerable:!0,initializer:function(){return new E.default.Store({route:""})}}),y=n(f.prototype,"searchAdValue",[F.observable],{enumerable:!0,initializer:function(){return""}}),b=n(f.prototype,"url",[F.observable],{enumerable:!0,initializer:function(){return""}}),v=n(f.prototype,"searchHotTerm",[F.observable],{enumerable:!0,initializer:function(){return{}}}),n(f.prototype,"setSearchPath",[a],(0,L.default)(f.prototype,"setSearchPath"),f.prototype),n(f.prototype,"getSearchCondition",[u],(0,L.default)(f.prototype,"getSearchCondition"),f.prototype),m=n(f.prototype,"updateAdSearchSubject",[l],{enumerable:!0,initializer:function(){var e=this;return function(t,o){e.searchAdValue=t,e.search.form.updateField(o,t)}}}),n(f.prototype,"searchFormReset",[c],(0,L.default)(f.prototype,"searchFormReset"),f.prototype),n(f.prototype,"searchFormChange",[s],(0,L.default)(f.prototype,"searchFormChange"),f.prototype),n(f.prototype,"setSearchValue",[d],(0,L.default)(f.prototype,"setSearchValue"),f.prototype),g=n(f.prototype,"getData",[p],{enumerable:!0,initializer:function(){var e=this;return function(t){return new S.default(function(o,r){try{k.default.callApi(t).then((0,F.action)(function(t){var r=t[e.responseKey]||t.conditions||t.condition;r[0].searchHotTerm&&(e.searchHotTerm=r[0].searchHotTerm),e.search.form.initForm(r,e.search.path),e.search.conditions=r,o(e.search.form)}))}catch(e){r(e),O.default.info(e,1)}})}}}),f);t.default=U},1140:function(e,t,o){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,o,r){o&&(0,g.default)(e,t,{enumerable:o.enumerable,configurable:o.configurable,writable:o.writable,value:o.initializer?o.initializer.call(r):void 0})}function n(e,t,o,r,i){var n={};return Object.keys(r).forEach(function(e){n[e]=r[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=o.slice().reverse().reduce(function(o,r){return r(e,t,o)||o},n),i&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0});var a,u,l,c,s,d,p,f,h,y,b,v,m=o(17),g=r(m),D=o(35),w=r(D),T=o(48),O=r(T),C=o(5),k=r(C),_=o(1),S=r(_),z=o(4),L=r(z),R=o(11),I=o(1141),P=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}(I),E=(a=R.action.bound,u=R.action.bound,l=R.action.bound,c=R.action.bound,s=R.action.bound,d=function(){function e(){(0,S.default)(this,e),i(this,"list",p,this),i(this,"tabs",f,this),i(this,"officalType",h,this),i(this,"dropDown",y,this),i(this,"loading",b,this),i(this,"userId",v,this)}return(0,L.default)(e,[{key:"getList",value:function(e){var t=this;this.loading=!0;var o=(0,k.default)({officalType:this.officalType},e);P.getList(o).then(function(e){t.list.getData({dataKey:e.sessionkey},function(){t.loading=!1},!0)})}},{key:"getTabs",value:function(){var e=this;P.getTabs().then(function(t){t.datalist&&(e.tabs=e.changeTabData(t.datalist))})}},{key:"changeTabData",value:function(e){return e.map(function(e){"0"!=e.officalType?e.title=e.title+"("+e.count+")":e.title=""+e.title}),e}},{key:"changeTab",value:function(e){this.officalType=e.officalType,this.getList()}},{key:"setOfficalType",value:function(e){this.officalType=e}},{key:"getUserId",value:function(){var e=this;P.getUserId().then(function(t){t.api_status&&(e.userId=t.userId)})}}]),e}(),p=n(d.prototype,"list",[R.observable],{enumerable:!0,initializer:function(){return new O.default.Store({route:"/docToDo"})}}),f=n(d.prototype,"tabs",[R.observable],{enumerable:!0,initializer:function(){return[]}}),h=n(d.prototype,"officalType",[R.observable],{enumerable:!0,initializer:function(){return"0"}}),y=n(d.prototype,"dropDown",[R.observable],{enumerable:!0,initializer:function(){return!1}}),b=n(d.prototype,"loading",[R.observable],{enumerable:!0,initializer:function(){return!1}}),v=n(d.prototype,"userId",[R.observable],{enumerable:!0,initializer:function(){return""}}),n(d.prototype,"getList",[a],(0,w.default)(d.prototype,"getList"),d.prototype),n(d.prototype,"getTabs",[u],(0,w.default)(d.prototype,"getTabs"),d.prototype),n(d.prototype,"changeTab",[l],(0,w.default)(d.prototype,"changeTab"),d.prototype),n(d.prototype,"setOfficalType",[c],(0,w.default)(d.prototype,"setOfficalType"),d.prototype),n(d.prototype,"getUserId",[s],(0,w.default)(d.prototype,"getUserId"),d.prototype),d);t.default=E},1141:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUserId=t.getTabs=t.getList=void 0;var r=o(9),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.getList=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocTodoList/getTodoList",method:"POST",params:e})},t.getTabs=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocTodoList/getTodoCount",method:"POST",params:e})},t.getUserId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocCenter/odocGetUserId",method:"POST",params:e})}},1142:function(e,t,o){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,o,r){o&&(0,k.default)(e,t,{enumerable:o.enumerable,configurable:o.configurable,writable:o.writable,value:o.initializer?o.initializer.call(r):void 0})}function n(e,t,o,r,i){var n={};return Object.keys(r).forEach(function(e){n[e]=r[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=o.slice().reverse().reduce(function(o,r){return r(e,t,o)||o},n),i&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0});var a,u,l,c,s,d,p,f,h,y,b,v,m,g,D,w,T,O,C=o(17),k=r(C),_=o(27),S=r(_),z=o(35),L=r(z),R=o(48),I=r(R),P=o(5),E=r(P),j=o(1),M=r(j),A=o(4),x=r(A),F=o(11),U=o(1143),K=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}(U),V=(a=F.action.bound,u=F.action.bound,l=F.action.bound,c=F.action.bound,s=F.action.bound,d=F.action.bound,p=F.action.bound,f=F.action.bound,h=F.action.bound,y=function(){function e(){(0,M.default)(this,e),i(this,"drawerOpen",b,this),i(this,"selected",v,this),i(this,"selectedItem",m,this),i(this,"list",g,this),i(this,"tabs",D,this),i(this,"number",w,this),i(this,"loading",T,this),this.formData={odocSubject:"",odoctype:"",topictype:"",odocTopicType:"",dispatchnum:"",writtendateselect:"0",readstatus:""},i(this,"setState",O,this)}return(0,x.default)(e,[{key:"showDrawer",value:function(){this.drawerOpen=!0}},{key:"onOpenChange",value:function(){this.drawerOpen=!1;var e={odocType:this.selectedItem.join(",")};this.getList(e)}},{key:"itemSelected",value:function(e){var t=this;e.preventDefault(),e.stopPropagation();var o=e.currentTarget.getAttribute("data-id");this.selectedItem=[],this.selectedItem.push(o),this.tabs.map(function(e,r){e.id==o&&(t.number=r)}),this.onOpenChange()}},{key:"getList",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.loading=!0;var r=(0,E.default)({},this.formData,t);K.getList(r).then(function(i){i.sessionkey&&(e.formData=r,o&&(e.number=0,e.selectedItem=[],t.odocType&&(e.formData.odocType="")),e.list.getData({dataKey:i.sessionkey},function(){e.loading=!1},!0))})}},{key:"getTabs",value:function(){var e=this;K.getTabs().then(function(t){t.countByOdocType&&(t.countByOdocType.dataList.unshift({count:0,id:"more",odoctype:"more",showname:"\u5168\u90e8"}),e.tabs=e.changeTabs(t.countByOdocType.dataList,t.totalCount))})}},{key:"getTabKey",value:function(e){var t=this;this.selected=e,this.tabs.map(function(o,r){o.id==e&&(t.number=r)})}},{key:"tabClick",value:function(e){this.selected=e.id;var t={};t="more"!=e.id?{odocType:e.id}:{odocType:""},this.getList(t),this.changeTabs(this.tabs)}},{key:"changeTabs",value:function(e){var t=this;return e.map(function(e,o){e.title=e.showname,e.id===t.selected&&(t.number=o)}),e}},{key:"initData",value:function(){this.number=0,this.selectedItem=[],this.formData={odocSubject:"",odoctype:"",topictype:"",odocTopicType:"",dispatchnum:"",writtendateselect:"0",readstatus:""}}}]),e}(),b=n(y.prototype,"drawerOpen",[F.observable],{enumerable:!0,initializer:function(){return!1}}),v=n(y.prototype,"selected",[F.observable],{enumerable:!0,initializer:function(){return""}}),m=n(y.prototype,"selectedItem",[F.observable],{enumerable:!0,initializer:function(){return[]}}),g=n(y.prototype,"list",[F.observable],{enumerable:!0,initializer:function(){return new I.default.Store({route:"/docLabrary"})}}),D=n(y.prototype,"tabs",[F.observable],{enumerable:!0,initializer:function(){return[]}}),w=n(y.prototype,"number",[F.observable],{enumerable:!0,initializer:function(){return 0}}),T=n(y.prototype,"loading",[F.observable],{enumerable:!0,initializer:function(){return!1}}),n(y.prototype,"showDrawer",[a],(0,L.default)(y.prototype,"showDrawer"),y.prototype),O=n(y.prototype,"setState",[F.action],{enumerable:!0,initializer:function(){var e=this;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,S.default)(t).forEach(function(o){e[o]=t[o]})}}}),n(y.prototype,"onOpenChange",[u],(0,L.default)(y.prototype,"onOpenChange"),y.prototype),n(y.prototype,"itemSelected",[l],(0,L.default)(y.prototype,"itemSelected"),y.prototype),n(y.prototype,"getList",[c],(0,L.default)(y.prototype,"getList"),y.prototype),n(y.prototype,"getTabs",[s],(0,L.default)(y.prototype,"getTabs"),y.prototype),n(y.prototype,"getTabKey",[d],(0,L.default)(y.prototype,"getTabKey"),y.prototype),n(y.prototype,"tabClick",[p],(0,L.default)(y.prototype,"tabClick"),y.prototype),n(y.prototype,"changeTabs",[f],(0,L.default)(y.prototype,"changeTabs"),y.prototype),n(y.prototype,"initData",[h],(0,L.default)(y.prototype,"initData"),y.prototype),y);t.default=V},1143:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTabs=t.getList=void 0;var r=o(9),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.getList=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocDoclib/odocLibrary",method:"POST",params:e})},t.getTabs=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocCenter/getCountByOdocType",method:"POST",params:e})}},1144:function(e,t,o){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,o,r){o&&(0,y.default)(e,t,{enumerable:o.enumerable,configurable:o.configurable,writable:o.writable,value:o.initializer?o.initializer.call(r):void 0})}function n(e,t,o,r,i){var n={};return Object.keys(r).forEach(function(e){n[e]=r[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=o.slice().reverse().reduce(function(o,r){return r(e,t,o)||o},n),i&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(i):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,u,l,c,s,d,p,f,h=o(17),y=r(h),b=o(35),v=r(b),m=o(21),g=r(m),D=o(48),w=r(D),T=o(39),O=r(T),C=o(5),k=r(C),_=o(1),S=r(_),z=o(4),L=r(z),R=o(11),I=o(1145),P=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}(I),E=(a=R.action.bound,u=R.action.bound,l=R.action.bound,c=function(){function e(){(0,S.default)(this,e),i(this,"list",s,this),i(this,"layout",d,this),i(this,"userId",p,this),i(this,"loading",f,this)}return(0,L.default)(e,[{key:"getData",value:function(e){var t=this;this.loading=!0;var o=(0,k.default)({},e);P.getList(o).then(function(e){e.sessionkey&&t.list.getData({dataKey:e.sessionkey},function(){t.loading=!1},!0)})}},{key:"getFormData",value:function(e,t){for(var o in e)if("string"==typeof e[o])t[o]=e[o];else if("object"==(0,O.default)(e[o]))if(e[o].length){var r=[];for(var i in(0,R.toJS)(e[o]))r.push(e[o][i].id);t[o]=r.join(",")}else this.getFormData(e[o],t)}},{key:"getUserId",value:function(){var e=this;P.getUserId().then(function(t){t.api_status&&(e.userId=t.userId)})}}]),e}(),s=n(c.prototype,"list",[R.observable],{enumerable:!0,initializer:function(){return new w.default.Store({route:"/docLedger"})}}),d=n(c.prototype,"layout",[R.observable],{enumerable:!0,initializer:function(){return new g.default.Store({route:"/docLedger",id:"recDocDetail"})}}),p=n(c.prototype,"userId",[R.observable],{enumerable:!0,initializer:function(){return""}}),f=n(c.prototype,"loading",[R.observable],{enumerable:!0,initializer:function(){return!1}}),n(c.prototype,"getData",[a],(0,v.default)(c.prototype,"getData"),c.prototype),n(c.prototype,"getFormData",[u],(0,v.default)(c.prototype,"getFormData"),c.prototype),n(c.prototype,"getUserId",[l],(0,v.default)(c.prototype,"getUserId"),c.prototype),c);t.default=E},1145:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUserId=t.getList=void 0;var r=o(9),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.getList=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocAccountList/getAccountList",method:"POST",params:e})},t.getUserId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocCenter/odocGetUserId",method:"POST",params:e})}},1146:function(e,t,o){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,o,r){o&&(0,K.default)(e,t,{enumerable:o.enumerable,configurable:o.configurable,writable:o.writable,value:o.initializer?o.initializer.call(r):void 0})}function n(e,t,o,r,i){var n={};return Object.keys(r).forEach(function(e){n[e]=r[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=o.slice().reverse().reduce(function(o,r){return r(e,t,o)||o},n),i&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0});var a,u,l,c,s,d,p,f,h,y,b,v,m,g,D,w,T,O,C,k,_,S,z,L,R,I,P,E,j,M,A,x,F,U=o(17),K=r(U),V=o(35),q=r(V),N=o(21),B=r(N),W=o(76),H=r(W),G=o(39),J=r(G),Q=o(473),X=r(Q),$=o(5),Y=r($),Z=o(1),ee=r(Z),te=o(4),oe=r(te),re=o(11),ie=o(1151),ne=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}(ie),ae=(a=re.action.bound,u=re.action.bound,l=re.action.bound,c=re.action.bound,s=re.action.bound,d=re.action.bound,p=re.action.bound,f=re.action.bound,h=re.action.bound,y=re.action.bound,b=re.action.bound,v=re.action.bound,m=re.action.bound,g=re.action.bound,D=re.action.bound,w=re.action.bound,T=function(){function e(){(0,ee.default)(this,e),i(this,"flowCountData",O,this),i(this,"flowEchart1",C,this),i(this,"flowEchart2",k,this),i(this,"search",_,this),i(this,"docCountSearch",S,this),i(this,"detailLayout",z,this),i(this,"moreLayout",L,this),i(this,"tabKey",R,this),i(this,"docEchart1",I,this),i(this,"docEchart2",P,this),i(this,"docEchart3",E,this),i(this,"workflowFormData",j,this),i(this,"detailData",M,this),i(this,"showLinkEchart",A,this),i(this,"docCountData",x,this),i(this,"loading",F,this)}return(0,oe.default)(e,[{key:"changeTab",value:function(e){this.tabKey=e.key,"workflowCount"==e.key?(this.getOdocReportCountData(),this.getOdocReportEchartData()):(this.getOdocDocReportEchartData(),this.getDocCount())}},{key:"getCondition",value:function(){this.search.getData({url:"/api/odoc/odocReport/getOdocReportSearchConditionMobile",method:"POST"})}},{key:"changeWorkflowStatus",value:function(e){this.workflowStatus=e}},{key:"getOdocReportCountData",value:function(){var e=this;this.loading=!0;var t=(0,Y.default)({},this.workflowFormData);ne.getOdocReportCountData(t).then(function(t){e.loading=!1,t.countData&&(e.flowCountData=t.countData)})}},{key:"getOdocReportEchartData",value:function(){var e=this;this.loading=!0;var t=(0,Y.default)({},this.workflowFormData);ne.getOdocReportEchartData(t).then(function(t){e.loading=!1,t.title&&(e.getWorkflowSeries(t),e.flowEchart1=t,e.flowEchart2=e.getDocTypeSeries(t.echart2,t.echart2title,"linkCount","x"))})}},{key:"getOdocDocReportEchartData",value:function(){var e=this;this.loading=!0;var t=(0,Y.default)({},this.docCountData);ne.getOdocDocReportEchartData(t).then(function(t){e.loading=!1,t.echart1title&&(e.docEchart1=e.getDocTypeSeries(t.echart1,t.echart1title,"echart1"),e.docEchart2=e.getDocTypeSeries(t.echart2,t.echart2title,"echart2"),e.docEchart3=e.getDocMonthCount(t.echart3,"echart3"))})}},{key:"getWorkflowSeries",value:function(e){var t=[],o=[],r=[],i=[],n=[];e.flowReqData.map(function(e,t){r[t]=(0,X.default)(e.value),i[t]=e.key}),e.endReqData.map(function(e,t){o[t]=(0,X.default)(e.value),n[t]=e.key}),e.legend.forEach(function(a,u){if("\u6d41\u8f6c\u4e2d"==e.legend[u]){var l={type:"bar",name:e.legend[u],data:r,stack:"1",status:2,dataKey:i,barCategoryGap:"80%",itemStyle:{color:"#F67C4C"},id:"flowing"};t.push(l)}if("\u5f52\u6863"==e.legend[u]){var c={type:"bar",name:e.legend[u],data:o,stack:"1",status:1,dataKey:n,barCategoryGap:"60%",itemStyle:{color:"#D65DF4"},id:"end"};t.push(c)}}),e.series=t}},{key:"getDocTypeSeries",value:function(e,t,o){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"y",i=[],n=[],a=[],u={};return e.map(function(e){i.push(e.title),n.push((0,X.default)(e.value)),a.push(e.key)}),u.seriesData=n,"y"==r?u.yAxisData=i:"x"==r&&(u.xAxisData=i),u.title=t,u.id=o,u.dataKey=a,u}},{key:"getDocMonthCount",value:function(e,t){var o=[],r={},i=[];return e.datas.map(function(e){o.push((0,X.default)(e.value)),i.push(e.key)}),r.title=e.title,r.seriesData=o,r.xAxisData=e.xAxisData,r.id=t,r.dataKey=i,r}},{key:"setFormData",value:function(e){this.workflowFormData=e}},{key:"setDetailData",value:function(e,t){this.detailData=(0,Y.default)({},this.workflowFormData,{status:e,echartKey:t})}},{key:"setDocCountData",value:function(e){this.docCountData=(0,Y.default)({},this.docCountData,{echartKey:e})}},{key:"submit",value:function(){this.getFormData((0,re.toJS)(this.search.form.formParams),this.workflowFormData),this.getOdocReportCountData(),this.getOdocReportEchartData()}},{key:"docCountSubmit",value:function(){this.getFormData((0,re.toJS)(this.docCountSearch.form.formParams),this.docCountData),this.getOdocDocReportEchartData()}},{key:"setOrgid",value:function(e){this.workflowFormData.orgid=e,this.detailData.orgid=e,this.docCountData.orgid=e}},{key:"getFormData",value:function(e,t){for(var o in e)if("string"==typeof e[o])t[o]=e[o];else if("object"==(0,J.default)(e[o]))if(e[o].length){var r=[];for(var i in(0,re.toJS)(e[o]))r.push(e[o][i].id);t[o]=r.join(",")}else this.getFormData(e[o],t)}},{key:"getDocCount",value:function(){this.docCountSearch.getData({url:"/api/odoc/odocDocReport/getOdocDocReportSearchConditionMobile",method:"POST"})}},{key:"getUserId",value:function(){var e=this;ne.getUserId().then(function(t){t.api_status&&(e.setOrgid(t.userDepartmentid),e.getOdocReportCountData(),e.getOdocReportEchartData())})}},{key:"setTabKey",value:function(e){this.tabKey=e}}]),e}(),O=n(T.prototype,"flowCountData",[re.observable],{enumerable:!0,initializer:function(){return[]}}),C=n(T.prototype,"flowEchart1",[re.observable],{enumerable:!0,initializer:function(){return{}}}),k=n(T.prototype,"flowEchart2",[re.observable],{enumerable:!0,initializer:function(){return{}}}),_=n(T.prototype,"search",[re.observable],{enumerable:!0,initializer:function(){return new H.default.Store({route:"/docReport",id:"workflowSearch"})}}),S=n(T.prototype,"docCountSearch",[re.observable],{enumerable:!0,initializer:function(){return new H.default.Store({route:"/docReport",id:"docSearch"})}}),z=n(T.prototype,"detailLayout",[re.observable],{enumerable:!0,initializer:function(){return new B.default.Store({route:"/docReport",id:"datail"})}}),L=n(T.prototype,"moreLayout",[re.observable],{enumerable:!0,initializer:function(){return new B.default.Store({route:"/docReport"})}}),R=n(T.prototype,"tabKey",[re.observable],{enumerable:!0,initializer:function(){return"workflowCount"}}),I=n(T.prototype,"docEchart1",[re.observable],{enumerable:!0,initializer:function(){return{}}}),P=n(T.prototype,"docEchart2",[re.observable],{enumerable:!0,initializer:function(){return{}}}),E=n(T.prototype,"docEchart3",[re.observable],{enumerable:!0,initializer:function(){return{}}}),j=n(T.prototype,"workflowFormData",[re.observable],{enumerable:!0,initializer:function(){return{dateType:"3",orgtype:"2",officaltype:"",orgid:""}}}),M=n(T.prototype,"detailData",[re.observable],{enumerable:!0,initializer:function(){return{}}}),A=n(T.prototype,"showLinkEchart",[re.observable],{enumerable:!0,initializer:function(){return!1}}),x=n(T.prototype,"docCountData",[re.observable],{enumerable:!0,initializer:function(){return{dateType:"3",orgtype:"2",echartKey:"",orgid:""}}}),F=n(T.prototype,"loading",[re.observable],{enumerable:!0,initializer:function(){return!1}}),n(T.prototype,"changeTab",[a],(0,q.default)(T.prototype,"changeTab"),T.prototype),n(T.prototype,"getCondition",[u],(0,q.default)(T.prototype,"getCondition"),T.prototype),n(T.prototype,"changeWorkflowStatus",[l],(0,q.default)(T.prototype,"changeWorkflowStatus"),T.prototype),n(T.prototype,"getOdocReportCountData",[c],(0,q.default)(T.prototype,"getOdocReportCountData"),T.prototype),n(T.prototype,"getOdocReportEchartData",[s],(0,q.default)(T.prototype,"getOdocReportEchartData"),T.prototype),n(T.prototype,"getOdocDocReportEchartData",[d],(0,q.default)(T.prototype,"getOdocDocReportEchartData"),T.prototype),n(T.prototype,"setFormData",[p],(0,q.default)(T.prototype,"setFormData"),T.prototype),n(T.prototype,"setDetailData",[f],(0,q.default)(T.prototype,"setDetailData"),T.prototype),n(T.prototype,"setDocCountData",[h],(0,q.default)(T.prototype,"setDocCountData"),T.prototype),n(T.prototype,"submit",[y],(0,q.default)(T.prototype,"submit"),T.prototype),n(T.prototype,"docCountSubmit",[b],(0,q.default)(T.prototype,"docCountSubmit"),T.prototype),n(T.prototype,"setOrgid",[v],(0,q.default)(T.prototype,"setOrgid"),T.prototype),n(T.prototype,"getFormData",[m],(0,q.default)(T.prototype,"getFormData"),T.prototype),n(T.prototype,"getDocCount",[g],(0,q.default)(T.prototype,"getDocCount"),T.prototype),n(T.prototype,"getUserId",[D],(0,q.default)(T.prototype,"getUserId"),T.prototype),n(T.prototype,"setTabKey",[w],(0,q.default)(T.prototype,"setTabKey"),T.prototype),T);t.default=ae},1147:function(e,t,o){o(1148),e.exports=o(32).Number.parseInt},1148:function(e,t,o){var r=o(47),i=o(1149);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},1149:function(e,t,o){var r=o(41).parseInt,i=o(1150).trim,n=o(455),a=/^[-+]?0[xX]/;e.exports=8!==r(n+"08")||22!==r(n+"0x16")?function(e,t){var o=i(String(e),3);return r(o,t>>>0||(a.test(o)?16:10))}:r},1150:function(e,t,o){var r=o(47),i=o(172),n=o(109),a=o(455),u="["+a+"]",l="\u200b\x85",c=RegExp("^"+u+u+"*"),s=RegExp(u+u+"*$"),d=function(e,t,o){var i={},u=n(function(){return!!a[e]()||l[e]()!=l}),c=i[e]=u?t(p):a[e];o&&(i[o]=c),r(r.P+r.F*u,"String",i)},p=d.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(s,"")),e};e.exports=d},1151:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUserId=t.getOdocReportSearchCondition=t.getOdocReportEchartDetailList=t.getOdocDocReportEchartData=t.getOdocReportEchartData=t.getOdocReportCountData=void 0;var r=o(9),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.getOdocReportCountData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocReport/getOdocReportCountData",method:"POST",params:e})},t.getOdocReportEchartData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocReport/getOdocReportEchartData",method:"POST",params:e})},t.getOdocDocReportEchartData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocDocReport/getOdocDocReportEchartData",method:"POST",params:e})},t.getOdocReportEchartDetailList=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocReport/getOdocReportEchartDetailList",method:"POST",params:e})},t.getOdocReportSearchCondition=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocReport/getOdocReportSearchConditionMobile",method:"POST",params:e})},t.getUserId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocCenter/odocGetUserId",method:"POST",params:e})}},1152:function(e,t,o){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,o,r){o&&(0,h.default)(e,t,{enumerable:o.enumerable,configurable:o.configurable,writable:o.writable,value:o.initializer?o.initializer.call(r):void 0})}function n(e,t,o,r,i){var n={};return Object.keys(r).forEach(function(e){n[e]=r[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=o.slice().reverse().reduce(function(o,r){return r(e,t,o)||o},n),i&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(i):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,u,l,c,s,d,p,f=o(17),h=r(f),y=o(35),b=r(y),v=o(202),m=r(v),g=o(1),D=r(g),w=o(4),T=r(w),O=o(11),C=o(1156),k=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}(C),_=(a=O.action.bound,u=O.action.bound,l=O.action.bound,c=function(){function e(){(0,D.default)(this,e),i(this,"listAd",s,this),i(this,"userId",d,this),i(this,"seriesId",p,this)}return(0,T.default)(e,[{key:"setSeriesId",value:function(e){this.seriesId=e}},{key:"setListStorePath",value:function(e){this.listAd=new m.default.Store({route:e})}},{key:"getUserId",value:function(){var e=this;k.getUserId().then(function(t){t.api_status&&(e.userId=t.userId)})}}]),e}(),s=n(c.prototype,"listAd",[O.observable],{enumerable:!0,initializer:function(){return new m.default.Store({route:"",id:"demo0"})}}),d=n(c.prototype,"userId",[O.observable],{enumerable:!0,initializer:function(){return""}}),p=n(c.prototype,"seriesId",[O.observable],{enumerable:!0,initializer:function(){return""}}),n(c.prototype,"setSeriesId",[a],(0,b.default)(c.prototype,"setSeriesId"),c.prototype),n(c.prototype,"setListStorePath",[u],(0,b.default)(c.prototype,"setListStorePath"),c.prototype),n(c.prototype,"getUserId",[l],(0,b.default)(c.prototype,"getUserId"),c.prototype),c);t.default=_},1156:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUserId=void 0;var r=o(9),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.getUserId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocCenter/odocGetUserId",method:"POST",params:e})}},1157:function(e,t,o){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,o,r){o&&(0,s.default)(e,t,{enumerable:o.enumerable,configurable:o.configurable,writable:o.writable,value:o.initializer?o.initializer.call(r):void 0})}function n(e,t,o,r,i){var n={};return Object.keys(r).forEach(function(e){n[e]=r[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=o.slice().reverse().reduce(function(o,r){return r(e,t,o)||o},n),i&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0});var a,u,l,c=o(17),s=r(c),d=o(35),p=r(d),f=o(48),h=r(f),y=o(5),b=r(y),v=o(1),m=r(v),g=o(4),D=r(g),w=o(11),T=o(1158),O=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}(T),C=(a=w.action.bound,u=function(){function e(){(0,m.default)(this,e),i(this,"list",l,this)}return(0,D.default)(e,[{key:"getList",value:function(e){var t=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments[2],i=(0,b.default)({},e,{name:o,analyseType:r});r&&delete i.echartKey,1==r||2==r||3==r?O.getOdocDocReportEchartDetailList(i).then(function(e){e.sessionkey&&t.list.getData({dataKey:e.sessionkey},void 0,!0)}):O.getOdocReportEchartDetailList(i).then(function(e){e.sessionkey&&t.list.getData({dataKey:e.sessionkey},void 0,!0)})}}]),e}(),l=n(u.prototype,"list",[w.observable],{enumerable:!0,initializer:function(){return new h.default.Store({route:"/docReport"})}}),n(u.prototype,"getList",[a],(0,p.default)(u.prototype,"getList"),u.prototype),u);t.default=C},1158:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getOdocDocReportEchartDetailList=t.getOdocReportEchartDetailList=void 0;var r=o(9),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.getOdocReportEchartDetailList=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocReport/getOdocReportEchartDetailList",method:"POST",params:e})},t.getOdocDocReportEchartDetailList=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/odoc/odocDocReport/getOdocDocReportEchartDetailList",method:"POST",params:e})}},1159:function(e,t,o){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,o,r){o&&(0,C.default)(e,t,{enumerable:o.enumerable,configurable:o.configurable,writable:o.writable,value:o.initializer?o.initializer.call(r):void 0})}function n(e,t,o,r,i){var n={};return Object.keys(r).forEach(function(e){n[e]=r[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=o.slice().reverse().reduce(function(o,r){return r(e,t,o)||o},n),i&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0});var a,u,l,c,s,d,p,f,h,y,b,v,m,g,D,w,T,O=o(17),C=r(O),k=o(35),_=r(k),S=o(49),z=r(S),L=o(202),R=r(L),I=o(62),P=r(I),E=o(5),j=r(E),M=o(1),A=r(M),x=o(4),F=r(x),U=o(9),K=r(U),V=o(11),q=o(1160),N=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}(q),B=K.default.getLabel,W=(a=V.action.bound,u=V.action.bound,l=V.action.bound,c=V.action.bound,s=V.action.bound,d=V.action.bound,p=V.action.bound,f=V.action.bound,h=function(){function e(){var t=this;(0,A.default)(this,e),i(this,"listAd",y,this),i(this,"browser",b,this),i(this,"browserValue",v,this),i(this,"identifier",m,this),i(this,"resendDocId",g,this),i(this,"receiveComanyId",D,this),i(this,"showCheck",w,this),i(this,"popoverVisible",T,this),this.getListData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{url:"",params:{}};try{K.default.callApi((0,j.default)({},e,{params:(0,j.default)({},e.params)})).then((0,V.action)(function(e){var o=e[t.responseKey]||e.datas||e.sessionkey;t.listAd.listViewStore.getData({dataKey:o},void 0,!0)}))}catch(e){P.default.info(e,1)}return t}}return(0,F.default)(e,[{key:"getData",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t={entityName:e,documentId:this.identifier};this.listAd.listViewStore.clearData(),this.getListData({url:"/api/offical/sendDoc/getWebAddresseeList",method:"POST",params:t})}},{key:"setShowCheck",value:function(){this.showCheck=!this.showCheck}},{key:"setIdentifier",value:function(e){this.identifier=e}},{key:"setPopoverVisible",value:function(e){this.popoverVisible=e}},{key:"setResendDocId",value:function(e){this.resendDocId=e}},{key:"setReceiveCompanyId",value:function(e){this.receiveComanyId=e}},{key:"repeal",value:function(e,t){var o=this,r={ids:t,receiverDepartments:this.receiveComanyId,status:"4",detail:e};N.revokedDoc(r).then(function(e){e.api_status?(o.getData(),P.default.success(e.api_message,1)):P.default.fail(e.api_message,1)})}},{key:"resend",value:function(e){var t=this,o={receiverDepartments:e,ids:this.resendDocId,status:"0"};N.resendDoc(o).then(function(e){e.api_status?(t.getData(),P.default.success(B("27564","\u53d1\u9001\u6210\u529f"),1)):P.default.fail(e.api_message,1)})}}]),e}(),y=n(h.prototype,"listAd",[V.observable],{enumerable:!0,initializer:function(){return new R.default.Store({route:"/docLedger/recDocDetail",id:"demo0"})}}),b=n(h.prototype,"browser",[V.observable],{enumerable:!0,initializer:function(){return new z.default.Store({route:"/docLedger/recDocDetail",id:"search-history"})}}),v=n(h.prototype,"browserValue",[V.observable],{enumerable:!0,initializer:function(){return[]}}),m=n(h.prototype,"identifier",[V.observable],{enumerable:!0,initializer:function(){return""}}),g=n(h.prototype,"resendDocId",[V.observable],{enumerable:!0,initializer:function(){return""}}),D=n(h.prototype,"receiveComanyId",[V.observable],{enumerable:!0,initializer:function(){return""}}),w=n(h.prototype,"showCheck",[V.observable],{enumerable:!0,initializer:function(){return!1}}),T=n(h.prototype,"popoverVisible",[V.observable],{enumerable:!0,initializer:function(){return!1}}),n(h.prototype,"getData",[a],(0,_.default)(h.prototype,"getData"),h.prototype),n(h.prototype,"setShowCheck",[u],(0,_.default)(h.prototype,"setShowCheck"),h.prototype),n(h.prototype,"setIdentifier",[l],(0,_.default)(h.prototype,"setIdentifier"),h.prototype),n(h.prototype,"setPopoverVisible",[c],(0,_.default)(h.prototype,"setPopoverVisible"),h.prototype),n(h.prototype,"setResendDocId",[s],(0,_.default)(h.prototype,"setResendDocId"),h.prototype),n(h.prototype,"setReceiveCompanyId",[d],(0,_.default)(h.prototype,"setReceiveCompanyId"),h.prototype),n(h.prototype,"repeal",[p],(0,_.default)(h.prototype,"repeal"),h.prototype),n(h.prototype,"resend",[f],(0,_.default)(h.prototype,"resend"),h.prototype),h);t.default=W},1160:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resendDoc=t.revokedDoc=void 0;var r=o(9),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.revokedDoc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/offical/sendDoc/revokedDoc",method:"POST",params:e})},t.resendDoc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.callApi({url:"/api/offical/sendDoc/resendDoc",method:"POST",params:e})}},1161:function(e,t,o){"use strict";o(1162),o(1163),o(1164)},1162:function(e,t){},1163:function(e,t){},1164:function(e,t){},455:function(e,t){e.exports="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},466:function(e,t,o){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.transQueryParams=t.buildUrlStr=t.forwardViewPage=t.forwardViewForm=void 0;var i=o(39),n=r(i),a=o(27),u=r(a);t.forwardViewForm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments[1],o=(arguments.length>2&&void 0!==arguments[2]&&arguments[2],arguments.length>3&&void 0!==arguments[3]?arguments[3]:"");window.openLink.openWorkflowByParams(e,t,o)},t.forwardViewPage=function(e,t){var o=(arguments.length>2&&void 0!==arguments[2]&&arguments[2],arguments.length>3&&void 0!==arguments[3]?arguments[3]:"");window.openLink.openWorkflow(e,t,o)},t.buildUrlStr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t="";return(0,u.default)(e).map(function(o){t+="&"+o+"="+e[o]}),""!==t&&(t=t.substring(1)),t},t.transQueryParams=function(e){var t="object"===("undefined"===typeof e?"undefined":(0,n.default)(e))?e.search:e;t.indexOf("?")>-1&&(t=t.substring(t.indexOf("?")+1));var o={},r=t.split("&");return r&&r.map(function(e){var t=e.indexOf("=");if(t>-1){var r=e.substring(0,t),i=decodeURIComponent(e.substring(t+1));o[r]=i}}),o}},473:function(e,t,o){e.exports={default:o(1147),__esModule:!0}},738:function(e,t,o){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=o(107),n=r(i),a=o(38),u=r(a),l=o(8),c=r(l),s=o(1),d=r(s),p=o(4),f=r(p),h=o(2),y=r(h),b=o(3),v=r(b),m=o(9),g=r(m),D=o(0),w=r(D),T=o(18),O=r(T),C=o(10),k=o(12),_=o(790),S=o(791),z=r(S);o(1161);var L=g.default.getLocaleLabel.bind(void 0,"cowork_mobile"),R=g.default.getLabel,I={Main:(0,_.asyncComponent)({resolve:function(){return o.e(6).then(o.bind(null,1276))}}),docCenter:(0,_.asyncComponent)({resolve:function(){return o.e(7).then(o.bind(null,1277))}}),docLibrary:(0,_.asyncComponent)({resolve:function(){return o.e(5).then(o.bind(null,1278))}}),docTodo:(0,_.asyncComponent)({resolve:function(){return o.e(9).then(o.bind(null,1279))}}),docLedger:(0,_.asyncComponent)({resolve:function(){return o.e(8).then(o.bind(null,1280))}}),docReport:(0,_.asyncComponent)({resolve:function(){return o.e(4).then(o.bind(null,1281))}}),receiveRgist:(0,_.asyncComponent)({resolve:function(){return o.e(10).then(o.bind(null,1282))}}),noDocument:(0,_.asyncComponent)({resolve:function(){return o.e(11).then(o.bind(null,1283))}})},P=function(e){function t(e){(0,d.default)(this,t);var o=(0,y.default)(this,(t.__proto__||(0,c.default)(t)).call(this,e));return o.getLocaleLabel=g.default.getLocaleLabel,o.state={loadLang:!1},o.getLocaleLabel.bind(o),o}return(0,v.default)(t,e),(0,f.default)(t,[{key:"componentDidMount",value:function(){var e=this;g.default.ssoInit().then(function(){e.getLocaleLabel("cowork_mobile",function(){e.setState({loadLang:!0})})}).catch(function(e){u.default.error(R(386481,"\u767b\u5f55\u5931\u8d25")+","+(0,n.default)(e),0)})}},{key:"render",value:function(){return w.default.createElement(C.Provider,z.default,w.default.createElement(k.HashRouter,null,w.default.createElement(k.Route,{name:"home",path:"/",onEnter:L,render:function(){return w.default.createElement(I.Main,null,w.default.createElement(k.Switch,null,w.default.createElement(k.Route,{name:"receiveRgist",breadcrumbName:"\u6536\u6587\u767b\u8bb0",path:"/receiveRegist",component:I.receiveRgist}),w.default.createElement(k.Route,{name:"docCenter",breadcrumbName:"\u516c\u6587\u4e2d\u5fc3",path:"/docCenter",component:I.docCenter}),w.default.createElement(k.Route,{name:"docLibrary",breadcrumbName:"\u516c\u6587\u5e93",path:"/docLibrary",component:I.docLibrary}),w.default.createElement(k.Route,{name:"docTodo",breadcrumbName:"\u4ee3\u529e\u516c\u6587",path:"/docToDo",component:I.docTodo}),w.default.createElement(k.Route,{name:"docLedger",breadcrumbName:"\u516c\u6587\u53f0\u8d26",path:"/docLedger",component:I.docLedger}),w.default.createElement(k.Route,{name:"docReport",breadcrumbName:"\u516c\u6587\u62a5\u8868",path:"/docReport",component:I.docReport}),w.default.createElement(k.Route,{name:"noDocument",breadcrumbName:"\u5c1a\u65e0\u6b63\u6587",path:"/odoc/noDocument",component:I.noDocument}),w.default.createElement(k.Redirect,{exact:!0,path:"/",to:{pathname:"/docCenter"}})))}})))}}]),t}(w.default.Component);O.default.render(w.default.createElement(P,null),document.getElementById("root"))},790:function(e,t,o){"use strict";function r(e){return e&&"object"===typeof e&&"default"in e?e.default:e}function i(e){var t,o,r=e.name,i=e.resolve,n=e.autoResolveES2015Default,d=void 0===n||n,y=e.serverMode,b=void 0===y?"resolve":y,m=e.LoadingComponent,g=e.ErrorComponent;if(-1===v.indexOf(b))throw new Error("Invalid serverMode provided to asyncComponent");var D=["node","browser"].indexOf(e.env)>-1?e.env:"undefined"===typeof window?"node":"browser",w={id:null,module:null,error:null,resolver:null,resolving:!1,asyncComponents:null,asyncComponentsAncestor:null},T=function(){return null==w.module&&null==w.error&&!w.resolving&&"undefined"!==typeof window},O=function(e){return d&&null!=e&&("function"===typeof e||"object"===("undefined"===typeof e?"undefined":l(e)))&&e.default?e.default:e},C=function(){if(null==w.resolver){w.resolving=!0;try{w.resolver=Promise.resolve(i())}catch(e){w.resolver=Promise.reject(e)}}return w.resolver};return o=t=function(e){function t(){return c(this,t),h(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),s(t,[{key:"getChildContext",value:function(){return{asyncComponentsAncestor:null==w.asyncComponents?null:{isBoundary:"boundary"===b}}}},{key:"componentWillMount",value:function(){null!=this.context.asyncComponents&&(w.asyncComponents=this.context.asyncComponents,w.asyncComponentsAncestor=this.context.asyncComponentsAncestor,w.id||(w.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"===D){var o=w.asyncComponents,r=o.shouldRehydrate,i=o.getError,n=i(w.id);return n?(w.error=n,!1):!!r(w.id)&&t()}var a=null!=w.asyncComponentsAncestor&&w.asyncComponentsAncestor.isBoundary;return"defer"!==b&&!a&&t()}},{key:"componentDidMount",value:function(){T()&&this.resolveModule()}},{key:"resolveModule",value:function(){var e=this;return C().then(function(e){return null!=w.asyncComponents&&w.asyncComponents.resolved(w.id),w.module=e,w.error=null,w.resolving=!1,e}).catch(function(e){var t=e.message,o=e.stack,r={message:t,stack:o};null!=w.asyncComponents&&w.asyncComponents.failed(w.id,r),w.error=r,w.resolving=!1,g||console.error(r)}).then(function(t){if(!e.unmounted)return e.context.reactAsyncBootstrapperRunning||"browser"!==D||e.forceUpdate(),t})}},{key:"componentWillUnmount",value:function(){this.unmounted=!0}},{key:"render",value:function(){var e=w.module,t=w.error;if(t)return g?a.createElement(g,p({},this.props,{error:t})):null;var o=O(e);return o?a.createElement(o,this.props):m?a.createElement(m,this.props):null}}]),t}(a.Component),t.displayName=r||"AsyncComponent",t.contextTypes={asyncComponentsAncestor:u.shape({isBoundary:u.bool}),asyncComponents:u.shape({getNextId:u.func.isRequired,resolved:u.func.isRequired,shouldRehydrate:u.func.isRequired})},t.childContextTypes={asyncComponentsAncestor:u.shape({isBoundary:u.bool})},o}Object.defineProperty(t,"__esModule",{value:!0});var n=o(0),a=r(n),u=r(o(16)),l="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},c=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},s=function(){function e(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}(),d=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},f=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)},h=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},y=function(){var e=0,t={},o={};return{getNextId:function(){return e+=1},resolved:function(e){t[e]=!0},failed:function(e,t){o[e]=t},getState:function(){return{resolved:Object.keys(t).reduce(function(e,t){return Object.assign(e,d({},t,!0))},{}),errors:o}}}},b=function(e){function t(){return c(this,t),h(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),s(t,[{key:"componentWillMount",value:function(){this.asyncContext=this.props.asyncContext||y(),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 o=e.rehydrateState.resolved[t];return delete e.rehydrateState.resolved[t],o},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:u.node.isRequired,asyncContext:u.shape({getNextId:u.func.isRequired,resolved:u.func.isRequired,failed:u.func.isRequired,getState:u.func.isRequired}),rehydrateState:u.shape({resolved:u.object})},b.defaultProps={asyncContext:void 0,rehydrateState:{resolved:{}}},b.childContextTypes={asyncComponents:u.shape({getNextId:u.func.isRequired,resolved:u.func.isRequired,failed:u.func.isRequired,shouldRehydrate:u.func.isRequired,getError:u.func.isRequired}).isRequired};var v=["resolve","defer","boundary"];t.AsyncComponentProvider=b,t.createAsyncContext=y,t.asyncComponent=i},791:function(e,t,o){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=o(792),n=r(i),a=o(1137),u=r(a),l=o(1139),c=r(l),s=o(1140),d=r(s),p=o(1142),f=r(p),h=o(1144),y=r(h),b=o(1146),v=r(b),m=o(1152),g=r(m),D=o(1157),w=r(D),T=o(1159),O=r(T),C={receiveRegistStore:new n.default,docCenterStore:new u.default,searchStore:new c.default,docTodoStore:new d.default,docLibraryStore:new f.default,docLedgerStore:new y.default,docReportStore:new v.default,detailListStore:new g.default,moreListStore:new w.default,recDocDetailStore:new O.default};e.exports=C},792:function(e,t,o){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t,o,r){o&&(0,T.default)(e,t,{enumerable:o.enumerable,configurable:o.configurable,writable:o.writable,value:o.initializer?o.initializer.call(r):void 0})}function a(e,t,o,r,i){var n={};return Object.keys(r).forEach(function(e){n[e]=r[e]}),n.enumerable=!!n.enumerable,n.configurable=!!n.configurable,("value"in n||n.initializer)&&(n.writable=!0),n=o.slice().reverse().reduce(function(o,r){return r(e,t,o)||o},n),i&&void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(i):void 0,n.initializer=void 0),void 0===n.initializer&&(Object.defineProperty(e,t,n),n=null),n}Object.defineProperty(t,"__esModule",{value:!0});var u,l,c,s,d,p,f,h,y,b,v,m,g,D,w=o(17),T=i(w),O=o(35),C=i(O),k=o(91),_=i(k),S=o(5),z=i(S),L=o(38),R=i(L),I=o(1),P=i(I),E=o(4),j=i(E),M=o(9),A=i(M),x=o(11),F=o(1136),U=r(F),K=o(466),V=r(K),q=A.default.getLabel,N=(u=x.action.bound,l=x.action.bound,c=x.action.bound,s=x.action.bound,d=x.action.bound,p=function(){function e(){(0,P.default)(this,e),n(this,"imgList",f,this),n(this,"form",h,this),n(this,"workflowId",y,this),n(this,"selectedId",b,this),n(this,"document_identifier",v,this),n(this,"type",m,this),n(this,"fileInfo",g,this),n(this,"fileId",D,this)}return(0,j.default)(e,[{key:"getform",value:function(){var e=this,t={menuType:"receiptRegistration"};U.getCondition(t).then(function(t){e.form.initForm(t.condition,"/receiveRgist")})}},{key:"registSave",value:function(e){var t=this.form.doValidate();if(!t.pass)return void R.default.error(t.message,3,{},2);if(""===this.fileId.Document_Text)return void R.default.error(q("502017","\u6b63\u6587\u6587\u4ef6\u6ca1\u6709\u4e0a\u4f20"),3,{},2);var o=this.form.formParams;o.Document_Attachments=this.fileId.Document_Attachments,o.Document_Text=this.fileId.Document_Text;var r=(0,z.default)({},o,{receiveDocType:this.type,receiveStatus:"0"});U.saveRegistrationFormData(r).then(function(e){if(e.api_status){var t={ids:e.message,createWfid:e.workflowId};U.getRequstId(t).then(function(e){e.status&&V.forwardViewForm((e.requestid,"wfCenter"))})}})}},{key:"receiveToOther",value:function(){this.registSave(!0)}},{key:"getFileData",value:function(e){var t=this;e[0].items.forEach(function(e){if("Document_Text"===e.domkey[0]){t.fileInfo.Document_Text=e.datas;var o=[];e.datas.map(function(e){o.push(e.fileid)}),t.fileId.Document_Text=o.join(",")}})}},{key:"fileUploadChange",value:function(e,t,o){var r=e.join(",");"Text"===o?(this.fileInfo.Document_Text=t,this.fileId.Document_Text=r):(this.fileInfo.Document_Attachments=t,this.fileId.Document_Attachments=r)}}]),e}(),f=a(p.prototype,"imgList",[x.observable],{enumerable:!0,initializer:function(){return[]}}),h=a(p.prototype,"form",[x.observable],{enumerable:!0,initializer:function(){return new _.default.Store({route:"/receiveRgist"})}}),y=a(p.prototype,"workflowId",[x.observable],{enumerable:!0,initializer:function(){return""}}),b=a(p.prototype,"selectedId",[x.observable],{enumerable:!0,initializer:function(){return[]}}),v=a(p.prototype,"document_identifier",[x.observable],{enumerable:!0,initializer:function(){return""}}),m=a(p.prototype,"type",[x.observable],{enumerable:!0,initializer:function(){return"0"}}),g=a(p.prototype,"fileInfo",[x.observable],{enumerable:!0,initializer:function(){return{Document_Text:[],Document_Attachments:[]}}}),D=a(p.prototype,"fileId",[x.observable],{enumerable:!0,initializer:function(){return{Document_Text:"",Document_Attachments:""}}}),a(p.prototype,"getform",[u],(0,C.default)(p.prototype,"getform"),p.prototype),a(p.prototype,"registSave",[l],(0,C.default)(p.prototype,"registSave"),p.prototype),a(p.prototype,"receiveToOther",[c],(0,C.default)(p.prototype,"receiveToOther"),p.prototype),a(p.prototype,"getFileData",[s],(0,C.default)(p.prototype,"getFileData"),p.prototype),a(p.prototype,"fileUploadChange",[d],(0,C.default)(p.prototype,"fileUploadChange"),p.prototype),p);t.default=N}},[738]);
//# sourceMappingURL=main.js.map?v=011d9fae