text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[19],{NBP6:function(e,a,t){e.exports={table:"table___R1FlI",eleList:"eleList___2O7Ca",eleListTitle:"eleListTitle___gaToB",eletable:"eletable___UB1Wl",eleListItem:"eleListItem___CqKkp",eleListName:"eleListName___yij9P",eleListItemcol:"eleListItemcol___3y9CP",bottompage:"bottompage___1dG4e"}},czJx:function(e,a,t){"use strict";t.r(a);t("FSb9");var n,l,i,r,o,d,c,s,p,m,u,f,h,y,g=t("Cmli"),E=t("Pjwa"),_=t.n(E),v=t("2cji"),k=t.n(v),b=t("sp3j"),w=t.n(b),C=t("vZkh"),x=t.n(C),I=t("+KCP"),V=t.n(I),O=t("geBl"),S=t.n(O),F=t("7Qib"),T=t("L5c0"),j=t("Kvkj"),A=(t("MvId"),t("DaSN")),P=(t("TFCr"),t("Uqje")),L=(t("2zYT"),t("sJVP")),N=(t("7+4Q"),t("BXnw")),K=(t("BN66"),t("Edbx")),R=t("lndb"),B=t.n(R),q=(t("2A2L"),t("x1IR")),M=t("NBP6"),z=t.n(M),D=(n=Object(T["connect"])(function(e){var a=e.staff;return{staff:a}}),n((i=function(e){function a(){var e,t;_()(this,a);for(var n=arguments.length,l=new Array(n),i=0;i<n;i++)l[i]=arguments[i];return t=w()(this,(e=x()(a)).call.apply(e,[this].concat(l))),t.handleMenuClick=function(e,a){var n=t.props.onEditItem;n(e)},t.handleClick=function(e){var a=t.props,n=a.onDeleteItem,l=a.selectedRowKeys;0==l.length?q["a"].error("\u8bf7\u9009\u62e9"):n({staff_id:l,operation:e})},t.onChanges=function(e){var a=t.props,n=a.dispatch,l=a.applyid;n({type:"staff/updateState",payload:{selectedRowKeys:e,indeterminate:!!e.length&&e.length<l.length,checkAll:e.length===l.length}})},t.onCheckAllChange=function(e){var a=t.props,n=a.dispatch,l=a.applyid;n({type:"staff/updateState",payload:{selectedRowKeys:e.target.checked?l:[],indeterminate:!1,checkAll:e.target.checked}})},t.onCheckChange=function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()},t}return V()(a,e),k()(a,[{key:"render",value:function(){var e=this,a=this.props,t=(a.onDeleteItem,a.selectedRowKeys),n=a.onChange,l=a.indeterminate,i=a.checkAll,r=(a.onEditItem,a.dataSource),o=(a.loadingresign,a.loading),d=a.pagination,c=(B()(a,["onDeleteItem","selectedRowKeys","onChange","indeterminate","checkAll","onEditItem","dataSource","loadingresign","loading","pagination"]),{pagination:d,onShowSizeChange:function(e,a){var t={page:e,per_page:a};n(t)},onChange:function(e){var a={page:e};n(a)}}),s=[{title:"",key:"11",width:"4.16666667%",render:function(a,t){return S.a.createElement("div",{onClick:e.onCheckChange},S.a.createElement(K["a"],{value:t.staff_id}))}},{title:"\u5458\u5de5\u59d3\u540d",dataIndex:"name",key:"1",width:"8.33333333%"},{title:"\u624b\u673a\u53f7",dataIndex:"mobile",key:"2",width:"12.5%"},{title:"\u8bc1\u4ef6\u53f7\u7801",dataIndex:"id_number",className:"tableths",key:"3",width:"12.5%"},{title:"\u90e8\u95e8",dataIndex:"dept_name",className:"tableths",key:"4",width:"12.5%"},{title:"\u5de5\u53f7",dataIndex:"employee_number",className:"tableths",key:"5",width:"8.33333333%",render:function(e,a){return S.a.createElement("span",{style:{wordBreak:"break-all"}},e)}},{title:"\u662f\u5426\u5728\u804c",dataIndex:"shzt",key:"6",width:"8.33333333%",render:function(e,a){return S.a.createElement("span",null,a.is_link?"\u662f":"\u5426")}},{title:"\u521d\u59cb\u5bc6\u7801",dataIndex:"origin_password",key:"12",width:"8.33333333%"},{title:"\u89d2\u8272",dataIndex:"role_type",key:"7",width:"8.33333333%",render:function(e,a){var t=["\u5458\u5de5","\u4f01\u4e1a\u8054\u7cfb\u4eba","\u7ba1\u7406\u5458"];return S.a.createElement("span",null,t[a.role_type])}},{title:"\u662f\u5426\u5173\u8054\u4f01\u4e1a",dataIndex:"is_join",key:"8",width:"8.33333333%",render:function(e,a){return S.a.createElement("span",null,a.is_join?"\u662f":"\u5426")}},{title:"\u64cd\u4f5c",dataIndex:"dept_name",key:"10",width:"8.33333333%",render:function(a,t){return S.a.createElement("span",null,S.a.createElement("a",{style:{color:"#3389ff"},onClick:function(a){e.handleMenuClick(t,a)}},"\u7f16\u8f91"))}}];return S.a.createElement("div",{className:z.a.eleList},S.a.createElement(L["a"],{className:z.a.eleListTitle},S.a.createElement(N["a"],{span:1}),S.a.createElement(N["a"],{span:2},"\u5458\u5de5\u59d3\u540d"),S.a.createElement(N["a"],{span:3},"\u624b\u673a\u53f7"),S.a.createElement(N["a"],{span:3},"\u8bc1\u4ef6\u53f7\u7801"),S.a.createElement(N["a"],{span:3},"\u90e8\u95e8"),S.a.createElement(N["a"],{span:2},"\u5de5\u53f7"),S.a.createElement(N["a"],{span:2},"\u662f\u5426\u5728\u804c"),S.a.createElement(N["a"],{span:2},"\u521d\u59cb\u5bc6\u7801"),S.a.createElement(N["a"],{span:2},"\u89d2\u8272"),S.a.createElement(N["a"],{span:2},"\u662f\u5426\u5173\u8054\u4f01\u4e1a"),S.a.createElement(N["a"],{span:2},"\u64cd\u4f5c")),S.a.createElement(K["a"].Group,{style:{width:"100%"},value:t,onChange:this.onChanges},S.a.createElement(P["a"],{showHeader:!1,className:z.a.eletable,columns:s,loading:o,dataSource:r.result,pagination:!1,rowKey:function(e,a){return a}})),S.a.createElement(j["d"],c,S.a.createElement("div",{className:z.a.bottompage},S.a.createElement(A["a"],{onClick:function(a){e.handleClick("2")}},"\u8bbe\u7f6e\u79bb\u804c"),S.a.createElement(A["a"],{type:"primary",onClick:function(a){e.handleClick("1")}},"\u79fb\u52a8\u90e8\u95e8"),S.a.createElement(K["a"],{indeterminate:l,onChange:this.onCheckAllChange,checked:i},"\u5168 \u9009"))))}}]),a}(O["PureComponent"]),l=i))||l),U=D,$=(t("ygRy"),t("IIkF")),J=(t("2Xe3"),t("C2WK")),X=t("U1Sa"),W=t.n(X),Z=(t("hcmK"),t("6TZ7")),G=t("smUt"),Q=t.n(G),Y=(t("VpEj"),t("qaps")),H=Y["a"].Option,ee={xs:24,sm:12,style:{marginBottom:16}},ae=Q()({},ee,{xl:96}),te=(r=Z["a"].create(),r((d=function(e){function a(){var e,t;_()(this,a);for(var n=arguments.length,l=new Array(n),i=0;i<n;i++)l[i]=arguments[i];return t=w()(this,(e=x()(a)).call.apply(e,[this].concat(l))),t.handleSubmit=function(){var e=t.props,a=e.onFilterChange,n=e.form,l=n.getFieldsValue,i=Q()({},l());i.dept_id&&(i.dept_id=i.dept_id[i.dept_id.length-1]),a(Q()({},i))},t.handleReset=function(){var e=t.props.form,a=e.getFieldsValue,n=e.setFieldsValue,l=a();for(var i in l)({}).hasOwnProperty.call(l,i)&&(l[i]instanceof Array?l[i]=[]:l[i]=void 0);n(l),t.handleSubmit()},t}return V()(a,e),k()(a,[{key:"render",value:function(){var e=this.props,a=e.filter,t=e.link_count,n=e.form,l=e.onAdd,i=e.departdata,r=n.getFieldDecorator;a.item;return S.a.createElement(L["a"],{gutter:24},S.a.createElement(N["a"],W()({},ee,{xl:{span:5},md:{span:8}}),r("is_link")(S.a.createElement(Y["a"],{allowClear:!0,placeholder:"\u4eba\u5458",style:{width:"100%"}},S.a.createElement(H,{value:""},"\u5168\u90e8(".concat(t.link_count+t.unlink_count,"\u4eba)")),S.a.createElement(H,{value:0},"\u79bb\u804c(".concat(t.unlink_count,"\u4eba)")),S.a.createElement(H,{value:1},"\u5728\u804c(".concat(t.link_count,"\u4eba)"))))),S.a.createElement(N["a"],W()({},ee,{xl:{span:5},md:{span:8}}),r("name")(S.a.createElement(J["a"],{placeholder:"\u59d3\u540d"}))),S.a.createElement(N["a"],W()({},ee,{xl:{span:5},md:{span:8}}),r("mobile")(S.a.createElement(J["a"],{placeholder:"\u624b\u673a\u53f7"}))),S.a.createElement(N["a"],W()({},ee,{xl:{span:5},md:{span:8}}),r("role_type")(S.a.createElement(Y["a"],{placeholder:"\u89d2\u8272",style:{width:"100%"}},S.a.createElement(H,{value:1},"\u4f01\u4e1a\u8054\u7cfb\u4eba"),S.a.createElement(H,{value:2},"\u7ba1\u7406\u5458"),S.a.createElement(H,{value:0},"\u5458\u5de5")))),S.a.createElement(N["a"],W()({},ee,{xl:{span:5},md:{span:8}}),r("is_join")(S.a.createElement(Y["a"],{allowClear:!0,placeholder:"\u662f\u5426\u5173\u8054\u4f01\u4e1a",style:{width:"100%"}},S.a.createElement(H,{value:1},"\u662f"),S.a.createElement(H,{value:0},"\u5426")))),S.a.createElement(N["a"],W()({},ee,{xl:{span:5},md:{span:8}}),r("dept_id")(S.a.createElement($["a"],{changeOnSelect:!0,allowClear:!0,style:{width:"100%"},options:i,placeholder:"\u90e8\u95e8",fieldNames:{label:"dept_name",value:"dept_id",children:"children"}}))),S.a.createElement(N["a"],W()({},ae,{xl:{span:14},md:{span:24},sm:{span:24}}),S.a.createElement(L["a"],{type:"flex",align:"middle",justify:"space-between"},S.a.createElement("div",null,S.a.createElement(A["a"],{type:"primary",className:"margin-right",onClick:this.handleSubmit},"\u641c\u7d22"),S.a.createElement(A["a"],{onClick:this.handleReset},"\u91cd\u7f6e")),S.a.createElement("div",null,S.a.createElement(A["a"],{className:"margin-right",onClick:function(){l("2")}},"\u6279\u91cf\u5bfc\u5165"),S.a.createElement(A["a"],{type:"primary",onClick:function(){l("1")}},"\u6dfb\u52a0\u5458\u5de5")))))}}]),a}(O["PureComponent"]),o=d))||o),ne=te,le=t("rWUz"),ie=t.n(le),re=Z["a"].Item,oe=Y["a"].Option,de={labelCol:{span:6},wrapperCol:{span:14}},ce=(c=Z["a"].create(),c((p=function(e){function a(){var e,t;_()(this,a);for(var n=arguments.length,l=new Array(n),i=0;i<n;i++)l[i]=arguments[i];return t=w()(this,(e=x()(a)).call.apply(e,[this].concat(l))),t.state={type:0,flagtype:0},t.handleOk=function(){var e=t.props,a=e.item,n=void 0===a?{}:a,l=e.onOk,i=e.form,r=i.validateFields,o=i.getFieldsValue,d=(i.setFieldsValue,t.state.type);r(function(e){if(!e){var a=Q()({},o(),{staff_id:n.staff_id});a.dept_id=a.dept_id[a.dept_id.length-1],l(a,d)}})},t.selchange=function(e){t.setState({flagtype:e});var a=ie()(t);1==e?g["a"].confirm({title:"\u8f6c\u8ba9\u4f01\u4e1a\u8054\u7cfb\u4eba",content:"\u8f6c\u8ba9\u540e\uff0c\u60a8\u5c06\u4e0d\u518d\u662f\u4f01\u4e1a\u8054\u7cfb\u4eba\u5e76\u4e14\u65e0\u76f8\u5173\u7ba1\u7406\u6743\u9650\uff0c\u8bf7\u8c28\u614e\u64cd\u4f5c\uff01\u662f\u5426\u7ee7\u7eed\u64cd\u4f5c",okText:"\u786e\u8ba4",cancelText:"\u53d6\u6d88",onOk:function(){a.setState({type:1})}}):a.setState({type:0})},t}return V()(a,e),k()(a,[{key:"render",value:function(){var e=this.props,a=e.item,t=void 0===a?{}:a,n=(e.onOk,e.form),l=e.departdata,i=e.modalType,r=(e.i18n,B()(e,["item","onOk","form","departdata","modalType","i18n"])),o=n.getFieldDecorator;n.getFieldsValue,n.setFieldsValue;return S.a.createElement(g["a"],W()({},r,{onOk:this.handleOk}),S.a.createElement(Z["a"],{layout:"horizontal"},S.a.createElement(re,W()({label:"\u5458\u5de5\u59d3\u540d"},de),o("name",{initialValue:t.name,rules:[{required:!0,pattern:/^[\u4E00-\u9FA5\uf900-\ufa2d\xb7s]{2,20}$/,message:"\u8bf7\u586b\u5199\u59d3\u540d(\u6c49\u5b57\u4e14\u4e0d\u5c0f\u4e8e\u4e24\u4e2a\u5b57\u7b26)"}],validateTrigger:"onBlur"})(S.a.createElement(J["a"],{disabled:"create"!==i&&t.is_join}))),"create"==i&&S.a.createElement(re,W()({label:"\u7eb3\u7a0e\u4eba\u8eab\u4efd"},de),o("identity",{initialValue:"0"})(S.a.createElement(Y["a"],{disabled:!0},S.a.createElement(oe,{value:"0"},"\u5c45\u6c11\u4e2a\u4eba")))),S.a.createElement(re,W()({label:"\u624b\u673a\u53f7"},de),o("mobile",{initialValue:t.mobile,rules:[{required:!0,pattern:/^1(3[0-9]|4[14-9]|5[0-35-9]|66|8[0-9]|7[0-35-8]|9[89])\d{8}$/,message:"\u8bf7\u586b\u5199\u6b63\u786e\u624b\u673a\u53f7\u7801"}],validateTrigger:"onBlur"})(S.a.createElement(J["a"],{disabled:"create"!==i&&t.is_join}))),S.a.createElement(re,W()({label:"\u8bc1\u4ef6\u53f7"},de),o("id_number",{initialValue:t.id_number,rules:[{required:!0,pattern:/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X|x)$/,message:"\u8bf7\u586b\u5199\u6b63\u786e\u8bc1\u4ef6\u53f7\u7801"}],validateTrigger:"onBlur"})(S.a.createElement(J["a"],{disabled:"create"!==i&&t.is_join}))),S.a.createElement(re,W()({label:"\u6240\u5728\u90e8\u95e8"},de),o("dept_id",{initialValue:t.deptid,rules:[{required:!0,message:"\u90e8\u95e8\u4e0d\u80fd\u4e3a\u7a7a"}]})(S.a.createElement($["a"],{changeOnSelect:!0,options:l,placeholder:"",fieldNames:{label:"dept_name",value:"dept_id",children:"children"}}))),S.a.createElement(re,W()({label:"\u5de5\u53f7"},de),o("employee_number",{initialValue:t.employee_number,rules:[{required:!1,pattern:/^[0-9]\d*$/,message:"\u5de5\u53f7\u53ea\u80fd\u4e3a\u6570\u5b57"}],validateTrigger:"onBlur"})(S.a.createElement(J["a"],{maxLength:32}))),"create"!==i&&1!==t.role_type&&t.is_join&&S.a.createElement(re,W()({label:"\u89d2\u8272"},de),o("role_type",{initialValue:t.role_type})(S.a.createElement(Y["a"],{onChange:this.selchange},S.a.createElement(oe,{value:1},"\u4f01\u4e1a\u8054\u7cfb\u4eba"),S.a.createElement(oe,{value:2},"\u7ba1\u7406\u5458"),S.a.createElement(oe,{value:0},"\u5458\u5de5")))),"create"!==i&&t.is_join&&this.state.flagtype!=t.role_type&&0!=this.state.flagtype&&1!==t.role_type&&S.a.createElement(re,W()({label:"\u5bc6\u7801"},de),o("password",{initialValue:t.password,rules:[{required:!0,pattern:/^[0-9a-zA-Z]{6,20}$/,message:"\u8bf7\u8f93\u51656-20\u4f4d\u5bc6\u7801"}],validateTrigger:"onBlur"})(S.a.createElement(J["a"],null)))))}}]),a}(O["PureComponent"]),s=p))||s),se=ce,pe=Z["a"].Item,me={labelCol:{span:6},wrapperCol:{span:14}},ue=(m=Z["a"].create(),m((f=function(e){function a(){var e,t;_()(this,a);for(var n=arguments.length,l=new Array(n),i=0;i<n;i++)l[i]=arguments[i];return t=w()(this,(e=x()(a)).call.apply(e,[this].concat(l))),t.handleOk=function(){var e=t.props,a=(e.item,e.onOk),n=e.form,l=n.validateFields,i=n.getFieldsValue;n.setFieldsValue;l(function(e){if(!e){var t=Q()({},i());t.dept_id=t.dept_id.splice(-1,1)[0],a(t)}})},t}return V()(a,e),k()(a,[{key:"render",value:function(){var e=this.props,a=e.item,t=void 0===a?{}:a,n=(e.onOk,e.form),l=e.departdata,i=B()(e,["item","onOk","form","departdata"]),r=n.getFieldDecorator;return S.a.createElement(g["a"],W()({},i,{onOk:this.handleOk}),S.a.createElement(Z["a"],{layout:"horizontal"},S.a.createElement(pe,W()({label:"\u5c06\u9009\u4e2d\u5458\u5de5\u79fb\u52a8\u5230",hasFeedback:!0},me),r("dept_id",{initialValue:t.dept_id})(S.a.createElement($["a"],{changeOnSelect:!0,options:l,placeholder:"",fieldNames:{label:"dept_name",value:"dept_id",children:"children"}})))))}}]),a}(O["PureComponent"]),u=f))||u),fe=ue,he=(t("R7XP"),t("YKPx")),ye=t("Aeqt"),ge=function(e){function a(){return _()(this,a),w()(this,x()(a).apply(this,arguments))}return V()(a,e),k()(a,[{key:"render",value:function(){var e=this.props,a=(e.item,e.onOk),t=e.loadingimport,n=B()(e,["item","onOk","loadingimport"]),l={name:"staff_xls",action:"".concat(ye["apiPrefix"],"/ajax/business/staff/import"),headers:{authorization:"authorization-text"},showUploadList:!1,onChange:function(e){a("3"),"done"===e.file.status?(a("4"),0==e.file.response.code?a("2"):q["a"].error("".concat(e.file.response.msg))):"error"===e.file.status&&(a("4"),q["a"].error("\u5bfc\u5165\u5931\u8d25"))}};return S.a.createElement(g["a"],W()({},n,{footer:null}),S.a.createElement(L["a"],{type:"flex",style:{textAlign:"center"}},S.a.createElement(N["a"],{span:24},S.a.createElement("div",{style:{margin:"40px 0"}},S.a.createElement("p",null,"\u8bf7\u6309\u89c4\u5b9a\u683c\u5f0f\u5f55\u5165\u5458\u5de5\u4fe1\u606f"),S.a.createElement(A["a"],{style:{width:"200px"}},S.a.createElement("a",{href:"".concat(ye["apiPrefix"],"/ajax/business/staffxls/download")},"\u70b9\u51fb\u4e0b\u8f7d\u6a21\u677f")))),S.a.createElement(N["a"],{span:24},S.a.createElement("div",{style:{margin:"40px 0"}},S.a.createElement("p",null,"\u9009\u62e9\u4e0a\u4f20\u6750\u6599"),S.a.createElement(he["a"],l,S.a.createElement(A["a"],{loading:t,type:"primary",style:{width:"200px"}},"\u4e0a\u4f20\u6587\u4ef6")))),S.a.createElement(N["a"],{span:24},S.a.createElement("div",{style:{margin:"40px 0"}},S.a.createElement(A["a"],{style:{width:"200px"},onClick:function(e){a("1")}},"\u53d6\u6d88")))))}}]),a}(O["PureComponent"]),Ee=ge,_e=(h=Object(T["connect"])(function(e){var a=e.staff,t=e.app,n=e.loading;return{staff:a,app:t,loading:n}}),h(y=function(e){function a(){return _()(this,a),w()(this,x()(a).apply(this,arguments))}return V()(a,e),k()(a,[{key:"render",value:function(){var e=this.props,a=(e.location,e.dispatch),t=e.staff,n=e.loading,l=t.list,i=t.applyid,r=t.pagination,o=t.currentItem,d=t.modalVisible,c=t.deptmodalVisible,s=t.importmodalVisible,p=t.modalType,m=t.selectedRowKeys,u=t.indeterminate,f=t.checkAll,h=t.departdata,y=t.loadingimport,E=t.link_count,_=t.page,v=function(e){a({type:"staff/query"})},k={visible:s,loadingimport:y,confirmLoading:n.effects["staff/movedept"],title:"".concat("\u6279\u91cf\u5bfc\u5165\u804c\u5de5\u4fe1\u606f"),onOk:function(e){"3"==e&&a({type:"staff/defSuccess",payload:{loadingimport:!0}}),"4"==e&&a({type:"staff/defSuccess",payload:{loadingimport:!1}}),"1"==e&&a({type:"staff/hideModal",payload:{importmodalVisible:!1}}),"2"==e&&(a({type:"staff/hideModal",payload:{importmodalVisible:!1}}),a({type:"staff/defSuccess",payload:{page:{page:1,per_page:10}}}),v())},onCancel:function(){a({type:"staff/hideModal",payload:{importmodalVisible:!1}})}},b={item:{},departdata:h,visible:c,confirmLoading:n.effects["staff/movedept"],title:"".concat("\u79fb\u52a8\u90e8\u95e8"),onOk:function(e){a({type:"staff/movedept",payload:e})},onCancel:function(){a({type:"staff/hideModal",payload:{deptmodalVisible:!1}})}},w={item:"create"===p?{}:o,departdata:h,modalType:p,visible:d,confirmLoading:n.effects["staff/".concat(p)],title:"".concat("create"===p?"\u6dfb\u52a0\u5458\u5de5":"\u7f16\u8f91\u5458\u5de5"),onOk:function(e,t){a({type:"staff/".concat(p),payload:{val:e,type:t}})},onCancel:function(){a({type:"staff/hideModal",payload:{modalVisible:!1}})}},C={dataSource:l,applyid:i,selectedRowKeys:m,indeterminate:u,checkAll:f,loading:n.effects["staff/query"],loadingresign:n.effects["staff/resign"],pagination:r,page:_,onChange:function(e){a({type:"staff/defSuccess",payload:{page:e}}),v()},onDeleteItem:function(e){"2"==e.operation?g["a"].confirm({title:"\u8bbe\u7f6e\u79bb\u804c",content:"\u786e\u5b9a\u5c06\u9009\u62e9\u5458\u5de5\u8bbe\u7f6e\u79bb\u804c\uff1f",okText:"\u786e\u8ba4",cancelText:"\u53d6\u6d88",onOk:function(){a({type:"staff/resign",payload:{staff_ids:e.staff_id}})}}):a({type:"staff/showModal",payload:{staff_id:e.staff_id,deptmodalVisible:!0,page:{page:1,per_page:10}}})},onEditItem:function(e){e.dept_id&&(e["deptid"]=Object(F["d"])(h,[],e.dept_id)[0].map(function(e){return e.dept_id})),a({type:"staff/showModal",payload:{modalType:"update",currentItem:e,modalVisible:!0}})},rowSelection:{selectedRowKeys:m,onChange:function(e){a({type:"staff/updateState",payload:{selectedRowKeys:e}})}}},x={filter:{},link_count:E,departdata:h,onFilterChange:function(e){var t={page:1,per_page:10};a({type:"staff/defSuccess",payload:{filter:e,page:t}}),v()},onAdd:function(e){a("1"==e?{type:"staff/showModal",payload:{modalType:"create",modalVisible:!0}}:{type:"staff/showModal",payload:{importmodalVisible:!0}})}};return S.a.createElement(j["e"],{inner:!0},S.a.createElement(ne,x),S.a.createElement(U,C),d&&S.a.createElement(se,w),c&&S.a.createElement(fe,b),S.a.createElement(Ee,k))}}]),a}(O["PureComponent"]))||y);a["default"]=_e}}]);