|
- (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[1379,8328],{94157:function(T){T.exports={table_search_item:"table_search_item___36Fhq",edit_image_item:"edit_image_item___2riYV",edit_image_prev:"edit_image_prev___2yu3R"}},31880:function(T,D,n){"use strict";n.r(D);var I=n(71194),E=n(50146),c=n(11849),p=n(43185),o=n(93349),aa=n(47673),W=n(4107),ta=n(57663),Z=n(71577),ue=n(86582),ra=n(58024),de=n(91894),na=n(43358),O=n(34041),ia=n(34792),m=n(48086),sa=n(62350),oe=n(24565),la=n(12968),Ae=n(92726),h=n(39428),B=n(3182),g=n(2824),z=n(49101),_e=n(16894),Ee=n(28790),A=n(67294),S=n(73999),ce=n(94157),_=n.n(ce),me=n(9669),ge=n.n(me),t=n(85893),he=function(C){return new Promise(function(U,y){var v=new FileReader;v.readAsDataURL(C),v.onload=function(){return U(v.result)},v.onerror=function(R){return y(R)}})},ve=function(){var C=(0,A.useRef)(),U=(0,A.useState)(""),y=(0,g.Z)(U,2),v=y[0],R=y[1],pe=(0,A.useState)(""),Y=(0,g.Z)(pe,2),j=Y[0],L=Y[1],Ce=(0,A.useState)([]),k=(0,g.Z)(Ce,2),Pe=k[0],Se=k[1],Be=(0,A.useState)(!1),w=(0,g.Z)(Be,2),Me=w[0],M=w[1],Qe=(0,A.useState)({id:"",pageId:"",materialName:"",materialCode:"",materialPath:[],materialType:0}),G=(0,g.Z)(Qe,2),d=G[0],P=G[1],De=(0,A.useState)(!1),H=(0,g.Z)(De,2),Ie=H[0],X=H[1],Oe=(0,A.useState)(""),V=(0,g.Z)(Oe,2),ye=V[0],Re=V[1],je=(0,A.useState)(""),$=(0,g.Z)(je,2),Ne=$[0],Te=$[1],Ze=(0,A.useState)([]),q=(0,g.Z)(Ze,2),N=q[0],K=q[1],Ue=(0,A.useState)([]),ee=(0,g.Z)(Ue,2),x=ee[0],Le=ee[1],Ke=(0,A.useState)(1),ae=(0,g.Z)(Ke,2),ua=ae[0],da=ae[1],xe=(0,A.useState)(10),te=(0,g.Z)(xe,2),oa=te[0],Aa=te[1],Fe=(0,A.useState)(0),re=(0,g.Z)(Fe,2),_a=re[0],Ea=re[1],be=function(){return X(!1)},Je=function(){var r=(0,B.Z)((0,h.Z)().mark(function a(e){return(0,h.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(!(!e.url&&!e.preview)){l.next=4;break}return l.next=3,he(e.originFileObj);case 3:e.preview=l.sent;case 4:Re(e.url||e.preview),X(!0),Te(e.name||e.url.substring(e.url.lastIndexOf("/")+1));case 7:case"end":return l.stop()}},a)}));return function(e){return r.apply(this,arguments)}}(),We=function(a){var e=a.fileList;e.forEach(function(i){i.status="done"}),K(e)},ze=[{title:"\u7D20\u6750\u540D\u79F0",dataIndex:"materialName",ellipsis:!0},{title:"\u7D20\u6750\u7F16\u7801",dataIndex:"materialCode",ellipsis:!0},{title:"\u7D20\u6750\u56FE\u7247",dataIndex:"materialPath",render:function(a,e){return(0,t.jsx)(Ae.Z,{style:{width:"50%",height:"50%"},src:JSON.parse(e.materialPath)[0],fallback:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMIAAADDCAYAAADQvc6UAAABRWlDQ1BJQ0MgUHJvZmlsZQAAKJFjYGASSSwoyGFhYGDIzSspCnJ3UoiIjFJgf8LAwSDCIMogwMCcmFxc4BgQ4ANUwgCjUcG3awyMIPqyLsis7PPOq3QdDFcvjV3jOD1boQVTPQrgSkktTgbSf4A4LbmgqISBgTEFyFYuLykAsTuAbJEioKOA7DkgdjqEvQHEToKwj4DVhAQ5A9k3gGyB5IxEoBmML4BsnSQk8XQkNtReEOBxcfXxUQg1Mjc0dyHgXNJBSWpFCYh2zi+oLMpMzyhRcASGUqqCZ16yno6CkYGRAQMDKMwhqj/fAIcloxgHQqxAjIHBEugw5sUIsSQpBobtQPdLciLEVJYzMPBHMDBsayhILEqEO4DxG0txmrERhM29nYGBddr//5/DGRjYNRkY/l7////39v///y4Dmn+LgeHANwDrkl1AuO+pmgAAADh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tScABFyNiqFCBChULMNNSdAhJyNSiECRCjUbEPNCRAhZ6NSiAARCjXbUHMCRMjZqBQiQIRCzTbUnAARcjYqhQgQoVCzDTUnQIScjUohAkQo1GxDzQkQIWejUogAEQo121BzAkTI2agUIkCEQs021JwAEXI2KoUIEKFQsw01J0CEnI1KIQJEKNRsQ80JECFno1KIABEKNdtQcwJEyNmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiECRCjUbEPNCRAhZ6NSiAARCjXbUHMCRMjZqBQiQIRCzTbUnAARcjYqhQgQoVCzDTUnQIScjUohAkQo1GxDzQkQIWejUogAEQo121BzAkTI2agUIkCEQs021JwAEXI2KoUIEKFQsw01J0CEnI1KIQJEKNRsQ80JECFno1KIABEKNdtQcwJEyNmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiEC/wGgKKC4YMA4TAAAAABJRU5ErkJggg=="})}},{title:"\u64CD\u4F5C",valueType:"option",key:"option",render:function(a,e){return[(0,t.jsx)("a",{onClick:function(){return we(e)},children:"\u66F4\u65B0"}),(0,t.jsx)(oe.Z,{title:"\u786E\u5B9A\u8981\u5220\u9664\u6B64\u7D20\u6750\u5417\uFF1F",onConfirm:function(){return Ge(e)},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,t.jsx)("a",{href:"#",children:"\u5220\u9664"})})]}}],ne=(0,t.jsxs)("div",{children:[(0,t.jsx)(z.Z,{}),(0,t.jsx)("div",{style:{marginTop:8},children:"Upload"})]}),Ye=function(){var r=(0,B.Z)((0,h.Z)().mark(function a(){var e,i;return(0,h.Z)().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,S.Z.GetAllStore();case 2:e=u.sent,e.statusCode===200?(Se(e.data),R((i=e.data[0])===null||i===void 0?void 0:i.id)):m.default.error(e.msg||"\u83B7\u53D6\u5E97\u94FA\u5217\u8868\u5931\u8D25");case 4:case"end":return u.stop()}},a)}));return function(){return r.apply(this,arguments)}}(),ke={name:"file",showUploadList:!0,multiple:!1,accept:".png, .jpg, .jpeg, .gif",headers:{"Content-Type":"application/octet-stream"},customRequest:function(a){var e=a.action,i=a.file,l=a.headers,u=a.onError,f=a.onProgress,s=a.withCredentials,F=i.name.lastIndexOf("."),Ve=i.name.substr(F+1),se=null;return S.Z.GetCosRequestURL({directory:"applet",fileExtension:Ve,method:"PUT"}).then(function(b){e=b.data.allUrl;var le=new FileReader;le.readAsArrayBuffer(i),le.onload=function($e){se=$e.target.result,ge().put(e,se,{withCredentials:s,headers:l,onUploadProgress:function(Q){var qe=Q.total,ea=Q.loaded;f({percent:Math.round(ea/qe*100).toFixed(2)},i)}}).then(function(J){if(J.status==200||J.statusText=="OK"){var Q=JSON.parse(JSON.stringify(d));Q.materialPath.push(b.data.seeUrl),P(Q),m.default.success("\u4E0A\u4F20\u6210\u529F\uFF01")}}).catch(u)}}),{abort:function(){console.log("upload progress is aborted.")}}}},ie=function(){var r=(0,B.Z)((0,h.Z)().mark(function a(){var e,i,l,u;return(0,h.Z)().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(d.pageId){s.next=5;break}return m.default.info("\u8BF7\u9009\u62E9\u6240\u5C5E\u9875\u9762"),s.abrupt("return");case 5:if(d.materialName){s.next=10;break}return m.default.info("\u8BF7\u586B\u5199\u7D20\u6750\u540D\u79F0"),s.abrupt("return");case 10:if(d.materialCode){s.next=15;break}return m.default.info("\u8BF7\u586B\u5199\u7D20\u6750\u7F16\u7801"),s.abrupt("return");case 15:if(d.materialPath.length!==0){s.next=18;break}return m.default.info("\u8BF7\u9009\u62E9\u81F3\u5C11\u4E0A\u4F20\u4E00\u5F20\u7D20\u6750\u56FE\u7247"),s.abrupt("return");case 18:if(i={pageId:d.pageId,materialName:d.materialName,materialCode:d.materialCode,materialPath:JSON.stringify(d.materialPath),materialType:d==null||(e=d.materialType)===null||e===void 0?void 0:e.toString()},!d.id){s.next=27;break}return i.id=d.id,s.next=23,S.Z.UpdateMiniMaterial(i);case 23:l=s.sent,l.statusCode===200?(m.default.success("\u66F4\u65B0\u6210\u529F"),M(!1),C.current.reloadAndRest()):m.default.error(l.errors||"\u66F4\u65B0\u5931\u8D25"),s.next=31;break;case 27:return s.next=29,S.Z.AddMinimaterial(i);case 29:u=s.sent,u.statusCode===200?(m.default.success("\u6DFB\u52A0\u6210\u529F"),M(!1),C.current.reloadAndRest()):m.default.error(u.errors||"\u6DFB\u52A0\u5931\u8D25");case 31:case"end":return s.stop()}},a)}));return function(){return r.apply(this,arguments)}}(),we=function(a){var e=JSON.parse(a.materialPath),i={id:a.id,pageId:a.pageId,materialName:a.materialName,materialCode:a.materialCode,materialPath:e};e.length>1?i.materialType="1":i.materialType="0";var l=[];e.forEach(function(u,f){l.push({uid:f,name:u.split("/applet/")[1]||"\u56FE\u7247.jpg",status:"done",url:u})}),K(l),P(i),M(!0)},Ge=function(){var r=(0,B.Z)((0,h.Z)().mark(function a(e){var i;return(0,h.Z)().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,S.Z.DeleteMiniMaterial(e.id);case 2:i=u.sent,i.statusCode===200?(C.current.reloadAndRest(),m.default.success("\u5220\u9664\u6210\u529F")):m.default.error(i.errors||"\u5220\u9664\u5931\u8D25");case 4:case"end":return u.stop()}},a)}));return function(e){return r.apply(this,arguments)}}(),He=function(){var r=(0,B.Z)((0,h.Z)().mark(function a(){var e,i,l;return(0,h.Z)().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,S.Z.MiniPageList({current:1,pageSize:999,storeId:v});case 2:e=f.sent,e.statusCode===200?(Le(e.data.items),L(e==null||(i=e.data)===null||i===void 0||(l=i.items[0])===null||l===void 0?void 0:l.id)):m.default.error(e.errors||"\u83B7\u53D6\u9875\u9762\u5217\u8868\u5931\u8D25");case 4:case"end":return f.stop()}},a)}));return function(){return r.apply(this,arguments)}}(),Xe=function(){K([]),P({pageId:"",materialName:"",materialCode:"",materialPath:[],materialType:"0"})};return(0,A.useEffect)(function(){Ye()},[]),(0,A.useEffect)(function(){!v||(He(),!!j&&C.current.reloadAndRest())},[v]),(0,A.useEffect)(function(){C.current.reloadAndRest()},[j]),(0,t.jsxs)(Ee.ZP,{header:{title:"",breadcrumb:{}},children:[(0,t.jsxs)(de.Z,{style:{marginBottom:"10px"},children:[(0,t.jsxs)("div",{className:_().table_search_item,style:{float:"left"},children:[(0,t.jsx)("div",{children:"\u5F53\u524D\u95E8\u5E97\uFF1A"}),(0,t.jsx)(O.Z,{style:{width:300},value:v,onChange:function(a){var e;R(a),L((e=x[0])===null||e===void 0?void 0:e.id)},children:Pe.map(function(r){return(0,t.jsx)(Option,{value:r.id,children:r.name},r.id)})})]}),(0,t.jsx)("div",{style:{float:"left"},children:"\xA0\xA0\xA0\xA0"}),(0,t.jsxs)("div",{className:_().table_search_item,style:{float:"left"},children:[(0,t.jsx)("div",{children:"\u6240\u5C5E\u9875\u9762\uFF1A"}),(0,t.jsx)(O.Z,{style:{width:300},value:j,onChange:function(a){L(a),C.current.reloadAndRest()},children:x.map(function(r){return(0,t.jsx)(Option,{value:r.id,children:r.pageName},r.id)})})]})]}),(0,t.jsx)(_e.ZP,{search:!1,columns:ze,actionRef:C,cardBordered:!0,editable:{type:"multiple"},pagination:{pageSize:10},request:function(){var r=(0,B.Z)((0,h.Z)().mark(function a(e){var i,l,u;return(0,h.Z)().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(v){s.next=2;break}return s.abrupt("return");case 2:return i={current:e.current,pageSize:e.pageSize,storeId:v,pageId:j},s.next=5,S.Z.MinimaterialListByStore(i);case 5:return l=s.sent,u=[],l.data.items.forEach(function(F){u.push.apply(u,(0,ue.Z)(F.list))}),s.abrupt("return",{data:u,success:!0,total:l.data.totalCount});case 9:case"end":return s.stop()}},a)}));return function(a){return r.apply(this,arguments)}}(),columnsState:{persistenceKey:"pro-table-singe-demos",persistenceType:"localStorage",onChange:function(a){}},rowKey:"id",options:{setting:{listsHeight:400}},dateFormatter:"string",headerTitle:"\u56FE\u7247\u7BA1\u7406",toolBarRender:function(){return[(0,t.jsx)(Z.Z,{icon:(0,t.jsx)(z.Z,{}),type:"primary",onClick:function(){M(!0),Xe()},children:"\u65B0\u5EFA"},"button")]}}),(0,t.jsx)(E.Z,{title:"\u7F16\u8F91\u7D20\u6750",maskClosable:!1,visible:Me,footer:null,onOk:ie,onCancel:function(){return M(!1)},bodyStyle:{padding:"32px 40px 1px 48px",height:"465px"},children:(0,t.jsxs)("div",{className:_().edit_image_card,children:[(0,t.jsxs)("div",{className:_().edit_image_item,children:[(0,t.jsx)("div",{className:_().edit_image_prev,children:"\u6240\u5C5E\u9875\u9762\uFF1A"}),(0,t.jsx)("div",{className:_().edit_image_suffix,children:(0,t.jsx)(O.Z,{placeholder:"\u8BF7\u9009\u62E9\u6240\u5728\u9875\u9762",style:{width:"100%"},value:d.pageId,onChange:function(a){var e=JSON.parse(JSON.stringify(d));e.pageId=a,P(e)},children:x.map(function(r){return(0,t.jsx)(Option,{value:r.id,children:r.pageName},r.id)})})})]}),(0,t.jsxs)("div",{className:_().edit_image_item,children:[(0,t.jsx)("div",{className:_().edit_image_prev,children:"\u7D20\u6750\u540D\u79F0\uFF1A"}),(0,t.jsx)("div",{className:_().edit_image_suffix,children:(0,t.jsx)(W.Z,{placeholder:"\u8BF7\u8F93\u5165\u7D20\u6750\u540D\u79F0",value:d.materialName,onChange:function(a){var e=JSON.parse(JSON.stringify(d));e.materialName=a.target.value,P(e)}})})]}),(0,t.jsxs)("div",{className:_().edit_image_item,children:[(0,t.jsx)("div",{className:_().edit_image_prev,children:"\u7D20\u6750\u7F16\u7801\uFF1A"}),(0,t.jsx)("div",{className:_().edit_image_suffix,children:(0,t.jsx)(W.Z,{placeholder:"\u8BF7\u8F93\u5165\u7D20\u6750\u7F16\u7801",value:d.materialCode,onChange:function(a){var e=JSON.parse(JSON.stringify(d));e.materialCode=a.target.value,P(e)}})})]}),(0,t.jsxs)("div",{className:_().edit_image_item,children:[(0,t.jsx)("div",{className:_().edit_image_prev,children:"\u6570\u91CF\uFF1A"}),(0,t.jsx)("div",{className:_().edit_image_suffix,children:(0,t.jsxs)(O.Z,{placeholder:"\u8BF7\u9009\u62E9\u7D20\u6750\u6570\u91CF",style:{width:"100%"},value:d.materialType,onChange:function(a){var e=JSON.parse(JSON.stringify(d));e.materialType=a,P(e)},children:[(0,t.jsx)(Option,{value:"0",children:"\u5355\u5F20"}),(0,t.jsx)(Option,{value:"1",children:"\u591A\u5F20"})]})})]}),(0,t.jsx)(o.Z,(0,c.Z)((0,c.Z)({listType:"picture-card",fileList:N,onPreview:Je,onChange:We,onRemove:function(a){var e=N.findIndex(function(l){return l.uid===a.uid});if(e>-1){var i=JSON.parse(JSON.stringify(d));i.materialPath.splice(e,1),P(i)}}},ke),{},{children:function(){return d.materialType==="0"?N.length>=1?null:ne:(0,t.jsx)(t.Fragment,{children:N.length>=9?null:ne})}()})),(0,t.jsx)(Z.Z,{type:"primary",htmlType:"submit",style:{float:"right",left:10},onClick:function(){return ie()},children:"\u786E\u8BA4"}),(0,t.jsx)(Z.Z,{htmlType:"button",style:{float:"right"},onClick:function(){return M(!1)},children:"\u53D6\u6D88"})]})}),(0,t.jsx)(E.Z,{visible:Ie,title:Ne,footer:null,onCancel:be,children:(0,t.jsx)("img",{alt:"example",style:{width:"100%"},src:ye})})]})};D.default=ve},73999:function(T,D,n){"use strict";var I=n(11849),E=n(48971),c=n(96690);D.Z={GetAllStore:function(){return(0,E.WY)((0,c.zr)()+"/api/shop/alllist",{method:"GET"})},GetCosRequestURL:function(o){return(0,E.WY)((0,c.zr)()+"/api/SysService/GetPresignUploadUrl",{method:"POST",data:o})},MiniPageList:function(o){return(0,E.WY)((0,c.zr)()+"/api/AppletService/page",{method:"POST",data:(0,I.Z)({},o)})},MiniPageAdd:function(o){return(0,E.WY)((0,c.zr)()+"/api/AppletService/add",{method:"POST",data:(0,I.Z)({},o)})},MiniPageUpdate:function(o){return(0,E.WY)((0,c.zr)()+"/api/AppletService/update",{method:"POST",data:(0,I.Z)({},o)})},MiniPageDelete:function(o){return(0,E.WY)((0,c.zr)()+"/api/AppletService/del",{method:"POST",data:{id:o}})},MinimaterialListByStore:function(o){return(0,E.WY)((0,c.zr)()+"/api/AppletService/MiniStoreMaterial",{method:"POST",data:o})},AddMinimaterial:function(o){return(0,E.WY)((0,c.zr)()+"/api/AppletService/MaterialAdd",{method:"POST",data:o})},UpdateMiniMaterial:function(o){return(0,E.WY)((0,c.zr)()+"/api/AppletService/MaterialUpdate",{method:"POST",data:o})},DeleteMiniMaterial:function(o){return(0,E.WY)((0,c.zr)()+"/api/AppletService/MaterialDel",{method:"POST",data:{id:o}})}}}}]);
|