(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[4853],{16890:function(ee){ee.exports={store_config_container:"store_config_container___150vV",choose_store_state:"choose_store_state___2S_W0",add_row_content:"add_row_content___2pWgT",add_row_btn:"add_row_btn___ofAQ3"}},83341:function(ee,V,e){"use strict";e.d(V,{O:function(){return C}});function C(B){B=B||32;for(var D="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz",T=D.length,b="012345678",M=b.length,I="",K=0;K0&&(0,t.jsxs)(Ae.Z,{extra:(0,t.jsxs)("div",{children:["\u5DF2\u9009\u62E9"," ",(0,t.jsx)("a",{style:{fontWeight:600},children:L.length})," ","\u9879 \xA0\xA0",(0,t.jsxs)("span",{children:["\u670D\u52A1\u8C03\u7528\u6B21\u6570\u603B\u8BA1 ",L.reduce(function(i,h){return i+h.callNo},0)," \u4E07"]})]}),children:[(0,t.jsx)($.Z,{onClick:(0,g.Z)((0,f.Z)().mark(function i(){var h,l;return(0,f.Z)().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,Pe(L);case 2:fe([]),(h=U.current)===null||h===void 0||(l=h.reloadAndRest)===null||l===void 0||l.call(h);case 4:case"end":return y.stop()}},i)})),children:"\u6279\u91CF\u5220\u9664"}),(0,t.jsx)($.Z,{type:"primary",children:"\u6279\u91CF\u5BA1\u6279"})]}),d&&(0,t.jsx)(De,{treeDatas:Z,codeList:me,onFinish:function(){var i=(0,g.Z)((0,f.Z)().mark(function h(l){var j;return(0,f.Z)().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:if(j=!1,!l.id){F.next=7;break}return F.next=4,Oe(l);case 4:j=F.sent,F.next=10;break;case 7:return F.next=9,Me(l);case 9:j=F.sent;case 10:j&&(ve(),s(!1),U.current&&U.current.reload());case 11:case"end":return F.stop()}},h)}));return function(h){return i.apply(this,arguments)}}(),onCancel:function(){s(!1),P({})},modalVisible:d,values:k||{}}),(0,t.jsx)(K.Z,{width:600,visible:X,onClose:function(){ce(void 0),G(!1)},closable:!1,children:(A==null?void 0:A.name)&&(0,t.jsx)(je.ZP,{column:2,title:A==null?void 0:A.name,request:(0,g.Z)((0,f.Z)().mark(function i(){return(0,f.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",{data:A||{}});case 1:case"end":return l.stop()}},i)})),params:{id:A==null?void 0:A.name},columns:Se})}),(0,t.jsx)(B.Z,{title:"\u67E5\u770B\u6388\u6743\u7801",width:640,visible:$e,bodyStyle:{padding:"32px 40px 40px 48px"},footer:null,onCancel:function(){P({}),Ge(!1)},destroyOnClose:!0,children:(0,t.jsxs)(T.Z.Compact,{style:{width:"100%"},children:[(0,t.jsx)(M.Z,{disabled:!0,value:ze}),(0,t.jsx)(ie.Z,{title:"\u786E\u8BA4\u662F\u5426\u65B0\u7684\u6388\u6743\u7801?\u65B0\u7684\u6388\u6743\u7801\u751F\u6210\u540E\u4E4B\u524D\u7684\u6388\u6743\u7801\u4F1A\u65E0\u6548\uFF0C\u8BF7\u53CA\u65F6\u901A\u77E5\u7B2C\u4E09\u65B9",description:"\u786E\u8BA4\u662F\u5426\u65B0\u7684\u6388\u6743\u7801?\u65B0\u7684\u6388\u6743\u7801\u751F\u6210\u540E\u4E4B\u524D\u7684\u6388\u6743\u7801\u4F1A\u65E0\u6548\uFF0C\u8BF7\u53CA\u65F6\u901A\u77E5\u7B2C\u4E09\u65B9",onConfirm:Ye,onCancel:He,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,t.jsx)($.Z,{type:"primary",children:"\u751F\u6210"})})]})})]})},Re=Ie},20173:function(ee,V,e){"use strict";e.d(V,{lM:function(){return M},IH:function(){return K},mm:function(){return se},eP:function(){return le},FM:function(){return f}});var C=e(39428),B=e(11849),D=e(3182),T=e(48971),b=e(96690);function M(o,n){return I.apply(this,arguments)}function I(){return I=(0,D.Z)((0,C.Z)().mark(function o(n,g){return(0,C.Z)().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.abrupt("return",(0,T.WY)((0,b.w)()+"/api/organize/page",{method:"POST",data:(0,B.Z)({},n)}));case 1:case"end":return p.stop()}},o)})),I.apply(this,arguments)}function K(o){return W.apply(this,arguments)}function W(){return W=(0,D.Z)((0,C.Z)().mark(function o(n){return(0,C.Z)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,T.WY)((0,b.w)()+"/api/organize/addorg",{method:"POST",data:(0,B.Z)({},n)}));case 1:case"end":return r.stop()}},o)})),W.apply(this,arguments)}function $(o){return te.apply(this,arguments)}function te(){return te=_asyncToGenerator(_regeneratorRuntime().mark(function o(n){return _regeneratorRuntime().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",request(getDataBaseUrl()+"\u200B/api\u200B/organize/getorglist",{method:"POST",data:_objectSpread({},n)}));case 1:case"end":return r.stop()}},o)})),te.apply(this,arguments)}function se(o){return ae.apply(this,arguments)}function ae(){return ae=(0,D.Z)((0,C.Z)().mark(function o(n){return(0,C.Z)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,T.WY)((0,b.w)()+"\u200B/api\u200B/organize/deleteorg?id="+n,{method:"GET"}));case 1:case"end":return r.stop()}},o)})),ae.apply(this,arguments)}function le(o){return re.apply(this,arguments)}function re(){return re=(0,D.Z)((0,C.Z)().mark(function o(n){return(0,C.Z)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,T.WY)((0,b.w)()+"\u200B/api\u200B/organize/updateorg",{method:"POST",data:(0,B.Z)({},n)}));case 1:case"end":return r.stop()}},o)})),re.apply(this,arguments)}function ie(o){return m.apply(this,arguments)}function m(){return m=_asyncToGenerator(_regeneratorRuntime().mark(function o(n){return _regeneratorRuntime().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",request(getDataBaseUrl()+"/api\u200B/sysOrg\u200B/detail",{method:"POST",data:_objectSpread({},n)}));case 1:case"end":return r.stop()}},o)})),m.apply(this,arguments)}function f(o){return Y.apply(this,arguments)}function Y(){return Y=(0,D.Z)((0,C.Z)().mark(function o(n){return(0,C.Z)().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,T.WY)((0,b.w)()+"\u200B/api\u200B/organize/tree",{method:"GET",data:(0,B.Z)({},n)}));case 1:case"end":return r.stop()}},o)})),Y.apply(this,arguments)}}}]);