代码拉取完成,页面将自动刷新
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[20,6],{2:function(e,t){},"2Igm":function(e,t,n){"use strict";n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return f})),n.d(t,"f",(function(){return R})),n.d(t,"h",(function(){return _})),n.d(t,"g",(function(){return H})),n.d(t,"b",(function(){return ie})),n.d(t,"a",(function(){return ce})),n.d(t,"e",(function(){return he})),n.d(t,"i",(function(){return Ve})),n.d(t,"j",(function(){return ut}));n("Xi6J");var a=n("kl6h"),r=(n("iQDF"),n("+eQT")),l=n("0Owb"),i=n("q1tI"),c=n.n(i),u=n("wd/R"),o=n.n(u),s=(n("XDpg"),n("Nv36")),d=n("0lfv"),m=function(e){var t,n=e.type,a=e.value,i=e.onChange,u=void 0===i?function(){}:i,m=e.dateFormatType;if("Time"===n)return c.a.createElement(p,{value:a||0,type:m,onChange:u});var f=10===(null===(t=String(a))||void 0===t?void 0:t.length)&&!isNaN(Number(a));return f&&(a=1e3*Number(a)),c.a.createElement(r["a"],Object(l["a"])({},e,{locale:s["a"],value:a?o()(a):null,showTime:"DateTime"===n,format:"DateTime"===n?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD",onChange:function(e,t){if(!f||m){var a=Object(d["k"])(t,m,n);u(a)}else u(o()(t).unix())}}))},f=function(e){var t=e.type,n=e.value,a=e.onChange,i=void 0===a?function(){}:a,u=e.dateFormatType,m=(n||[]).filter((function(e){return"NaN"===String(e)}));if(n=(null===m||void 0===m?void 0:m.length)>0?void 0:n,"Time"===t)return c.a.createElement(v,{value:n,type:u,onChange:i});var f=!1,p=(n||[]).map((function(e){var t,n=e;return 10!==(null===(t=String(n))||void 0===t?void 0:t.length)||isNaN(Number(n))||(f=!0,n=1e3*Number(n)),n}));return c.a.createElement(r["a"].RangePicker,Object(l["a"])({},e,{locale:s["a"],value:(null===p||void 0===p?void 0:p.length)>1?[o()(null===p||void 0===p?void 0:p[0])||null,o()(null===p||void 0===p?void 0:p[1])||null]:void 0,showTime:"DateTime"===t,format:"DateTime"===t?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD",onChange:function(e,n){if(!f||u){var a=n.map((function(e){return e&&Object(d["k"])(e,u,t)}));if(a.filter((function(e){return!e})).length>0)return i(void 0);i(a)}else i(n.map((function(e){return o()(e).unix()})))}}))},p=function(e){var t=e.value,n=e.type,r=e.onChange,l=b(t,n);return c.a.createElement(a["a"],{defaultValue:o()(l),onChange:function(e,t){r(E(t))}})},v=function(e){var t=e.value,n=e.type,r=e.onChange,l=(t||[]).map((function(e){return b(e,n)}));return c.a.createElement(a["a"].RangePicker,{defaultValue:l.length>1?[o()(null===l||void 0===l?void 0:l[0])||void 0,o()(null===l||void 0===l?void 0:l[1])||void 0]:void 0,onChange:function(e,t){var n=t.map((function(e){return e&&E(e)}));if(n.filter((function(e){return!e})).length>0)return r(void 0);r(n)}})},y=[36e5,6e4,1e3],b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"timestamp-ms",n=Object(d["t"])(),a=Object(d["V"])(e,t);return"".concat(n," ").concat(a)},E=function(e){return e.split(":").map(Number).reduce((function(e,t,n){return e+t*y[n]}),0)},h=(n("5Dmo"),n("3S7+")),g=(n("Mwp2"),n("VXEj")),j=(n("DYRE"),n("zeV3")),O=(n("Q9mQ"),n("diRs")),k=(n("tU7J"),n("wFql")),x=n("YO/a"),w=(n("+L6B"),n("2/Rp")),T=(n("miYZ"),n("tsqr")),S=n("tJVT"),N=n("Ag4f"),C=function(e){var t=e.index,n=e.fileUri,a=e.type,r="file"===a?"\u6587\u4ef6":"\u56fe\u7247",l=Object(i["useState"])(!1),u=Object(S["a"])(l,2),o=u[0],s=u[1];return o="undefined"===typeof t?o:o===t,c.a.createElement("div",{className:"flex justify-center"},Object(d["L"])(n)&&c.a.createElement(w["a"],{type:"link",size:"small",loading:o,onClick:function(){s("undefined"===typeof t||t),Object(d["g"])(n).then((function(){T["default"].success("\u4e0b\u8f7d".concat(r,"\u6210\u529f"))})).catch((function(e){console.log(e),console.log(e.message),T["default"].error("\u4e0b\u8f7d".concat(r,"\u5931\u8d25 ").concat(e.message))})).finally((function(){s(!1)}))}},"\u4e0b\u8f7d",r),c.a.createElement(w["a"],{type:"link",size:"small",onClick:function(){if(Object(d["L"])(n)){var e=Object(d["i"])(n);Object(d["e"])(e),T["default"].success("\u590d\u5236\u94fe\u63a5\u6210\u529f\uff01")}else Object(d["e"])(n)}},"\u8bbf\u95ee\u94fe\u63a5",c.a.createElement(N["a"],null)))},F=k["a"].Text,I={width:"80%"},R=function(e){var t=e.urls,n=e.displayName;if(null===t||void 0===t||!t.length)return c.a.createElement("span",null,"\u7a7a");var a=Object(d["c"])({displayName:n,type:"File"});if(I.width="".concat(a-30,"px"),Array.isArray(t))return c.a.createElement(g["b"],{split:!1,dataSource:t,itemLayout:"horizontal",renderItem:function(e,t){var n=(null===e||void 0===e?void 0:e.split("/").pop())||"";return c.a.createElement(g["b"].Item,null,c.a.createElement(j["b"],null,c.a.createElement(x["a"],{style:{fontSize:"16px"}}),c.a.createElement(O["a"],{content:c.a.createElement(C,{type:"file",fileUri:e,index:t})},c.a.createElement(F,{ellipsis:!0,style:I},n))))}});var r=t,l=(null===r||void 0===r?void 0:r.split("/").pop())||"";return Object(d["L"])(r)?c.a.createElement(j["b"],null,c.a.createElement(x["a"],{style:{fontSize:"16px"}}),c.a.createElement(O["a"],{content:c.a.createElement(C,{type:"file",fileUri:r})},c.a.createElement(F,{ellipsis:!0,style:I},l))):c.a.createElement(j["b"],null,c.a.createElement(x["a"],{style:{fontSize:"16px"}}),c.a.createElement(h["a"],{title:l},c.a.createElement(F,{ellipsis:!0,style:I},l)))},L=(n("2qtc"),n("kLXV")),z=(n("fV52"),n("3I+P")),q=(n("T2oS"),n("W9HT")),D=(n("XCrF"),n("1GRj")),M=(n("R9oj"),n("ECub")),U=n("hHl9"),P=n.n(U),J="60px",Y="200px",B={margin:"auto",overflow:"hidden"},_=function(e){var t=e.urls;if(null===t||void 0===t||!t.length)return c.a.createElement(M["a"],{image:P.a,imageStyle:{height:"60px"},description:"\u672a\u8bbe\u5b9a\u56fe\u7247"});if(Array.isArray(t))return c.a.createElement(V,{fileUris:t});var n=t;return Object(d["L"])(n)?c.a.createElement(V,{fileUris:[t]}):c.a.createElement(D["a"],{src:n,width:Y,height:J,style:B})},V=function(e){var t=e.fileUris,n=Object(i["useState"])(!0),a=Object(S["a"])(n,2),r=a[0],l=a[1],u=Object(i["useState"])([]),o=Object(S["a"])(u,2),s=o[0],m=o[1];return Object(i["useEffect"])((function(){if(null!==t&&void 0!==t&&t.length){var e=t.filter((function(e){return Object(d["L"])(e)}));Object(d["b"])(e).then((function(e){var n=t.map((function(t){var n=t;if(Object(d["L"])(t)){var a=e.find((function(e){return e.fileID===t}));n=(null===a||void 0===a?void 0:a.tempFileURL)||""}return n}));m(n)})).catch((function(e){console.log(e),T["default"].error("\u83b7\u53d6\u56fe\u7247\u94fe\u63a5\u5931\u8d25 ".concat(e.message))})).finally((function(){l(!1)}))}}),[]),r?c.a.createElement(q["a"],null):c.a.createElement(A,{urls:s,fileUris:t})},A=function(e){var t=e.urls,n=e.fileUris,a=Object(i["useState"])(!1),r=Object(S["a"])(a,2),l=r[0],u=r[1],o=Object(i["useState"])(0),s=Object(S["a"])(o,2),d=s[0],m=s[1];return 1===(null===t||void 0===t?void 0:t.length)?c.a.createElement(j["b"],{direction:"vertical"},c.a.createElement(D["a"],{src:null===t||void 0===t?void 0:t[0],width:Y,height:J,style:B}),(null===n||void 0===n?void 0:n.length)&&c.a.createElement(C,{type:"image",fileUri:n[d]})):c.a.createElement(c.a.Fragment,null,c.a.createElement(j["b"],{direction:"vertical",style:{width:"100%"}},c.a.createElement(D["a"],{src:null===t||void 0===t?void 0:t[0],width:Y,height:J,style:B}),c.a.createElement(w["a"],{size:"small",type:"link",onClick:function(){return u(!0)}},"\u67e5\u770b\u66f4\u591a")),c.a.createElement(L["a"],{title:"\u56fe\u7247",visible:l,footer:null,width:700,onCancel:function(){return u(!1)}},c.a.createElement(j["b"],{direction:"vertical",style:{width:"100%"}},c.a.createElement(z["a"],{dots:{className:"carousel-dots"},afterChange:function(e){m(e)}},t.map((function(e,t){return c.a.createElement(D["a"],{key:t,src:e,width:"100%",className:"modal-image",style:B})}))),(null===n||void 0===n?void 0:n.length)&&c.a.createElement(C,{type:"image",fileUri:n[d]}))))},W=(n("BoS7"),n("Sdc0")),H=function(e){var t=e.value,n=e.onChange;return c.a.createElement(W["a"],{checked:t,checkedChildren:"True",unCheckedChildren:"False",onChange:n})},Q=n("jrin"),X=n("9og8"),K=(n("+BJd"),n("mr32")),Z=(n("OaEy"),n("2fM7")),G=n("WmNS"),$=n.n(G),ee=n("9kvl"),te=n("1reR"),ne=n("CXPE"),ae=Z["a"].Option,re=k["a"].Text,le=k["a"].Paragraph,ie=function(e){var t=e.value,n=e.field,a=n.connectMany,r=Object(d["c"])(n),l=Object(te["c"])("content"),i=l.state.schemas;return t&&"string"!==typeof t&&"string"!==typeof(null===t||void 0===t?void 0:t[0])?a?c.a.createElement(le,{style:{width:r}},t.filter((function(e){return e})).map((function(e,t){return c.a.createElement(K["a"],{key:t},ue(e,i,n))}))):c.a.createElement(re,{ellipsis:!0,style:{width:r}},ue(t,i,n)):c.a.createElement("span",null,"-")},ce=function(e){var t=e.value,n=void 0===t?[]:t,a=e.onChange,r=e.field,l=Object(d["z"])(),u=Object(te["c"])("content"),o=r.connectField,s=r.connectResource,m=r.connectMany,f=u.state.schemas,p=Object(i["useState"])([]),v=Object(S["a"])(p,2),y=v[0],b=v[1],E=Object(i["useState"])(!0),h=Object(S["a"])(E,2),g=h[0],j=h[1],O=Object(i["useState"])(),k=Object(S["a"])(O,2),x=k[0],w=k[1];Object(ee["k"])(Object(X["a"])($.a.mark((function e(){var t,n,a,r,i,c;return $.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(j(!0),t=f.find((function(e){return e._id===s})),console.log("\u5173\u8054",t),t){e.next=9;break}return e.next=6,Object(ne["f"])(l,s);case 6:n=e.sent,a=n.data,t=a;case 9:return r={page:1,pageSize:1e3},x&&(r.fuzzyFilter=Object(Q["a"])({},o,x)),e.next=13,Object(ne["h"])(l,t.collectionName,r);case 13:i=e.sent,c=i.data,b(c),j(!1);case 17:case"end":return e.stop()}}),e)}))),{cacheKey:s,onError:function(e){T["default"].error(e.message||"\u83b7\u53d6\u6570\u636e\u9519\u8bef"),j(!1)},refreshDeps:[x],debounceInterval:500});var N=se(n,m);return c.a.createElement(Z["a"],{showSearch:!0,loading:g,value:N,onChange:a,onSearch:function(e){var t=oe(f,r),n="Number"===(null===t||void 0===t?void 0:t.type);w(n?Number(e):e)},filterOption:!1,placeholder:"\u5173\u8054\u5b57\u6bb5",style:{width:"240px"},disabled:g&&!x,mode:m?"multiple":void 0,notFoundContent:g?c.a.createElement(q["a"],{size:"small"}):null},g?c.a.createElement(ae,{value:""},c.a.createElement(q["a"],{size:"small"})):null!==y&&void 0!==y&&y.length?c.a.createElement(c.a.Fragment,null,c.a.createElement(ae,{value:""},"\u7a7a"),null===y||void 0===y?void 0:y.map((function(e){return c.a.createElement(ae,{value:e._id,key:e._id},ue(e,f,r))}))):c.a.createElement(ae,{value:"",disabled:!0},"\u7a7a"))},ue=function(e,t,n){var a,r=n.connectField,l=n.connectResource,i=t.find((function(e){return e._id===l})),c=null===i||void 0===i?void 0:i.fields.find((function(e){return e.name===r}));return null!==c&&void 0!==c&&c.connectResource?Object(d["F"])(null===(a=e[r])||void 0===a?void 0:a[c.connectField]):Object(d["F"])(e[r])},oe=function(e,t){var n,a=t.connectField,r=t.connectResource,l=e.find((function(e){return e._id===r})),i=null===l||void 0===l?void 0:l.fields.find((function(e){return e.name===a}));if(null!==(n=i)&&void 0!==n&&n.connectResource){var c=e.find((function(e){var t;return e._id===(null===(t=i)||void 0===t?void 0:t.connectResource)}));i=null===c||void 0===c?void 0:c.fields.find((function(e){var t;return e.name===(null===(t=i)||void 0===t?void 0:t.connectField)}))}return i},se=function(e,t){return t?e.filter((function(e){return e})).map((function(e){return"string"===typeof e?e:null===e||void 0===e?void 0:e._id})):"string"===typeof e?e:null===e||void 0===e?void 0:e._id},de=(n("MXD1"),n("CFYs")),me=(n("DZo9"),n("8z0m")),fe=n("LtfV"),pe=n("emwk"),ve=n("PpiC"),ye=function(e){var t=e.tip,n=void 0===t?"\u52a0\u8f7d\u4e2d":t,a=Object(ve["a"])(e,["tip"]);return c.a.createElement("div",{style:{height:"100%",display:"flex",alignItems:"center",justifyContent:"center"}},c.a.createElement(q["a"],Object(l["a"])({tip:n,size:"large"},a)))},be=n("Dezk"),Ee=me["a"].Dragger,he=function(e){var t=e.value,n=e.type,a=e.field,r=e.onChange,l=void 0===r?function(){}:r,i=e.resourceLinkType,u=void 0===i?"fileId":i,o=a.isMultiple,s=Object(d["y"])(),m=null===s||void 0===s?void 0:s.upload;if(o||Array.isArray(t))return c.a.createElement(je,{type:n,onChange:l,fileUris:t,resourceLinkType:u});var f=t;return c.a.createElement(ge,{type:n,fileUri:f,onChange:l,uploadType:m,resourceLinkType:u})},ge=function(e){var t=e.type,n=e.fileUri,a=e.onChange,r=e.uploadType,l=e.resourceLinkType,u=Object(i["useState"])(0),o=Object(S["a"])(u,2),s=o[0],m=o[1],f=Object(i["useState"])(!1),p=Object(S["a"])(f,2),v=p[0],y=p[1],b=Object(i["useState"])([]),E=Object(S["a"])(b,2),h=E[0],g=E[1],j="file"===t?"\u6587\u4ef6":"\u56fe\u7247";return Object(i["useEffect"])((function(){if(n){var e=Object(d["s"])(n);if("file"!==t)return Object(d["L"])(n)?void Object(d["E"])(n).then((function(t){g([{url:t,uid:n,name:e||"\u5df2\u4e0a\u4f20".concat(j),status:"done"}])})).catch((function(e){T["default"].error("\u52a0\u8f7d\u56fe\u7247\u5931\u8d25 ".concat(e.message))})):g([{url:n,uid:n,name:e||"\u5df2\u4e0a\u4f20".concat(j),status:"done"}]);g([{url:n,uid:n,name:e||"\u5df2\u4e0a\u4f20".concat(j),status:"done"}])}}),[]),c.a.createElement(c.a.Fragment,null,c.a.createElement(Ee,{fileList:h,listType:"image"===t?"picture":"text",onRemove:function(e){a(null),g([])},beforeUpload:function(e){return y(!0),m(0),Object(d["W"])({file:e,uploadType:r,onProgress:function(e){m(e)}}).then((function(t){var n=t.fileId,r=t.url;a("fileId"===l?n:r),g([{url:r,uid:n,name:e.name,status:"done"}]),T["default"].success("\u4e0a\u4f20".concat(j,"\u6210\u529f"))})),!1}},c.a.createElement("p",{className:"ant-upload-drag-icon"},c.a.createElement(fe["a"],null)),c.a.createElement("p",{className:"ant-upload-text"},"\u70b9\u51fb\u6216\u62d6\u62fd",j,"\u4e0a\u4f20")),v&&c.a.createElement(de["a"],{style:{paddingTop:"10px"},percent:s}))},je=function(e){var t,n=e.fileUris,a=void 0===n?[]:n,r=e.type,l=e.onChange,u=void 0===l?function(){}:l,o=e.resourceLinkType,s=void 0===o?"fileId":o;Array.isArray(a)||"string"!==typeof a||(a=[a]);var m=a.every((function(e){return!Object(d["L"])(e)})),f=Object(be["a"])({transformLoading:!(null===(t=a)||void 0===t||!t.length||m||"file"===r),transformedFileUrls:a}),p=Object(S["a"])(f,2),v=p[0],y=v.transformLoading,b=v.transformedFileUrls,E=p[1],h="file"===r?"\u6587\u4ef6":"\u56fe\u7247";return Object(i["useEffect"])((function(){var e;if(null!==(e=a)&&void 0!==e&&e.length&&!m&&"file"!==r){var t=a.filter((function(e){return Object(d["L"])(e)}));Object(d["b"])(t).then((function(e){var t=a.map((function(t){var n=t;if(Object(d["L"])(t)){var a=e.find((function(e){return e.fileID===t}));n=(null===a||void 0===a?void 0:a.tempFileURL)||""}return n}));E({transformLoading:!1,transformedFileUrls:t})})).catch((function(e){E({transformLoading:!1}),T["default"].error("\u83b7\u53d6\u56fe\u7247\u94fe\u63a5\u5931\u8d25 ".concat(e.message))}))}}),[a]),y?c.a.createElement(ye,{size:"default",tip:"\u56fe\u7247\u52a0\u8f7d\u4e2d"}):c.a.createElement(pe["a"],{onChange:u,value:b,resourceLinkType:s,uploadTip:"\u70b9\u51fb\u6216\u62d6\u62fd".concat(h,"\u4e0a\u4f20"),listType:"image"===r?"picture":"text"})},Oe=(n("y8nQ"),n("Vl3Y")),ke=(n("giR+"),n("fyUT")),xe=(n("5NDa"),n("5rEg")),we=n("wlus"),Te=n("xvlK"),Se=(n("fOrg"),n("+KLJ")),Ne=(n("14J3"),n("BMrR")),Ce=(n("jCWc"),n("kPKH")),Fe=n("ovOe"),Ie=n.n(Fe),Re=function(e){var t=e.value,n=void 0===t?{}:t,a=e.onChange,r=void 0===a?function(e){}:a,l=Object(i["useState"])(!1),u=Object(S["a"])(l,2),o=u[0],s=u[1];return c.a.createElement(c.a.Fragment,null,c.a.createElement(Ne["a"],{justify:"space-between"},c.a.createElement(Ce["a"],null,c.a.createElement("h4",{className:"mb-0"},"\u70b9\u51fb\u4e0b\u65b9\u5bf9\u8c61\u8fdb\u884c\u7f16\u8f91")),c.a.createElement(Ce["a"],null,c.a.createElement(j["b"],{size:"large"},c.a.createElement(j["b"],null,c.a.createElement(W["a"],{onChange:function(e){if(e)r([n]);else{var t=Array.isArray(n)?n[0]||{}:n;r(t)}}}),"JSON \u6570\u7ec4"),c.a.createElement(w["a"],{size:"small",type:"primary",onClick:function(){return s(!0)}},"JSON \u5b57\u7b26\u4e32")))),c.a.createElement(Ie.a,{name:!1,src:n,style:{padding:"10px 0",borderRadius:"3px"},collapsed:!0,displayDataTypes:!1,onEdit:function(e){r(e.updated_src)},onDelete:function(e){r(e.updated_src)},onAdd:function(e){r(e.updated_src)},collapseStringsAfterLength:64}),c.a.createElement(L["a"],{centered:!0,footer:null,title:"JSON \u5bf9\u8c61\u5feb\u6377\u8f93\u5165",visible:o,onCancel:function(){return s(!1)}},c.a.createElement(Se["a"],{message:"\u8f93\u5165\u7684\u5b57\u7b26\u4e32\u5c06\u88ab\u683c\u5f0f\u5316\u540e\uff0c\u66ff\u6362\u5f53\u524d\u503c"}),c.a.createElement("br",null),c.a.createElement(Oe["a"],{onFinish:function(e){var t=e.json;s(!1),r(JSON.parse(t))}},c.a.createElement(Oe["a"].Item,{name:"json",label:"JSON \u5b57\u7b26\u4e32",rules:[{required:!0,message:"\u8f93\u5165 JSON \u5b57\u7b26\u4e32"},{validator:function(e,t){try{var n=JSON.parse(t);return"object"!==typeof n?Promise.reject("\u975e\u6cd5\u7684 JSON \u5b57\u7b26\u4e32"):Promise.resolve()}catch(a){return Promise.reject("\u975e\u6cd5\u7684 JSON \u5b57\u7b26\u4e32")}}}]},c.a.createElement(xe["a"].TextArea,{autoSize:{minRows:5},placeholder:"\u8f93\u5165\u5408\u6cd5 JSON \u5bf9\u8c61\u5b57\u7b26\u4e32"})),c.a.createElement(Oe["a"].Item,null,c.a.createElement("div",{style:{textAlign:"right"}},c.a.createElement(w["a"],{type:"primary",htmlType:"submit"},"\u786e\u8ba4"))))))},Le=function(e){var t=e.value,n=Object(i["useState"])(!1),a=Object(S["a"])(n,2),r=a[0],l=a[1];return"undefined"===typeof t||null===t?c.a.createElement("span",null,"\u7a7a"):c.a.createElement(c.a.Fragment,null,c.a.createElement(j["b"],null,c.a.createElement(w["a"],{type:"link",onClick:function(){return l(!0)}},"\u67e5\u770b")),c.a.createElement(L["a"],{centered:!0,title:"JSON \u5bf9\u8c61",visible:r,onCancel:function(){return l(!1)}},c.a.createElement(Ie.a,{name:!1,src:t,style:{padding:"10px 0",borderRadius:"3px"},collapsed:!0,displayDataTypes:!1,collapseStringsAfterLength:32})))},ze=c.a.lazy((function(){return n.e(34).then(n.bind(null,"6Ws4"))})),qe=c.a.lazy((function(){return n.e(33).then(n.bind(null,"BWp0"))})),De=xe["a"].TextArea,Me=Z["a"].Option,Ue=k["a"].Text,Pe=function(e){return c.a.createElement(i["Suspense"],{fallback:c.a.createElement(q["a"],null)},c.a.createElement(ze,e))},Je=function(e){return c.a.createElement(i["Suspense"],{fallback:c.a.createElement(q["a"],null)},c.a.createElement(qe,e))};function Ye(e){var t;switch(e){case"Url":t={type:"url",message:"\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u7f51\u5740"};break;case"Email":t={type:"email",message:"\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u90ae\u7bb1"};break;case"Number":t={type:"number",message:"\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u6570\u5b57"};break;case"Tel":t={pattern:/^\d+$/,message:"\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u7535\u8bdd\u53f7\u7801"};break;default:t=null}return t}var Be=function(e){var t=e.isRequired,n=e.displayName,a=e.min,r=e.max,l=e.type,i=[];if(t&&i.push({required:t,message:"".concat(n," \u5b57\u6bb5\u662f\u5fc5\u987b\u8981\u7684")}),a){var c="String"===l||"MultiLineString"===l?"string":"number";i.push({min:a,type:c,message:"string"===c?"\u4e0d\u80fd\u5c0f\u4e8e\u6700\u5c0f\u957f\u5ea6 ".concat(a):"\u4e0d\u80fd\u5c0f\u4e8e\u6700\u5c0f\u503c ".concat(a)})}if(r){var u="String"===l||"MultiLineString"===l?"string":"number";i.push({max:r,type:u,message:"string"===u?"\u4e0d\u80fd\u5927\u4e8e\u6700\u5927\u957f\u5ea6 ".concat(r):"\u4e0d\u80fd\u5927\u4e8e\u6700\u5927\u503c ".concat(r)})}var o=Ye(e.type);return o&&i.push(o),i};function _e(e,t){var n,a=e.name,r=e.type,i=e.min,u=e.max,o=e.enumElements;switch(r){case"String":n=c.a.createElement(xe["a"],{type:"text"});break;case"MultiLineString":n=c.a.createElement(De,null);break;case"Boolean":n=c.a.createElement(W["a"],{checkedChildren:"True",unCheckedChildren:"False"});break;case"Number":n=c.a.createElement(ke["a"],{style:{width:"100%"},min:i,max:u});break;case"Url":n=c.a.createElement(xe["a"],null);break;case"Email":n=c.a.createElement(xe["a"],null);break;case"Tel":n=c.a.createElement(xe["a"],{style:{width:"100%"}});break;case"Time":case"Date":case"DateTime":n=c.a.createElement(m,{type:r,dateFormatType:e.dateFormatType});break;case"Image":n=c.a.createElement(he,{type:"image",field:e,resourceLinkType:e.resourceLinkType});break;case"File":case"Media":n=c.a.createElement(he,{type:"file",field:e,resourceLinkType:e.resourceLinkType});break;case"Enum":n=c.a.createElement(Z["a"],null,null!==o&&void 0!==o&&o.length?null===o||void 0===o?void 0:o.map((function(e,t){return c.a.createElement(Me,{value:e.value,key:t},e.label)})):c.a.createElement(Me,{value:"",disabled:!0},"\u7a7a"));break;case"Array":n=c.a.createElement(Oe["a"].List,{name:a},(function(e,t){var n=t.add,a=t.remove;return c.a.createElement("div",null,null===e||void 0===e?void 0:e.map((function(e,t){return c.a.createElement(Oe["a"].Item,{key:t},c.a.createElement(Oe["a"].Item,Object(l["a"])({},e,{noStyle:!0,validateTrigger:["onChange","onBlur"]}),c.a.createElement(xe["a"],{style:{width:"60%"}})),c.a.createElement(we["a"],{className:"dynamic-delete-button",style:{margin:"0 8px"},onClick:function(){a(e.name)}}))})),c.a.createElement(Oe["a"].Item,null,c.a.createElement(w["a"],{type:"dashed",onClick:function(){n()},style:{width:"60%"}},c.a.createElement(Te["a"],null)," \u6dfb\u52a0\u5b57\u6bb5")))}));break;case"Markdown":n=c.a.createElement(Pe,{id:t});break;case"RichText":n=c.a.createElement(Je,{id:t});break;case"Connect":n=c.a.createElement(ce,{field:e});break;case"Object":n=c.a.createElement(Re,null);break;default:n=c.a.createElement(xe["a"],null)}return n}function Ve(e,t){var n,a=Be(e),r=e.name,l=e.type,i=e.description,u=e.displayName,o=_e(e,t);switch(l){case"Boolean":n=c.a.createElement(Oe["a"].Item,{key:t,name:r,rules:a,label:c.a.createElement(Ue,{strong:!0},u),extra:i,valuePropName:"checked"},o);break;default:n=c.a.createElement(Oe["a"].Item,{key:t,name:r,rules:a,label:c.a.createElement(Ue,{strong:!0},u),extra:i},o)}return n}var Ae,We,He=n("qqnG"),Qe=n("T7iU"),Xe=n.n(Qe),Ke=(n("ePZ7"),n("bRgd")),Ze=n("2BaD"),Ge=n("jN4g"),$e=n("vOnD"),et=k["a"].Text,tt=k["a"].Title,nt=$e["a"].div(Ae||(Ae=Object(He["a"])(["\n max-height: 300px;\n overflow: auto;\n padding-right: 10px;\n"]))),at=$e["a"].div(We||(We=Object(He["a"])(["\n display: flex;\n position: absolute;\n top: 10px;\n right: 10px;\n z-index: 10;\n color: #fff;\n"]))),rt=function(e){var t=e.field,n=e.uri,a=t.mediaType,r=Object(be["a"])({loading:!0,playlist:[]}),l=Object(S["a"])(r,2),u=l[0],o=u.loading,s=u.playlist,m=l[1];return Object(i["useEffect"])((function(){if(null!==n&&void 0!==n&&n.length){var e=Array.isArray(n)?n:[n];Object(d["L"])(e[0])?Object(d["b"])(e).then((function(e){m({playlist:e.map((function(e){return e.tempFileURL}))})})).catch((function(e){console.log(e),T["default"].error("\u83b7\u53d6\u8d44\u6e90\u94fe\u63a5\u5931\u8d25 ".concat(e.message))})).finally((function(){m({loading:!1})})):m({playlist:e,loading:!1})}else m({loading:!1})}),[]),o?c.a.createElement(q["a"],null):n?c.a.createElement("div",{className:"relative"},c.a.createElement(lt,{playlist:s,mediaType:a})):c.a.createElement("span",null,"-")},lt=function(e){var t=e.playlist,n=e.mediaType,a=void 0===n?"video":n,r=(null===t||void 0===t?void 0:t.length)>1,l=Object(be["a"])({player:null,visible:!1,currentUrl:t[0]}),u=Object(S["a"])(l,2),o=u[0],s=o.currentUrl,m=o.player,f=o.visible,p=u[1],v=function(){null===m||void 0===m||m.stop(),p({visible:!1})},y=function(e){p({currentUrl:e})},b=Object(d["H"])(s);return Object(i["useEffect"])((function(){if(f)if(m)m.source={type:"video"===a?"video":"audio",sources:[{src:s}]},m.on("ready",(function(){null===m||void 0===m||m.play()}));else{var e="video"===a?"#v-".concat(b):"#a-".concat(b),t=new Xe.a(e);p({player:t})}}),[f,s]),c.a.createElement(c.a.Fragment,null,c.a.createElement(h["a"],{title:"\u64ad\u653e"},c.a.createElement(Ke["a"],{className:"text-3xl",onClick:function(){return p({visible:!0})}})),c.a.createElement(L["a"],{width:720,footer:null,closable:!1,visible:f,bodyStyle:{padding:0},onCancel:v},"music"===a?c.a.createElement("div",null,c.a.createElement("div",{className:"w-full flex"},c.a.createElement("div",{className:"flex-auto"},c.a.createElement("audio",{id:"a-".concat(b),controls:!0},c.a.createElement("source",{src:s}))),c.a.createElement("div",{className:"flex items-center pr-5"},c.a.createElement(h["a"],{title:"\u5173\u95ed"},c.a.createElement(Ze["a"],{className:"text-xl",onClick:v})))),r&&c.a.createElement(it,{playlist:t,current:s,onChange:y})):c.a.createElement("div",{className:"relative"},c.a.createElement("video",{id:"v-".concat(b),controls:!0,style:{width:"680px"}},c.a.createElement("source",{src:s})),r&&c.a.createElement(it,{playlist:t,current:s,onChange:y}),c.a.createElement(at,null,c.a.createElement(h["a"],{title:"\u5173\u95ed"},c.a.createElement(Ge["a"],{className:"text-3xl",onClick:v}))))))},it=function(e){var t=e.playlist,n=e.current,a=e.onChange;return c.a.createElement("div",{className:"p-5"},c.a.createElement(tt,{level:4},"\u64ad\u653e\u5217\u8868"),c.a.createElement(nt,null,t.map((function(e,t){return c.a.createElement("div",{className:"flex justify-between my-2",key:t},c.a.createElement(et,{ellipsis:!0,style:{maxWidth:"500px",color:n===e?"#0052d9":""}},Object(d["s"])(e)),c.a.createElement("div",null,c.a.createElement(h["a"],{title:"\u64ad\u653e"},c.a.createElement(Ke["a"],{className:"text-2xl",onClick:function(){return a(e)}}))))}))))},ct=k["a"].Text;function ut(e){var t=e.name,n=e.type,a=e.displayName,r=e.copyable,l=Object(d["c"])(e);switch(n){case"String":return function(e,n,a,i){return c.a.createElement(h["a"],{title:e},c.a.createElement(ct,{ellipsis:!0,style:{width:l},onClick:function(){r&&(Object(d["e"])(n[t]),T["default"].success("\u590d\u5236 ".concat(t," \u6210\u529f\uff01")))}},e))};case"Text":case"MultiLineString":return function(e,t,n,a){return c.a.createElement(h["a"],{title:e},c.a.createElement(ct,{ellipsis:!0,style:{width:l}},e))};case"Boolean":return function(e,n,a,r){return c.a.createElement(ct,null,n[t]?"True":"False")};case"Number":return function(e,n,a,r){var l=Object(d["F"])(n[t]);return c.a.createElement(ct,null,l," ")};case"Url":return function(e,n,a,r){return c.a.createElement(k["a"].Link,{href:n[t],target:"_blank"},e)};case"Email":return function(e,t,n,a){return c.a.createElement(ct,null,e)};case"Tel":return function(e,t,n,a){return c.a.createElement(ct,null,e)};case"Time":case"Date":case"DateTime":return function(a,r,l,i){var u="undefined"===typeof r[t]?"-":Object(d["j"])(r[t],e.dateFormatType,n);return c.a.createElement(ct,null,u)};case"Image":return function(e,n,a,r){return c.a.createElement(_,{urls:n[t]})};case"File":return function(e,n,r,l){return c.a.createElement(R,{urls:n[t],displayName:a})};case"Media":return function(n,a,r,l){return c.a.createElement(rt,{uri:a[t],field:e})};case"Array":return function(e,n,a,r){var l;return n[t]?c.a.createElement(j["b"],{direction:"vertical"},null===(l=n[t])||void 0===l?void 0:l.map((function(e,t){return c.a.createElement(K["a"],{key:t},e)}))):e};case"Markdown":return function(e,t,n,a){return c.a.createElement(ct,{ellipsis:!0,style:{width:l}},e)};case"RichText":return function(e,t,n,a){return c.a.createElement(ct,{ellipsis:!0,style:{width:l}},e)};case"Connect":return function(n,a,r,l){return c.a.createElement(ie,{value:a[t],field:e})};case"Object":return function(e,n,a,r){return c.a.createElement(Le,{value:n[t]})};default:return function(e,t,n,a){return e}}}},3:function(e,t){},"64RO":function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return p}));n("DYRE");var a=n("zeV3"),r=(n("+BJd"),n("mr32")),l=(n("5Dmo"),n("3S7+")),i=(n("tU7J"),n("wFql")),c=n("q1tI"),u=n.n(c),o=n("0lfv"),s=n("pEWO"),d=i["a"].Text,m={displayName:"\u6d3b\u52a8",description:"\u5173\u8054\u7684\u6d3b\u52a8",connectField:"activityName",connectResource:"b45a21d55ff939720430e24e0f94cb12",id:"o91ouff816sbu0owdjqbcluira1enlqs",isRequired:!0,name:"activityId",order:2,type:"Connect"},f=[{title:"\u77ed\u4fe1\u5185\u5bb9",width:200,align:"center",sorter:!0,filters:!0,dataIndex:"content",render:function(e,t,n,a){return u.a.createElement(l["a"],{title:e},u.a.createElement(d,{ellipsis:!0,style:{width:"200px"}},e||"-"))}},{title:"\u5173\u8054\u6d3b\u52a8",width:300,align:"center",dataIndex:"activityId",render:function(e,t,n,a){return u.a.createElement(s["b"],{value:t.activityId,field:m})}},{title:"\u624b\u673a\u53f7\u7801",width:200,align:"center",dataIndex:"phoneNumberList",render:function(e,t,n,i){var c=t||{},o=c.phoneNumberList;return null!==o&&void 0!==o&&o.length?(null===o||void 0===o?void 0:o.length)<5?u.a.createElement(a["b"],{direction:"vertical"},null===o||void 0===o?void 0:o.map((function(e,t){return u.a.createElement(r["a"],{key:t},e)}))):u.a.createElement(l["a"],{title:o.join(",")},u.a.createElement(d,{ellipsis:!0,style:{width:"200px"}},o.join(","))):"-"}},{title:"\u53d1\u9001\u72b6\u6001",width:200,align:"center",sorter:!0,filters:!0,dataIndex:"status",render:function(e,t,n,a){var r={uploaded:"\u53f7\u7801\u5305\u5df2\u5904\u7406",created:"\u521b\u5efa\u4efb\u52a1\u6210\u529f",create_fail:"\u521b\u5efa\u4efb\u52a1\u5931\u8d25",send_success:"\u53d1\u9001\u6210\u529f",send_fail:"\u53d1\u9001\u5931\u8d25"},i=t.status,c=u.a.createElement(d,{type:"send_fail"===i?"danger":"success"},r[i]);if("send_fail"!==i)return c;var o=t.error;return o.includes("-601027")?o="\u65e0\u6548\u7684\u73af\u5883":o.includes("-601028")?o="\u8be5\u73af\u5883\u6ca1\u6709\u5f00\u901a\u9759\u6001\u7f51\u7ad9":o.includes("-601029")?o="\u4fe1\u606f\u957f\u5ea6\u8fc7\u957f":o.includes("-601030")?o="\u4fe1\u606f\u542b\u6709\u8fdd\u6cd5\u8fdd\u89c4\u5185\u5bb9":o.includes("-601031")?o="\u65e0\u6548\u7684 Path":o.includes("-601032")?o="\u5c0f\u7a0b\u5e8f\u6635\u79f0\u4e0d\u80fd\u4e3a\u7a7a":o.includes("-601033")?o="\u4ec5\u652f\u6301\u975e\u4e2a\u4eba\u4e3b\u4f53\u5c0f\u7a0b\u5e8f":o.includes("-1")&&(o="\u7cfb\u7edf\u7e41\u5fd9\uff0c\u6b64\u65f6\u8bf7\u5f00\u53d1\u8005\u7a0d\u5019\u518d\u8bd5"),u.a.createElement(l["a"],{title:o},c)}},{title:"\u53f7\u7801\u603b\u91cf",width:100,align:"center",dataIndex:"total"},{title:"\u521b\u5efa\u8005",width:200,align:"center",sorter:!0,filters:!0,dataIndex:"createdUser",render:function(e,t,n,a){return u.a.createElement(d,null,null!==t&&void 0!==t&&t.createdUser?t.createdUser.username:"-")}},{title:"\u521b\u5efa\u65f6\u95f4",width:200,align:"center",sorter:!0,filters:!0,dataIndex:"createTime",render:function(e,t,n,a){var r="undefined"===typeof t.createTime?"-":Object(o["j"])(t.createTime,"timestamp-ms","DateTime");return u.a.createElement(d,null,r)}}],p=[{title:"\u624b\u673a\u53f7\u7801",width:200,align:"center",dataIndex:"Mobile",render:function(e,t,n,a){return u.a.createElement(l["a"],{title:e},u.a.createElement(d,{ellipsis:!0,style:{width:"200px"}},e))}},{title:"\u77ed\u4fe1\u5185\u5bb9",width:200,align:"center",dataIndex:"Content",render:function(e,t,n,a){return u.a.createElement(l["a"],{title:e},u.a.createElement(d,{ellipsis:!0,style:{width:"200px"}},e))}},{title:"\u77ed\u4fe1\u957f\u5ea6",width:100,align:"center",dataIndex:"ContentSize"},{title:"\u8ba1\u8d39\u6761\u6570",width:100,align:"center",dataIndex:"Fee"},{title:"\u521b\u5efa\u65f6\u95f4",width:200,align:"center",dataIndex:"CreateTime",render:function(e,t,n,a){return u.a.createElement(d,null,t.CreateTime||"-")}},{title:"\u7528\u6237\u63a5\u53d7\u65f6\u95f4",width:200,align:"center",dataIndex:"ReceivedTime",render:function(e,t,n,a){return u.a.createElement(d,null,t.ReceivedTime||"-")}},{title:"\u53d1\u9001\u72b6\u6001",width:200,align:"center",dataIndex:"Status",render:function(e,t,n,a){var r={sent:"\u53d1\u9001\u6210\u529f",sending:"\u53d1\u9001\u4e2d",error:"\u53d1\u9001\u5931\u8d25"},l=t.Status;return u.a.createElement(d,{type:"error"===l?"danger":"success"},r[l])}},{title:"\u5907\u6ce8",width:200,align:"center",dataIndex:"Remarks"}]},"8/6Y":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n("he5r"),r={fields:[{description:"\u6d3b\u52a8\u540d\u79f0",displayName:"\u6d3b\u52a8\u540d",id:"rvyvosiqb73plli67zcupa2o9nhr2dwi",isRequired:!0,name:"activityName",order:0,type:"String"},{defaultValue:!0,description:"\u6d3b\u52a8\u5f00\u542f\u540e\uff0c\u5728\u6307\u5b9a\u7684\u65f6\u95f4\u8303\u56f4\u533a\u95f4\u5185\u53ef\u4f9b\u8df3\u8f6c",displayName:"\u6d3b\u52a8\u5f00\u542f",id:"l4ikt6y8wus4u9xt9zr3ww23m0o3qb72",isRequired:!0,name:"isActivityOpen",order:1,type:"Boolean"},{dateFormatType:"timestamp-ms",description:"\u8df3\u8f6c\u4e2d\u95f4\u9875\u5728\u5f00\u59cb\u65f6\u95f4\u540e\uff0c\u624d\u5141\u8bb8\u8df3\u8f6c\u5230\u5c0f\u7a0b\u5e8f",displayName:"\u6d3b\u52a8\u5f00\u59cb\u65f6\u95f4",id:"fmpx6prjehenfvl0v0amzo58ckwf7kqb",isRequired:!0,name:"startTime",order:2,type:"DateTime"},{dateFormatType:"timestamp-ms",description:"\u8df3\u8f6c\u4e2d\u95f4\u9875\u5728\u6d3b\u52a8\u7ed3\u675f\u540e\uff0c\u7528\u6237\u5c06\u53ea\u80fd\u8df3\u8f6c\u5230\u5c0f\u7a0b\u5e8f\u9996\u9875",displayName:"\u6d3b\u52a8\u7ed3\u675f\u65f6\u95f4",id:"dzapdx6alta68er1j4ptxnaoe6ols6fl",isRequired:!0,name:"endTime",order:3,type:"DateTime"},{description:"\u8df3\u8f6c\u4e2d\u95f4\u9875\u56fe\u7247\u662f\u5426\u4e3a\u957f\u56fe",displayName:"\u662f\u5426\u957f\u56fe",id:"n70yz0jorghsx05vc9y1sha7ywhxhd9f",isRequired:!1,name:"isLongImg",order:4,type:"Boolean"},{description:"\u4e0a\u4f20\u7684\u56fe\u7247\u5c06\u4f5c\u4e3a\u8df3\u8f6c\u4e2d\u95f4\u9875\u5c55\u793a",displayName:"\u8df3\u8f6c\u4e2d\u95f4\u9875\u56fe\u7247",id:"n70yz0jorghsx05vc9y1sha7ywhxhd9f",isRequired:!1,name:"jumpImg",order:4,resourceLinkType:"https",type:"Image"},{description:"\u4e0a\u4f20\u7684\u56fe\u7247\u5c06\u4f5c\u8df3\u8f6c\u6309\u94ae\u5c55\u793a",displayName:"\u8df3\u8f6c\u6309\u94ae\u56fe\u7247",id:"n70yz0jorghsx05vc9y1sha7ywhxhd9f",isRequired:!1,name:"btnImg",order:5,resourceLinkType:"https",type:"Image"},{description:"\u8981\u8df3\u8f6c\u5230\u7684\u5c0f\u7a0b\u5e8f\u7684\u9875\u9762\u8def\u5f84\uff0c\u5982\uff1a/pages/index/index\u3002\u8bf7\u586b\u5199\u5408\u6cd5\u7684\u8def\u5f84\uff0c\u5426\u5219\u4f1a\u5bfc\u81f4\u65e0\u6cd5\u8df3\u8f6c",displayName:"\u5c0f\u7a0b\u5e8f\u9875\u9762\u8def\u5f84",placeholder:"/pages/index/index",id:"jfdtuq306rdh0k6bleuckmmvg0joig7p",name:"appPath",order:6,type:"String"},{description:"\u901a\u8fc7 scheme \u7801\u8fdb\u5165\u5c0f\u7a0b\u5e8f\u65f6\u7684\u53c2\u6570\uff0c\u4f8b\u5982 /page/index?demo=123 \u4e2d\u7684 demo=123\u5373\u4e3a\u8be5\u53c2\u6570\uff0c\u6700\u957f\u652f\u6301 512 \u4e2a\u5b57\u7b26\u3002\u53ea\u652f\u6301\u6570\u5b57\uff0c\u5927\u5c0f\u5199\u82f1\u6587\u4ee5\u53ca\u90e8\u5206\u7279\u6b8a\u5b57\u7b26\uff1a!#$&'()*+,/:;=?@-._~",displayName:"\u5c0f\u7a0b\u5e8f\u9875\u9762 query",id:"jfdtuq306rdh0k6bleuckmmvg0joig7p",name:"appPathQuery",order:7,type:"String",max:512}],collectionName:"".concat(a["a"],"-sms-activities"),displayName:"\u8425\u9500\u6d3b\u52a8",_id:"b45a21d55ff939720430e24e0f94cb12"}},EwzG:function(e,t,n){"use strict";n("giR+");var a=n("fyUT"),r=(n("BoS7"),n("Sdc0")),l=(n("5NDa"),n("5rEg")),i=(n("14J3"),n("BMrR")),c=(n("5Dmo"),n("3S7+")),u=(n("+L6B"),n("2/Rp")),o=(n("2qtc"),n("kLXV")),s=(n("DYRE"),n("zeV3")),d=(n("miYZ"),n("tsqr")),m=n("9og8"),f=(n("y8nQ"),n("Vl3Y")),p=n("tJVT"),v=(n("OaEy"),n("2fM7")),y=n("WmNS"),b=n.n(y),E=n("LvDl"),h=n.n(E),g=n("q1tI"),j=n.n(g),O=n("BeEn"),k=n("2Igm"),x=n("1reR"),w=n("0lfv"),T=n("Wk8H"),S=n("9kvl"),N=v["a"].Option,C=function(e,t){var n;return(null===e||void 0===e?void 0:e.length)===(null===t||void 0===t?void 0:t.length)&&0===(null===(n=h.a.differenceBy(e,t,"name"))||void 0===n?void 0:n.length)},F=function(e){var t=e.schema,n=e.onSearch,a=f["a"].useForm(),r=Object(p["a"])(a,1),l=r[0],v=Object(w["z"])(),y=Object(x["c"])("content"),E=y.state,h=E.searchFields,k=E.searchParams,N=Object(g["useCallback"])((function(e){y.mr.removeSearchField(e)}),[]),F=Object(S["k"])(Object(m["a"])(b.a.mark((function e(){return b.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(T["d"])(v,t._id,{searchFields:h});case 2:y.mr.getContentSchemas(v);case 3:case"end":return e.stop()}}),e)}))),{manual:!0,onSuccess:function(){return d["default"].success("\u4fdd\u5b58\u68c0\u7d22\u6761\u4ef6\u6210\u529f\uff01")},onError:function(e){return d["default"].error(e.message||"\u4fdd\u5b58\u68c0\u7d22\u6761\u4ef6\u5931\u8d25\uff01")}}),R=F.run,L=F.loading;return j.a.createElement("div",null,h.length?j.a.createElement(f["a"],{form:l,layout:"inline",initialValues:k,style:{marginTop:"15px"},onFinish:function(e){return n(e)}},j.a.createElement(i["a"],null,h.map((function(e,t){return j.a.createElement(s["b"],{key:t,align:"center",style:{marginRight:"15px",marginBottom:"10px"}},I(e,t),j.a.createElement(O["a"],{onClick:function(){return N(e)},style:{marginLeft:"-15px"}}))})),j.a.createElement(s["b"],{style:{marginBottom:"10px"}},j.a.createElement(c["a"],{title:"\u5220\u9664\u6240\u6709\u68c0\u7d22\u6761\u4ef6"},j.a.createElement(u["a"],{onClick:function(){var e=o["a"].confirm({title:"\u662f\u5426\u5220\u9664\u4fdd\u5b58\u7684\u68c0\u7d22\u6761\u4ef6\uff1f",onCancel:function(){e.destroy()},onOk:function(){var e=Object(m["a"])(b.a.mark((function e(){return b.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(T["d"])(v,t._id,{searchFields:[]});case 3:d["default"].success("\u91cd\u7f6e\u68c0\u7d22\u6761\u4ef6\u6210\u529f\uff01"),y.mr.getContentSchemas(v),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),d["default"].error("\u91cd\u7f6e\u68c0\u7d22\u6761\u4ef6\u5931\u8d25\uff01");case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));function n(){return e.apply(this,arguments)}return n}()});y.mr.clearSearchField(),n({})}},"\u5220\u9664")),j.a.createElement(c["a"],{title:"\u6e05\u7a7a\u641c\u7d22\u8f93\u5165\u503c\uff0c\u91cd\u65b0\u641c\u7d22"},j.a.createElement(u["a"],{type:"primary",onClick:function(){y.setState({searchParams:{}},(function(){l.resetFields(),n({})}))}},"\u91cd\u7f6e\u641c\u7d22")),j.a.createElement(u["a"],{type:"primary",htmlType:"submit"},"\u641c\u7d22"),!C(h,t.searchFields)&&j.a.createElement(c["a"],{title:"\u4fdd\u5b58\u68c0\u7d22\u6761\u4ef6\uff0c\u4e0b\u6b21\u76f4\u63a5\u641c\u7d22"},j.a.createElement(u["a"],{type:"primary",loading:L,onClick:R},"\u4fdd\u5b58"))))):null)},I=function(e,t){var n,i=e.name,c=e.type,u=e.min,o=e.max,s=e.displayName,d=e.enumElements,m=Object(w["c"])(e);switch(c){case"String":case"Url":case"Email":case"Tel":case"Markdown":case"RichText":case"MultiLineString":n=j.a.createElement(f["a"].Item,{key:t,name:i,label:s},j.a.createElement(l["a"],{type:"text",style:{width:m}}));break;case"Boolean":n=j.a.createElement(f["a"].Item,{key:t,name:i,label:s,valuePropName:"checked"},j.a.createElement(r["a"],{checkedChildren:"True",unCheckedChildren:"False"}));break;case"Number":n=j.a.createElement(f["a"].Item,{key:t,name:i,label:s},j.a.createElement(a["a"],{min:u,max:o,style:{width:m}}));break;case"Date":case"Time":case"DateTime":n=j.a.createElement(f["a"].Item,{key:t,name:i,label:s},j.a.createElement(k["d"],{type:c,dateFormatType:e.dateFormatType}));break;case"Enum":n=j.a.createElement(f["a"].Item,{key:t,name:i,label:s},j.a.createElement(v["a"],{mode:"multiple",style:{width:m}},null!==d&&void 0!==d&&d.length?null===d||void 0===d?void 0:d.map((function(e,t){return j.a.createElement(N,{value:e.value,key:t},e.label)})):j.a.createElement(N,{value:"",disabled:!0},"\u7a7a")));break;case"Connect":n=j.a.createElement(f["a"].Item,{key:t,name:i,label:s},j.a.createElement(k["a"],{field:e}));break;case"Array":n=j.a.createElement(f["a"].Item,{key:t,name:i,label:s},j.a.createElement(l["a"],{placeholder:"\u76ee\u524d\u53ea\u652f\u6301\u5355\u4e2a\u503c\u641c\u7d22",style:{width:m}}));break;default:n=j.a.createElement(f["a"].Item,{key:t,name:i,label:s},j.a.createElement(l["a"],{style:{width:m}}))}return n};t["a"]=F},"W+EZ":function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return f}));var a=n("9og8"),r=n("jrin"),l=n("k1fw"),i=n("WmNS"),c=n.n(i),u=n("9+M8"),o=n.n(u),s=n("0lfv"),d=function(e,t){return e?Object.keys(e).filter((function(e){var n;return null===(n=Object(s["A"])(t))||void 0===n?void 0:n.some((function(t){return t.name===e}))})).reduce((function(t,n){return Object(l["a"])(Object(l["a"])({},t),{},Object(r["a"])({},n,e[n]))}),{}):{}},m=function(e,t){return e?Object.keys(e).filter((function(t){var n;return null===(n=e[t])||void 0===n?void 0:n.length})).filter((function(e){var n;return null===(n=t.fields)||void 0===n?void 0:n.some((function(t){return t.name===e}))})).reduce((function(n,a){return Object(l["a"])(Object(l["a"])({},n),{},Object(r["a"])({},a,e[a].map((function(e){var n=t.fields.find((function(e){return e.name===a}));return"number"===(null===n||void 0===n?void 0:n.enumElementType)?Number(e):e}))))}),{}):{}},f=function(){var e=Object(a["a"])(c.a.mark((function e(t,n){var a;return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("json"!==n){e.next=5;break}return e.next=3,Object(s["R"])(JSON.stringify(t),"cms-data-export-".concat(Object(s["t"])(),".json"));case 3:e.next=11;break;case 5:return e.next=7,o()(t);case 7:return a=e.sent,a="\ufeff".concat(a),e.next=11,Object(s["S"])(new Blob([a],{type:"text/csv,charset=utf-8"}),"cms-data-export-".concat(Object(s["t"])(),".csv"));case 11:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()},emwk:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var a=n("0Owb"),r=n("tJVT"),l=n("PpiC"),i=(n("DZo9"),n("8z0m")),c=n("q1tI"),u=n.n(c),o=n("Dezk"),s=n("LtfV"),d=n("0lfv"),m=i["a"].Dragger;function f(e){var t=e.value,n=e.onChange,i=e.uploadTip,f=e.uploadType,p=e.filePathTemplate,v=e.resourceLinkType,y=void 0===v?"fileId":v,b=Object(l["a"])(e,["value","onChange","uploadTip","uploadType","filePathTemplate","resourceLinkType"]),E=Object(o["a"])({fileList:[]}),h=Object(r["a"])(E,2),g=h[0].fileList,j=h[1];return Object(c["useEffect"])((function(){var e=(null===t||void 0===t?void 0:t.map((function(e,t){return{url:e,status:"done",response:e,uid:String(t),name:Object(d["s"])(e)}})))||[];j({fileList:e||[]})}),[]),u.a.createElement(m,Object(a["a"])({multiple:!0,fileList:g,onRemove:function(e){var t=g.filter((function(t){return t.uid!==e.uid})),a=t.map((function(e){return e.url||e.response}));null===n||void 0===n||n(a),j({fileList:t})},onChange:function(e){var t=e.fileList,a=t.map((function(e){return e.response&&(e.url=e.response),e})),r=a.filter((function(e){return e.response||"done"===e.status})).map((function(e){return e.response||e.url}));null===n||void 0===n||n(r),j({fileList:a})},customRequest:function(e){var t=e.file,n=e.onError,a=e.onProgress,r=e.onSuccess;Object(d["W"])({uploadType:f,filePathTemplate:p,file:t,onProgress:function(e){null===a||void 0===a||a({percent:e})}}).then((function(e){var n=e.fileId,a=e.url,l="fileId"===y?n:a;null===r||void 0===r||r(l,t)})).catch((function(e){null===n||void 0===n||n(e)}))}},b),u.a.createElement("p",{className:"ant-upload-drag-icon"},u.a.createElement(s["a"],null)),u.a.createElement("p",{className:"ant-upload-text"},i||"\u70b9\u51fb\u6216\u62d6\u62fd\u6587\u4ef6\u3001\u6587\u4ef6\u5939\u4e0a\u4f20"))}},hHl9:function(e,t,n){e.exports=n.p+"static/empty.dbd309de.svg"},pEWO:function(e,t,n){"use strict";n.d(t,"b",(function(){return k})),n.d(t,"a",(function(){return x}));n("T2oS");var a=n("W9HT"),r=(n("miYZ"),n("tsqr")),l=n("jrin"),i=n("9og8"),c=n("tJVT"),u=(n("+BJd"),n("mr32")),o=(n("tU7J"),n("wFql")),s=(n("OaEy"),n("2fM7")),d=n("WmNS"),m=n.n(d),f=n("q1tI"),p=n.n(f),v=n("9kvl"),y=n("1reR"),b=n("CXPE"),E=n("0lfv"),h=n("8/6Y"),g=s["a"].Option,j=o["a"].Text,O=o["a"].Paragraph,k=function(e){var t=e.value,n=e.field,a=n.connectMany,r=Object(E["c"])(n),l=Object(y["c"])("content"),i=l.state.schemas;return t&&"string"!==typeof t&&"string"!==typeof(null===t||void 0===t?void 0:t[0])?a?p.a.createElement(O,{style:{width:r}},t.filter((function(e){return e})).map((function(e,t){return p.a.createElement(u["a"],{key:t},w(e,i,n))}))):p.a.createElement(j,{ellipsis:!0,style:{width:r}},w(t,i,n)):p.a.createElement("span",null,"-")},x=function(e){var t=Object(E["z"])(),n=e.value,u=void 0===n?[]:n,o=e.onChange,d=e.field,j=Object(y["c"])("content"),O=d.connectField,k=d.connectResource,x=d.connectMany,S=j.state.schemas,N=Object(f["useState"])([]),C=Object(c["a"])(N,2),F=C[0],I=C[1],R=Object(f["useState"])(!0),L=Object(c["a"])(R,2),z=L[0],q=L[1],D=Object(f["useState"])(""),M=Object(c["a"])(D,2),U=M[0],P=M[1];Object(v["k"])(Object(i["a"])(m.a.mark((function e(){var n,a,r,i;return m.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return q(!0),n=h["a"],a={page:1,pageSize:1e3},U&&(a.fuzzyFilter=Object(l["a"])({},O,U)),e.next=6,Object(b["h"])(t,n.collectionName,a);case 6:r=e.sent,i=r.data,I(i),q(!1);case 10:case"end":return e.stop()}}),e)}))),{cacheKey:k,onError:function(e){r["default"].error(e.message||"\u83b7\u53d6\u6570\u636e\u9519\u8bef"),q(!1)},refreshDeps:[U],debounceInterval:500});var J=T(u,x);return p.a.createElement(s["a"],{showSearch:!0,loading:z,value:J,onChange:o,onSearch:P,filterOption:!1,placeholder:"\u5173\u8054\u5b57\u6bb5",style:{width:"240px"},disabled:z&&!U,mode:x?"multiple":void 0,notFoundContent:z?p.a.createElement(a["a"],{size:"small"}):null},z?p.a.createElement(g,{value:""},p.a.createElement(a["a"],{size:"small"})):null!==F&&void 0!==F&&F.length?p.a.createElement(p.a.Fragment,null,p.a.createElement(g,{value:""},"\u7a7a"),null===F||void 0===F?void 0:F.map((function(e){return p.a.createElement(g,{value:e._id,key:e._id},w(e,S,d))}))):p.a.createElement(g,{value:"",disabled:!0},"\u7a7a"))},w=function(e,t,n){var a,r=n.connectField,l=h["a"],i=null===l||void 0===l?void 0:l.fields.find((function(e){return e.name===r}));return null!==i&&void 0!==i&&i.connectResource?Object(E["F"])(null===(a=e[r])||void 0===a?void 0:a[i.connectField]):Object(E["F"])(e[r])},T=function(e,t){return t?e.filter((function(e){return e})).map((function(e){return"string"===typeof e?e:null===e||void 0===e?void 0:e._id})):"string"===typeof e?e:null===e||void 0===e?void 0:e._id}},xBP5:function(e,t,n){"use strict";n.r(t),n.d(t,"ContentTable",(function(){return M}));n("2qtc");var a=n("kLXV"),r=(n("Mwp2"),n("VXEj")),l=(n("DYRE"),n("zeV3")),i=(n("Q9mQ"),n("diRs")),c=(n("+L6B"),n("2/Rp")),u=n("oBTY"),o=(n("lUTK"),n("BvKs")),s=(n("miYZ"),n("tsqr")),d=n("k1fw"),m=n("9og8"),f=n("tJVT"),p=(n("tU7J"),n("wFql")),v=n("WmNS"),y=n.n(v),b=n("1reR"),E=n("s4NR"),h=n("Dezk"),g=n("9kvl"),j=n("nhC9"),O=n("tMyG"),k=n("q1tI"),x=n.n(k),w=n("Qiat"),T=n("CXPE"),S=n("0lfv"),N=n("xvlK"),C=n("i5Jm"),F=n("W+EZ"),I=n("EwzG"),R=n("he5r"),L={fields:[{description:"\u3010\u5c0f\u7a0b\u5e8f\u540d\u79f0\u3011\uff0c\u70b9\u51fb \u4e91\u5f00\u53d1\u9759\u6001\u7f51\u7ad9 URL \u6253\u5f00\u5c0f\u7a0b\u5e8f\u540d\u79f0\u5c0f\u7a0b\u5e8f\uff0c\u9000\u8ba2\u56deT\u3002",displayName:"\u77ed\u4fe1\u5185\u5bb9",id:"y0um9jhk9v9mrk424wbj95jleg2d2f8y",isRequired:!0,max:30,name:"content",order:0,type:"String"},{displayName:"\u6d3b\u52a8",description:"\u5173\u8054\u7684\u6d3b\u52a8",connectField:"activityName",connectResource:"b45a21d55ff939720430e24e0f94cb12",id:"o91ouff816sbu0owdjqbcluira1enlqs",isRequired:!0,name:"activityId",order:1,type:"Connect"},{description:"\u4ee5 , \u53f7\u5206\u5272",displayName:"\u624b\u673a\u53f7\u7801\u5305",id:"70qq715n2ytm4dhp67to8j4xoou9kijt",isRequired:!0,name:"phoneNumberList",order:2,type:"MultiLineString"},{defaultValue:"",description:"\u53d1\u9001\u72b6\u6001",displayName:"\u53d1\u9001\u72b6\u6001",id:"sp7adqpyejpwt86721plcvlk15ijnn6m",isHidden:!1,isRequired:!1,name:"status",order:3,type:"string"},{defaultValue:0,description:"\u7535\u8bdd\u53f7\u7801\u6570\u91cf",displayName:"\u53d1\u9001\u7528\u6237\u6570",id:"tmaimgo7jtr9t3c7fiprvkl6knxb42ji",max:1e3,min:0,name:"total",order:4,type:"Number"},{dateFormatType:"timestamp-ms",description:"\u521b\u5efa\u65f6\u95f4",displayName:"\u521b\u5efa\u65f6\u95f4",id:"fmpx6prjehenfvl0v0amzo58ckwf7kqb",isRequired:!0,name:"createTime",order:5,type:"DateTime"}],collectionName:"".concat(R["a"],"-sms-tasks"),displayName:"\u53d1\u9001\u77ed\u4fe1",_id:"21ded5cb5ff93faa0456bdef6be2a7d6"},z=n("64RO"),q=p["a"].Text,D=(t["default"]=function(){var e=Object(b["c"])("global"),t=e.state.setting;return null!==t&&void 0!==t&&t.enableOperation?x.a.createElement(O["a"],{content:"\u77ed\u4fe1\u4e0b\u53d1\u540e\uff0c\u4f1a\u9ed8\u8ba4\u9644\u5e26\u5f53\u524d\u8d26\u53f7\u6240\u5c5e\u5c0f\u7a0b\u5e8f\u540d\u79f0\u53ca\u8df3\u8f6c\u94fe\u63a5\uff0c\u652f\u6301\u7528\u6237\u76f4\u63a5\u70b9\u51fb\u8bbf\u95ee\u4f60\u7684\u5c0f\u7a0b\u5e8f"},x.a.createElement(j["a"],null,x.a.createElement(M,{currentSchema:L}))):(Object(S["Q"])("operation"),"")},["File","Image"]),M=function(e){var t=e.currentSchema,n=Object(S["z"])(),p=Object(h["a"])({visible:!1,sendStatusList:[]}),v=Object(f["a"])(p,2),E=v[0],j=E.visible,O=E.sendStatusList,R=v[1],L=Object(b["c"])("content"),M=L.state,P=M.searchFields,J=M.searchParams,Y=Object(k["useRef"])(),B=Object(k["useCallback"])(function(){var e=Object(m["a"])(y.a.mark((function e(a,r,l){var i,c,u,o,s,m,f,p;return y.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=a.pageSize,c=a.current,u=t.collectionName,o=Object(F["c"])(J,t),e.prev=3,e.next=6,Object(T["h"])(n,u,{sort:Object(d["a"])(Object(d["a"])({},r),{},{createTime:1}),filter:Object(d["a"])(Object(d["a"])({},l),{},{projectId:n}),pageSize:i,fuzzyFilter:o,page:c});case 6:return s=e.sent,m=s.data,f=void 0===m?[]:m,p=s.total,e.abrupt("return",{data:f,total:p,success:!0});case 13:return e.prev=13,e.t0=e["catch"](3),e.abrupt("return",{data:[],total:0,success:!0});case 16:case"end":return e.stop()}}),e,null,[[3,13]])})));return function(t,n,a){return e.apply(this,arguments)}}(),[J]),_=(Object(k["useMemo"])((function(){var e;return x.a.createElement(o["a"],{onClick:function(e){var n=e.key,a=t.fields.find((function(e){return e.name===n})),r=null===P||void 0===P?void 0:P.find((function(e){return e.name===n}));r?s["default"].error("\u5b57\u6bb5\u5df2\u6dfb\u52a0\uff0c\u8bf7\u52ff\u91cd\u590d\u6dfb\u52a0"):a&&L.mr.addSearchField(a)}},null===t||void 0===t||null===(e=t.fields)||void 0===e?void 0:e.filter((function(e){return!D.includes(e.type)})).map((function(e){return x.a.createElement(o["a"].Item,{key:e.name},e.displayName)})))}),[t,P]),Object(k["useMemo"])((function(){return[].concat(Object(u["a"])(z["b"]),[{title:"\u64cd\u4f5c",width:150,align:"center",fixed:"right",valueType:"option",render:function(e,t){return[x.a.createElement(c["a"],{size:"small",type:"primary",key:"edit",onClick:function(){t.queryId?Object(S["Q"])("operation/message/result",{query:{queryId:t.queryId}}):R({visible:!0,sendStatusList:(null===t||void 0===t?void 0:t.sendStatusList)||[]})}},"\u53d1\u9001\u7ed3\u679c")]}}])}),[t])),V=Object(k["useMemo"])((function(){return[x.a.createElement(c["a"],{key:"button",type:"primary",icon:x.a.createElement(N["a"],null),onClick:function(){Object(S["Q"])("operation/message/create")}},"\u53d1\u9001\u77ed\u4fe1")]}),[t,J,P]),A=Object(k["useMemo"])((function(){var e=g["e"].location.query;return{showSizeChanger:!0,defaultCurrent:Number(null===e||void 0===e?void 0:e.current)||1,defaultPageSize:Number(null===e||void 0===e?void 0:e.pageSize)||10,pageSizeOptions:["10","20","30","50"]}}),[]);return x.a.createElement(x.a.Fragment,null,x.a.createElement(I["a"],{schema:t,onSearch:function(e){var t;L.setState({searchParams:e}),U(1,10),null===Y||void 0===Y||null===(t=Y.current)||void 0===t||t.reload(!0)}}),x.a.createElement(w["a"],{rowKey:"_id",search:!1,actionRef:Y,dateFormatter:"string",scroll:{x:"max-content"},request:B,columns:_,toolBarRender:function(){return V},pagination:Object(d["a"])(Object(d["a"])({},A),{},{onChange:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;U(e,t)}})}),x.a.createElement(a["a"],{width:720,title:x.a.createElement(x.a.Fragment,null,x.a.createElement(q,null,"\u77ed\u4fe1\u53d1\u9001\u7ed3\u679c"),x.a.createElement("div",{style:{fontSize:"14px",marginTop:"10px"}},x.a.createElement(l["b"],null,x.a.createElement(q,null,"\u53d1\u9001\u6210\u529f\u672a\u6536\u5230\u77ed\u4fe1"),x.a.createElement(i["a"],{placement:"bottom",content:x.a.createElement("div",{style:{maxWidth:"600px"}},x.a.createElement("p",null,"\u6709\u4ee5\u4e0b\u573a\u666f\u4f1a\u5bfc\u81f4\u672a\u6536\u5230\u77ed\u4fe1 \u65e0\u6548\u53f7\u7801"),x.a.createElement("ul",{className:"p-0"},x.a.createElement("li",null,"1. \u7a7a\u53f7\u3001\u5173\u673a\u3001\u505c\u673a\u7b49\u8fd0\u8425\u5546\u6807\u8bc6\u4e3a\u975e\u6b63\u5e38\u4f7f\u7528\u7684\u53f7\u7801"),x.a.createElement("li",null,"2. \u7531\u4e8e\u7528\u6237\u7ec8\u7aef\u539f\u56e0\u9020\u6210\u7684\u65e0\u6cd5\u6b63\u5e38\u63a5\u6536\u77ed\u4fe1\uff0c\u5305\u542b\u4f46\u4e0d\u9650\u4e8e\u6b20\u8d39\u3001\u5173\u673a\u3001\u4e0d\u5728\u670d\u52a1\u533a\u3001\u672a\u8ba2\u8d2d\u77ed\u4fe1\u670d\u52a1\u3001\u7ec8\u7aef\u7f51\u7edc\u4fe1\u53f7\u3001\u624b\u673a\u62e6\u622a\u7b49\u4e0d\u7a33\u5b9a\u7b49\u72b6\u6001"),x.a.createElement("li",null,"3. \u817e\u8baf\u4e91\u3001\u8fd0\u8425\u5546\u5b9a\u4e49\u7684\u9ed1\u540d\u5355\u53f7\u7801\u3002 \u89e6\u53d1\u9650\u9891",x.a.createElement("ul",{className:"pl-5"},x.a.createElement("li",null,"a. \u76f8\u540c\u5185\u5bb9\u77ed\u4fe1\u5bf9\u540c\u4e00\u4e2a\u624b\u673a\u53f7\uff0c30 \u79d2\u5185\u53d1\u9001\u77ed\u4fe1\u6761\u6570\u4e0d\u8d85\u8fc71\u6761"),x.a.createElement("li",null,"b. \u5bf9\u540c\u4e00\u4e2a\u624b\u673a\u53f7\uff0c1 \u81ea\u7136\u65e5\u5185\u53d1\u9001\u77ed\u4fe1\u6761\u6570\u4e0d\u8d85\u8fc710\u6761")))))},x.a.createElement(C["a"],null))))),visible:j,onCancel:function(){return R({visible:!1})},footer:null},x.a.createElement("div",{style:{maxHeight:"450px",overflow:"auto",paddingRight:"20px"}},x.a.createElement(r["b"],{dataSource:O,renderItem:function(e,t){return x.a.createElement(r["b"].Item,{key:t},x.a.createElement(r["b"].Item.Meta,{title:e.phoneNumber}),x.a.createElement(q,{style:{maxWidth:"450px"},type:"Ok"!==e.code?"danger":"success"},e.message))}},!(null!==O&&void 0!==O&&O.length)&&"\u7a7a"))))},U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=g["e"].location,a=n.pathname,r=n.query;g["e"].replace({pathname:a,search:Object(E["stringify"])(Object(d["a"])(Object(d["a"])({},r),{},{pageSize:t,current:e}))})}}}]);
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。