diff --git a/dist/899.4d610b05.async.js b/dist/899.4d610b05.async.js
deleted file mode 100644
index d850dea..0000000
--- a/dist/899.4d610b05.async.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[899],{53899:function(Qe,me,a){"use strict";a.d(me,{Z:function(){return Ae}});var Xe=a(14781),ge=a(36138),qe=a(62350),U=a(24565),_e=a(77576),ve=a(12028),et=a(57663),D=a(71577),tt=a(34792),x=a(48086),d=a(39428),G=a(3182),v=a(2824),h=a(67294),te=a(49101),ye=a(54977),Ce=a(73171),ae=a(54549),Ze=a(78009),H=a(35611),T=a(48971),j=a(96690),F={getRecipeGroupList:function(e,s,o){return(0,T.WY)((0,j.w)()+"/api/recipe/getRecipeGroupList?groupTempId=".concat(e,"&isWeight=").concat(s,"&autoKey=").concat(o),{method:"Get"})},updataRecipeGroup:function(e){return(0,T.WY)((0,j.w)()+"/api/recipe/updataRecipeGroup",{method:"Post",data:e})},deleteRecipeGroup:function(e,s){return(0,T.WY)((0,j.w)()+"/api/recipe/deleteRecipeGroup?id=".concat(e,"&autoKey=").concat(s),{method:"Get"})},getRecipeTemplateCount:function(e,s){return(0,T.WY)((0,j.w)()+"/api/recipe/GetRecipeTemplateCount?recipeGroupId=".concat(e,"&autoKey=").concat(s),{method:"Get"})},getRecipeTemplateList:function(e,s,o){return(0,T.WY)((0,j.w)()+"/api/recipe/getRecipeTemplateList?recipeGroupId=".concat(e,"&page=").concat(s,"&autoKey=").concat(o),{method:"Get"})},updateRecipeTemplate:function(e){return(0,T.WY)((0,j.w)()+"/api/recipe/updateRecipeTemplate",{method:"Post",data:e})},deleteRecipeTemplate:function(e,s){return(0,T.WY)((0,j.w)()+"/api/recipe/deleteRecipeTemplate?id=".concat(e,"&autoKey=").concat(s),{method:"Get"})},addRecipeTemplatePage:function(e){return(0,T.WY)((0,j.w)()+"/api/recipe/addRecipeTemplatePage",{method:"Post",data:e})},deleteRecipeTemplatePage:function(e,s,o){return(0,T.WY)((0,j.w)()+"/api/recipe/deleteRecipeTemplatePage?recipeGroupId=".concat(e,"&page=").concat(s,"&autoKey=").concat(o),{method:"Get"})},getRecipeVersionSelectList:function(e,s,o){return(0,T.WY)((0,j.w)()+"/api/recipe/getRecipeVersionSelectList?recipeId=".concat(e,"&isWeight=").concat(s,"&autoKey=").concat(o),{method:"Get"})},getGroupMaxSort:function(e,s,o){return(0,T.WY)((0,j.w)()+"/api/recipe/getGroupMaxSort?isWeight=".concat(e,"&autoKey=").concat(s,"&groupTempId=").concat(o),{method:"Get"})},getCopyList:function(e){return(0,T.WY)((0,j.w)()+"/api/recipe/getCopyList?autoKey=".concat(e),{method:"Get"})},copyTemplateList:function(e,s,o){return(0,T.WY)((0,j.w)()+"/api/recipe/copyTemplateList?newAutoKey=".concat(e,"&oldAutoKey=").concat(s,"&groupTempId=").concat(o),{method:"Get"})},getTemplateList:function(e,s,o){return(0,T.WY)((0,j.w)()+"/api/recipe/getTemplateList?select=".concat(e,"&autoKey=").concat(s,"&groupTempId=").concat(o),{method:"Get"})},GetBasicRoleCode:function(){return(0,T.WY)((0,j.w)()+"/api/roles/getBasicRoleCode",{method:"Get"})}},at=a(71194),X=a(50146),nt=a(77883),xe=a(85986),rt=a(43358),J=a(34041),ut=a(9715),I=a(55843),it=a(47673),M=a(4107),t=a(85893),Se=function(e){return(0,t.jsx)(X.Z,{title:e.values.id?"\u7F16\u8F91\u5206\u7EC4":"\u65B0\u5EFA\u5206\u7EC4",width:640,bodyStyle:{padding:"32px 40px 1px 48px"},visible:e.modalVisible,onCancel:e.onCancel,footer:null,maskClosable:!1,destroyOnClose:!0,children:(0,t.jsxs)(I.Z,{layout:"horizontal",preserve:!1,labelCol:{span:4},initialValues:e.values,onFinish:e.onFinish,children:[(0,t.jsx)(I.Z.Item,{name:"id",hidden:!0,children:(0,t.jsx)(M.Z,{})}),(0,t.jsx)(I.Z.Item,{name:"name",label:"\u5206\u7EC4\u540D\u79F0",rules:[{required:!0}],children:(0,t.jsx)(M.Z,{placeholder:"\u8BF7\u8F93\u5165\u5206\u7EC4\u540D\u79F0"})}),(0,t.jsx)(I.Z.Item,{name:"isWeight",label:"\u5206\u7EC4\u6A21\u5F0F",rules:[{required:!0}],children:(0,t.jsx)(J.Z,{style:{width:"100%"},dropdownStyle:{maxHeight:400,overflow:"auto"},options:e.isWeightList,placeholder:"\u8BF7\u9009\u62E9\u5206\u7EC4\u6A21\u5F0F",allowClear:!0})}),(0,t.jsx)(I.Z.Item,{name:"sort",label:"\u6392\u5E8F",children:(0,t.jsx)(xe.Z,{})}),(0,t.jsxs)(I.Z.Item,{children:[(0,t.jsx)(D.Z,{htmlType:"button",style:{float:"right",left:10},onClick:e.onCancel,children:"\u53D6\u6D88"}),(0,t.jsx)(D.Z,{type:"primary",htmlType:"submit",style:{float:"right"},children:"\u4FDD\u5B58"})]})]})})},Te=Se,je=a(16894),Re=function(e){var s=(0,h.useState)(),o=(0,v.Z)(s,2),C=o[0],A=o[1],O=(0,h.useState)(),B=(0,v.Z)(O,2),g=B[0],L=B[1],$=[{value:!1,label:"\u57FA\u7840\u6A21\u7248"},{value:!0,label:"\u8BBE\u5907\u6A21\u7248"}];(0,h.useEffect)(function(){A([])},[e.copyOpen]);var V=[{title:"\u4E3B\u952E",dataIndex:"id",tip:"key",hideInSearch:!0,hideInTable:!0},{title:"\u6A21\u7248/\u8BBE\u5907\u540D\u79F0",dataIndex:"name",ellipsis:!0}],E=function(R){F.getTemplateList(R,e.autoKey,e.groupTempId).then(function(m){m.data&&A(m.data)}),L(R)};return(0,t.jsxs)(X.Z,{title:"\u5BFC\u5165\u6570\u636E",width:640,bodyStyle:{padding:"10px"},open:e.copyOpen,onCancel:e.onCancel,footer:null,maskClosable:!1,destroyOnClose:!0,children:[(0,t.jsx)("span",{style:{marginLeft:25,marginTop:20},children:"\u6570\u636E\u6765\u6E90:"}),(0,t.jsx)(J.Z,{showSearch:!0,style:{width:300,marginLeft:10},optionFilterProp:"label",options:$,placeholder:"\u8BF7\u9009\u62E9\u6570\u636E\u6765\u6E90",allowClear:!0,onChange:function(R){E(R)}}),(0,t.jsx)(je.ZP,{rowKey:"id",columns:V,dataSource:C,options:!1,search:!1,style:{marginTop:10},pagination:{defaultPageSize:10},rowSelection:{type:"radio",onChange:function(R,m){L(R)}}}),(g==null?void 0:g.length)>0&&(0,t.jsx)(U.Z,{type:"primary",title:"\u5BFC\u5165\u5C06\u8986\u76D6\u81EA\u8EAB\u6A21\u7248",okText:"\u662F",cancelText:"\u5426",onConfirm:function(){var R=x.default.loading("\u6B63\u5728\u5BFC\u5165");setTimeout(function(){F.copyTemplateList(g,e.autoKey,e.groupTempId).then(function(m){m.data?x.default.success("\u5BFC\u5165\u6210\u529F"):x.default.error(m.errors)}),R()},1e3)},children:(0,t.jsx)(D.Z,{type:"primary",style:{float:"right",marginTop:-25},children:"\u5BFC\u5165"},"primary")},"primary")]})},Fe=Re,Q=a(11849),Ie=function(e){var s=(0,h.useState)([]),o=(0,v.Z)(s,2),C=o[0],A=o[1],O=(0,h.useState)([]),B=(0,v.Z)(O,2),g=B[0],L=B[1],$=I.Z.useForm(),V=(0,v.Z)($,1),E=V[0];(0,h.useEffect)(function(){e.modalVisible&&(E.setFieldsValue({id:e.values.id,recipeId:e.values.recipeId,versionId:e.values.versionId,describe:e.values.describe,sort:e.values.sort}),W())},[e.values]);var W=function(){var m=(0,G.Z)((0,d.Z)().mark(function K(){return(0,d.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,F.getRecipeVersionSelectList(e.values.recipeId,e.isWeight,e.autoKey).then(function(f){if(f.data){A(f.data);var b=f.data.find(function(Z){return Z.recipeId==e.values.recipeId});L(b==null?void 0:b.versionList)}});case 2:case"end":return c.stop()}},K)}));return function(){return m.apply(this,arguments)}}(),R=function(K){E.setFieldsValue({versionId:null,describe:null});var u=C.find(function(c){return c.recipeId==K});L(u.versionList)};return(0,t.jsx)(X.Z,{title:"\u7ED1\u5B9A\u914D\u65B9",width:640,bodyStyle:{padding:"32px 40px 1px 48px"},visible:e.modalVisible,onCancel:e.onCancel,footer:null,maskClosable:!1,destroyOnClose:!0,children:(0,t.jsxs)(I.Z,{layout:"horizontal",preserve:!1,labelCol:{span:4},form:E,onFinish:e.onFinish,children:[(0,t.jsx)(I.Z.Item,{name:"id",hidden:!0,children:(0,t.jsx)(M.Z,{})}),(0,t.jsx)(I.Z.Item,{name:"recipeId",label:"\u914D\u65B9",rules:[{required:!0}],children:(0,t.jsx)(J.Z,{showSearch:!0,optionFilterProp:"label",onChange:R,options:(C==null?void 0:C.length)>0?C.map(function(m){return{value:m.recipeId,label:m.name}}):"",placeholder:"\u8BF7\u9009\u62E9\u914D\u65B9"})}),(0,t.jsx)(I.Z.Item,{name:"versionId",label:"\u7248\u672C",rules:[{required:!0}],children:(0,t.jsx)(J.Z,{options:(g==null?void 0:g.length)>0?g.map(function(m){return{value:m.versionId,label:m.version}}):"",placeholder:"\u8BF7\u9009\u62E9\u7248\u672C",onChange:function(K,u){var c=g.find(function(f){return f.versionId==K});E.setFieldsValue({describe:c.describe})}})}),(0,t.jsx)(I.Z.Item,{name:"describe",label:"\u7248\u672C\u63CF\u8FF0",children:(0,t.jsx)(M.Z,{disabled:!0})}),(0,t.jsx)(I.Z.Item,{name:"sort",label:"\u5E8F\u53F7",children:(0,t.jsx)(M.Z,{disabled:!0})}),(0,t.jsxs)(I.Z.Item,{children:[(0,t.jsx)(D.Z,{htmlType:"button",style:{float:"right",left:10},onClick:e.onCancel,children:"\u53D6\u6D88"}),(0,t.jsx)(D.Z,{type:"primary",htmlType:"submit",style:{float:"right"},children:"\u4FDD\u5B58"})]})]})})},be=Ie,we={width:"100%",height:"150px",textAlign:"center",whiteSpace:"normal"},Ge={position:"absolute",top:"3%",right:"3%",border:"none",background:"transparent",cursor:"pointer",color:"#FA541C"},Le={position:"absolute",top:"3%",right:"90%",border:"none",background:"transparent"},Be=function(e){var s=(0,h.useState)(!1),o=(0,v.Z)(s,2),C=o[0],A=o[1],O=(0,h.useState)([]),B=(0,v.Z)(O,2),g=B[0],L=B[1],$=(0,h.useState)([]),V=(0,v.Z)($,2),E=V[0],W=V[1];(0,h.useEffect)(function(){R(e.values)},[e.values]);function R(u){var c=[];u.length==0?c=Array.from({length:20},function(f,b){return{id:"",recipeGroupId:"",recipeId:"",recipeName:"",sort:b+1,version:"",versionId:"",describe:""}}):c=u,W(c)}var m=function(){var u=(0,G.Z)((0,d.Z)().mark(function c(f,b){var Z;return(0,d.Z)().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return Y.next=2,F.getRecipeTemplateList(f,b,e.autoKey);case 2:Z=Y.sent,R(Z.data);case 4:case"end":return Y.stop()}},c)}));return function(f,b){return u.apply(this,arguments)}}(),K=function(){var u=(0,G.Z)((0,d.Z)().mark(function c(f){return(0,d.Z)().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return Z.next=2,F.deleteRecipeTemplate(f,e.autoKey).then(function(k){k.data?(x.default.success("\u5220\u9664\u6210\u529F"),m(e.groupId,e.current)):x.default.error(k.errors)});case 2:case"end":return Z.stop()}},c)}));return function(f){return u.apply(this,arguments)}}();return(0,t.jsxs)("div",{style:{height:"90%",display:"grid",gridTemplateColumns:"repeat(5, 19%)",gridTemplateRows:"repeat(4, 25%)",gap:"10px",justifyContent:"center",alignItems:"center"},children:[E.map(function(u,c){return(0,t.jsxs)(D.Z,{onClick:function(){if(e.groupId==null){x.default.error("\u8BF7\u5148\u9009\u62E9\u4E00\u4E2A\u914D\u65B9\u5206\u7EC4");return}L(u),A(!0)},style:(0,Q.Z)((0,Q.Z)({},we),{},{border:u.recipeName===""?"1px dashed #FA541C":"1px solid #FA541C",backgroundColor:u.recipeName===""?"#ffffff":"#fff2e8"}),children:[u.recipeName!=""&&(0,t.jsx)("span",{style:(0,Q.Z)({},Le),children:u.sort}),u.recipeName!=""&&(0,t.jsx)("span",{style:(0,Q.Z)({},Ge),children:(0,t.jsx)("a",{onClick:function(b){b.stopPropagation()},style:{marginLeft:5},children:(0,t.jsx)(U.Z,{title:"\u786E\u8BA4\u5220\u9664\u5417?",onConfirm:function(){return K(u.id)},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,t.jsx)(ae.Z,{})})})}),u.recipeName!=""?u.recipeName:"+",(0,t.jsx)("br",{}),u.recipeName!=""?u.version+".0":null]},c)}),(0,t.jsx)(be,{onFinish:function(){var u=(0,G.Z)((0,d.Z)().mark(function c(f){return(0,d.Z)().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return L([]),A(!1),f.recipeGroupId=e.groupId,f.autoKey=e.autoKey,Z.next=6,F.updateRecipeTemplate(f).then(function(k){k.data?(f.id==null?x.default.success("\u6DFB\u52A0\u6210\u529F"):x.default.success("\u4FEE\u6539\u6210\u529F"),m(e.groupId,e.current)):x.default.error(k.errors)});case 6:case"end":return Z.stop()}},c)}));return function(c){return u.apply(this,arguments)}}(),onCancel:function(){A(!1),L([])},modalVisible:C,isWeight:e.isWeight,autoKey:e.autoKey,values:g||{}})]})},Ee=Be,De=function(e){var s=(0,h.useState)(),o=(0,v.Z)(s,2),C=o[0],A=o[1],O=(0,h.useState)(!1),B=(0,v.Z)(O,2),g=B[0],L=B[1],$=(0,h.useState)([]),V=(0,v.Z)($,2),E=V[0],W=V[1],R=(0,h.useState)(),m=(0,v.Z)(R,2),K=m[0],u=m[1],c=(0,h.useState)([]),f=(0,v.Z)(c,2),b=f[0],Z=f[1],k=(0,h.useState)([]),Y=(0,v.Z)(k,2),Ke=Y[0],ne=Y[1],Ve=(0,h.useState)(),re=(0,v.Z)(Ve,2),P=re[0],z=re[1],We=(0,h.useState)(1),ue=(0,v.Z)(We,2),q=ue[0],_=ue[1],Pe=(0,h.useState)(1),ie=(0,v.Z)(Pe,2),ke=ie[0],le=ie[1],Ye=(0,h.useState)(20),se=(0,v.Z)(Ye,2),oe=se[0],ce=se[1],Oe=(0,h.useState)(!1),de=(0,v.Z)(Oe,2),$e=de[0],pe=de[1],Me=[{value:!1,label:"\u6807\u51C6\u6A21\u5F0F"},{value:!0,label:"\u8BA1\u91CF\u6A21\u5F0F"}];(0,h.useEffect)(function(){A(e.autoKey?e.autoKey:0),N(!1)},[]);var N=function(){var i=(0,G.Z)((0,d.Z)().mark(function n(r){var p;return(0,d.Z)().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,F.getRecipeGroupList(e.groupTempId?e.groupTempId:"",r,e.autoKey?e.autoKey:0);case 2:p=w.sent,W(p.data);case 4:case"end":return w.stop()}},n)}));return function(r){return i.apply(this,arguments)}}(),ze=function(){var i=(0,G.Z)((0,d.Z)().mark(function n(r){return(0,d.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,F.deleteRecipeGroup(r,C).then(function(w){w.data?(x.default.success("\u5220\u9664\u6210\u529F"),N(g),z()):x.default.error(w.errors)});case 2:case"end":return l.stop()}},n)}));return function(r){return i.apply(this,arguments)}}(),Ne=function(){var i=(0,G.Z)((0,d.Z)().mark(function n(r){var p,l;return(0,d.Z)().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,F.getRecipeTemplateCount(r,C);case 2:p=S.sent,l=p.data,l===0&&(l=20),ce(l);case 6:case"end":return S.stop()}},n)}));return function(r){return i.apply(this,arguments)}}(),fe=function(){var i=(0,G.Z)((0,d.Z)().mark(function n(r,p){var l;return(0,d.Z)().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,F.getRecipeTemplateList(r,p,C);case 2:l=S.sent,ne(l.data);case 4:case"end":return S.stop()}},n)}));return function(r,p){return i.apply(this,arguments)}}(),Ue=function(){var i=(0,G.Z)((0,d.Z)().mark(function n(){var r,p,l;return(0,d.Z)().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:if(P!==void 0){S.next=4;break}x.default.error("\u8BF7\u5148\u9009\u62E9\u4E00\u4E2A\u914D\u65B9\u5206\u7EC4"),S.next=13;break;case 4:return r={},r.recipeGroupId=P,S.next=8,F.addRecipeTemplatePage(r,C);case 8:p=oe+20,ce(p),l=Math.ceil(p/20),_(l),he(l);case 13:case"end":return S.stop()}},n)}));return function(){return i.apply(this,arguments)}}(),He=function(){var i=(0,G.Z)((0,d.Z)().mark(function n(){return(0,d.Z)().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(P!==void 0){p.next=4;break}x.default.error("\u8BF7\u5148\u9009\u62E9\u4E00\u4E2A\u914D\u65B9\u5206\u7EC4"),p.next=6;break;case 4:return p.next=6,F.deleteRecipeTemplatePage(P,q,C).then(function(l){l.data?(x.default.success("\u5220\u9664\u6210\u529F"),ee(P)):x.default.error(l.errors)});case 6:case"end":return p.stop()}},n)}));return function(){return i.apply(this,arguments)}}(),he=function(n){_(n),le(n),fe(P,n)},ee=function(){var i=(0,G.Z)((0,d.Z)().mark(function n(r){return(0,d.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:_(1),le(1),z(r),Ne(r),fe(r,1);case 5:case"end":return l.stop()}},n)}));return function(r){return i.apply(this,arguments)}}(),Je=function(n){L(!!n),N(n),z(),ne([])};return(0,t.jsxs)(Ze.ZP,{header:{title:"",breadcrumb:{}},children:[(0,t.jsx)("div",{style:{textAlign:"left",marginBottom:10},children:(0,t.jsx)(D.Z,{type:"primary",onClick:function(){pe(!0)},children:"\u5BFC\u5165\u5BA2\u6237\u6216\u8BBE\u5907\u6570\u636E"},"primary")}),(0,t.jsxs)(H.Z,{style:{height:"700px"},split:"vertical",children:[(0,t.jsxs)(H.Z,{title:"\u914D\u65B9\u5206\u7EC4",type:"inner",colSpan:"25%",style:{height:"800px",overflowY:"auto"},headStyle:{position:"sticky",top:0,background:"white",zIndex:1},extra:(0,t.jsxs)(D.Z,{type:"primary",onClick:function(){F.getGroupMaxSort(g,C,e.groupTempId?e.groupTempId:"").then(function(n){var r=0;n.data&&(r=n.data);var p={sort:r+1};Z(p),u(!0)})},children:[(0,t.jsx)(te.Z,{}),"\u6DFB\u52A0\u5206\u7EC4"]},"primary"),children:[(0,t.jsx)(ve.Z,{checkedChildren:"\u8BA1\u91CF\u6A21\u5F0F",unCheckedChildren:"\u6807\u51C6\u6A21\u5F0F",defaultunChecked:!0,onChange:Je,style:{width:"100%",marginTop:-10,marginBottom:10,backgroundColor:g?"#8F452B":"#FA541C",borderColor:g?"#8F452B":"#FA541C"}}),(0,t.jsx)("div",{children:E.length>0?E.map(function(i){var n=i.id===P;return(0,t.jsx)(H.Z,{boxShadow:!0,hoverable:!0,bordered:!0,onClick:function(){ee(i.id)},bodyStyle:{padding:15,display:"flex",justifyContent:"center"},headStyle:{padding:"0px 24px"},style:{marginBlockEnd:8,boxShadow:n?"-1px 5px 5px gray":void 0,borderColor:n?"gray":void 0,borderWidth:"1px",borderStyle:"solid"},extra:(0,t.jsxs)("div",{style:{height:20},children:[(0,t.jsx)(ye.Z,{onClick:function(){Z(i),u(!0)}}),(0,t.jsx)(U.Z,{title:"\u786E\u8BA4\u5220\u9664\u5417?",onConfirm:function(){return ze(i.id)},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,t.jsx)(Ce.Z,{style:{marginLeft:10}})})]}),children:(0,t.jsx)("h1",{children:i.name})},i.id)}):(0,t.jsx)("div",{children:"\u70B9\u51FB\u6DFB\u52A0\u5206\u7EC4\u6309\u94AE\u6DFB\u52A0\u914D\u65B9\u5206\u7EC4!"})})]}),(0,t.jsx)(H.Z,{type:"inner",title:"\u914D\u65B9",style:{height:"800px"},children:(0,t.jsxs)("div",{style:{height:"100%",overflow:"hidden",clear:"both"},children:[(0,t.jsxs)("div",{style:{textAlign:"right",marginBottom:10,marginRight:10},children:[(0,t.jsx)(ge.Z,{style:{display:"inline-flex"},current:q,defaultPageSize:20,defaultCurrent:ke,total:oe,onChange:he,showSizeChanger:!1}),(0,t.jsxs)(D.Z,{type:"primary",style:{marginLeft:10},onClick:function(){return Ue()},children:[(0,t.jsx)(te.Z,{}),"\u65B0\u589E\u9875"]}),(0,t.jsx)(U.Z,{title:"\u5220\u9664\u5F53\u524D\u9875\u548C\u7ED1\u5B9A\u914D\u65B9?",onConfirm:function(){return He()},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,t.jsxs)(D.Z,{type:"primary",style:{marginLeft:10},children:[(0,t.jsx)(ae.Z,{}),"\u5220\u9664\u5F53\u524D\u9875"]})})]}),(0,t.jsx)(Ee,{values:Ke,current:q,groupId:P,isWeight:g,autoKey:e.autoKey?e.autoKey:0})]})})]}),(0,t.jsx)(Fe,{onCancel:function(){pe(!1),N(g),ee(P)},copyOpen:$e,autoKey:C,groupTempId:e.groupTempId?e.groupTempId:""}),(0,t.jsx)(Te,{onFinish:function(){var i=(0,G.Z)((0,d.Z)().mark(function n(r){return(0,d.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return Z([]),u(!1),r.autoKey=C,r.groupTempId=e.groupTempId?e.groupTempId:"",l.next=6,F.updataRecipeGroup(r).then(function(w){w.data?(r.id==null?x.default.success("\u6DFB\u52A0\u6210\u529F"):x.default.success("\u4FEE\u6539\u6210\u529F"),N(g)):x.default.error(w.errors)});case 6:z();case 7:case"end":return l.stop()}},n)}));return function(n){return i.apply(this,arguments)}}(),onCancel:function(){u(!1),Z([]),z()},modalVisible:K,autoKey:C,isWeight:g,values:b||{},isWeightList:Me})]})},Ae=De}}]);
diff --git a/dist/899.634b5ec9.async.js b/dist/899.634b5ec9.async.js
new file mode 100644
index 0000000..c7d134a
--- /dev/null
+++ b/dist/899.634b5ec9.async.js
@@ -0,0 +1 @@
+(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[899],{53899:function(Qe,he,a){"use strict";a.d(he,{Z:function(){return Ae}});var Xe=a(14781),ge=a(36138),qe=a(62350),U=a(24565),_e=a(77576),ve=a(12028),et=a(57663),D=a(71577),tt=a(34792),x=a(48086),d=a(39428),G=a(3182),y=a(2824),m=a(67294),te=a(49101),ye=a(54977),Ce=a(73171),ae=a(54549),Ze=a(78009),H=a(35611),S=a(48971),I=a(96690),R={getRecipeGroupList:function(e,s,o){return(0,S.WY)((0,I.w)()+"/api/recipe/getRecipeGroupList?groupTempId=".concat(e,"&isWeight=").concat(s,"&autoKey=").concat(o),{method:"Get"})},updataRecipeGroup:function(e){return(0,S.WY)((0,I.w)()+"/api/recipe/updataRecipeGroup",{method:"Post",data:e})},deleteRecipeGroup:function(e,s){return(0,S.WY)((0,I.w)()+"/api/recipe/deleteRecipeGroup?id=".concat(e,"&autoKey=").concat(s),{method:"Get"})},getRecipeTemplateCount:function(e,s){return(0,S.WY)((0,I.w)()+"/api/recipe/GetRecipeTemplateCount?recipeGroupId=".concat(e,"&autoKey=").concat(s),{method:"Get"})},getRecipeTemplateList:function(e,s,o){return(0,S.WY)((0,I.w)()+"/api/recipe/getRecipeTemplateList?recipeGroupId=".concat(e,"&page=").concat(s,"&autoKey=").concat(o),{method:"Get"})},updateRecipeTemplate:function(e){return(0,S.WY)((0,I.w)()+"/api/recipe/updateRecipeTemplate",{method:"Post",data:e})},deleteRecipeTemplate:function(e,s){return(0,S.WY)((0,I.w)()+"/api/recipe/deleteRecipeTemplate?id=".concat(e,"&autoKey=").concat(s),{method:"Get"})},addRecipeTemplatePage:function(e){return(0,S.WY)((0,I.w)()+"/api/recipe/addRecipeTemplatePage",{method:"Post",data:e})},deleteRecipeTemplatePage:function(e,s,o){return(0,S.WY)((0,I.w)()+"/api/recipe/deleteRecipeTemplatePage?recipeGroupId=".concat(e,"&page=").concat(s,"&autoKey=").concat(o),{method:"Get"})},getRecipeVersionSelectList:function(e,s,o,g){return(0,S.WY)((0,I.w)()+"/api/recipe/getRecipeVersionSelectList?recipeId=".concat(e,"&isWeight=").concat(s,"&autoKey=").concat(o,"&groupTempId=").concat(g),{method:"Get"})},getGroupMaxSort:function(e,s,o){return(0,S.WY)((0,I.w)()+"/api/recipe/getGroupMaxSort?isWeight=".concat(e,"&autoKey=").concat(s,"&groupTempId=").concat(o),{method:"Get"})},getCopyList:function(e){return(0,S.WY)((0,I.w)()+"/api/recipe/getCopyList?autoKey=".concat(e),{method:"Get"})},copyTemplateList:function(e,s,o){return(0,S.WY)((0,I.w)()+"/api/recipe/copyTemplateList?newAutoKey=".concat(e,"&oldAutoKey=").concat(s,"&groupTempId=").concat(o),{method:"Get"})},getTemplateList:function(e,s,o){return(0,S.WY)((0,I.w)()+"/api/recipe/getTemplateList?select=".concat(e,"&autoKey=").concat(s,"&groupTempId=").concat(o),{method:"Get"})},GetBasicRoleCode:function(){return(0,S.WY)((0,I.w)()+"/api/roles/getBasicRoleCode",{method:"Get"})}},at=a(71194),X=a(50146),nt=a(77883),xe=a(85986),rt=a(43358),J=a(34041),ut=a(9715),F=a(55843),it=a(47673),M=a(4107),t=a(85893),Te=function(e){return(0,t.jsx)(X.Z,{title:e.values.id?"\u7F16\u8F91\u5206\u7EC4":"\u65B0\u5EFA\u5206\u7EC4",width:640,bodyStyle:{padding:"32px 40px 1px 48px"},visible:e.modalVisible,onCancel:e.onCancel,footer:null,maskClosable:!1,destroyOnClose:!0,children:(0,t.jsxs)(F.Z,{layout:"horizontal",preserve:!1,labelCol:{span:4},initialValues:e.values,onFinish:e.onFinish,children:[(0,t.jsx)(F.Z.Item,{name:"id",hidden:!0,children:(0,t.jsx)(M.Z,{})}),(0,t.jsx)(F.Z.Item,{name:"name",label:"\u5206\u7EC4\u540D\u79F0",rules:[{required:!0}],children:(0,t.jsx)(M.Z,{placeholder:"\u8BF7\u8F93\u5165\u5206\u7EC4\u540D\u79F0"})}),(0,t.jsx)(F.Z.Item,{name:"isWeight",label:"\u5206\u7EC4\u6A21\u5F0F",rules:[{required:!0}],children:(0,t.jsx)(J.Z,{style:{width:"100%"},dropdownStyle:{maxHeight:400,overflow:"auto"},options:e.isWeightList,placeholder:"\u8BF7\u9009\u62E9\u5206\u7EC4\u6A21\u5F0F",allowClear:!0})}),(0,t.jsx)(F.Z.Item,{name:"sort",label:"\u6392\u5E8F",children:(0,t.jsx)(xe.Z,{})}),(0,t.jsxs)(F.Z.Item,{children:[(0,t.jsx)(D.Z,{htmlType:"button",style:{float:"right",left:10},onClick:e.onCancel,children:"\u53D6\u6D88"}),(0,t.jsx)(D.Z,{type:"primary",htmlType:"submit",style:{float:"right"},children:"\u4FDD\u5B58"})]})]})})},Se=Te,Ie=a(16894),je=function(e){var s=(0,m.useState)(),o=(0,y.Z)(s,2),g=o[0],A=o[1],O=(0,m.useState)(),B=(0,y.Z)(O,2),v=B[0],L=B[1],$=[{value:!1,label:"\u57FA\u7840\u6A21\u7248"},{value:!0,label:"\u8BBE\u5907\u6A21\u7248"}];(0,m.useEffect)(function(){A([])},[e.copyOpen]);var V=[{title:"\u4E3B\u952E",dataIndex:"id",tip:"key",hideInSearch:!0,hideInTable:!0},{title:"\u6A21\u7248/\u8BBE\u5907\u540D\u79F0",dataIndex:"name",ellipsis:!0}],E=function(j){R.getTemplateList(j,e.autoKey,e.groupTempId).then(function(h){h.data&&A(h.data)}),L(j)};return(0,t.jsxs)(X.Z,{title:"\u5BFC\u5165\u6570\u636E",width:640,bodyStyle:{padding:"10px"},open:e.copyOpen,onCancel:e.onCancel,footer:null,maskClosable:!1,destroyOnClose:!0,children:[(0,t.jsx)("span",{style:{marginLeft:25,marginTop:20},children:"\u6570\u636E\u6765\u6E90:"}),(0,t.jsx)(J.Z,{showSearch:!0,style:{width:300,marginLeft:10},optionFilterProp:"label",options:$,placeholder:"\u8BF7\u9009\u62E9\u6570\u636E\u6765\u6E90",allowClear:!0,onChange:function(j){E(j)}}),(0,t.jsx)(Ie.ZP,{rowKey:"id",columns:V,dataSource:g,options:!1,search:!1,style:{marginTop:10},pagination:{defaultPageSize:10},rowSelection:{type:"radio",onChange:function(j,h){L(j)}}}),(v==null?void 0:v.length)>0&&(0,t.jsx)(U.Z,{type:"primary",title:"\u5BFC\u5165\u5C06\u8986\u76D6\u81EA\u8EAB\u6A21\u7248",okText:"\u662F",cancelText:"\u5426",onConfirm:function(){var j=x.default.loading("\u6B63\u5728\u5BFC\u5165");setTimeout(function(){R.copyTemplateList(v,e.autoKey,e.groupTempId).then(function(h){h.data?x.default.success("\u5BFC\u5165\u6210\u529F"):x.default.error(h.errors)}),j()},1e3)},children:(0,t.jsx)(D.Z,{type:"primary",style:{float:"right",marginTop:-25},children:"\u5BFC\u5165"},"primary")},"primary")]})},Re=je,Q=a(11849),Fe=function(e){var s=(0,m.useState)([]),o=(0,y.Z)(s,2),g=o[0],A=o[1],O=(0,m.useState)([]),B=(0,y.Z)(O,2),v=B[0],L=B[1],$=F.Z.useForm(),V=(0,y.Z)($,1),E=V[0];(0,m.useEffect)(function(){e.modalVisible&&(E.setFieldsValue({id:e.values.id,recipeId:e.values.recipeId,versionId:e.values.versionId,describe:e.values.describe,sort:e.values.sort}),W())},[e.values]);var W=function(){var h=(0,G.Z)((0,d.Z)().mark(function K(){return(0,d.Z)().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,R.getRecipeVersionSelectList(e.values.recipeId!=null?e.values.recipeId:"",e.isWeight,e.autoKey,e.groupTempId).then(function(f){if(f.data){A(f.data);var b=f.data.find(function(Z){return Z.recipeId==e.values.recipeId});L(b==null?void 0:b.versionList)}});case 2:case"end":return c.stop()}},K)}));return function(){return h.apply(this,arguments)}}(),j=function(K){E.setFieldsValue({versionId:null,describe:null});var u=g.find(function(c){return c.recipeId==K});L(u.versionList)};return(0,t.jsx)(X.Z,{title:"\u7ED1\u5B9A\u914D\u65B9",width:640,bodyStyle:{padding:"32px 40px 1px 48px"},visible:e.modalVisible,onCancel:e.onCancel,footer:null,maskClosable:!1,destroyOnClose:!0,children:(0,t.jsxs)(F.Z,{layout:"horizontal",preserve:!1,labelCol:{span:4},form:E,onFinish:e.onFinish,children:[(0,t.jsx)(F.Z.Item,{name:"id",hidden:!0,children:(0,t.jsx)(M.Z,{})}),(0,t.jsx)(F.Z.Item,{name:"recipeId",label:"\u914D\u65B9",rules:[{required:!0}],children:(0,t.jsx)(J.Z,{showSearch:!0,optionFilterProp:"label",onChange:j,options:(g==null?void 0:g.length)>0?g.map(function(h){return{value:h.recipeId,label:h.name}}):"",placeholder:"\u8BF7\u9009\u62E9\u914D\u65B9"})}),(0,t.jsx)(F.Z.Item,{name:"versionId",label:"\u7248\u672C",rules:[{required:!0}],children:(0,t.jsx)(J.Z,{options:(v==null?void 0:v.length)>0?v.map(function(h){return{value:h.versionId,label:h.version}}):"",placeholder:"\u8BF7\u9009\u62E9\u7248\u672C",onChange:function(K,u){var c=v.find(function(f){return f.versionId==K});E.setFieldsValue({describe:c.describe})}})}),(0,t.jsx)(F.Z.Item,{name:"describe",label:"\u7248\u672C\u63CF\u8FF0",children:(0,t.jsx)(M.Z,{disabled:!0})}),(0,t.jsx)(F.Z.Item,{name:"sort",label:"\u5E8F\u53F7",children:(0,t.jsx)(M.Z,{disabled:!0})}),(0,t.jsxs)(F.Z.Item,{children:[(0,t.jsx)(D.Z,{htmlType:"button",style:{float:"right",left:10},onClick:e.onCancel,children:"\u53D6\u6D88"}),(0,t.jsx)(D.Z,{type:"primary",htmlType:"submit",style:{float:"right"},children:"\u4FDD\u5B58"})]})]})})},be=Fe,we={width:"100%",height:"150px",textAlign:"center",whiteSpace:"normal"},Ge={position:"absolute",top:"3%",right:"3%",border:"none",background:"transparent",cursor:"pointer",color:"#FA541C"},Le={position:"absolute",top:"3%",right:"90%",border:"none",background:"transparent"},Be=function(e){var s=(0,m.useState)(!1),o=(0,y.Z)(s,2),g=o[0],A=o[1],O=(0,m.useState)([]),B=(0,y.Z)(O,2),v=B[0],L=B[1],$=(0,m.useState)([]),V=(0,y.Z)($,2),E=V[0],W=V[1];(0,m.useEffect)(function(){j(e.values)},[e.values]);function j(u){var c=[];u.length==0?c=Array.from({length:20},function(f,b){return{id:"",recipeGroupId:"",recipeId:"",recipeName:"",sort:b+1,version:"",versionId:"",describe:""}}):c=u,W(c)}var h=function(){var u=(0,G.Z)((0,d.Z)().mark(function c(f,b){var Z;return(0,d.Z)().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return Y.next=2,R.getRecipeTemplateList(f,b,e.autoKey);case 2:Z=Y.sent,j(Z.data);case 4:case"end":return Y.stop()}},c)}));return function(f,b){return u.apply(this,arguments)}}(),K=function(){var u=(0,G.Z)((0,d.Z)().mark(function c(f){return(0,d.Z)().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return Z.next=2,R.deleteRecipeTemplate(f,e.autoKey).then(function(k){k.data?(x.default.success("\u5220\u9664\u6210\u529F"),h(e.groupId,e.current)):x.default.error(k.errors)});case 2:case"end":return Z.stop()}},c)}));return function(f){return u.apply(this,arguments)}}();return(0,t.jsxs)("div",{style:{height:"90%",display:"grid",gridTemplateColumns:"repeat(5, 19%)",gridTemplateRows:"repeat(4, 25%)",gap:"10px",justifyContent:"center",alignItems:"center"},children:[E.map(function(u,c){return(0,t.jsxs)(D.Z,{onClick:function(){if(e.groupId==null){x.default.error("\u8BF7\u5148\u9009\u62E9\u4E00\u4E2A\u914D\u65B9\u5206\u7EC4");return}L(u),A(!0)},style:(0,Q.Z)((0,Q.Z)({},we),{},{border:u.recipeName===""?"1px dashed #FA541C":"1px solid #FA541C",backgroundColor:u.recipeName===""?"#ffffff":"#fff2e8"}),children:[u.recipeName!=""&&(0,t.jsx)("span",{style:(0,Q.Z)({},Le),children:u.sort}),u.recipeName!=""&&(0,t.jsx)("span",{style:(0,Q.Z)({},Ge),children:(0,t.jsx)("a",{onClick:function(b){b.stopPropagation()},style:{marginLeft:5},children:(0,t.jsx)(U.Z,{title:"\u786E\u8BA4\u5220\u9664\u5417?",onConfirm:function(){return K(u.id)},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,t.jsx)(ae.Z,{})})})}),u.recipeName!=""?u.recipeName:"+",(0,t.jsx)("br",{}),u.recipeName!=""?u.version+".0":null]},c)}),(0,t.jsx)(be,{onFinish:function(){var u=(0,G.Z)((0,d.Z)().mark(function c(f){return(0,d.Z)().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return L([]),A(!1),f.recipeGroupId=e.groupId,f.autoKey=e.autoKey,Z.next=6,R.updateRecipeTemplate(f).then(function(k){k.data?(f.id==null?x.default.success("\u6DFB\u52A0\u6210\u529F"):x.default.success("\u4FEE\u6539\u6210\u529F"),h(e.groupId,e.current)):x.default.error(k.errors)});case 6:case"end":return Z.stop()}},c)}));return function(c){return u.apply(this,arguments)}}(),onCancel:function(){A(!1),L([])},modalVisible:g,isWeight:e.isWeight,autoKey:e.autoKey,groupTempId:e.groupTempId,values:v||{}})]})},Ee=Be,De=function(e){var s=(0,m.useState)(),o=(0,y.Z)(s,2),g=o[0],A=o[1],O=(0,m.useState)(!1),B=(0,y.Z)(O,2),v=B[0],L=B[1],$=(0,m.useState)([]),V=(0,y.Z)($,2),E=V[0],W=V[1],j=(0,m.useState)(),h=(0,y.Z)(j,2),K=h[0],u=h[1],c=(0,m.useState)([]),f=(0,y.Z)(c,2),b=f[0],Z=f[1],k=(0,m.useState)([]),Y=(0,y.Z)(k,2),Ke=Y[0],ne=Y[1],Ve=(0,m.useState)(),re=(0,y.Z)(Ve,2),P=re[0],z=re[1],We=(0,m.useState)(1),ue=(0,y.Z)(We,2),q=ue[0],_=ue[1],Pe=(0,m.useState)(1),ie=(0,y.Z)(Pe,2),ke=ie[0],le=ie[1],Ye=(0,m.useState)(20),se=(0,y.Z)(Ye,2),oe=se[0],ce=se[1],Oe=(0,m.useState)(!1),de=(0,y.Z)(Oe,2),$e=de[0],pe=de[1],Me=[{value:!1,label:"\u6807\u51C6\u6A21\u5F0F"},{value:!0,label:"\u8BA1\u91CF\u6A21\u5F0F"}];(0,m.useEffect)(function(){A(e.autoKey?e.autoKey:0),N(!1)},[]);var N=function(){var i=(0,G.Z)((0,d.Z)().mark(function n(r){var p;return(0,d.Z)().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,R.getRecipeGroupList(e.groupTempId?e.groupTempId:"",r,e.autoKey?e.autoKey:0);case 2:p=w.sent,W(p.data);case 4:case"end":return w.stop()}},n)}));return function(r){return i.apply(this,arguments)}}(),ze=function(){var i=(0,G.Z)((0,d.Z)().mark(function n(r){return(0,d.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,R.deleteRecipeGroup(r,g).then(function(w){w.data?(x.default.success("\u5220\u9664\u6210\u529F"),N(v),z()):x.default.error(w.errors)});case 2:case"end":return l.stop()}},n)}));return function(r){return i.apply(this,arguments)}}(),Ne=function(){var i=(0,G.Z)((0,d.Z)().mark(function n(r){var p,l;return(0,d.Z)().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,R.getRecipeTemplateCount(r,g);case 2:p=T.sent,l=p.data,l===0&&(l=20),ce(l);case 6:case"end":return T.stop()}},n)}));return function(r){return i.apply(this,arguments)}}(),fe=function(){var i=(0,G.Z)((0,d.Z)().mark(function n(r,p){var l;return(0,d.Z)().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,R.getRecipeTemplateList(r,p,g);case 2:l=T.sent,ne(l.data);case 4:case"end":return T.stop()}},n)}));return function(r,p){return i.apply(this,arguments)}}(),Ue=function(){var i=(0,G.Z)((0,d.Z)().mark(function n(){var r,p,l;return(0,d.Z)().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(P!==void 0){T.next=4;break}x.default.error("\u8BF7\u5148\u9009\u62E9\u4E00\u4E2A\u914D\u65B9\u5206\u7EC4"),T.next=13;break;case 4:return r={},r.recipeGroupId=P,T.next=8,R.addRecipeTemplatePage(r,g);case 8:p=oe+20,ce(p),l=Math.ceil(p/20),_(l),me(l);case 13:case"end":return T.stop()}},n)}));return function(){return i.apply(this,arguments)}}(),He=function(){var i=(0,G.Z)((0,d.Z)().mark(function n(){return(0,d.Z)().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(P!==void 0){p.next=4;break}x.default.error("\u8BF7\u5148\u9009\u62E9\u4E00\u4E2A\u914D\u65B9\u5206\u7EC4"),p.next=6;break;case 4:return p.next=6,R.deleteRecipeTemplatePage(P,q,g).then(function(l){l.data?(x.default.success("\u5220\u9664\u6210\u529F"),ee(P)):x.default.error(l.errors)});case 6:case"end":return p.stop()}},n)}));return function(){return i.apply(this,arguments)}}(),me=function(n){_(n),le(n),fe(P,n)},ee=function(){var i=(0,G.Z)((0,d.Z)().mark(function n(r){return(0,d.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:_(1),le(1),z(r),Ne(r),fe(r,1);case 5:case"end":return l.stop()}},n)}));return function(r){return i.apply(this,arguments)}}(),Je=function(n){L(!!n),N(n),z(),ne([])};return(0,t.jsxs)(Ze.ZP,{header:{title:"",breadcrumb:{}},children:[(0,t.jsx)("div",{style:{textAlign:"left",marginBottom:10},children:(0,t.jsx)(D.Z,{type:"primary",onClick:function(){pe(!0)},children:"\u5BFC\u5165\u5BA2\u6237\u6216\u8BBE\u5907\u6570\u636E"},"primary")}),(0,t.jsxs)(H.Z,{style:{height:"700px"},split:"vertical",children:[(0,t.jsxs)(H.Z,{title:"\u914D\u65B9\u5206\u7EC4",type:"inner",colSpan:"25%",style:{height:"800px",overflowY:"auto"},headStyle:{position:"sticky",top:0,background:"white",zIndex:1},extra:(0,t.jsxs)(D.Z,{type:"primary",onClick:function(){R.getGroupMaxSort(v,g,e.groupTempId?e.groupTempId:"").then(function(n){var r=0;n.data&&(r=n.data);var p={sort:r+1};Z(p),u(!0)})},children:[(0,t.jsx)(te.Z,{}),"\u6DFB\u52A0\u5206\u7EC4"]},"primary"),children:[(0,t.jsx)(ve.Z,{checkedChildren:"\u8BA1\u91CF\u6A21\u5F0F",unCheckedChildren:"\u6807\u51C6\u6A21\u5F0F",defaultunChecked:!0,onChange:Je,style:{width:"100%",marginTop:-10,marginBottom:10,backgroundColor:v?"#8F452B":"#FA541C",borderColor:v?"#8F452B":"#FA541C"}}),(0,t.jsx)("div",{children:E.length>0?E.map(function(i){var n=i.id===P;return(0,t.jsx)(H.Z,{boxShadow:!0,hoverable:!0,bordered:!0,onClick:function(){ee(i.id)},bodyStyle:{padding:15,display:"flex",justifyContent:"center"},headStyle:{padding:"0px 24px"},style:{marginBlockEnd:8,boxShadow:n?"-1px 5px 5px gray":void 0,borderColor:n?"gray":void 0,borderWidth:"1px",borderStyle:"solid"},extra:(0,t.jsxs)("div",{style:{height:20},children:[(0,t.jsx)(ye.Z,{onClick:function(){Z(i),u(!0)}}),(0,t.jsx)(U.Z,{title:"\u786E\u8BA4\u5220\u9664\u5417?",onConfirm:function(){return ze(i.id)},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,t.jsx)(Ce.Z,{style:{marginLeft:10}})})]}),children:(0,t.jsx)("h1",{children:i.name})},i.id)}):(0,t.jsx)("div",{children:"\u70B9\u51FB\u6DFB\u52A0\u5206\u7EC4\u6309\u94AE\u6DFB\u52A0\u914D\u65B9\u5206\u7EC4!"})})]}),(0,t.jsx)(H.Z,{type:"inner",title:"\u914D\u65B9",style:{height:"800px"},children:(0,t.jsxs)("div",{style:{height:"100%",overflow:"hidden",clear:"both"},children:[(0,t.jsxs)("div",{style:{textAlign:"right",marginBottom:10,marginRight:10},children:[(0,t.jsx)(ge.Z,{style:{display:"inline-flex"},current:q,defaultPageSize:20,defaultCurrent:ke,total:oe,onChange:me,showSizeChanger:!1}),(0,t.jsxs)(D.Z,{type:"primary",style:{marginLeft:10},onClick:function(){return Ue()},children:[(0,t.jsx)(te.Z,{}),"\u65B0\u589E\u9875"]}),(0,t.jsx)(U.Z,{title:"\u5220\u9664\u5F53\u524D\u9875\u548C\u7ED1\u5B9A\u914D\u65B9?",onConfirm:function(){return He()},okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,t.jsxs)(D.Z,{type:"primary",style:{marginLeft:10},children:[(0,t.jsx)(ae.Z,{}),"\u5220\u9664\u5F53\u524D\u9875"]})})]}),(0,t.jsx)(Ee,{values:Ke,current:q,groupId:P,isWeight:v,autoKey:e.autoKey?e.autoKey:0,groupTempId:e.groupTempId?e.groupTempId:""})]})})]}),(0,t.jsx)(Re,{onCancel:function(){pe(!1),N(v),ee(P)},copyOpen:$e,autoKey:g,groupTempId:e.groupTempId?e.groupTempId:""}),(0,t.jsx)(Se,{onFinish:function(){var i=(0,G.Z)((0,d.Z)().mark(function n(r){return(0,d.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return Z([]),u(!1),r.autoKey=g,r.groupTempId=e.groupTempId?e.groupTempId:"",l.next=6,R.updataRecipeGroup(r).then(function(w){w.data?(r.id==null?x.default.success("\u6DFB\u52A0\u6210\u529F"):x.default.success("\u4FEE\u6539\u6210\u529F"),N(v)):x.default.error(w.errors)});case 6:z();case 7:case"end":return l.stop()}},n)}));return function(n){return i.apply(this,arguments)}}(),onCancel:function(){u(!1),Z([]),z()},modalVisible:K,autoKey:g,isWeight:v,values:b||{},isWeightList:Me})]})},Ae=De}}]);
diff --git a/dist/asset-manifest.json b/dist/asset-manifest.json
index ce7d081..aad9306 100644
--- a/dist/asset-manifest.json
+++ b/dist/asset-manifest.json
@@ -1,6 +1,6 @@
{
"/umi.css": "/umi.3663c81d.css",
- "/umi.js": "/umi.6f24377c.js",
+ "/umi.js": "/umi.a03e5fe9.js",
"/t__plugin-layout__Layout.css": "/t__plugin-layout__Layout.e1129705.chunk.css",
"/t__plugin-layout__Layout.js": "/t__plugin-layout__Layout.2b13eb06.async.js",
"/p__user__login.css": "/p__user__login.2f84d6a8.chunk.css",
@@ -56,7 +56,7 @@
"/866.ff791879.async.js": "/866.ff791879.async.js",
"/667.9fcc4826.async.js": "/667.9fcc4826.async.js",
"/607.2aeb1e75.async.js": "/607.2aeb1e75.async.js",
- "/899.4d610b05.async.js": "/899.4d610b05.async.js",
+ "/899.634b5ec9.async.js": "/899.634b5ec9.async.js",
"/public/logo.png": "/logo.png",
"/public/logo.svg": "/logo.svg",
"/public/icons/icon-512x512.png": "/icons/icon-512x512.png",
diff --git a/dist/authorization/index.html b/dist/authorization/index.html
index f38fcde..11b803a 100644
--- a/dist/authorization/index.html
+++ b/dist/authorization/index.html
@@ -221,6 +221,6 @@
-
+