山西督察-superintend-distribute-web react
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
44 KiB

  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[4],{"Ehk+":function(le,se,a){},PA7j:function(le,se,a){le.exports={example:"example___2JotV"}},RC8p:function(le,se,a){"use strict";var Ie=a("EFp3"),oe=a.n(Ie),Ze=a("Ehk+"),fe=a.n(Ze)},"Uh+N":function(le,se,a){le.exports={TopSearch:"TopSearch___2_17e",radioBox:"radioBox___3Rlvy"}},WZwD:function(le,se,a){"use strict";var Ie=a("2qtc"),oe=a("kLXV"),Ze=a("DjyN"),fe=a("NUBc"),Ne=a("g9YV"),N=a("wCAj"),je=a("+L6B"),R=a("2/Rp"),Je=a("5Dmo"),ne=a("3S7+"),j=a("tJVT"),p=a("q1tI"),Ee=a.n(p),Ke=a("T2oS"),_e=a("W9HT"),A=a("7Kak"),f=a("9yH6"),V=a("miYZ"),m=a("tsqr"),i=a("k1fw"),he=a("y8nQ"),s=a("Vl3Y"),J=a("9kvl"),B=a("ydnR"),h=a("+n12"),e=a("nKUr"),de=[{title:"\u5E8F\u53F7",dataIndex:"id",key:"id",render:function(t,o,n){return n+1},width:"5%"},{title:"\u5BA1\u6279\u4EBA",dataIndex:"clrMc",key:"id",width:"10%"},{title:"\u5BA1\u6279\u5355\u4F4D",dataIndex:"cldwMc",key:"id",width:"15%"},{title:"\u5BA1\u6279\u65B9\u5F0F",dataIndex:"spFs",key:"id",width:"10%",render:function(t){return Object(h.b)(B.b,t)}},{title:"\u5BA1\u6279\u65F6\u95F4",dataIndex:"clSj",key:"id",width:"10%"},{title:"\u5BA1\u6279\u610F\u89C1",dataIndex:"spyj",key:"id",width:"10%"},{title:"\u4E0B\u4E00\u7EA7\u5BA1\u6279\u4EBA",dataIndex:"xjSprMc",key:"id",width:"10%"}],ge=function(t){var o=t.mxZbId,n=t.sysToken,r=Object(p.useState)([]),u=Object(j.a)(r,2),d=u[0],_=u[1],F=function(){t.fetcHistory({params:{mxZbId:o},sysToken:n}).then(function($){return _($)})};return Object(p.useEffect)(function(){console.log(t),F()},[]),Object(e.jsxs)("div",{children:[Object(e.jsx)("p",{children:"\u5386\u53F2\u5BA1\u6279\u610F\u89C1"}),Object(e.jsx)(N.a,{columns:de,dataSource:d,pagination:!1})]})},ce=function(t){var o=t.user,n=t.modelapprove,r=t.loading;return{user:o.currentUser,isLocationInBu:o.isLocationInBu,locationType:o.locationType,modelapprove:n,loading:r.effects["modelapprove/fetcHistory"]||!1}},ve=function(t){return{fetcHistory:function(n){return t({type:"modelapprove/fetcHistory",payload:n})}}},ae=Object(J.a)(ce,ve)(ge),H=a("DYRE"),ie=a("zeV3"),Pe=a("14J3"),be=a("BMrR"),$e=a("jCWc"),M=a("kPKH"),Ae=a("5NDa"),S=a("5rEg"),ke=a("OaEy"),Y=a("2fM7"),E=s.a.Item,L=Y.a.Option,k={labelCol:{span:4},wrapperCol:{span:18}},Se={labelCol:{span:8},wrapperCol:{span:14}},We={wrapperCol:{offset:10,span:10}},tt=function(t){var o=s.a.useForm(),n=Object(j.a)(o,1),r=n[0],u=t.btns,d=t.sjldspr,_=t.sprList,F=t.xffwDict,T=t.zxlbDict,$=t.mxflDict,Z=t.changeSPFS,G=t.approveType,z=t.sysToken,X=t.isLocationInBu,y=t.user,w=function(O){var C=Object.keys(B.b).map(function(v){if((O==null?void 0:O[v])===1)return Object(e.jsx)(f.a,{value:B.b[v].value,children:B.b[v].name},v)});return C},K=function(O){O.target.value===B.b.zjbl.value?Z(!0):Z(!1)},ee=function(O){t.handleSp(O)};return Object(e.jsx)("div",{children:Object(e.jsxs)(s.a,Object(i.a)(Object(i.a)({},k),{},{name:"mxsp",form:r,onFinish:ee,children:[Object(e.jsx)(E,{label:"\u5BA1\u6279\u610F\u89C1",name:"spyj",rules:[{max:200,message:"\u6700\u591A\u80FD\u8F93\u5165200\u5B57!"}],children:Object(e.jsx)(S.a.TextArea,{})}),Object(e.jsxs)(be.a,{children:[Object(e.jsx)(M.a,{span:12,children:Object(e.jsx)(E,Object(i.a)(Object(i.a)({},Se),{},{label:"\u5BA1\u6279\u65B9\u5F0F",name:"spFs",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5BA1\u6279\u65B9\u5F0F!"}],children:Object(e.jsx)(f.a.Group,{onChange:K,children:w(u)})}))}),Object(e.jsxs)(M.a,{span:12,id:"ldr",children:[Object(e.jsx)(E,Object(i.a)(Object(i.a)({},Se),{},{noStyle:!0,shouldUpdate:function(O,C){return O.spFs!==C.spFs},children:function(O){var C=O.getFieldValue;return C("spFs")===B.b.bjldsp.value?Object(e.jsxs)(e.Fragment,{children:[Object(e.jsx)(E,{label:"\u5BA1\u6279\u4EBA",name:"xjSpr",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!"}],children:Object(e.jsx)(Y.a,{getPopupContainer:function(){return document.getElementById("ldr")},style:{width:150},onSelect:function(W,D){r.setFieldsValue({xjSprMc:D.children})},children:_.map(function(v){return Object(e.jsx)(L,{value:v.logingId,children:"".concat(v.surname).concat(v.commonName)},v.id)})})}