第一次

This commit is contained in:
PC-202306242200\Administrator
2024-09-10 16:47:49 +08:00
parent 4988491b1c
commit d4720a32e1
419 changed files with 59630 additions and 0 deletions

1
dist/1411.867e45ca.async.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/2284.dd92c41b.chunk.css vendored Normal file

File diff suppressed because one or more lines are too long

581
dist/2284.ee505d0a.async.js vendored Normal file

File diff suppressed because one or more lines are too long

81
dist/2901.e8cca09c.async.js vendored Normal file

File diff suppressed because one or more lines are too long

40
dist/2911.4bdb898c.async.js vendored Normal file

File diff suppressed because one or more lines are too long

56
dist/449.5332a375.async.js vendored Normal file

File diff suppressed because one or more lines are too long

27
dist/4587.ddfce86d.async.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/4974.a79f4396.async.js vendored Normal file

File diff suppressed because one or more lines are too long

60
dist/6030.76a4da21.async.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/6276.f338284a.async.js vendored Normal file

File diff suppressed because one or more lines are too long

80
dist/8383.8257ce37.async.js vendored Normal file

File diff suppressed because one or more lines are too long

8
dist/9910.c8239399.async.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/CNAME vendored Normal file
View File

@@ -0,0 +1 @@
preview.pro.ant.design

BIN
dist/favicon.ico vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
dist/icons/icon-128x128.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
dist/icons/icon-192x192.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
dist/icons/icon-512x512.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

13
dist/index.html vendored Normal file
View File

@@ -0,0 +1,13 @@
<!DOCTYPE html><html><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>云充电管理后台</title>
<link rel="stylesheet" href="/umi.77a65f21.css">
<script async="" src="/scripts/loading.js"></script>
</head>
<body>
<div id="root"></div>
<script src="/umi.de8ce8ab.js"></script>
</body></html>

1
dist/logo.svg vendored Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200" version="1.1" viewBox="0 0 200 200"><title>Group 28 Copy 5</title><desc>Created with Sketch.</desc><defs><linearGradient id="linearGradient-1" x1="62.102%" x2="108.197%" y1="0%" y2="37.864%"><stop offset="0%" stop-color="#4285EB"/><stop offset="100%" stop-color="#2EC7FF"/></linearGradient><linearGradient id="linearGradient-2" x1="69.644%" x2="54.043%" y1="0%" y2="108.457%"><stop offset="0%" stop-color="#29CDFF"/><stop offset="37.86%" stop-color="#148EFF"/><stop offset="100%" stop-color="#0A60FF"/></linearGradient><linearGradient id="linearGradient-3" x1="69.691%" x2="16.723%" y1="-12.974%" y2="117.391%"><stop offset="0%" stop-color="#FA816E"/><stop offset="41.473%" stop-color="#F74A5C"/><stop offset="100%" stop-color="#F51D2C"/></linearGradient><linearGradient id="linearGradient-4" x1="68.128%" x2="30.44%" y1="-35.691%" y2="114.943%"><stop offset="0%" stop-color="#FA8E7D"/><stop offset="51.264%" stop-color="#F74A5C"/><stop offset="100%" stop-color="#F51D2C"/></linearGradient></defs><g id="Page-1" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="logo" transform="translate(-20.000000, -20.000000)"><g id="Group-28-Copy-5" transform="translate(20.000000, 20.000000)"><g id="Group-27-Copy-3"><g id="Group-25" fill-rule="nonzero"><g id="2"><path id="Shape" fill="url(#linearGradient-1)" d="M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C99.2571609,26.9692191 101.032305,26.9692191 102.20193,28.1378823 L129.985225,55.8983314 C134.193707,60.1033528 141.017005,60.1033528 145.225487,55.8983314 C149.433969,51.69331 149.433969,44.8756232 145.225487,40.6706018 L108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z"/><path id="Shape" fill="url(#linearGradient-2)" d="M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C100.999864,25.6271836 105.751642,20.541824 112.729652,19.3524487 C117.915585,18.4685261 123.585219,20.4140239 129.738554,25.1889424 C125.624663,21.0784292 118.571995,14.0340304 108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z"/></g><path id="Shape" fill="url(#linearGradient-3)" d="M153.685633,135.854579 C157.894115,140.0596 164.717412,140.0596 168.925894,135.854579 L195.959977,108.842726 C200.659183,104.147384 200.659183,96.5636133 195.960527,91.8688194 L168.690777,64.7181159 C164.472332,60.5180858 157.646868,60.5241425 153.435895,64.7316526 C149.227413,68.936674 149.227413,75.7543607 153.435895,79.9593821 L171.854035,98.3623765 C173.02366,99.5310396 173.02366,101.304724 171.854035,102.473387 L153.685633,120.626849 C149.47715,124.83187 149.47715,131.649557 153.685633,135.854579 Z"/></g><ellipse id="Combined-Shape" cx="100.519" cy="100.437" fill="url(#linearGradient-4)" rx="23.6" ry="23.581"/></g></g></g></g></svg>

After

Width:  |  Height:  |  Size: 3.8 KiB

5
dist/pro_icon.svg vendored Normal file
View File

@@ -0,0 +1,5 @@
<svg width="42" height="42" xmlns="http://www.w3.org/2000/svg">
<g>
<path fill="#070707" d="m6.717392,13.773912l5.6,0c2.8,0 4.7,1.9 4.7,4.7c0,2.8 -2,4.7 -4.9,4.7l-2.5,0l0,4.3l-2.9,0l0,-13.7zm2.9,2.2l0,4.9l1.9,0c1.6,0 2.6,-0.9 2.6,-2.4c0,-1.6 -0.9,-2.4 -2.6,-2.4l-1.9,0l0,-0.1zm8.9,11.5l2.7,0l0,-5.7c0,-1.4 0.8,-2.3 2.2,-2.3c0.4,0 0.8,0.1 1,0.2l0,-2.4c-0.2,-0.1 -0.5,-0.1 -0.8,-0.1c-1.2,0 -2.1,0.7 -2.4,2l-0.1,0l0,-1.9l-2.7,0l0,10.2l0.1,0zm11.7,0.1c-3.1,0 -5,-2 -5,-5.3c0,-3.3 2,-5.3 5,-5.3s5,2 5,5.3c0,3.4 -1.9,5.3 -5,5.3zm0,-2.1c1.4,0 2.2,-1.1 2.2,-3.2c0,-2 -0.8,-3.2 -2.2,-3.2c-1.4,0 -2.2,1.2 -2.2,3.2c0,2.1 0.8,3.2 2.2,3.2z" class="st0" id="Ant-Design-Pro"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 677 B

202
dist/scripts/loading.js vendored Normal file
View File

@@ -0,0 +1,202 @@
/**
* loading 占位
* 解决首次加载时白屏的问题
*/
(function () {
const _root = document.querySelector('#root');
if (_root && _root.innerHTML === '') {
_root.innerHTML = `
<style>
html,
body,
#root {
height: 100%;
margin: 0;
padding: 0;
}
#root {
background-repeat: no-repeat;
background-size: 100% auto;
}
.loading-title {
font-size: 1.1rem;
}
.loading-sub-title {
margin-top: 20px;
font-size: 1rem;
color: #888;
}
.page-loading-warp {
display: flex;
align-items: center;
justify-content: center;
padding: 26px;
}
.ant-spin {
position: absolute;
display: none;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.65);
color: #1890ff;
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
text-align: center;
list-style: none;
opacity: 0;
-webkit-transition: -webkit-transform 0.3s
cubic-bezier(0.78, 0.14, 0.15, 0.86);
transition: -webkit-transform 0.3s
cubic-bezier(0.78, 0.14, 0.15, 0.86);
transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86),
-webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
-webkit-font-feature-settings: "tnum";
font-feature-settings: "tnum";
}
.ant-spin-spinning {
position: static;
display: inline-block;
opacity: 1;
}
.ant-spin-dot {
position: relative;
display: inline-block;
width: 20px;
height: 20px;
font-size: 20px;
}
.ant-spin-dot-item {
position: absolute;
display: block;
width: 9px;
height: 9px;
background-color: #1890ff;
border-radius: 100%;
-webkit-transform: scale(0.75);
-ms-transform: scale(0.75);
transform: scale(0.75);
-webkit-transform-origin: 50% 50%;
-ms-transform-origin: 50% 50%;
transform-origin: 50% 50%;
opacity: 0.3;
-webkit-animation: antspinmove 1s infinite linear alternate;
animation: antSpinMove 1s infinite linear alternate;
}
.ant-spin-dot-item:nth-child(1) {
top: 0;
left: 0;
}
.ant-spin-dot-item:nth-child(2) {
top: 0;
right: 0;
-webkit-animation-delay: 0.4s;
animation-delay: 0.4s;
}
.ant-spin-dot-item:nth-child(3) {
right: 0;
bottom: 0;
-webkit-animation-delay: 0.8s;
animation-delay: 0.8s;
}
.ant-spin-dot-item:nth-child(4) {
bottom: 0;
left: 0;
-webkit-animation-delay: 1.2s;
animation-delay: 1.2s;
}
.ant-spin-dot-spin {
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-animation: antrotate 1.2s infinite linear;
animation: antRotate 1.2s infinite linear;
}
.ant-spin-lg .ant-spin-dot {
width: 32px;
height: 32px;
font-size: 32px;
}
.ant-spin-lg .ant-spin-dot i {
width: 14px;
height: 14px;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.ant-spin-blur {
background: #fff;
opacity: 0.5;
}
}
@-webkit-keyframes antSpinMove {
to {
opacity: 1;
}
}
@keyframes antSpinMove {
to {
opacity: 1;
}
}
@-webkit-keyframes antRotate {
to {
-webkit-transform: rotate(405deg);
transform: rotate(405deg);
}
}
@keyframes antRotate {
to {
-webkit-transform: rotate(405deg);
transform: rotate(405deg);
}
}
</style>
<div style="
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
min-height: 362px;
">
<div class="page-loading-warp">
<div class="ant-spin ant-spin-lg ant-spin-spinning">
<span class="ant-spin-dot ant-spin-dot-spin">
<i class="ant-spin-dot-item"></i>
<i class="ant-spin-dot-item"></i>
<i class="ant-spin-dot-item"></i>
<i class="ant-spin-dot-item"></i>
</span>
</div>
</div>
<div class="loading-title">
正在加载资源
</div>
<div class="loading-sub-title">
初次加载资源可能需要较多时间 请耐心等待
</div>
</div>
`;
}
})();

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[4650],{77372:function(o,s,t){t.r(s);var n=t(7485),u=t(84974),_=t(50159),E=t(50959),a=t(11527),e=function(){return(0,a.jsx)(u.ZP,{status:"404",title:"404",subTitle:(0,n.useIntl)().formatMessage({id:"pages.404.subTitle"}),extra:(0,a.jsx)(_.ZP,{type:"primary",onClick:function(){return n.history.push("/")},children:(0,n.useIntl)().formatMessage({id:"pages.404.buttonText"})})})};s.default=e}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[6387],{35748:function(F,m,e){var E=e(35361),a=e(56929),M=e(50959),c=e(20734),f=e(11527),p=["fieldProps","min","proFieldProps","max"],D=function(t,C){var g=t.fieldProps,A=t.min,P=t.proFieldProps,x=t.max,i=(0,a.Z)(t,p);return(0,f.jsx)(c.Z,(0,E.Z)({valueType:"digit",fieldProps:(0,E.Z)({min:A,max:x},g),ref:C,filedConfig:{defaultProps:{width:"100%"}},proFieldProps:P},i))},l=M.forwardRef(D);m.Z=l},53271:function(F,m,e){e.r(m);var E=e(90228),a=e.n(E),M=e(87999),c=e.n(M),f=e(48305),p=e.n(f),D=e(50959),l=e(49547),R=e(35748),t=e(19014),C=e(50925),g=e(94675),A=e(2733),P=e(17885),x=e(66001),i=e.n(x),z=e(8776),n=e(11527),U=function(d){var W=(0,D.useState)(i().createEditorState("")),j=p()(W,2),v=j[0],O=j[1],B=C.Z.useForm(),L=p()(B,1),u=L[0],T=d.values;(0,D.useEffect)(function(){O(i().createEditorState(T.protocolContent?T.protocolContent:"")),u.resetFields(),u.setFieldsValue(T)},[u,d]);var K=function(){u.submit()},y=function(){d.onCancel()},S=function(){var _=c()(a()().mark(function r(o){var s;return a()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:s=JSON.parse(JSON.stringify(o)),s.protocolContent=v.toHTML(),d.onSubmit(s);case 3:case"end":return h.stop()}},r)}));return function(o){return _.apply(this,arguments)}}(),Z=["undo","redo","separator","font-size","line-height","letter-spacing","separator","text-color","bold","italic","underline","strike-through","separator","superscript","subscript","remove-styles","emoji","separator","text-indent","text-align","separator","headings","list-ul","list-ol","blockquote","code","separator","link","separator","hr","separator","clear"],G=function(){var _=c()(a()().mark(function r(o){var s,b;return a()().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:s=[".mp4",".mkv",".avi",".mov",".wmv",".flv",".webm",".m4v",".3gp",".3g2"],b=o.toLowerCase(),s.some(function($){return b.endsWith($)})?O(P.ContentUtils.insertMedias(v,[{type:"VIDEO",url:o}])):O(P.ContentUtils.insertMedias(v,[{type:"IMAGE",url:o}]));case 3:case"end":return I.stop()}},r)}));return function(o){return _.apply(this,arguments)}}(),N=["separator",{key:"FilesManagerImage",title:"\u4E0A\u4F20\u56FE\u7247/\u89C6\u9891",html:null,text:(0,n.jsx)(A.Z,{fileType:"image",mode:"",imagesShow:!1,onChange:G,count:1}),onClick:function(){console.log("Hello World!")}}];return(0,n.jsx)(g.Z,{width:1200,title:"\u534F\u8BAE\u5185\u5BB9",open:d.open,forceRender:!0,destroyOnClose:!0,onOk:K,onCancel:y,children:(0,n.jsxs)(l.A,{form:u,submitter:!1,layout:"horizontal",onFinish:S,children:[(0,n.jsx)(R.Z,{name:"id",label:"ID",disabled:!0,hidden:!0}),(0,n.jsx)(t.Z,{width:300,name:"protocolName",label:"\u534F\u8BAE\u540D\u79F0",placeholder:"\u534F\u8BAE\u540D\u79F0",rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]}),(0,n.jsx)(l.A.Group,{children:(0,n.jsx)(l.A.Item,{name:"protocolContent",children:(0,n.jsx)("div",{className:"border-solid border-2 border-indigo-600",children:(0,n.jsx)(i(),{value:v,controls:Z,extendControls:N,onChange:function(r){O(r)}})})})})]})})};m.default=U}}]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[9532],{35748:function(A,o,e){var l=e(35361),d=e(56929),t=e(50959),a=e(20734),s=e(11527),i=["fieldProps","min","proFieldProps","max"],u=function(r,m){var E=r.fieldProps,P=r.min,h=r.proFieldProps,M=r.max,C=(0,d.Z)(r,i);return(0,s.jsx)(a.Z,(0,l.Z)({valueType:"digit",fieldProps:(0,l.Z)({min:P,max:M},E),ref:m,filedConfig:{defaultProps:{width:"100%"}},proFieldProps:h},C))},_=t.forwardRef(u);o.Z=_},92323:function(A,o,e){var l=e(35361),d=e(56929),t=e(50959),a=e(20734),s=e(11527),i=["fieldProps","unCheckedChildren","checkedChildren","proFieldProps"],u=t.forwardRef(function(_,p){var r=_.fieldProps,m=_.unCheckedChildren,E=_.checkedChildren,P=_.proFieldProps,h=(0,d.Z)(_,i);return(0,s.jsx)(a.Z,(0,l.Z)({valueType:"switch",fieldProps:(0,l.Z)({unCheckedChildren:m,checkedChildren:E},r),ref:p,valuePropName:"checked",proFieldProps:P,filedConfig:{valuePropName:"checked",ignoreWidth:!0,customLightMode:!0}},h))});o.Z=u},33245:function(A,o,e){e.r(o);var l=e(90228),d=e.n(l),t=e(87999),a=e.n(t),s=e(48305),i=e.n(s),u=e(50959),_=e(49547),p=e(35748),r=e(19014),m=e(92323),E=e(50925),P=e(94675),h=e(3598),M=e(7485),C=e(2733),n=e(11527),R=function(D){var T=E.Z.useForm(),x=i()(T,1),c=x[0],O=D.values;(0,u.useEffect)(function(){console.log(O,"values"),c.resetFields(),c.setFieldsValue(O)},[c,D]);var L=(0,M.useIntl)(),I=function(){c.submit()},U=function(){D.onCancel()},W=function(){var v=a()(d()().mark(function F(j){return d()().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:D.onSubmit(j);case 1:case"end":return f.stop()}},F)}));return function(j){return v.apply(this,arguments)}}();return(0,n.jsx)(P.Z,{width:640,title:"\u8F6E\u64AD\u56FE",open:D.open,forceRender:!0,destroyOnClose:!0,onOk:I,onCancel:U,children:(0,n.jsxs)(_.A,{form:c,submitter:!1,layout:"horizontal",onFinish:W,children:[(0,n.jsx)(p.Z,{name:"id",label:"ID",disabled:!0,hidden:!0}),(0,n.jsx)(_.A.Group,{children:(0,n.jsx)(r.Z,{name:"title",label:"\u6807\u9898",placeholder:"\u8BF7\u8F93\u5165\u6807\u9898"})}),(0,n.jsxs)(_.A.Group,{children:[(0,n.jsx)(_.A.Item,{label:"\u6392\u5E8F",name:"sortOrder",children:(0,n.jsx)(h.Z,{style:{width:200}})}),(0,n.jsx)(r.Z,{name:"jumpUrl",label:"\u8DF3\u8F6C\u5730\u5740",placeholder:"\u8BF7\u8F93\u5165\u8DF3\u8F6C\u5730\u5740"}),(0,n.jsx)(m.Z,{rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}],checkedChildren:"\u542F\u7528",unCheckedChildren:"\u7981\u7528",name:"status",label:"\u662F\u5426\u542F\u7528",fieldProps:{defaultChecked:!0}})]}),(0,n.jsx)(_.A.Group,{children:(0,n.jsx)(_.A.Item,{label:"\u56FE\u7247",name:"imageUrl",children:(0,n.jsx)(C.Z,{fileType:"image",defaultValue:O==null?void 0:O.imageUrl,count:1,mode:""})})})]})})};o.default=R}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[5351],{986:function(L,d,e){e.r(d),e.d(d,{default:function(){return C}});var h=e(90228),s=e.n(h),g=e(87999),c=e.n(g),p=e(7485);function y(l){return i.apply(this,arguments)}function i(){return i=c()(s()().mark(function l(o){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,p.request)("/adminn/device/amount/page",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:o||{}}));case 1:case"end":return a.stop()}},l)})),i.apply(this,arguments)}var T=e(50959),x=e(16030),R=e(78383),u=e(11527),j=function(){var o=(0,T.useRef)(),v=[{title:"ID",dataIndex:"id",valueType:"text",search:!1},{title:"\u670D\u52A1\u8D39\u91D1\u989D",dataIndex:"amout",valueType:"text",search:!1},{title:"\u670D\u52A1\u8D39\u4EA7\u751F\u65E5\u671F",dataIndex:"incomeDay",valueType:"dateRange",search:{transform:function(r){return{incomeDayBegin:r[0],incomeDayEnd:r[1]}}}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createTime",valueType:"text",search:!1}];return(0,u.jsx)(x._z,{children:(0,u.jsx)("div",{style:{width:"100%",float:"right"},children:(0,u.jsx)(R.Z,{actionRef:o,rowKey:"id",search:{labelWidth:120},request:function(){var a=c()(s()().mark(function r(f,I,P){var m,t;return s()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,y(f);case 2:return m=n.sent,t=m.data,n.abrupt("return",{data:(t==null?void 0:t.records)||[],total:t==null?void 0:t.total});case 5:case"end":return n.stop()}},r)}));return function(r,f,I){return a.apply(this,arguments)}}(),columns:v},"logList")})})},C=j}}]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[2722],{15643:function(T,o,e){e.r(o);var c=e(90228),t=e.n(c),h=e(87999),l=e.n(h),d=e(19869),E=e(50959),i=e(16030),f=e(78383),a=e(11527),D=function(){var _=(0,E.useRef)(),r=[{title:"ID",dataIndex:"id",valueType:"text",search:!1},{title:"\u7528\u6237ID",dataIndex:"userId",valueType:"text",search:!1},{title:"\u94B1\u5305",dataIndex:"points2",valueType:"text",search:!1},{title:"\u4FEE\u6539\u65F6\u95F4",dataIndex:"updateTime",valueType:"text",search:!1},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createTime",valueType:"text",search:!1}];return(0,a.jsx)(i._z,{children:(0,a.jsx)("div",{style:{width:"100%",float:"right"},children:(0,a.jsx)(f.Z,{actionRef:_,rowKey:"id",search:{labelWidth:120},request:function(){var p=l()(t()().mark(function n(P,g,O){var v,s;return t()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,d.xY)(P);case 2:return v=u.sent,s=v.data,u.abrupt("return",{data:(s==null?void 0:s.records)||[],total:s==null?void 0:s.total});case 5:case"end":return u.stop()}},n)}));return function(n,P,g){return p.apply(this,arguments)}}(),columns:r},"logList")})})};o.default=D},19869:function(T,o,e){e.d(o,{I7:function(){return D},eq:function(){return f},xY:function(){return E}});var c=e(90228),t=e.n(c),h=e(87999),l=e.n(h),d=e(7485);function E(_){return i.apply(this,arguments)}function i(){return i=l()(t()().mark(function _(r){return t()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,d.request)("/admin/userspoints/page",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:r||{}}));case 1:case"end":return n.stop()}},_)})),i.apply(this,arguments)}function f(_){return a.apply(this,arguments)}function a(){return a=l()(t()().mark(function _(r){return t()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,d.request)("/admin/userspoints/extract/page",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:r||{}}));case 1:case"end":return n.stop()}},_)})),a.apply(this,arguments)}function D(_){return m.apply(this,arguments)}function m(){return m=l()(t()().mark(function _(r){return t()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,d.request)("/admin/userspoints/record/page",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:r||{}}));case 1:case"end":return n.stop()}},_)})),m.apply(this,arguments)}}}]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[5829],{85751:function(h,d,_){_.r(d);var p=_(26068),l=_.n(p),M=_(15558),P=_.n(M),c=_(48305),u=_.n(c),j=_(94675),A=_(953),r=_(50159),m=_(50959),v=_(75201),b=_(59806),n=_(11527);d.default=function(a){var C=a.modalOpenState,U=a.onModalOpenState,B=a.onSubmit,x=(0,m.useState)([]),i=u()(x,2),e=i[0],E=i[1],f=(0,m.useState)(!1),D=u()(f,2),R=D[0],T=D[1],L={onRemove:function(t){var o=e.indexOf(t),s=e.slice();s.splice(o,1),E(s)},beforeUpload:function(t){return E([].concat(P()(e),[t])),!1},fileList:e};return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(j.Z,{title:"\u5BFC\u5165\u63D0\u73B0\u7ED3\u679C",open:C,onOk:B,footer:function(t,o){var s=o.OkBtn,S=o.CancelBtn;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(s,{})})},children:(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)(A.Z,l()(l()({className:"mr-6"},L),{},{children:(0,n.jsx)(r.ZP,{icon:(0,n.jsx)(v.Z,{}),children:"\u9009\u62E9\u6587\u4EF6"})})),(0,n.jsx)(r.ZP,{icon:(0,n.jsx)(b.Z,{}),children:"\u4E0B\u8F7D\u6A21\u677F"})]})})})}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[3342],{35748:function(R,t,_){var a=_(35361),s=_(56929),d=_(50959),m=_(20734),i=_(11527),u=["fieldProps","min","proFieldProps","max"],E=function(n,P){var D=n.fieldProps,O=n.min,M=n.proFieldProps,e=n.max,v=(0,s.Z)(n,u);return(0,i.jsx)(m.Z,(0,a.Z)({valueType:"digit",fieldProps:(0,a.Z)({min:O,max:e},D),ref:P,filedConfig:{defaultProps:{width:"100%"}},proFieldProps:M},v))},o=d.forwardRef(E);t.Z=o},20859:function(R,t,_){_.r(t);var a=_(90228),s=_.n(a),d=_(87999),m=_.n(d),i=_(48305),u=_.n(i),E=_(50959),o=_(49547),c=_(35748),n=_(19014),P=_(50925),D=_(94675),O=_(3598),M=_(7485),e=_(11527),v=function(r){var j=P.Z.useForm(),F=u()(j,1),l=F[0],A=r.values;(0,E.useEffect)(function(){console.log(A,"values"),l.resetFields(),l.setFieldsValue(A)},[l,r]);var B=(0,M.useIntl)(),T=function(){l.submit()},I=function(){r.onCancel()},x=function(){var p=m()(s()().mark(function f(C){return s()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:r.onSubmit(C);case 1:case"end":return h.stop()}},f)}));return function(C){return p.apply(this,arguments)}}();return(0,e.jsx)(D.Z,{width:640,title:"\u8F6E\u64AD\u56FE",open:r.open,forceRender:!0,destroyOnClose:!0,onOk:T,onCancel:I,children:(0,e.jsxs)(o.A,{form:l,submitter:!1,layout:"horizontal",onFinish:x,children:[(0,e.jsx)(c.Z,{name:"id",label:"ID",disabled:!0,hidden:!0}),(0,e.jsx)(o.A.Group,{children:(0,e.jsx)(n.Z,{name:"name",label:"\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0"})}),(0,e.jsx)(o.A.Group,{children:(0,e.jsx)(o.A.Item,{label:"\u6392\u5E8F",name:"sort",children:(0,e.jsx)(O.Z,{style:{width:200}})})})]})})};t.default=v}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[8776],{71041:function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};e.default=a},28842:function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"};e.default=a},99247:function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;function a(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},37504:function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;function a(s,h){if(!s)return!1;if(s.contains)return s.contains(h);for(var v=h;v;){if(v===s)return!0;v=v.parentNode}return!1}},87214:function(o,e,a){"use strict";var s=a(7613).default;Object.defineProperty(e,"__esModule",{value:!0}),e.clearContainerCache=N,e.injectCSS=g,e.removeCSS=k,e.updateCSS=R;var h=s(a(99247)),v=s(a(37504)),w="data-rc-order",M="data-rc-priority",C="rc-util-key",f=new Map;function b(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=n.mark;return t?t.startsWith("data-")?t:"data-".concat(t):C}function O(n){if(n.attachTo)return n.attachTo;var t=document.querySelector("head");return t||document.body}function l(n){return n==="queue"?"prependQueue":n?"prepend":"append"}function u(n){return Array.from((f.get(n)||n).children).filter(function(t){return t.tagName==="STYLE"})}function g(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,h.default)())return null;var r=t.csp,d=t.prepend,c=t.priority,m=c===void 0?0:c,_=l(d),p=_==="prependQueue",i=document.createElement("style");i.setAttribute(w,_),p&&m&&i.setAttribute(M,"".concat(m)),r!=null&&r.nonce&&(i.nonce=r==null?void 0:r.nonce),i.innerHTML=n;var y=O(t),E=y.firstChild;if(d){if(p){var P=u(y).filter(function(A){if(!["prepend","prependQueue"].includes(A.getAttribute(w)))return!1;var D=Number(A.getAttribute(M)||0);return m>=D});if(P.length)return y.insertBefore(i,P[P.length-1].nextSibling),i}y.insertBefore(i,E)}else y.appendChild(i);return i}function S(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=O(t);return u(r).find(function(d){return d.getAttribute(b(t))===n})}function k(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=S(n,t);if(r){var d=O(t);d.removeChild(r)}}function L(n,t){var r=f.get(n);if(!r||!(0,v.default)(document,r)){var d=g("",t),c=d.parentNode;f.set(n,c),n.removeChild(d)}}function N(){f.clear()}function R(n,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=O(r);L(d,r);var c=S(t,r);if(c){var m,_;if((m=r.csp)!==null&&m!==void 0&&m.nonce&&c.nonce!==((_=r.csp)===null||_===void 0?void 0:_.nonce)){var p;c.nonce=(p=r.csp)===null||p===void 0?void 0:p.nonce}return c.innerHTML!==n&&(c.innerHTML=n),c}var i=g(n,r);return i.setAttribute(b(r),t),i}},93878:function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.call=C,e.default=void 0,e.note=w,e.noteOnce=b,e.preMessage=void 0,e.resetWarned=M,e.warning=v,e.warningOnce=f;var a={},s=[],h=e.preMessage=function(u){s.push(u)};function v(l,u){if(!1)var g}function w(l,u){if(!1)var g}function M(){a={}}function C(l,u,g){!u&&!a[g]&&(l(!1,g),a[g]=!0)}function f(l,u){C(v,l,u)}function b(l,u){C(w,l,u)}f.preMessage=h,f.resetWarned=M,f.noteOnce=b;var O=e.default=f},7613:function(o){function e(a){return a&&a.__esModule?a:{default:a}}o.exports=e,o.exports.__esModule=!0,o.exports.default=o.exports}}]);

View File

@@ -0,0 +1 @@
.iconPicSearcher___hJg4D{display:inline-block;margin:0 8px}.iconPicSearcher___hJg4D .icon-pic-btn___L4v1S{color:#00000073;cursor:pointer;transition:all .3s}.iconPicSearcher___hJg4D .icon-pic-btn___L4v1S:hover{color:#000000d9}.icon-pic-preview___ilSDh{width:30px;height:30px;margin-top:10px;padding:8px;text-align:center;border:1px solid #d9d9d9;border-radius:4px}.icon-pic-preview___ilSDh>img{max-width:50px;max-height:50px}.icon-pic-search-result___gIGCh{min-height:50px;padding:0 10px}.icon-pic-search-result___gIGCh>.result-tip___LzRmi{padding:10px 0;color:#00000073}.icon-pic-search-result___gIGCh>table{width:100%}.icon-pic-search-result___gIGCh>table .col-icon___BSYZg{width:80px;padding:10px 0}.icon-pic-search-result___gIGCh>table .col-icon___BSYZg>.anticon___qL_hm{font-size:30px}.icon-pic-search-result___gIGCh>table .col-icon___BSYZg>.anticon___qL_hm :hover{color:#40a9ff}ul.anticonsList___HMi_c{margin:2px 0;overflow:hidden;direction:ltr;list-style:none}ul.anticonsList___HMi_c li{position:relative;float:left;width:48px;height:48px;margin:3px 0;padding:2px 0 0;overflow:hidden;color:#555;text-align:center;list-style:none;background-color:inherit;border-radius:4px;cursor:pointer;transition:color .3s ease-in-out,background-color .3s ease-in-out}.rtl___Ezi11 ul.anticonsList___HMi_c li{margin:3px 0;padding:2px 0 0}ul.anticonsList___HMi_c li .anticon___qL_hm{margin:4px 0 2px;font-size:24px;transition:transform .3s ease-in-out;will-change:transform}ul.anticonsList___HMi_c li .anticonClass___Ei9dm{display:block;font-family:Lucida Console,Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;white-space:nowrap;text-align:center;transform:scale(.83)}ul.anticonsList___HMi_c li .anticonClass___Ei9dm .ant-badge___Zv5ig{transition:color .3s ease-in-out}ul.anticonsList___HMi_c li:hover{color:#fff;background-color:#1890ff}ul.anticonsList___HMi_c li:hover .anticon___qL_hm{transform:scale(1.4)}ul.anticonsList___HMi_c li:hover .ant-badge___Zv5ig{color:#fff}ul.anticonsList___HMi_c li.TwoTone___EPyBa:hover{background-color:#8ecafe}ul.anticonsList___HMi_c li.copied___NGd_a:hover{color:#fff3}ul.anticonsList___HMi_c li.copied___NGd_a:after{top:-2px;opacity:1}.copied-code___wW8vD{padding:2px 4px;font-size:12px;background:#f5f5f5;border-radius:2px}.iconPicSearcher{display:inline-block;margin:0 8px}.iconPicSearcher .icon-pic-btn{color:#00000073;cursor:pointer;transition:all .3s}.iconPicSearcher .icon-pic-btn:hover{color:#000000d9}.icon-pic-preview{width:30px;height:30px;margin-top:10px;padding:8px;text-align:center;border:1px solid #d9d9d9;border-radius:4px}.icon-pic-preview>img{max-width:50px;max-height:50px}.icon-pic-search-result{min-height:50px;padding:0 10px}.icon-pic-search-result>.result-tip{padding:10px 0;color:#00000073}.icon-pic-search-result>table{width:100%}.icon-pic-search-result>table .col-icon{width:80px;padding:10px 0}.icon-pic-search-result>table .col-icon>.anticon{font-size:30px}.icon-pic-search-result>table .col-icon>.anticon :hover{color:#40a9ff}ul.anticonsList{margin:2px 0;overflow:hidden;direction:ltr;list-style:none}ul.anticonsList li{position:relative;float:left;width:48px;height:48px;margin:3px 0;padding:2px 0 0;overflow:hidden;color:#555;text-align:center;list-style:none;background-color:inherit;border-radius:4px;cursor:pointer;transition:color .3s ease-in-out,background-color .3s ease-in-out}.rtl ul.anticonsList li{margin:3px 0;padding:2px 0 0}ul.anticonsList li .anticon{margin:4px 0 2px;font-size:24px;transition:transform .3s ease-in-out;will-change:transform}ul.anticonsList li .anticonClass{display:block;font-family:Lucida Console,Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;white-space:nowrap;text-align:center;transform:scale(.83)}ul.anticonsList li .anticonClass .ant-badge{transition:color .3s ease-in-out}ul.anticonsList li:hover{color:#fff;background-color:#1890ff}ul.anticonsList li:hover .anticon{transform:scale(1.4)}ul.anticonsList li:hover .ant-badge{color:#fff}ul.anticonsList li.TwoTone:hover{background-color:#8ecafe}ul.anticonsList li.copied:hover{color:#fff3}ul.anticonsList li.copied:after{top:-2px;opacity:1}.copied-code{padding:2px 4px;font-size:12px;background:#f5f5f5;border-radius:2px}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.iconPicSearcher___hJg4D{display:inline-block;margin:0 8px}.iconPicSearcher___hJg4D .icon-pic-btn___L4v1S{color:#00000073;cursor:pointer;transition:all .3s}.iconPicSearcher___hJg4D .icon-pic-btn___L4v1S:hover{color:#000000d9}.icon-pic-preview___ilSDh{width:30px;height:30px;margin-top:10px;padding:8px;text-align:center;border:1px solid #d9d9d9;border-radius:4px}.icon-pic-preview___ilSDh>img{max-width:50px;max-height:50px}.icon-pic-search-result___gIGCh{min-height:50px;padding:0 10px}.icon-pic-search-result___gIGCh>.result-tip___LzRmi{padding:10px 0;color:#00000073}.icon-pic-search-result___gIGCh>table{width:100%}.icon-pic-search-result___gIGCh>table .col-icon___BSYZg{width:80px;padding:10px 0}.icon-pic-search-result___gIGCh>table .col-icon___BSYZg>.anticon___qL_hm{font-size:30px}.icon-pic-search-result___gIGCh>table .col-icon___BSYZg>.anticon___qL_hm :hover{color:#40a9ff}ul.anticonsList___HMi_c{margin:2px 0;overflow:hidden;direction:ltr;list-style:none}ul.anticonsList___HMi_c li{position:relative;float:left;width:48px;height:48px;margin:3px 0;padding:2px 0 0;overflow:hidden;color:#555;text-align:center;list-style:none;background-color:inherit;border-radius:4px;cursor:pointer;transition:color .3s ease-in-out,background-color .3s ease-in-out}.rtl___Ezi11 ul.anticonsList___HMi_c li{margin:3px 0;padding:2px 0 0}ul.anticonsList___HMi_c li .anticon___qL_hm{margin:4px 0 2px;font-size:24px;transition:transform .3s ease-in-out;will-change:transform}ul.anticonsList___HMi_c li .anticonClass___Ei9dm{display:block;font-family:Lucida Console,Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;white-space:nowrap;text-align:center;transform:scale(.83)}ul.anticonsList___HMi_c li .anticonClass___Ei9dm .ant-badge___Zv5ig{transition:color .3s ease-in-out}ul.anticonsList___HMi_c li:hover{color:#fff;background-color:#1890ff}ul.anticonsList___HMi_c li:hover .anticon___qL_hm{transform:scale(1.4)}ul.anticonsList___HMi_c li:hover .ant-badge___Zv5ig{color:#fff}ul.anticonsList___HMi_c li.TwoTone___EPyBa:hover{background-color:#8ecafe}ul.anticonsList___HMi_c li.copied___NGd_a:hover{color:#fff3}ul.anticonsList___HMi_c li.copied___NGd_a:after{top:-2px;opacity:1}.copied-code___wW8vD{padding:2px 4px;font-size:12px;background:#f5f5f5;border-radius:2px}.iconPicSearcher{display:inline-block;margin:0 8px}.iconPicSearcher .icon-pic-btn{color:#00000073;cursor:pointer;transition:all .3s}.iconPicSearcher .icon-pic-btn:hover{color:#000000d9}.icon-pic-preview{width:30px;height:30px;margin-top:10px;padding:8px;text-align:center;border:1px solid #d9d9d9;border-radius:4px}.icon-pic-preview>img{max-width:50px;max-height:50px}.icon-pic-search-result{min-height:50px;padding:0 10px}.icon-pic-search-result>.result-tip{padding:10px 0;color:#00000073}.icon-pic-search-result>table{width:100%}.icon-pic-search-result>table .col-icon{width:80px;padding:10px 0}.icon-pic-search-result>table .col-icon>.anticon{font-size:30px}.icon-pic-search-result>table .col-icon>.anticon :hover{color:#40a9ff}ul.anticonsList{margin:2px 0;overflow:hidden;direction:ltr;list-style:none}ul.anticonsList li{position:relative;float:left;width:48px;height:48px;margin:3px 0;padding:2px 0 0;overflow:hidden;color:#555;text-align:center;list-style:none;background-color:inherit;border-radius:4px;cursor:pointer;transition:color .3s ease-in-out,background-color .3s ease-in-out}.rtl ul.anticonsList li{margin:3px 0;padding:2px 0 0}ul.anticonsList li .anticon{margin:4px 0 2px;font-size:24px;transition:transform .3s ease-in-out;will-change:transform}ul.anticonsList li .anticonClass{display:block;font-family:Lucida Console,Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;white-space:nowrap;text-align:center;transform:scale(.83)}ul.anticonsList li .anticonClass .ant-badge{transition:color .3s ease-in-out}ul.anticonsList li:hover{color:#fff;background-color:#1890ff}ul.anticonsList li:hover .anticon{transform:scale(1.4)}ul.anticonsList li:hover .ant-badge{color:#fff}ul.anticonsList li.TwoTone:hover{background-color:#8ecafe}ul.anticonsList li.copied:hover{color:#fff3}ul.anticonsList li.copied:after{top:-2px;opacity:1}.copied-code{padding:2px 4px;font-size:12px;background:#f5f5f5;border-radius:2px}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.ant-pro-layout-content{padding:0;padding-block:0!important;padding-inline:0!important;height:100vh!important}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[8009],{76793:function(k,E,t){"use strict";t.r(E);var S=t(90228),u=t.n(S),D=t(87999),g=t.n(D),$=t(48305),F=t.n($),v=t(50959),h=t(7485),I=t(9772),K=t(85385),O=t(83098),X=t(89937),z=t(89350),H=t(542),J=t(45443),m=t(11527),G="/",L=!1;function A(a){var r=(0,O.gD)(),e=(0,v.useState)(void 0),s=F()(e,2),l=s[0],i=s[1];if((0,v.useEffect)(function(){var p=function(){var o=g()(u()().mark(function d(){var y,T,P,C,R,M,j,w;return u()().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,(0,X.s)(r);case 2:return y=f.sent,T=y.routes,P=y.routeComponents,f.next=7,r.applyPlugins({key:"patchRoutes",type:h.ApplyPluginsType.event,args:{routes:T,routeComponents:P}});case 7:return C=r.applyPlugins({key:"modifyContextOpts",type:h.ApplyPluginsType.modify,initialValue:{}}),R=C.basename||"/",M=(0,K.f)({type:"memory",basename:R}),j={routes:T,routeComponents:P,pluginManager:r,rootElement:C.rootElement||document.getElementById("root"),publicPath:G,runtimePublicPath:L,history:M,basename:R,components:!0},w=r.applyPlugins({key:"modifyClientRenderOpts",type:h.ApplyPluginsType.modify,initialValue:j}),f.abrupt("return",w);case 13:case"end":return f.stop()}},d)}));return function(){return o.apply(this,arguments)}}();p().then(function(o){if(i(o),a.location){var d;o==null||(d=o.history)===null||d===void 0||d.push(a.location)}a.historyRef&&(a.historyRef.current=o==null?void 0:o.history)})},[]),l===void 0)return(0,m.jsx)("div",{id:"loading"});var n=(0,I.p6)(l);return(0,m.jsx)(v.Fragment,{children:(0,m.jsx)(n,{})})}var c=t(66303),V=t(84898),Y=t(32699),b=t(80209),N="/",U=function(r){var e=(0,Y.merge)({port:7e3,scene:"default"},r),s=e.port,l=e.scene;return new Promise(function(i,n){var p=(0,V.fork)((0,b.join)(N,"./startMock.js"),[],{env:{scene:l,port:String(s)}});p.on("exit",function(o){o!==0&&n(new Error("Mock server exited with code ".concat(o)))}),i({close:function(){p.kill()}})})},B=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:100;return new Promise(function(e){setTimeout(function(){e(!0)},r)})},x;describe("Login Page",function(){beforeAll(g()(u()().mark(function a(){return u()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,U({port:8e3,scene:"login"});case 2:x=e.sent;case 3:case"end":return e.stop()}},a)}))),afterAll(function(){var a;(a=x)===null||a===void 0||a.close()}),it("should show login form",g()(u()().mark(function a(){var r,e,s;return u()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return e=v.createRef(),s=(0,c.sY)((0,m.jsx)(A,{historyRef:e,location:{pathname:"/user/login"}})),i.next=4,s.findAllByText("Ant Design");case 4:(0,c.TK)(function(){var n;(n=e.current)===null||n===void 0||n.push("/user/login")}),expect((r=s.baseElement)===null||r===void 0||(r=r.querySelector(".ant-pro-form-login-desc"))===null||r===void 0?void 0:r.textContent).toBe("Ant Design is the most influential web design specification in Xihu district"),expect(s.asFragment()).toMatchSnapshot(),s.unmount();case 8:case"end":return i.stop()}},a)}))),it("should login success",g()(u()().mark(function a(){var r,e,s,l;return u()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return r=v.createRef(),e=(0,c.sY)((0,m.jsx)(A,{historyRef:r,location:{pathname:"/user/login"}})),n.next=4,e.findAllByText("Ant Design");case 4:return n.next=6,e.findByPlaceholderText("Username: admin or user");case 6:return s=n.sent,(0,c.TK)(function(){c.BX.change(s,{target:{value:"admin"}})}),n.next=10,e.findByPlaceholderText("Password: ant.design");case 10:return l=n.sent,(0,c.TK)(function(){c.BX.change(l,{target:{value:"ant.design"}})}),n.next=14,e.findByText("Login");case 14:return n.next=16,n.sent.click();case 16:return n.next=18,B(5e3);case 18:return n.next=20,e.findAllByText("Ant Design Pro");case 20:return expect(e.asFragment()).toMatchSnapshot(),n.next=23,B(2e3);case 23:e.unmount();case 24:case"end":return n.stop()}},a)})))})},65660:function(){},84898:function(){}}]);

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[5106,2727],{27483:function(i,s,u){u.r(s);var n=u(48305),a=u.n(n),l=u(7485),r=u(50159),E=u(84974),P=u(50959),d=u(43329),e=u(11527),o=function(){var m=(0,d.default)(),t=m.styles,D=(0,l.useSearchParams)(),c=a()(D,1),_=c[0],A=(0,e.jsxs)("div",{className:t.actions,children:[(0,e.jsx)("a",{href:"",children:(0,e.jsx)(r.ZP,{size:"large",type:"primary",children:(0,e.jsx)("span",{children:"\u67E5\u770B\u90AE\u7BB1"})})}),(0,e.jsx)(l.Link,{to:"/",children:(0,e.jsx)(r.ZP,{size:"large",children:"\u8FD4\u56DE\u9996\u9875"})})]}),F=(_==null?void 0:_.get("account"))||"AntDesign@example.com";return(0,e.jsx)(E.ZP,{className:t.registerResult,status:"success",title:(0,e.jsx)("div",{className:t.title,children:(0,e.jsxs)("span",{children:["\u4F60\u7684\u8D26\u6237\uFF1A",F," \u6CE8\u518C\u6210\u529F"]})}),subTitle:"\u6FC0\u6D3B\u90AE\u4EF6\u5DF2\u53D1\u9001\u5230\u4F60\u7684\u90AE\u7BB1\u4E2D\uFF0C\u90AE\u4EF6\u6709\u6548\u671F\u4E3A24\u5C0F\u65F6\u3002\u8BF7\u53CA\u65F6\u767B\u5F55\u90AE\u7BB1\uFF0C\u70B9\u51FB\u90AE\u4EF6\u4E2D\u7684\u94FE\u63A5\u6FC0\u6D3B\u5E10\u6237\u3002",extra:A})};s.default=o},43329:function(i,s,u){u.r(s);var n=u(13179),a=(0,n.kc)(function(){return{registerResult:{width:"800px",minHeight:"400px",margin:"auto",padding:"80px",background:"none"},anticon:{fontSize:"64px"},title:{marginTop:"32px",fontSize:"20px",lineHeight:"28px"},actions:{marginTop:"40px","a + a":{marginLeft:"8px"}}}});s.default=a}}]);

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[2727],{43329:function(a,n,t){t.r(n);var e=t(13179),i=(0,e.kc)(function(){return{registerResult:{width:"800px",minHeight:"400px",margin:"auto",padding:"80px",background:"none"},anticon:{fontSize:"64px"},title:{marginTop:"32px",fontSize:"20px",lineHeight:"28px"},actions:{marginTop:"40px","a + a":{marginLeft:"8px"}}}});n.default=i}}]);

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[344],{16799:function(n,e,t){t.r(e),e.default={"POST /api/register":function(i,u){u.send({data:{status:"ok",currentAuthority:"user"}})}}}}]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[207],{48980:function(i,r,_){_.r(r),_.d(r,{fakeRegister:function(){return o}});var u=_(90228),t=_.n(u),a=_(87999),d=_.n(a),m=_(7485);function o(s){return n.apply(this,arguments)}function n(){return n=d()(t()().mark(function s(l){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,m.request)("/api/register",{method:"POST",data:l}));case 1:case"end":return e.stop()}},s)})),n.apply(this,arguments)}}}]);

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[7015],{84526:function(a,n,r){r.r(n);var t=r(13179),s=(0,t.kc)(function(e){var o=e.token;return{main:{width:"368px",margin:"0 auto",h3:{marginBottom:"20px",fontSize:"16px"}},password:{marginBottom:"24px",".ant-form-item-explain":{display:"none"}},getCaptcha:{display:"block",width:"100%"},footer:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},submit:{width:"50%"},success:{transition:"color 0.3s",color:o.colorSuccess},warning:{transition:"color 0.3s",color:o.colorWarning},error:{transition:"color 0.3s",color:o.colorError},"progress-pass > .progress":{".ant-progress-bg":{backgroundColor:o.colorWarning}}}});n.default=s}}]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[8280],{20902:function(B,t,e){var d=e(35361),o=e(56929),i=e(50959),m=e(20734),E=e(11527),a=["fieldProps","proFieldProps"],r=function(_,p){var u=_.fieldProps,n=_.proFieldProps,D=(0,o.Z)(_,a);return(0,E.jsx)(m.Z,(0,d.Z)({ref:p,valueType:"textarea",fieldProps:u,proFieldProps:n},D))};t.Z=i.forwardRef(r)},79669:function(B,t,e){e.r(t);var d=e(90228),o=e.n(d),i=e(87999),m=e.n(i),E=e(5e4),a=e(49547),r=e(19014),A=e(20902),_=e(40676),p=e(50959),u=e(11527);t.default=function(n){var D=n.values,h=n.modalOpenState,O=n.onModalOpenState,v=n.onSubmit,c=(0,p.useRef)();return(0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(E.Y,{title:"\u6295\u8D44\u4EBA-\u8F6C\u6302",formRef:c,submitter:{searchConfig:{resetText:"\u91CD\u7F6E"},resetButtonProps:{onClick:function(){var s;(s=c.current)===null||s===void 0||s.resetFields()}}},initialValues:D,onFinish:function(){var F=m()(o()().mark(function s(M){var P;return o()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,v(M);case 2:(P=c.current)===null||P===void 0||P.resetFields();case 3:case"end":return l.stop()}},s)}));return function(s){return F.apply(this,arguments)}}(),open:h,onOpenChange:O,children:[(0,u.jsxs)("div",{className:"text-red-600 ",children:[(0,u.jsx)("div",{children:"A\uFF1A\u9700\u8981\u8F6C\u6302\u7684\u6295\u8D44\u4EBA"}),(0,u.jsx)("div",{children:"B\uFF1A\u8F6C\u6302\u8BE5\u6295\u8D44\u4EBA\u540D\u4E0B"}),(0,u.jsx)("div",{children:"\u8BE5\u64CD\u4F5C\u628AA\u8F6C\u6302\u5230B\u540D\u4E0B"})]}),(0,u.jsx)(_.Z,{children:"A\uFF1A\u9700\u8981\u8F6C\u6302\u7684\u6295\u8D44\u4EBA"}),(0,u.jsxs)(a.A.Group,{children:[(0,u.jsx)(r.Z,{rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}],width:"md",name:"userNameSource",label:"\u7528\u6237\u540D(A)",placeholder:"\u8BF7\u8F93\u5165"}),(0,u.jsx)(r.Z,{rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}],width:"md",name:"phoneSource",label:"\u624B\u673A\u53F7(A)",placeholder:"\u8BF7\u8F93\u5165"})]}),(0,u.jsx)(_.Z,{children:"B\uFF1A\u628AA\u8F6C\u6302\u8BE5\u6295\u8D44\u4EBA\u540D\u4E0B"}),(0,u.jsxs)(a.A.Group,{children:[(0,u.jsx)(r.Z,{rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}],width:"md",name:"userNameTarget",label:"\u7528\u6237\u540D(B)",placeholder:"\u8BF7\u8F93\u5165"}),(0,u.jsx)(r.Z,{rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}],width:"md",name:"phoneTarget",label:"\u624B\u673A\u53F7(B)",placeholder:"\u8BF7\u8F93\u5165"})]}),(0,u.jsx)(A.Z,{rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}],width:"md",name:"remark",label:"\u5907\u6CE8",placeholder:"\u8BF7\u8F93\u5165"})]})})}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
@media screen and (max-width: 480px){.umi-plugin-layout-container{width:100%!important}.umi-plugin-layout-container>*{border-radius:0!important}}.umi-plugin-layout-menu .anticon{margin-right:8px}.umi-plugin-layout-menu .ant-dropdown-menu-item{min-width:160px}.umi-plugin-layout-right{display:flex!important;float:right;height:100%;margin-left:auto;overflow:hidden}.umi-plugin-layout-right .umi-plugin-layout-action{display:flex;align-items:center;height:100%;padding:0 12px;cursor:pointer;transition:all .3s}.umi-plugin-layout-right .umi-plugin-layout-action>i{color:#ffffffd9;vertical-align:middle}.umi-plugin-layout-right .umi-plugin-layout-action:hover,.umi-plugin-layout-right .umi-plugin-layout-action.opened{background:rgba(0,0,0,.025)}.umi-plugin-layout-right .umi-plugin-layout-search{padding:0 12px}.umi-plugin-layout-right .umi-plugin-layout-search:hover{background:transparent}.umi-plugin-layout-name{margin-left:8px}.umi-plugin-layout-name.umi-plugin-layout-hide-avatar-img{margin-left:0}

1
dist/umi.77a65f21.css vendored Normal file

File diff suppressed because one or more lines are too long

578
dist/umi.de8ce8ab.js vendored Normal file

File diff suppressed because one or more lines are too long