Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
Dui123
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
王天宇
Dui123
Commits
4a97e111
Commit
4a97e111
authored
Oct 20, 2021
by
wty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rebase
parent
0c30198e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
main.b9736c6f.chunk.js
build/static/js/main.b9736c6f.chunk.js
+2
-0
main.b9736c6f.chunk.js.map
build/static/js/main.b9736c6f.chunk.js.map
+1
-0
No files found.
build/static/js/main.b9736c6f.chunk.js
0 → 100644
View file @
4a97e111
(
this
.
webpackJsonpdui123
=
this
.
webpackJsonpdui123
||
[]).
push
([[
0
],{
173
:
function
(
e
,
t
,
n
){},
174
:
function
(
e
,
t
,
n
){},
176
:
function
(
e
,
t
,
n
){},
177
:
function
(
e
,
t
,
n
){},
178
:
function
(
e
,
t
,
n
){},
179
:
function
(
e
,
t
,
n
){},
250
:
function
(
e
,
t
,
n
){},
251
:
function
(
e
,
t
,
n
){},
252
:
function
(
e
,
t
,
n
){},
269
:
function
(
e
,
t
,
n
){},
270
:
function
(
e
,
t
,
n
){},
271
:
function
(
e
,
t
,
n
){},
279
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
var
c
=
n
(
0
),
i
=
n
.
n
(
c
),
a
=
n
(
28
),
o
=
n
.
n
(
a
),
l
=
n
(
17
),
r
=
n
(
158
),
s
=
n
.
n
(
r
),
d
=
n
(
133
),
u
=
n
.
n
(
d
),
j
=
(
n
(
171
),
n
(
172
),
n
(
173
),
n
(
174
),
n
(
77
)),
b
=
n
(
21
),
p
=
n
(
40
),
m
=
{
toolBox
:
null
,
type
:
null
,
childType
:
null
,
userInfo
:
null
,
needUpdateIndex
:
!
1
,
type_id
:
"follow"
,
child_type_id
:
"all"
};
!
function
e
(
t
){
return
Object
.
getOwnPropertyNames
(
t
).
forEach
((
function
(
n
){
var
c
=
t
[
n
];
"object"
==
typeof
c
&&
null
!==
c
&&
e
(
c
)})),
Object
.
freeze
(
t
)}(
m
);
var
O
=
function
(
e
,
t
){
switch
(
console
.
table
(
t
,[
"dataCenter
\
u7684dispatch"
]),
t
.
type
){
case
"UPDATE_DATA"
:
return
Object
.
assign
({},
e
,
Object
(
p
.
a
)({},
t
.
data
));
case
"NEED_UPDATE_INDEX"
:
return
Object
.
assign
({},
e
,{
needUpdateIndex
:
!
e
.
needUpdateIndex
});
case
"CHANGE_TYPE"
:
return
Object
.
assign
({},
e
,{
type_id
:
t
.
type_id
});
case
"CHANGE_CHILD_TYPE"
:
return
Object
.
assign
({},
e
,{
child_type_id
:
t
.
child_type_id
});
default
:
return
e
}},
A
=
{
domain
:
"http://127.0.0.1:3001"
},
f
=
function
(
e
){
return
{
type
:
"CHANGE_TYPE"
,
type_id
:
e
}},
g
=
n
(
6
),
h
=
Object
(
c
.
createContext
)({}),
y
=
Object
(
c
.
createContext
)({});
var
x
=
function
(
e
){
var
t
=
Object
(
c
.
useReducer
)(
O
,
m
,(
function
(){
return
m
})),
n
=
Object
(
b
.
a
)(
t
,
2
),
i
=
n
[
0
],
a
=
n
[
1
];
return
Object
(
g
.
jsx
)(
h
.
Provider
,{
value
:{
dataCenter
:
i
,
dispatch
:
a
,
fetchData
:
function
(
e
,
t
,
n
){
return
fetch
(
function
(
e
,
t
){
if
(
t
){
var
n
=
Object
.
keys
(
t
).
map
((
function
(
e
,
n
){
return
0
===
n
?
"?"
+
e
+
"="
+
t
[
e
]:
"&"
+
e
+
"="
+
t
[
e
]})).
join
(
""
);
return
console
.
log
(
"
\
u53d1
\
u9001
\
u8bf7
\
u6c42
\
uff1a"
,
A
.
domain
+
e
+
n
),
A
.
domain
+
e
+
n
}
return
A
.
domain
+
e
}(
e
,
t
),{
credentials
:
"include"
}).
then
((
function
(
e
){
return
e
.
json
()})).
then
((
function
(
e
){
if
(
console
.
log
(
e
),
!
e
.
success
)
throw
e
;
var
t
;
return
n
&&
a
((
t
=
Object
(
j
.
a
)({},
n
,
e
.
data
),{
type
:
"UPDATE_DATA"
,
data
:
Object
(
p
.
a
)({},
t
)})),
e
})).
catch
((
function
(
e
){
throw
console
.
error
(
e
),
e
}))}},
children
:
e
.
children
})},
v
=
n
.
p
+
"static/media/logo.c725c5d1.png"
,
E
=
(
n
(
176
),
n
(
177
),
function
(
e
){
var
t
=
Object
(
c
.
useContext
)(
h
),
n
=
t
.
dataCenter
,
i
=
t
.
dispatch
,
a
=
e
.
child_type_id
,
o
=
e
.
child_type_name
,
l
=
[
"child-type-item"
];
a
===
n
.
child_type_id
&&
l
.
push
(
"child-type-item-selected"
);
return
Object
(
g
.
jsx
)(
"div"
,{
className
:
l
.
join
(
" "
),
onClick
:
function
(){
console
.
log
(
a
),
i
(
function
(
e
){
return
{
type
:
"CHANGE_CHILD_TYPE"
,
child_type_id
:
e
}}(
a
))},
children
:
o
})});
var
I
=
function
(
e
){
var
t
,
n
,
i
=
Object
(
c
.
useContext
)(
h
),
a
=
i
.
dataCenter
,
o
=
i
.
dispatch
;
return
Object
(
g
.
jsxs
)(
g
.
Fragment
,{
children
:[
Object
(
g
.
jsxs
)(
"div"
,{
className
:
"tab-tool-type"
,
children
:[
Object
(
g
.
jsx
)(
"div"
,{
className
:
"follow"
===
a
.
type_id
?
"item-tool-type item-tool-type-selected"
:
"item-tool-type"
,
onClick
:
function
(){
return
o
(
f
(
"follow"
))},
children
:
"
\
u6211
\
u7684
\
u6536
\
u85cf"
}),(
null
===
a
||
void
0
===
a
||
null
===
(
t
=
a
.
type
)
||
void
0
===
t
?
void
0
:
t
.
length
)
>
0
&&
a
.
type
.
map
((
function
(
e
){
var
t
=
[
"item-tool-type "
];
return
e
.
type_id
===
a
.
type_id
&&
t
.
push
(
"item-tool-type-selected"
),
Object
(
g
.
jsx
)(
"div"
,{
className
:
t
.
join
(
""
),
onClick
:
function
(){
return
o
(
f
(
e
.
type_id
))},
children
:
e
.
type_name
},
e
.
type_id
)}))]}),
Object
(
g
.
jsxs
)(
"div"
,{
className
:
"child-type"
,
children
:[
Object
(
g
.
jsx
)(
E
,{
child_type_id
:
"all"
,
child_type_name
:
"
\
u5168
\
u90e8"
},
"all"
),(
null
===
a
||
void
0
===
a
||
null
===
(
n
=
a
.
childType
)
||
void
0
===
n
?
void
0
:
n
.
length
)
>
0
&&
(
null
===
a
||
void
0
===
a
?
void
0
:
a
.
childType
.
map
((
function
(
e
){
return
Object
(
g
.
jsx
)(
E
,{
child_type_id
:
e
.
child_type_id
,
child_type_name
:
e
.
child_type_name
},
e
.
child_type_id
)})))]})]})},
C
=
(
n
(
178
),
n
(
179
),
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOUAAADICAYAAAAX+yb+AAAAAXNSR0IArs4c6QAAHypJREFUeF7tXQuUZEWRjXg1Q6OIIossLrgIDsN0ZWR14/CRjyvoqIAgoOCigiIqHFFRQUSQ9QMqoKKy4gcU+YkujvIT0eWjqCiItsxU5queBtQBUVRQ1AERpuvFnsQathmmu94n8tWrqsxz+syc0xk3Im6+2/k+mZEIoQUGAgOVYgArFU0IJjAQGIAgynARBAYqxkAQZcUGJIQTGAiiDNdAYKBiDARRVmxAQjiBgSDKcA0EBirGwFCJcmxsbPPp6eltEXEhIm6bJIn7/5NmGxNmvi+KoruZ+bfup1arPfr/hx566Ld33HHHwxUby0qFs2DBgqeuv/76myPi5u12e4soijYHAPezBQBsOEewf2Lm26Mouq3dbt8+b96825rN5h8rlZznYAZWlES0CwC82ImPmbcFgIUA8BQpPhExZuab3Q8iLttkk02W3XDDDdNS+P2Es/POOz9p1apVOzHz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
D
=
n
.
p
+
"static/media/trash.780a90e8.svg"
,
T
=
n
.
p
+
"static/media/dragIcon.268403b1.svg"
,
R
=
n
(
94
),
S
=
n
(
282
),
J
=
n
(
162
),
B
=
n
(
285
),
N
=
n
(
284
),
q
=
R
.
a
.
Option
,
G
=
function
(
e
){
var
t
,
n
,
i
,
a
=
e
.
visible
,
o
=
e
.
onCancel
,
l
=
e
.
data
,
r
=
S
.
a
.
useForm
(),
s
=
Object
(
b
.
a
)(
r
,
1
)[
0
],
d
=
Object
(
c
.
useContext
)(
h
),
u
=
d
.
fetchData
,
j
=
d
.
dataCenter
,
m
=
d
.
dispatch
;
return
Object
(
c
.
useEffect
)((
function
(){
var
e
;(
null
===
j
||
void
0
===
j
?
void
0
:
j
.
type
)
&&
u
(
"/query/queryChildType"
,{
type_id
:
null
===
j
||
void
0
===
j
||
null
===
(
e
=
j
.
type
[
0
])
||
void
0
===
e
?
void
0
:
e
.
type_id
},
"childType"
).
then
((
function
(
e
){
console
.
log
(
e
)}))}),[]),
Object
(
g
.
jsx
)(
B
.
a
,{
visible
:
a
,
title
:
l
?
"
\
u4fee
\
u6539
\
u5de5
\
u5177
\
u7bb1"
:
"
\
u65b0
\
u5efa
\
u5de5
\
u5177
\
u7bb1"
,
okText
:
"
\
u786e
\
u5b9a"
,
cancelText
:
"
\
u53d6
\
u6d88"
,
onCancel
:
o
,
onOk
:
function
(){
s
.
validateFields
().
then
((
function
(
e
){
!
function
(
e
){
var
t
=
{
toolbox_name
:
e
.
name
,
toolbox_icon
:
e
.
icon
,
toolbox_desc
:
e
.
depict
,
toolbox_url
:
e
.
url
};
l
?
u
(
"/update/updateToolBox"
,
t
).
then
((
function
(
e
){
e
.
success
?(
J
.
b
.
success
(
"
\
u4fee
\
u6539
\
u6210
\
u529f"
),
m
({
type
:
"NEED_UPDATE_INDEX"
}),
o
()):
J
.
b
.
error
(
"
\
u65b0
\
u5efa
\
u5931
\
u8d25"
)})):(
t
=
Object
(
p
.
a
)(
Object
(
p
.
a
)({},
t
),{},{
type_id
:
e
.
type
,
child_type_id
:
e
.
childType
}),
console
.
log
(
t
),
u
(
"/add/addToolBox"
,
t
).
then
((
function
(
e
){
e
.
success
?(
J
.
b
.
success
(
"
\
u65b0
\
u5efa
\
u6210
\
u529f"
),
m
({
type
:
"NEED_UPDATE_INDEX"
}),
o
()):
J
.
b
.
error
(
"
\
u65b0
\
u5efa
\
u5931
\
u8d25"
)})))}(
e
)})).
catch
((
function
(
e
){
console
.
log
(
"Validate Failed:"
,
e
)}))},
children
:
Object
(
g
.
jsxs
)(
S
.
a
,
Object
(
p
.
a
)(
Object
(
p
.
a
)({
form
:
s
},{
labelCol
:{
span
:
4
},
wrapperCol
:{
span
:
18
}}),{},{
name
:
"form_in_modal"
,
initialValues
:
l
?{
name
:
l
.
toolbox_name
,
icon
:
l
.
toolbox_icon
,
url
:
l
.
toolbox_url
,
depict
:
l
.
toolbox_desc
}:{
type
:(
null
===
j
||
void
0
===
j
?
void
0
:
j
.
type
)
&&
(
null
===
j
||
void
0
===
j
||
null
===
(
t
=
j
.
type
[
0
])
||
void
0
===
t
?
void
0
:
t
.
type_id
)},
children
:[
Object
(
g
.
jsx
)(
S
.
a
.
Item
,{
name
:
"name"
,
label
:
"
\
u540d
\
u79f0"
,
rules
:[{
required
:
!
0
,
message
:
"
\
u8bf7
\
u8f93
\
u5165
\
u540d
\
u79f0!"
}],
children
:
Object
(
g
.
jsx
)(
N
.
a
,{
placeholder
:
"
\
u8bf7
\
u8f93
\
u5165
\
u540d
\
u79f0"
})}),
Object
(
g
.
jsx
)(
S
.
a
.
Item
,{
name
:
"icon"
,
label
:
"
\
u56fe
\
u6807"
,
rules
:[{
required
:
!
0
,
message
:
"
\
u8bf7
\
u8f93
\
u5165
\
u56fe
\
u6807url!"
}],
children
:
Object
(
g
.
jsx
)(
N
.
a
,{
placeholder
:
"
\
u8bf7
\
u8f93
\
u5165
\
u56fe
\
u6807url"
})}),
Object
(
g
.
jsx
)(
S
.
a
.
Item
,{
name
:
"depict"
,
label
:
"
\
u63cf
\
u8ff0"
,
rules
:[{
required
:
!
0
,
message
:
"
\
u8bf7
\
u8f93
\
u5165
\
u63cf
\
u8ff0!"
}],
children
:
Object
(
g
.
jsx
)(
N
.
a
,{
placeholder
:
"
\
u8bf7
\
u8f93
\
u5165
\
u63cf
\
u8ff0"
})}),
Object
(
g
.
jsx
)(
S
.
a
.
Item
,{
name
:
"url"
,
label
:
"
\
u94fe
\
u63a5"
,
rules
:[{
required
:
!
0
,
message
:
"
\
u8bf7
\
u8f93
\
u5165
\
u94fe
\
u63a5!"
}],
children
:
Object
(
g
.
jsx
)(
N
.
a
,{
placeholder
:
"
\
u8bf7
\
u8f93
\
u5165
\
u94fe
\
u63a5"
})}),
!
l
&&
Object
(
g
.
jsx
)(
S
.
a
.
Item
,{
name
:
"type"
,
label
:
"
\
u7c7b
\
u578b"
,
rules
:[{
required
:
!
0
,
message
:
"
\
u8bf7
\
u9009
\
u62e9
\
u7c7b
\
u578b!"
}],
children
:
Object
(
g
.
jsx
)(
R
.
a
,{
placeholder
:
"
\
u8bf7
\
u9009
\
u62e9
\
u7c7b
\
u578b"
,
onChange
:
function
(
e
){
s
.
setFieldsValue
({
type
:
e
}),
u
(
"/query/queryChildType"
,{
type_id
:
e
},
"childType"
).
then
((
function
(
e
){
console
.
log
(
e
)})),
console
.
log
(
j
)},
children
:(
null
===
j
||
void
0
===
j
||
null
===
(
n
=
j
.
type
)
||
void
0
===
n
?
void
0
:
n
.
length
)
&&
(
null
===
j
||
void
0
===
j
?
void
0
:
j
.
type
.
map
((
function
(
e
){
return
Object
(
g
.
jsx
)(
q
,{
value
:
e
.
type_id
,
children
:
e
.
type_name
},
e
.
type_id
)})))})}),
!
l
&&
(
null
===
j
||
void
0
===
j
?
void
0
:
j
.
childType
)
&&
Object
(
g
.
jsx
)(
S
.
a
.
Item
,{
name
:
"childType"
,
label
:
"
\
u5b50
\
u7c7b
\
u578b"
,
children
:
Object
(
g
.
jsx
)(
R
.
a
,{
placeholder
:
"
\
u8bf7
\
u9009
\
u62e9
\
u5b50
\
u7c7b
\
u578b"
,
onChange
:
function
(
e
){
s
.
setFieldsValue
({
childType
:
e
})},
allowClear
:
!
0
,
children
:(
null
===
j
||
void
0
===
j
||
null
===
(
i
=
j
.
childType
)
||
void
0
===
i
?
void
0
:
i
.
length
)
&&
(
null
===
j
||
void
0
===
j
?
void
0
:
j
.
childType
.
map
((
function
(
e
){
return
Object
(
g
.
jsx
)(
q
,{
value
:
e
.
child_type_id
,
children
:
e
.
child_type_name
},
e
.
child_type_id
)})))})})]}))})};
var
K
=
function
(
e
){
var
t
=
Object
(
c
.
useState
)(
!
1
),
n
=
Object
(
b
.
a
)(
t
,
2
),
i
=
n
[
0
],
a
=
n
[
1
],
o
=
Object
(
c
.
useContext
)(
h
).
fetchData
,
l
=
(
Object
(
c
.
useContext
)(
y
).
showPop
,
e
.
value
),
r
=
l
.
toolbox_icon
,
s
=
l
.
toolbox_name
,
d
=
l
.
toolbox_desc
,
u
=
l
.
toolbox_url
,
j
=
l
.
follow
,
p
=
l
.
toolbox_id
,
m
=
Object
(
c
.
useState
)(
r
),
O
=
Object
(
b
.
a
)(
m
,
2
),
A
=
O
[
0
],
f
=
O
[
1
],
x
=
function
(
e
){
window
.
location
.
href
=
e
};
return
Object
(
g
.
jsxs
)(
"div"
,{
className
:
"content-item"
,
children
:[
Object
(
g
.
jsxs
)(
"div"
,{
className
:
"content-adminTool"
,
children
:[
Object
(
g
.
jsx
)(
"img"
,{
src
:
T
,
alt
:
""
}),
Object
(
g
.
jsx
)(
"img"
,{
src
:
w
,
alt
:
""
,
onClick
:
function
(){
return
a
(
!
0
)}}),
Object
(
g
.
jsx
)(
"img"
,{
src
:
D
,
alt
:
""
,
onClick
:
function
(){
return
function
(
e
){
o
(
"/delete/deleteToolBoxById"
,{
toolbox_id
:
e
})}(
p
)}})]}),
Object
(
g
.
jsxs
)(
"div"
,{
className
:
"item-icon"
,
onClick
:
function
(){
return
x
(
u
)},
children
:[
!
A
&&
Object
(
g
.
jsx
)(
"div"
,{
className
:
"defaultIcon"
,
children
:
s
[
0
]}),
A
&&
Object
(
g
.
jsx
)(
"img"
,{
src
:
A
,
alt
:
""
,
onError
:
function
(
e
){
return
f
(
null
)}})]}),
Object
(
g
.
jsx
)(
"div"
,{
className
:
"item-name"
,
onClick
:
function
(){
return
x
(
u
)},
children
:
s
}),
Object
(
g
.
jsx
)(
"div"
,{
className
:
"item-desc"
,
children
:
d
}),
Object
(
g
.
jsx
)(
"a"
,{
className
:
"item-url"
,
href
:
u
,
children
:
u
}),
Object
(
g
.
jsxs
)(
"div"
,{
className
:
"follow"
,
children
:[
Object
(
g
.
jsx
)(
"img"
,{
className
:
"icon-follow"
,
src
:
j
?
k
:
C
,
alt
:
""
}),
"
\
u6536
\
u85cf"
]}),
i
&&
Object
(
g
.
jsx
)(
G
,{
visible
:
i
,
onCancel
:
function
(){
return
a
(
!
1
)},
data
:
e
.
value
})]})};
n
(
250
);
var
F
=
function
(
e
){
var
t
=
Object
(
c
.
useContext
)(
h
),
n
=
t
.
dataCenter
,
i
=
t
.
fetchData
,
a
=
e
.
value
,
o
=
a
.
toolbox_icon
,
l
=
a
.
toolbox_name
,
r
=
a
.
toolbox_desc
,
s
=
a
.
toolbox_url
,
d
=
a
.
toolbox_id
,
u
=
Object
(
c
.
useState
)(
!
1
),
j
=
Object
(
b
.
a
)(
u
,
2
),
p
=
j
[
0
],
m
=
j
[
1
],
O
=
Object
(
c
.
useState
)(
o
),
A
=
Object
(
b
.
a
)(
O
,
2
),
f
=
A
[
0
],
y
=
A
[
1
],
x
=
function
(
e
){
return
window
.
location
.
href
=
e
};
return
Object
(
c
.
useEffect
)((
function
(){
var
e
;(
null
===
(
e
=
n
.
userInfo
)
||
void
0
===
e
?
void
0
:
e
.
follow
.
includes
(
d
))?
m
(
!
0
):
m
(
!
1
)}),[
n
.
toolBox
,
n
.
userInfo
]),
Object
(
g
.
jsxs
)(
"div"
,{
className
:
"content-item"
,
children
:[
Object
(
g
.
jsxs
)(
"div"
,{
className
:
"item-icon"
,
onClick
:
function
(){
return
x
(
s
)},
children
:[
!
f
&&
Object
(
g
.
jsx
)(
"div"
,{
className
:
"defaultIcon"
,
children
:
l
[
0
]}),
f
&&
Object
(
g
.
jsx
)(
"img"
,{
src
:
f
,
alt
:
""
,
onError
:
function
(
e
){
return
y
(
null
)}})]}),
Object
(
g
.
jsx
)(
"div"
,{
className
:
"item-name"
,
onClick
:
function
(){
return
x
(
s
)},
children
:
l
}),
Object
(
g
.
jsx
)(
"div"
,{
className
:
"item-desc"
,
children
:
r
}),
Object
(
g
.
jsx
)(
"a"
,{
className
:
"item-url"
,
href
:
s
,
children
:
s
}),
Object
(
g
.
jsxs
)(
"div"
,{
className
:
"follow"
,
children
:[
Object
(
g
.
jsx
)(
"img"
,{
className
:
"icon-follow"
,
src
:
p
?
k
:
C
,
alt
:
""
,
onClick
:
function
(){
return
function
(){
var
e
=
n
.
userInfo
.
follow
.
slice
();
if
(
p
){
var
t
=
e
.
indexOf
(
d
);
e
.
splice
(
t
,
1
)}
else
e
.
push
(
d
);
console
.
log
({
follow
:
JSON
.
stringify
(
e
),
uid
:
n
.
userInfo
.
uid
}),
i
(
"/users/follow"
,{
follow
:
JSON
.
stringify
(
e
),
uid
:
n
.
userInfo
.
uid
}).
then
((
function
(){
return
i
(
"/users/getUser"
,{
uid
:
100001
},
"userInfo"
)}))}()}}),
"
\
u6536
\
u85cf"
]})]})};
var
z
=
function
(
e
){
var
t
,
n
,
i
=
Object
(
c
.
useContext
)(
h
).
dataCenter
;
return
Object
(
g
.
jsx
)(
"div"
,{
className
:
"content"
,
children
:(
null
===
(
t
=
i
.
toolBox
)
||
void
0
===
t
?
void
0
:
t
.
length
)?
null
===
i
||
void
0
===
i
||
null
===
(
n
=
i
.
toolBox
)
||
void
0
===
n
?
void
0
:
n
.
filter
((
function
(
e
){
return
"all"
===
i
.
child_type_id
||
e
.
child_type_id
===
i
.
child_type_id
})).
map
((
function
(
e
){
return
Object
(
g
.
jsx
)(
K
,{
value
:
e
},
e
.
toolbox_id
)})):
"
\
u6ca1
\
u6709
\
u6570
\
u636e
\
u4e86
\
uff01"
})},
X
=
(
n
(
251
),
n
(
31
)),
M
=
(
n
(
252
),
n
(
152
)),
U
=
(
n
(
253
),
n
(
254
),
n
(
146
),
n
(
255
),
n
(
257
),
n
(
258
),
n
(
52
),
n
(
259
),
n
(
260
),
n
(
261
),
n
(
262
),
n
(
263
),
R
.
a
.
Option
,
function
(
e
){
var
t
=
e
.
visible
,
n
=
e
.
onCancel
,
i
=
e
.
data
,
a
=
Object
(
c
.
useState
)(
""
),
o
=
Object
(
b
.
a
)(
a
,
2
),
l
=
o
[
0
],
r
=
o
[
1
],
s
=
Object
(
c
.
useState
)(
""
),
d
=
Object
(
b
.
a
)(
s
,
2
),
u
=
d
[
0
],
j
=
d
[
1
],
p
=
Object
(
c
.
useState
)(
""
),
m
=
Object
(
b
.
a
)(
p
,
2
),
O
=
m
[
0
],
f
=
(
m
[
1
],
Object
(
c
.
useContext
)(
h
)),
y
=
f
.
fetchData
,
x
=
f
.
dataCenter
;
console
.
log
(
i
);
return
Object
(
c
.
useEffect
)((
function
(){
i
&&
j
(
i
.
page_name
)}),[
i
]),
Object
(
g
.
jsxs
)(
B
.
a
,{
visible
:
t
,
title
:
"
\
u53d1
\
u5e03"
,
okText
:
"
\
u53d1
\
u5e03"
,
cancelText
:
"
\
u53d6
\
u6d88"
,
onCancel
:
n
,
onOk
:
function
(
e
){
console
.
log
(
l
),
l
&&
u
?
i
?
fetch
(
""
.
concat
(
A
.
domain
,
"/page/updatePage"
),{
method
:
"POST"
,
headers
:{
"Content-Type"
:
"application/json"
},
body
:
JSON
.
stringify
({
page_id
:
i
.
page_id
,
page_name
:
u
,
code
:
l
})}).
then
((
function
(
e
){
return
e
.
json
()})).
then
((
function
(
e
){
e
.
success
?(
n
(),
J
.
b
.
success
(
"
\
u66ff
\
u6362
\
u6210
\
u529f
\
uff01"
),(
null
===
x
||
void
0
===
x
?
void
0
:
x
.
type
)
&&
y
(
"/page/queryPage"
,{},
"queryPage"
).
then
((
function
(
e
){}))):
J
.
b
.
error
(
"
\
u66ff
\
u6362
\
u5931
\
u8d25"
)})):
fetch
(
""
.
concat
(
A
.
domain
,
"/page/addPage"
),{
method
:
"POST"
,
headers
:{
"Content-Type"
:
"application/json"
},
body
:
JSON
.
stringify
({
page_name
:
u
,
code
:
l
})}).
then
((
function
(
e
){
return
e
.
json
()})).
then
((
function
(
e
){
e
.
success
?(
n
(),
J
.
b
.
success
(
"
\
u53d1
\
u5e03
\
u6210
\
u529f
\
uff01"
),(
null
===
x
||
void
0
===
x
?
void
0
:
x
.
type
)
&&
y
(
"/page/queryPage"
,{},
"queryPage"
).
then
((
function
(
e
){}))):
J
.
b
.
error
(
e
.
error
||
"
\
u53d1
\
u5e03
\
u5931
\
u8d25"
)})):
J
.
b
.
error
(
"
\
u8bf7
\
u8865
\
u5168
\
u4fe1
\
u606f
\
uff01"
)},
width
:
"1000px"
,
children
:[
Object
(
g
.
jsx
)(
S
.
a
.
Item
,{
name
:
"page_name"
,
label
:
"
\
u9875
\
u9762
\
u540d
\
u79f0"
,
rules
:[{
required
:
!
0
,
message
:
"
\
u8bf7
\
u8f93
\
u5165
\
u9875
\
u9762
\
u540d
\
u79f0!"
}],
children
:
Object
(
g
.
jsx
)(
N
.
a
,{
placeholder
:
"
\
u8bf7
\
u8f93
\
u5165
\
u9875
\
u9762
\
u540d
\
u79f0"
,
defaultValue
:(
null
===
i
||
void
0
===
i
?
void
0
:
i
.
page_name
)?
i
.
page_name
:
u
,
onChange
:
function
(
e
){
j
(
e
.
target
.
value
)}})}),
Object
(
g
.
jsx
)(
S
.
a
.
Item
,{
name
:
"type"
,
label
:
"
\
u5e03
\
u5c40
\
u4ee3
\
u7801"
,
rules
:[{
required
:
!
0
,
message
:
"
\
u8bf7
\
u8f93
\
u5165
\
u9875
\
u9762
\
u540d
\
u79f0!"
}],
children
:
Object
(
g
.
jsx
)(
"div"
,{
className
:
"codeMain"
,
children
:
Object
(
g
.
jsx
)(
M
.
UnControlled
,{
onChange
:
function
(
e
,
t
,
n
){
r
(
n
)},
value
:
O
,
options
:{
styleActiveLine
:
!
0
,
lineNumbers
:
!
0
,
theme
:
"monokai"
,
tabSize
:
2
,
keyMap
:
"sublime"
,
mode
:
"text/javascript"
,
smartIndent
:
!
0
,
lineWrapping
:
!
0
,
autofocus
:
!
0
}})})})]})}),
P
=
n
(
283
),
Q
=
n
(
116
),
Z
=
R
.
a
.
Option
,
W
=
(
P
.
a
.
TabPane
,
function
(
e
){
var
t
,
n
=
e
.
visible
,
a
=
e
.
onCancel
,
o
=
e
.
queryData
,
l
=
e
.
data
;
console
.
log
(
l
);
var
r
=
S
.
a
.
useForm
(),
s
=
Object
(
b
.
a
)(
r
,
1
)[
0
];
l
&&
s
.
setFieldsValue
({
type_name
:
l
.
type_name
});
var
d
=
Object
(
c
.
useContext
)(
h
),
u
=
d
.
fetchData
,
j
=
d
.
dataCenter
,
m
=
d
.
dispatch
,
O
=
i
.
a
.
useState
(
1
),
A
=
Object
(
b
.
a
)(
O
,
2
),
f
=
A
[
0
],
y
=
A
[
1
];
return
Object
(
g
.
jsx
)(
B
.
a
,{
visible
:
n
,
title
:
""
.
concat
(
l
?
"
\
u4fee
\
u6539"
:
"
\
u65b0
\
u5efa"
,
"
\
u7c7b
\
u578b"
),
okText
:
"
\
u786e
\
u5b9a"
,
cancelText
:
"
\
u53d6
\
u6d88"
,
onCancel
:
a
,
onOk
:
function
(){
s
.
validateFields
().
then
((
function
(
e
){
!
function
(
e
){
if
(
l
){
console
.
log
(
l
);
var
t
=
{
type_id
:
""
,
type_name
:
""
};
t
=
l
.
isRemove
?{
child_type_id
:
l
.
type_id
,
child_type_name
:
e
.
type_name
}:{
type_id
:
l
.
type_id
,
type_name
:
e
.
type_name
},
u
(
"/typeManage/updateType"
,
t
).
then
((
function
(
e
){
e
.
success
&&
(
J
.
b
.
success
(
"
\
u4fee
\
u6539
\
u6210
\
u529f"
),
m
({
type
:
"NEED_UPDATE_INDEX"
}),
o
(),
a
())}))}
else
console
.
log
(
e
),
u
(
"/add/addType"
,
e
).
then
((
function
(
e
){
e
.
success
&&
(
J
.
b
.
success
(
"
\
u65b0
\
u5efa
\
u6210
\
u529f"
),
m
({
type
:
"NEED_UPDATE_INDEX"
}),
a
())}))}(
e
)})).
catch
((
function
(
e
){
console
.
log
(
"Validate Failed:"
,
e
)}))},
children
:
Object
(
g
.
jsxs
)(
S
.
a
,
Object
(
p
.
a
)(
Object
(
p
.
a
)({
form
:
s
},{
labelCol
:{
span
:
4
},
wrapperCol
:{
span
:
18
}}),{},{
name
:
"form_in_modal"
,
initialValues
:{
modifier
:
"public"
,
"radio-group"
:
1
},
children
:[
!
l
&&
Object
(
g
.
jsx
)(
S
.
a
.
Item
,{
name
:
"radio-group"
,
label
:
"
\
u7c7b
\
u578b"
,
children
:
Object
(
g
.
jsxs
)(
Q
.
a
.
Group
,{
onChange
:
function
(
e
){
console
.
log
(
"radio checked"
,
e
.
target
.
value
),
y
(
e
.
target
.
value
)},
value
:
f
,
children
:[
Object
(
g
.
jsx
)(
Q
.
a
,{
value
:
1
,
children
:
"
\
u7236
\
u7c7b
\
u578b"
}),
Object
(
g
.
jsx
)(
Q
.
a
,{
value
:
2
,
children
:
"
\
u5b50
\
u7c7b
\
u578b"
})]})}),
1
===
f
||
l
?
Object
(
g
.
jsx
)(
S
.
a
.
Item
,{
name
:
"type_name"
,
label
:
""
.
concat
(
l
?
""
:
"
\
u7236"
,
"
\
u7c7b
\
u578b"
),
rules
:[{
required
:
!
0
,
message
:
"
\
u8bf7
\
u8f93
\
u5165
\
u7c7b
\
u578b
\
u540d
\
u79f0!"
}],
children
:
Object
(
g
.
jsx
)(
N
.
a
,{
placeholder
:
"
\
u8bf7
\
u8f93
\
u5165
\
u7c7b
\
u578b
\
u540d
\
u79f0"
})}):
Object
(
g
.
jsxs
)(
g
.
Fragment
,{
children
:[
Object
(
g
.
jsx
)(
S
.
a
.
Item
,{
name
:
"type_id"
,
label
:
"
\
u7236
\
u7c7b
\
u578b"
,
hasFeedback
:
!
0
,
rules
:[{
required
:
!
0
,
message
:
"
\
u8bf7
\
u9009
\
u62e9
\
u7236
\
u7c7b
\
u578b!"
}],
children
:
Object
(
g
.
jsx
)(
R
.
a
,{
placeholder
:
"
\
u8bf7
\
u9009
\
u62e9
\
u7236
\
u7c7b
\
u578b"
,
onChange
:
function
(
e
){
s
.
setFieldsValue
({
type_id
:
e
})},
children
:(
null
===
j
||
void
0
===
j
||
null
===
(
t
=
j
.
type
)
||
void
0
===
t
?
void
0
:
t
.
length
)
&&
(
null
===
j
||
void
0
===
j
?
void
0
:
j
.
type
.
map
((
function
(
e
){
return
Object
(
g
.
jsx
)(
Z
,{
value
:
e
.
type_id
,
children
:
e
.
type_name
},
e
.
type_id
)})))})}),
Object
(
g
.
jsx
)(
S
.
a
.
Item
,{
name
:
"child_type_name"
,
label
:
"
\
u5b50
\
u7c7b
\
u578b"
,
rules
:[{
required
:
!
0
,
message
:
"
\
u8bf7
\
u8f93
\
u5165
\
u7c7b
\
u578b
\
u540d
\
u79f0!"
}],
children
:
Object
(
g
.
jsx
)(
N
.
a
,{
placeholder
:
"
\
u8bf7
\
u8f93
\
u5165
\
u7c7b
\
u578b
\
u540d
\
u79f0"
})})]})]}))})}),
L
=
n
(
286
),
V
=
n
(
281
);
var
Y
=
function
(
e
){
var
t
=
e
.
visible
,
n
=
e
.
onCancel
,
i
=
(
e
.
onPublish
,
Object
(
c
.
useState
)(
!
1
)),
a
=
Object
(
b
.
a
)(
i
,
2
),
o
=
a
[
0
],
l
=
a
[
1
],
r
=
Object
(
c
.
useState
)(
""
),
s
=
Object
(
b
.
a
)(
r
,
2
),
d
=
s
[
0
],
u
=
s
[
1
],
j
=
Object
(
c
.
useContext
)(
h
),
p
=
j
.
fetchData
,
m
=
j
.
dataCenter
,
O
=
[{
title
:
"
\
u9875
\
u9762Id"
,
dataIndex
:
"page_id"
,
width
:
150
,
align
:
"center"
},{
title
:
"
\
u9875
\
u9762
\
u540d
\
u79f0"
,
dataIndex
:
"page_name"
,
width
:
200
,
align
:
"center"
},{
title
:
"
\
u9875
\
u9762Url"
,
dataIndex
:
"pageUrl"
,
width
:
300
,
align
:
"center"
,
render
:
function
(
e
,
t
){
return
Object
(
g
.
jsx
)(
L
.
b
,{
size
:
"middle"
,
children
:
Object
(
g
.
jsx
)(
"a"
,{
href
:
t
.
pageUrl
,
children
:
t
.
pageUrl
})})}},{
title
:
"
\
u64cd
\
u4f5c"
,
key
:
"action"
,
align
:
"center"
,
width
:
100
,
render
:
function
(
e
,
t
){
return
Object
(
g
.
jsx
)(
L
.
b
,{
size
:
"middle"
,
children
:
Object
(
g
.
jsx
)(
"a"
,{
onClick
:
function
(){
return
e
=
t
,
console
.
log
(
e
),
u
(
e
),
void
l
(
!
0
);
var
e
},
children
:
"
\
u66ff
\
u6362"
})})}}];
return
Object
(
c
.
useEffect
)((
function
(){
console
.
log
(
m
),(
null
===
m
||
void
0
===
m
?
void
0
:
m
.
type
)
&&
p
(
"/page/queryPage"
,{},
"queryPage"
).
then
((
function
(
e
){}))}),[]),
Object
(
g
.
jsxs
)(
g
.
Fragment
,{
children
:[
Object
(
g
.
jsx
)(
B
.
a
,{
visible
:
t
,
title
:
"
\
u9875
\
u9762
\
u7ba1
\
u7406"
,
okText
:
"
\
u786e
\
u5b9a"
,
cancelText
:
"
\
u53d6
\
u6d88"
,
width
:
"1000px"
,
onCancel
:
n
,
onOk
:
n
,
children
:
Object
(
g
.
jsx
)(
V
.
a
,{
columns
:
O
,
dataSource
:(
null
===
m
||
void
0
===
m
?
void
0
:
m
.
queryPage
)
&&
m
.
queryPage
,
pagination
:{
pageSize
:
10
},
size
:
"middle"
})}),
o
&&
Object
(
g
.
jsx
)(
U
,{
visible
:
o
,
onCancel
:
function
(){
return
l
(
!
1
)},
data
:
d
})]})},
H
=
n
(
73
),
_
=
n
(
287
);
H
.
a
,
H
.
a
.
Item
,
H
.
a
.
Item
;
var
$
=
function
(
e
){
var
t
=
e
.
visible
,
n
=
e
.
onCancel
,
i
=
Object
(
c
.
useState
)(
!
1
),
a
=
Object
(
b
.
a
)(
i
,
2
),
o
=
a
[
0
],
l
=
a
[
1
],
r
=
Object
(
c
.
useState
)(
""
),
s
=
Object
(
b
.
a
)(
r
,
2
),
d
=
s
[
0
],
u
=
s
[
1
],
j
=
Object
(
c
.
useState
)(
""
),
p
=
Object
(
b
.
a
)(
j
,
2
),
m
=
p
[
0
],
O
=
p
[
1
],
A
=
Object
(
c
.
useContext
)(
h
),
f
=
A
.
fetchData
,
y
=
A
.
dataCenter
,
x
=
A
.
dispatch
,
v
=
function
e
(
t
,
n
){
return
t
.
map
((
function
(
t
,
c
){
var
i
=
n
(
t
);
return
t
.
children
&&
(
i
.
children
=
e
(
t
.
children
,(
function
(
e
){
return
{
isRemove
:
!
0
,
key
:
e
.
child_type_id
,
type_id
:
e
.
child_type_id
,
type_name
:
e
.
child_type_name
}}))),
i
}))},
E
=
function
(){(
null
===
y
||
void
0
===
y
?
void
0
:
y
.
type
)
&&
f
(
"/typeManage/queryTypeForManage"
,{},
"childTypeData"
).
then
((
function
(
e
){
var
t
=
v
(
e
.
data
,(
function
(
e
){
return
{
key
:
e
.
type_id
,
type_id
:
e
.
type_id
,
type_name
:
e
.
type_name
}}));
u
(
t
)}))};
Object
(
c
.
useEffect
)((
function
(){
E
()}),[]);
var
I
=
[{
title
:
"
\
u7c7b
\
u578b
\
u540d"
,
width
:
100
,
dataIndex
:
"type_name"
,
key
:
"type_name"
},{
title
:
"Id"
,
width
:
100
,
dataIndex
:
"type_id"
,
align
:
"center"
,
key
:
"type_id"
},{
title
:
"
\
u64cd
\
u4f5c"
,
width
:
100
,
key
:
"operation"
,
align
:
"center"
,
render
:
function
(
e
,
t
){
return
Object
(
g
.
jsxs
)(
L
.
b
,{
size
:
"middle"
,
children
:[
t
.
isRemove
&&
Object
(
g
.
jsx
)(
_
.
a
,{
title
:
"
\
u786e
\
u5b9a
\
u5220
\
u9664
\
u5417
\
uff1f"
,
okText
:
"
\
u786e
\
u5b9a"
,
cancelText
:
"
\
u53d6
\
u6d88"
,
onConfirm
:
function
(){
f
(
"/typeManage/deleteChildType"
,{
child_type_id
:
t
.
type_id
}).
then
((
function
(
e
){
e
.
success
?(
J
.
b
.
success
(
"
\
u522a
\
u9664
\
u6210
\
u529f"
),
x
({
type
:
"NEED_UPDATE_INDEX"
}),
E
()):
J
.
b
.
error
(
"
\
u522a
\
u9664
\
u5931
\
u8d25"
)}))},
children
:
Object
(
g
.
jsx
)(
"a"
,{
href
:
"#"
,
children
:
"
\
u5220
\
u9664"
})}),
Object
(
g
.
jsx
)(
"a"
,{
href
:
"#"
,
onClick
:
function
(){
return
O
(
t
),
void
l
(
!
0
)},
children
:
"
\
u4fee
\
u6539"
})]})}}];
return
Object
(
g
.
jsxs
)(
B
.
a
,{
visible
:
t
,
title
:
"
\
u7c7b
\
u578b
\
u7ba1
\
u7406"
,
okText
:
"
\
u786e
\
u5b9a"
,
cancelText
:
"
\
u53d6
\
u6d88"
,
width
:
"1000px"
,
onCancel
:
n
,
onOk
:
n
,
children
:[
Object
(
g
.
jsx
)(
V
.
a
,{
columns
:
I
,
dataSource
:
d
}),
o
&&
Object
(
g
.
jsx
)(
W
,{
visible
:
o
,
onCancel
:
function
(){
return
l
(
!
1
)},
queryData
:
function
(){
return
E
()},
data
:
m
})]})};
var
ee
=
function
(){
var
e
=
Object
(
c
.
useState
)(
!
1
),
t
=
Object
(
b
.
a
)(
e
,
2
),
n
=
t
[
0
],
i
=
t
[
1
],
a
=
Object
(
c
.
useState
)(
!
1
),
o
=
Object
(
b
.
a
)(
a
,
2
),
l
=
o
[
0
],
r
=
o
[
1
],
s
=
Object
(
c
.
useState
)(
!
1
),
d
=
Object
(
b
.
a
)(
s
,
2
),
u
=
d
[
0
],
j
=
d
[
1
],
p
=
Object
(
c
.
useState
)(
!
1
),
m
=
Object
(
b
.
a
)(
p
,
2
),
O
=
m
[
0
],
A
=
m
[
1
],
f
=
Object
(
c
.
useState
)(
!
1
),
h
=
Object
(
b
.
a
)(
f
,
2
),
y
=
h
[
0
],
x
=
h
[
1
];
return
Object
(
g
.
jsxs
)(
"div"
,{
className
:
"admin"
,
children
:[
Object
(
g
.
jsx
)(
X
.
a
,{
onClick
:
function
(){
return
i
(
!
0
)},
children
:
"
\
u65b0
\
u5efa
\
u5de5
\
u5177
\
u76d2"
}),
Object
(
g
.
jsx
)(
X
.
a
,{
onClick
:
function
(){
return
j
(
!
0
)},
children
:
"
\
u65b0
\
u5efa
\
u7c7b
\
u578b"
}),
Object
(
g
.
jsx
)(
X
.
a
,{
onClick
:
function
(){
return
r
(
!
0
)},
children
:
"
\
u53d1
\
u5e03"
}),
Object
(
g
.
jsx
)(
X
.
a
,{
onClick
:
function
(){
return
A
(
!
0
)},
children
:
"
\
u9875
\
u9762
\
u7ba1
\
u7406"
}),
Object
(
g
.
jsx
)(
X
.
a
,{
onClick
:
function
(){
return
x
(
!
0
)},
children
:
"
\
u7c7b
\
u578b
\
u7ba1
\
u7406"
}),
n
&&
Object
(
g
.
jsx
)(
G
,{
visible
:
n
,
onCancel
:
function
(){
return
i
(
!
1
)}}),
l
&&
Object
(
g
.
jsx
)(
U
,{
visible
:
l
,
onCancel
:
function
(){
return
r
(
!
1
)}}),
u
&&
Object
(
g
.
jsx
)(
W
,{
visible
:
u
,
onCancel
:
function
(){
return
j
(
!
1
)}}),
O
&&
Object
(
g
.
jsx
)(
Y
,{
visible
:
O
,
onCancel
:
function
(){
return
A
(
!
1
)}}),
y
&&
Object
(
g
.
jsx
)(
$
,{
visible
:
y
,
onCancel
:
function
(){
return
x
(
!
1
)}})]})};
var
te
=
function
(){
var
e
,
t
=
Object
(
c
.
useState
)(),
n
=
Object
(
b
.
a
)(
t
,
2
),
i
=
n
[
0
],
a
=
n
[
1
],
o
=
Object
(
c
.
useContext
)(
h
),
l
=
o
.
fetchData
,
r
=
o
.
dataCenter
,
s
=
o
.
dispatch
;
return
Object
(
c
.
useEffect
)((
function
(){
l
(
"/query/queryType"
,{},
"type"
).
then
((
function
(){
return
l
(
"/query/queryChildType"
,{
type_id
:
r
.
type_id
},
"childType"
)})).
then
((
function
(){
return
s
({
type
:
"NEED_UPDATE_INDEX"
})}))}),[
r
.
type_id
]),
Object
(
c
.
useEffect
)((
function
(){
if
(
r
.
needUpdateIndex
){
var
e
=
"all"
===
r
.
type_id
?{}:
"follow"
===
r
.
type_id
?{
isFollow
:
!
0
,
type_id
:
JSON
.
stringify
(
r
.
userInfo
.
follow
)}:{
type_id
:
r
.
type_id
};
l
(
"/query/queryToolBox"
,
e
,
"toolBox"
).
then
((
function
(){
return
s
({
type
:
"NEED_UPDATE_INDEX"
})}))}}),[
r
.
needUpdateIndex
]),
Object
(
c
.
useEffect
)((
function
(){
l
(
"/users/getUser"
,{
uid
:
"100001"
},
"userInfo"
).
catch
((
function
(
e
){
return
70001
===
e
.
code
&&
(
window
.
location
.
href
=
"/login"
)}))}),[]),
Object
(
g
.
jsx
)(
y
.
Provider
,{
value
:{
hidePop
:
function
(){
return
a
(
""
)},
showPop
:
function
(
e
){
a
(
e
)}},
children
:
Object
(
g
.
jsxs
)(
"div"
,{
className
:
"index"
,
children
:[
Object
(
g
.
jsx
)(
"div"
,{
className
:
"welcome-top"
,
children
:
Object
(
g
.
jsxs
)(
"span"
,{
children
:[
"
\
u6b22
\
u8fce
\
u60a8
\
uff01"
,
Object
(
g
.
jsx
)(
"span"
,{
className
:
"welcome-uname"
,
children
:
null
===
r
||
void
0
===
r
||
null
===
(
e
=
r
.
userInfo
)
||
void
0
===
e
?
void
0
:
e
.
uname
}),
Object
(
g
.
jsx
)(
"a"
,{
className
:
"login-btn"
,
children
:
"
\
u9000
\
u51fa
\
u767b
\
u5f55"
})]})}),
Object
(
g
.
jsxs
)(
"div"
,{
className
:
"nav"
,
children
:[
Object
(
g
.
jsx
)(
"div"
,{
className
:
"nav-title"
,
children
:
Object
(
g
.
jsx
)(
"img"
,{
src
:
v
,
alt
:
""
})}),
Object
(
g
.
jsx
)(
"div"
,{
className
:
"nav-weather"
,
children
:
Object
(
g
.
jsx
)(
"iframe"
,{
width
:
"360"
,
height
:
"40"
,
frameBorder
:
"0"
,
scrolling
:
"no"
,
hspace
:
"0"
,
src
:
"https://i.tianqi.com/?c=code&a=getcode&id=40&icon=1"
})})]}),
Object
(
g
.
jsx
)(
"div"
,{
className
:
"tool-nav"
,
children
:
Object
(
g
.
jsx
)(
I
,{})}),
Object
(
g
.
jsx
)(
"div"
,{
className
:
"container"
,
children
:
Object
(
g
.
jsx
)(
z
,{})}),
i
,
Object
(
g
.
jsxs
)(
"div"
,{
className
:
"index-footer"
,
children
:[
"
\
u5151
\
u5427
\
u7814
\
u53d1
\
u4e2d
\
u5fc3
\
xb7
\
u676d
\
u5dde
\
u5151
\
u5427
\
u7f51
\
u7edc
\
u79d1
\
u6280
\
u6e38
\
u620f
\
u516c
\
u53f8
\
u7248
\
u6743
\
u6240
\
u6709"
,
Object
(
g
.
jsx
)(
"br"
,{}),
"
\
u6d59ICP
\
u590714017299
\
u53f7-1"
]}),
Object
(
g
.
jsx
)(
ee
,{})]})})};
n
(
269
),
n
(
270
);
var
ne
=
function
(
e
){
var
t
,
n
,
i
=
Object
(
c
.
useContext
)(
h
).
dataCenter
;
return
Object
(
g
.
jsx
)(
"div"
,{
className
:
"content"
,
children
:(
null
===
(
t
=
i
.
toolBox
)
||
void
0
===
t
?
void
0
:
t
.
length
)?
null
===
i
||
void
0
===
i
||
null
===
(
n
=
i
.
toolBox
)
||
void
0
===
n
?
void
0
:
n
.
filter
((
function
(
e
){
return
"all"
===
i
.
child_type_id
||
e
.
child_type_id
===
i
.
child_type_id
})).
map
((
function
(
e
){
return
Object
(
g
.
jsx
)(
F
,{
value
:
e
},
e
.
toolbox_id
)})):
"
\
u6ca1
\
u6709
\
u6570
\
u636e
\
u4e86
\
uff01"
})};
var
ce
=
function
(){
var
e
,
t
=
Object
(
c
.
useContext
)(
h
),
n
=
t
.
fetchData
,
i
=
t
.
dataCenter
,
a
=
t
.
dispatch
;
return
Object
(
c
.
useEffect
)((
function
(){
n
(
"/query/queryType"
,{},
"type"
).
then
((
function
(){
return
n
(
"/query/queryChildType"
,{
type_id
:
i
.
type_id
},
"childType"
)})).
then
((
function
(){
return
a
({
type
:
"NEED_UPDATE_INDEX"
})}))}),[
i
.
type_id
]),
Object
(
c
.
useEffect
)((
function
(){
if
(
i
.
needUpdateIndex
){
var
e
=
"follow"
===
i
.
type_id
?{
isFollow
:
!
0
,
type_id
:
JSON
.
stringify
(
i
.
userInfo
.
follow
)}:{
type_id
:
i
.
type_id
};
n
(
"/query/queryToolBox"
,
e
,
"toolBox"
).
then
((
function
(){
return
a
({
type
:
"NEED_UPDATE_INDEX"
})}))}}),[
i
.
needUpdateIndex
]),
Object
(
c
.
useEffect
)((
function
(){
n
(
"/users/getUser"
,{
uid
:
"100001"
},
"userInfo"
).
catch
((
function
(
e
){
return
70001
===
e
.
code
&&
(
window
.
location
.
href
=
"/login"
)}))}),[]),
Object
(
g
.
jsxs
)(
"div"
,{
className
:
"index"
,
children
:[
Object
(
g
.
jsx
)(
"div"
,{
className
:
"welcome-top"
,
children
:
Object
(
g
.
jsxs
)(
"span"
,{
children
:[
"
\
u6b22
\
u8fce
\
u60a8
\
uff01"
,
Object
(
g
.
jsx
)(
"span"
,{
className
:
"welcome-uname"
,
children
:
null
===
i
||
void
0
===
i
||
null
===
(
e
=
i
.
userInfo
)
||
void
0
===
e
?
void
0
:
e
.
uname
}),
Object
(
g
.
jsx
)(
"a"
,{
className
:
"login-btn"
,
children
:
"
\
u9000
\
u51fa
\
u767b
\
u5f55"
})]})}),
Object
(
g
.
jsxs
)(
"div"
,{
className
:
"nav"
,
children
:[
Object
(
g
.
jsx
)(
"div"
,{
className
:
"nav-title"
,
children
:
Object
(
g
.
jsx
)(
"img"
,{
src
:
v
,
alt
:
""
})}),
Object
(
g
.
jsx
)(
"div"
,{
className
:
"nav-weather"
,
children
:
Object
(
g
.
jsx
)(
"iframe"
,{
width
:
"360"
,
height
:
"40"
,
frameBorder
:
"0"
,
scrolling
:
"no"
,
hspace
:
"0"
,
src
:
"https://i.tianqi.com/?c=code&a=getcode&id=40&icon=1"
})})]}),
Object
(
g
.
jsx
)(
"div"
,{
className
:
"tool-nav"
,
children
:
Object
(
g
.
jsx
)(
I
,{})}),
Object
(
g
.
jsx
)(
"div"
,{
className
:
"container"
,
children
:
Object
(
g
.
jsx
)(
ne
,{})}),
Object
(
g
.
jsxs
)(
"div"
,{
className
:
"index-footer"
,
children
:[
"
\
u5151
\
u5427
\
u7814
\
u53d1
\
u4e2d
\
u5fc3
\
xb7
\
u676d
\
u5dde
\
u5151
\
u5427
\
u7f51
\
u7edc
\
u79d1
\
u6280
\
u6e38
\
u620f
\
u516c
\
u53f8
\
u7248
\
u6743
\
u6240
\
u6709"
,
Object
(
g
.
jsx
)(
"br"
,{}),
"
\
u6d59ICP
\
u590714017299
\
u53f7-1"
]})]})};
n
(
271
);
var
ie
=
function
(
e
){
var
t
=
Object
(
c
.
useContext
)(
h
),
n
=
t
.
fetchData
,
i
=
t
.
dataCenter
,
a
=
Object
(
c
.
useState
)(
!
1
),
o
=
Object
(
b
.
a
)(
a
,
2
),
l
=
o
[
0
],
r
=
o
[
1
],
s
=
function
(){
var
e
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
t
=
Object
(
c
.
useState
)(
e
),
n
=
Object
(
b
.
a
)(
t
,
2
),
i
=
n
[
0
],
a
=
n
[
1
],
o
=
Object
(
c
.
useCallback
)((
function
(
e
,
t
){
a
((
function
(){
return
Object
.
assign
({},
Object
(
p
.
a
)({},
i
),
Object
(
j
.
a
)({},
e
,
t
))}))}),[
i
]);
return
[
i
,
o
]}(),
d
=
Object
(
b
.
a
)(
s
,
2
),
u
=
d
[
0
],
m
=
d
[
1
],
O
=
function
(){
n
(
"/users/getUser"
,{
uid
:
"100001"
},
"userInfo"
).
then
((
function
(
e
){
return
e
.
data
.
uid
&&
(
window
.
location
.
href
=
"/index"
)})).
catch
((
function
(
e
){
return
70001
===
e
.
code
&&
r
(
!
0
)}))},
A
=
function
(){
l
?
n
(
"/users/login"
,{
uid
:
"100001"
}).
then
((
function
(){
O
()})):
O
()};
return
Object
(
c
.
useEffect
)((
function
(){
i
.
userInfo
}),[
i
.
userInfo
]),
Object
(
c
.
useEffect
)((
function
(){
A
()}),[]),
Object
(
g
.
jsx
)(
"div"
,{
className
:
"login"
,
children
:
Object
(
g
.
jsxs
)(
"div"
,{
className
:
"loginDiv"
,
children
:[
l
&&
Object
(
g
.
jsx
)(
"input"
,{
type
:
"text"
,
onChange
:
function
(
e
){
return
m
(
"uid"
,
e
.
target
.
value
)},
defaultValue
:
u
.
uid
}),
Object
(
g
.
jsx
)(
"button"
,{
className
:
"btn-login"
,
onClick
:
function
(){
return
A
()},
children
:
"
\
u767b
\
u5f55"
})]})})},
ae
=
n
(
155
),
oe
=
n
(
26
);
var
le
=
function
(){
return
Object
(
c
.
useEffect
)((
function
(){
console
.
log
(
"%c+"
,
"font-size: 1px;
\n
padding: 122px 217px;
\n
background-image: url(https://yun.duiba.com.cn/spark/assets/cc8da992b527b3cd24da7df9a5be8b2361c2e549.jpg);
\n
background-size: contain;
\n
background-repeat: no-repeat;
\n
color: transparent;"
)}),[]),
Object
(
g
.
jsx
)(
ae
.
a
,{
children
:
Object
(
g
.
jsx
)(
x
,{
children
:
Object
(
g
.
jsxs
)(
oe
.
c
,{
children
:[
Object
(
g
.
jsx
)(
oe
.
a
,{
exact
:
!
0
,
path
:
"/login"
,
component
:
ie
}),
Object
(
g
.
jsx
)(
oe
.
a
,{
exact
:
!
0
,
path
:
"/"
,
component
:
ce
}),
Object
(
g
.
jsx
)(
oe
.
a
,{
exact
:
!
0
,
path
:
"/admin"
,
component
:
te
})]})})})},
re
=
function
(
e
){
e
&&
e
instanceof
Function
&&
n
.
e
(
3
).
then
(
n
.
bind
(
null
,
288
)).
then
((
function
(
t
){
var
n
=
t
.
getCLS
,
c
=
t
.
getFID
,
i
=
t
.
getFCP
,
a
=
t
.
getLCP
,
o
=
t
.
getTTFB
;
n
(
e
),
c
(
e
),
i
(
e
),
a
(
e
),
o
(
e
)}))};
u
.
a
.
locale
(
"zh-cn"
),
o
.
a
.
render
(
Object
(
g
.
jsx
)(
i
.
a
.
StrictMode
,{
children
:
Object
(
g
.
jsx
)(
l
.
a
,{
locale
:
s
.
a
,
children
:
Object
(
g
.
jsx
)(
le
,{})})}),
document
.
getElementById
(
"root"
)),
re
()}},[[
279
,
1
,
2
]]]);
//# sourceMappingURL=main.b9736c6f.chunk.js.map
\ No newline at end of file
build/static/js/main.b9736c6f.chunk.js.map
0 → 100644
View file @
4a97e111
{"version":3,"sources":["dataCenter/reducer.js","config/apiConfig.js","dataCenter/action.js","dataCenter/Root.jsx","static/logo.png","component/ToolType/ToolType.jsx","static/notFollow.png","static/followed.png","static/setting.svg","static/trash.svg","static/dragIcon.svg","modal/ToolModal.jsx","component/ContentAdmin/ContentItemAdmin.jsx","component/Content/ContentItem.jsx","component/ContentAdmin/Content.jsx","modal/PublishModal.jsx","modal/TypeModal.jsx","modal/PageModal.jsx","modal/RemoveType.jsx","component/AdminIndex/AdminIndex.jsx","page/indexAdmin/index.jsx","component/Content/Content.jsx","page/index/index.jsx","page/login/login.jsx","utils/hook.js","App.js","reportWebVitals.js","index.js"],"names":["initDataCenter","toolBox","type","childType","userInfo","needUpdateIndex","type_id","child_type_id","deepFreeze","obj","Object","getOwnPropertyNames","forEach","name","prop","freeze","dataReducer","state","action","console","table","assign","data","apiConfig","domain","CHANGE_TYPE","Root","createContext","PopContext","DataCenter","props","useReducer","dataCenter","dispatch","Provider","value","fetchData","path","requestData","dataName","fetch","paramsStr","keys","map","v","i","join","log","generateUrl","credentials","then","res","json","success","catch","e","error","children","ChildTypeItem","useContext","child_type_name","classNameArr","push","className","onClick","CHANGE_CHILD_TYPE","ToolType","length","type_name","Option","Select","ToolModal","visible","onCancel","Form","useForm","form","useEffect","title","okText","cancelText","onOk","validateFields","values","input","toolbox_name","toolbox_icon","icon","toolbox_desc","depict","toolbox_url","url","message","onCreate","info","labelCol","span","wrapperCol","initialValues","Item","label","rules","required","placeholder","onChange","setFieldsValue","allowClear","ContentItemAdmin","useState","setVisible","showPop","follow","toolbox_id","itemIcon","setItemIcon","jumpUrl","window","location","href","src","dragIcon","alt","setting","trash","deleteItem","onError","followed","notFollow","ContentItem","isFollow","setIsFollow","includes","_follow","slice","index","indexOf","splice","JSON","stringify","uid","Content","filter","PublishModal","code","setcode","page_name","setPageName","oldCode","method","headers","body","page_id","response","width","defaultValue","target","editor","options","styleActiveLine","lineNumbers","theme","tabSize","keyMap","mode","smartIndent","lineWrapping","autofocus","TypeModal","Tabs","TabPane","queryData","React","setValue","isRemove","modifier","Group","hasFeedback","PageModal","onPublish","publish","setPublish","pageData","setpageData","columns","dataIndex","align","render","text","record","size","pageUrl","key","dataSource","queryPage","pagination","pageSize","RemoveType","typeModal","setTypeModal","typeData","settypeData","oldData","setoldData","changeData","list","cb","item","newData","onConfirm","AdminIndex","pageModal","setpageModal","removeType","setremoveType","Index","pop","setPop","_typeId","hidePop","popName","uname","logo","height","frameBorder","scrolling","hspace","Login","needLogin","setNeedLogin","setInput","setInputData","useCallback","useFormState","getUser","doLogin","App","exact","component","IndexAdmin","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","moment","locale","ReactDOM","StrictMode","zhCN","document","getElementById"],"mappings":"wfAAMA,EAAiB,CACnBC,QAAS,KACTC,KAAM,KACNC,UAAW,KACXC,SAAU,KACVC,iBAAiB,EACjBC,QAAS,SACTC,cAAe,QAQnB,SAASC,EAAWC,GAchB,OAZgBC,OAAOC,oBAAoBF,GAGjCG,SAAQ,SAAUC,GACxB,IAAIC,EAAOL,EAAII,GAGI,iBAARC,GAA6B,OAATA,GA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AOjO,KAAK,OAAOsG,SAAU,SAAAjD,GAAC,OAAI8K,EAAS,MAAM9K,EAAEoG,OAAOxH,QAAQuH,aAActE,EAAMuD,MAExG,wBAAQ5E,UAAU,YAAYC,QAAS,kBAAM0K,KAA7C,gC,mBEVDC,OAvBf,WAUI,OATA9J,qBAAU,WACN1D,QAAQ4B,IAAI,MAAZ,iPAOD,IAEC,cAAC,KAAD,UACI,cAAC,EAAD,UACI,eAAC,KAAD,WACI,cAAC,KAAD,CAAO6L,OAAK,EAACvM,KAAK,SAASwM,UAAWX,KACtC,cAAC,KAAD,CAAOU,OAAK,EAACvM,KAAK,IAAIwM,UAAWvB,KACjC,cAAC,KAAD,CAAOsB,OAAK,EAACvM,KAAK,SAASwM,UAAWC,aCZ3CC,GAZS,SAAAC,GAClBA,GAAeA,aAAuBC,UACxC,8BAAqB/L,MAAK,YAAkD,IAA/CgM,EAA8C,EAA9CA,OAAQC,EAAsC,EAAtCA,OAAQC,EAA8B,EAA9BA,OAAQC,EAAsB,EAAtBA,OAAQC,EAAc,EAAdA,QAC3DJ,EAAOF,GACPG,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAQN,OCKdO,IAAOC,OAAO,SACdC,IAAS/D,OACL,cAAC,IAAMgE,WAAP,UACI,cAAC,IAAD,CAAgBF,OAAQG,IAAxB,SACI,cAAC,GAAD,QAGRC,SAASC,eAAe,SAM5Bd,O","file":"static/js/main.b9736c6f.chunk.js","sourcesContent":["const initDataCenter = {\r\n toolBox: null,\r\n type: null,\r\n childType: null,\r\n userInfo: null,\r\n needUpdateIndex: false,\r\n type_id: 'follow',\r\n child_type_id: 'all'\r\n}\r\n\r\n/**\r\n * deepFreeze()\r\n * @param obj\r\n * @returns {unknown[]}\r\n */\r\nfunction deepFreeze(obj) {\r\n // 取回定义在obj上的属性名\r\n let propNames = Object.getOwnPropertyNames(obj);\r\n\r\n // 在冻结自身之前冻结属性\r\n propNames.forEach(function (name) {\r\n let prop = obj[name];\r\n\r\n // 如果prop是个对象,冻结它\r\n if (typeof prop == 'object' && prop !== null)\r\n deepFreeze(prop);\r\n });\r\n\r\n // 冻结自身(no-op if already frozen)\r\n return Object.freeze(obj);\r\n}\r\n\r\n//任何修改原始对象的操作都是禁止的!\r\ndeepFreeze(initDataCenter)\r\n\r\nconst dataReducer = (state, action) => {\r\n // console.log(action)\r\n console.table(action,['dataCenter的dispatch'])\r\n switch (action.type) {\r\n case 'UPDATE_DATA':\r\n return Object.assign({}, state, {\r\n ...action.data\r\n })\r\n case 'NEED_UPDATE_INDEX':\r\n return Object.assign({}, state, {needUpdateIndex: !state.needUpdateIndex})\r\n case 'CHANGE_TYPE':\r\n return Object.assign({}, state, {type_id: action.type_id})\r\n case 'CHANGE_CHILD_TYPE':\r\n return Object.assign({}, state, {child_type_id: action.child_type_id})\r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport {\r\n initDataCenter,\r\n dataReducer,\r\n}\r\n","const apiConfig = {\r\n // domain: 'http://' + window.location.hostname + ':3000',\r\n domain: 'http://127.0.0.1:3001',\r\n}\r\n\r\nexport default apiConfig\r\n","const UPDATE_DATA = data => ({type: 'UPDATE_DATA', data: {...data}})\r\nconst NEED_UPDATE_INDEX = () => ({type: 'NEED_UPDATE_INDEX'})\r\nconst CHANGE_TYPE = type_id => ({type: 'CHANGE_TYPE', type_id: type_id})\r\nconst CHANGE_CHILD_TYPE = child_type_id => ({type: 'CHANGE_CHILD_TYPE', child_type_id: child_type_id})\r\n\r\nexport {\r\n UPDATE_DATA,\r\n NEED_UPDATE_INDEX,\r\n CHANGE_TYPE,\r\n CHANGE_CHILD_TYPE\r\n}\r\n","import React, {createContext, useReducer} from \"react\";\r\nimport {dataReducer, initDataCenter} from \"./reducer\";\r\nimport apiConfig from \"../config/apiConfig\";\r\nimport {UPDATE_DATA} from \"./action\";\r\n\r\nconst Root = createContext({})\r\nconst PopContext = createContext({})\r\n\r\nfunction DataCenter(props) {\r\n const [dataCenter, dispatch] = useReducer(dataReducer, initDataCenter, () => {\r\n return initDataCenter\r\n })\r\n\r\n const generateUrl = (path, requestData) => {\r\n if (requestData) {\r\n const keyArr = Object.keys(requestData)\r\n const paramsStr = keyArr.map((v, i) => {\r\n if (i === 0) {\r\n return '?' + v + '=' + requestData[v]\r\n } else {\r\n return '&' + v + '=' + requestData[v]\r\n }\r\n }).join('')\r\n console.log('发送请求:', apiConfig.domain + path + paramsStr)\r\n return apiConfig.domain + path + paramsStr\r\n }\r\n return apiConfig.domain + path\r\n }\r\n\r\n const fetchData = (path, requestData, dataName) =>\r\n fetch(generateUrl(path, requestData), {credentials: 'include'})\r\n .then(res => res.json())\r\n .then(res => {\r\n console.log(res);\r\n if (res.success) {\r\n !!dataName && dispatch(UPDATE_DATA({[dataName]: res.data}))\r\n } else {\r\n throw res\r\n }\r\n return res\r\n })\r\n .catch(e => {\r\n console.error(e)\r\n throw e\r\n })\r\n\r\n\r\n return (\r\n <Root.Provider value={{dataCenter, dispatch, fetchData}}>\r\n {\r\n props.children\r\n }\r\n </Root.Provider>\r\n )\r\n}\r\n\r\nexport {\r\n Root,\r\n PopContext,\r\n}\r\nexport default DataCenter\r\n\r\n","export default __webpack_public_path__ + \"static/media/logo.c725c5d1.png\";","import './ToolType.scss'\r\nimport {useContext} from \"react\";\r\nimport {Root} from \"../../dataCenter/Root\";\r\nimport {CHANGE_CHILD_TYPE, CHANGE_TYPE} from \"../../dataCenter/action\";\r\n\r\nconst ChildTypeItem = props => {\r\n const {dataCenter, dispatch} = useContext(Root)\r\n const {child_type_id, child_type_name} = props\r\n const classNameArr = ['child-type-item']\r\n if (child_type_id === dataCenter.child_type_id) {\r\n classNameArr.push('child-type-item-selected')\r\n }\r\n const handleClick = () => {\r\n console.log(child_type_id)\r\n dispatch(CHANGE_CHILD_TYPE(child_type_id))\r\n }\r\n return (\r\n <div className={classNameArr.join(' ')} onClick={handleClick}>{child_type_name}</div>\r\n )\r\n}\r\n\r\n\r\nfunction ToolType(props) {\r\n const {dataCenter, dispatch} = useContext(Root)\r\n return (\r\n <>\r\n <div className=\"tab-tool-type\">\r\n <div className={dataCenter.type_id === 'follow' ? 'item-tool-type item-tool-type-selected' : 'item-tool-type'}\r\n onClick={() => dispatch(CHANGE_TYPE('follow'))}>我的收藏\r\n </div>\r\n {\r\n dataCenter?.type?.length > 0 && dataCenter.type.map(v => {\r\n const classNameArr = ['item-tool-type ']\r\n if (v[\"type_id\"] === dataCenter.type_id) classNameArr.push('item-tool-type-selected')\r\n return (\r\n <div key={v[\"type_id\"]} className={classNameArr.join('')}\r\n onClick={() => dispatch(CHANGE_TYPE( v[\"type_id\"]))}>{v.type_name}</div>\r\n )\r\n })\r\n }\r\n </div>\r\n <div className=\"child-type\">\r\n <ChildTypeItem key={'all'} child_type_id={'all'} child_type_name={'全部'}/>\r\n {\r\n dataCenter?.childType?.length > 0 && dataCenter?.childType.map(v => {\r\n return (\r\n <ChildTypeItem key={v.child_type_id} child_type_id={v.child_type_id}\r\n child_type_name={v.child_type_name}/>\r\n )\r\n })\r\n }\r\n </div>\r\n </>\r\n )\r\n}\r\n\r\nexport default ToolType\r\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOUAAADICAYAAAAX+yb+AAAAAXNSR0IArs4c6QAAHypJREFUeF7tXQuUZEWRjXg1Q6OIIossLrgIDsN0ZWR14/CRjyvoqIAgoOCigiIqHFFRQUSQ9QMqoKKy4gcU+YkujvIT0eWjqCiItsxU5queBtQBUVRQ1AERpuvFnsQathmmu94n8tWrqsxz+syc0xk3Im6+2/k+mZEIoQUGAgOVYgArFU0IJjAQGIAgynARBAYqxkAQZcUGJIQTGAiiDNdAYKBiDARRVmxAQjiBgSDKcA0EBirGwFCJcmxsbPPp6eltEXEhIm6bJIn7/5NmGxNmvi+KoruZ+bfup1arPfr/hx566Ld33HHHwxUby0qFs2DBgqeuv/76myPi5u12e4soijYHAPezBQBsOEewf2Lm26Mouq3dbt8+b96825rN5h8rlZznYAZWlES0CwC82ImPmbcFgIUA8B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U5ErkJggg==\"","export default __webpack_public_path__ + \"static/media/setting.6a716d85.svg\";","export default __webpack_public_path__ + \"static/media/trash.780a90e8.svg\";","export default __webpack_public_path__ + \"static/media/dragIcon.268403b1.svg\";","import React, { useState, useEffect, useContext } from 'react';\r\nimport { Root } from \"../dataCenter/Root\";\r\nimport { Button, Modal, Form, Input, Radio, Select, message } from 'antd';\r\nimport { NEED_UPDATE_INDEX } from \"../dataCenter/action\";\r\nconst { Option } = Select;\r\nconst ToolModal = ({ visible, onCancel, data }) => {\r\n const [form] = Form.useForm();\r\n const { fetchData, dataCenter, dispatch } = useContext(Root)\r\n const formItemLayout = {\r\n labelCol: { span: 4 },\r\n wrapperCol: { span: 18 },\r\n };\r\n const onCreate = (values) => {\r\n let input = {\r\n toolbox_name: values.name,\r\n toolbox_icon: values.icon,\r\n toolbox_desc: values.depict,\r\n toolbox_url: values.url,\r\n\r\n }\r\n if (!data) {\r\n input = {\r\n ...input,\r\n type_id: values.type,\r\n child_type_id: values.childType\r\n }\r\n console.log(input);\r\n fetchData('/add/addToolBox', input)\r\n .then((res) => {\r\n if (res.success) {\r\n message.success('新建成功')\r\n dispatch(NEED_UPDATE_INDEX())\r\n onCancel()\r\n } else {\r\n message.error('新建失败')\r\n }\r\n })\r\n\r\n } else {\r\n fetchData('/update/updateToolBox', input)\r\n .then((res) => {\r\n if (res.success) {\r\n message.success('修改成功')\r\n dispatch(NEED_UPDATE_INDEX())\r\n onCancel()\r\n } else {\r\n message.error('新建失败')\r\n }\r\n })\r\n }\r\n };\r\n\r\n const onGenderChange = (value) => {\r\n form.setFieldsValue({\r\n type: value,\r\n });\r\n fetchData('/query/queryChildType', { type_id: value }, 'childType')\r\n .then((res) => {\r\n\r\n console.log(res);\r\n })\r\n console.log(dataCenter);\r\n };\r\n const onChildGenderChange = (value) => {\r\n form.setFieldsValue({\r\n childType: value,\r\n });\r\n };\r\n\r\n useEffect(() => {\r\n dataCenter?.type && fetchData('/query/queryChildType', { type_id: dataCenter?.type[0]?.type_id }, 'childType')\r\n .then((res) => {\r\n\r\n console.log(res);\r\n })\r\n }, [])\r\n\r\n return (\r\n <Modal\r\n visible={visible}\r\n title={data ? '修改工具箱' : '新建工具箱'}\r\n okText=\"确定\"\r\n cancelText=\"取消\"\r\n onCancel={onCancel}\r\n onOk={() => {\r\n form\r\n .validateFields()\r\n .then((values) => {\r\n // form.resetFields();\r\n onCreate(values);\r\n })\r\n .catch((info) => {\r\n console.log('Validate Failed:', info);\r\n });\r\n }}\r\n >\r\n <Form\r\n form={form}\r\n // layout=\"vertical\"\r\n {...formItemLayout}\r\n name=\"form_in_modal\"\r\n initialValues={data ? {\r\n name: data.toolbox_name,\r\n icon: data.toolbox_icon,\r\n url: data.toolbox_url,\r\n depict: data.toolbox_desc,\r\n } : { type: dataCenter?.type && dataCenter?.type[0]?.type_id }}\r\n >\r\n <Form.Item\r\n name=\"name\"\r\n label=\"名称\"\r\n rules={[\r\n {\r\n required: true,\r\n message: '请输入名称!',\r\n },\r\n ]}\r\n >\r\n <Input placeholder=\"请输入名称\" />\r\n </Form.Item>\r\n <Form.Item name=\"icon\"\r\n label=\"图标\"\r\n rules={[\r\n {\r\n required: true,\r\n message: '请输入图标url!',\r\n },\r\n ]}\r\n >\r\n <Input placeholder=\"请输入图标url\" />\r\n </Form.Item>\r\n <Form.Item\r\n name=\"depict\"\r\n label=\"描述\"\r\n rules={[\r\n {\r\n required: true,\r\n message: '请输入描述!',\r\n },\r\n ]}\r\n >\r\n <Input placeholder=\"请输入描述\" />\r\n </Form.Item>\r\n <Form.Item\r\n name=\"url\"\r\n label=\"链接\"\r\n rules={[\r\n {\r\n required: true,\r\n message: '请输入链接!',\r\n },\r\n ]}\r\n >\r\n <Input placeholder=\"请输入链接\" />\r\n </Form.Item>\r\n {!data && <Form.Item\r\n name=\"type\"\r\n label=\"类型\"\r\n rules={[\r\n {\r\n required: true,\r\n message: '请选择类型!',\r\n },\r\n ]}\r\n >\r\n <Select\r\n placeholder=\"请选择类型\"\r\n onChange={onGenderChange}\r\n // allowClear\r\n >\r\n {\r\n dataCenter?.type?.length && dataCenter?.type.map(v => {\r\n return (\r\n <Option key={v.type_id} value={v.type_id}>{v.type_name}</Option>\r\n )\r\n })\r\n }\r\n\r\n </Select>\r\n </Form.Item>}\r\n {!data && dataCenter?.childType && <Form.Item\r\n name=\"childType\"\r\n label=\"子类型\"\r\n >\r\n <Select\r\n placeholder=\"请选择子类型\"\r\n onChange={onChildGenderChange}\r\n allowClear\r\n >\r\n {\r\n dataCenter?.childType?.length && dataCenter?.childType.map(v => {\r\n return (\r\n <Option key={v.child_type_id} value={v.child_type_id}>{v.child_type_name}</Option>\r\n )\r\n })\r\n }\r\n\r\n </Select>\r\n </Form.Item>}\r\n </Form>\r\n </Modal>\r\n );\r\n};\r\nexport default ToolModal\r\n","import './ContentItem.scss'\r\nimport notFollow from '../../static/notFollow.png'\r\nimport followed from '../../static/followed.png'\r\nimport setting from '../../static/setting.svg'\r\nimport trash from '../../static/trash.svg'\r\nimport dragIcon from '../../static/dragIcon.svg'\r\nimport {useContext, useState} from \"react\";\r\nimport {PopContext, Root} from \"../../dataCenter/Root\";\r\nimport ToolModal from \"../../modal/ToolModal\"\r\n\r\nfunction ContentItemAdmin(props) {\r\n const [visible, setVisible] = useState(false)\r\n\r\n const {fetchData} = useContext(Root)\r\n const {showPop} = useContext(PopContext)\r\n\r\n const {toolbox_icon, toolbox_name, toolbox_desc, toolbox_url, follow, toolbox_id} = props.value\r\n\r\n const [itemIcon, setItemIcon] = useState(toolbox_icon)\r\n\r\n const jumpUrl = url => {\r\n window.location.href = url\r\n }\r\n const deleteItem = toolbox_id => {\r\n fetchData('/delete/deleteToolBoxById', {toolbox_id})\r\n }\r\n\r\n return (\r\n <div className=\"content-item\">\r\n <div className=\"content-adminTool\">\r\n <img src={dragIcon} alt=\"\"/>\r\n <img src={setting} alt=\"\" onClick={() => setVisible(true)}/>\r\n <img src={trash} alt=\"\" onClick={() => deleteItem(toolbox_id)}/>\r\n </div>\r\n <div className=\"item-icon\" onClick={() => jumpUrl(toolbox_url)}>\r\n {\r\n !itemIcon && <div className=\"defaultIcon\">{toolbox_name[0]}</div>\r\n }\r\n {\r\n itemIcon && <img src={itemIcon} alt='' onError={e => setItemIcon(null)}/>\r\n }\r\n </div>\r\n <div className=\"item-name\" onClick={() => jumpUrl(toolbox_url)}>{toolbox_name}</div>\r\n <div className=\"item-desc\">{toolbox_desc}</div>\r\n <a className='item-url' href={toolbox_url}>{toolbox_url}</a>\r\n <div className=\"follow\">\r\n <img className='icon-follow' src={follow ? followed : notFollow} alt=\"\"/>\r\n 收藏\r\n </div>\r\n {visible && <ToolModal\r\n visible={visible}\r\n onCancel={() =>\r\n setVisible(false)\r\n }\r\n data={props.value}\r\n />}\r\n </div>\r\n\r\n )\r\n}\r\n\r\nexport default ContentItemAdmin\r\n","import './ContentItem.scss'\r\nimport notFollow from '../../static/notFollow.png'\r\nimport followed from '../../static/followed.png'\r\nimport {useContext, useEffect, useState} from \"react\";\r\nimport {Root} from \"../../dataCenter/Root\";\r\n\r\nfunction ContentItem(props) {\r\n const {dataCenter, fetchData} = useContext(Root)\r\n const {toolbox_icon, toolbox_name, toolbox_desc, toolbox_url, toolbox_id} = props.value\r\n const [isFollow, setIsFollow] = useState(false)\r\n const [itemIcon, setItemIcon] = useState(toolbox_icon)\r\n\r\n const jumpUrl = url => window.location.href = url\r\n\r\n const follow = () => {\r\n const _follow = dataCenter.userInfo.follow.slice()\r\n if (!isFollow) {\r\n _follow.push(toolbox_id)\r\n } else {\r\n const index = _follow.indexOf(toolbox_id)\r\n _follow.splice(index, 1)\r\n }\r\n console.log( {follow: JSON.stringify(_follow), uid: dataCenter.userInfo.uid})\r\n fetchData('/users/follow', {follow: JSON.stringify(_follow), uid: dataCenter.userInfo.uid})\r\n .then(() => fetchData('/users/getUser', {uid: 100001}, 'userInfo'))\r\n }\r\n\r\n useEffect(() => {\r\n if (dataCenter.userInfo?.follow.includes(toolbox_id)) {\r\n setIsFollow(true)\r\n } else {\r\n setIsFollow(false)\r\n }\r\n }, [dataCenter.toolBox, dataCenter.userInfo])\r\n\r\n return (\r\n <div className=\"content-item\">\r\n <div className=\"item-icon\" onClick={() => jumpUrl(toolbox_url)}>\r\n {\r\n !itemIcon && <div className=\"defaultIcon\">{toolbox_name[0]}</div>\r\n }\r\n {\r\n itemIcon && <img src={itemIcon} alt='' onError={e => setItemIcon(null)}/>\r\n }\r\n\r\n </div>\r\n <div className=\"item-name\" onClick={() => jumpUrl(toolbox_url)}>{toolbox_name}</div>\r\n <div className=\"item-desc\">{toolbox_desc}</div>\r\n <a className='item-url' href={toolbox_url}>{toolbox_url}</a>\r\n <div className=\"follow\">\r\n <img className='icon-follow' src={isFollow ? followed : notFollow} alt=\"\" onClick={() => follow()}/>\r\n 收藏\r\n </div>\r\n </div>\r\n )\r\n}\r\n\r\nexport default ContentItem\r\n","import './Content.scss'\r\nimport ContentItemAdmin from \"./ContentItemAdmin\";\r\nimport {useContext} from \"react\";\r\nimport {Root} from \"../../dataCenter/Root\";\r\nimport ContentItem from \"../Content/ContentItem\";\r\n\r\nfunction Content(props) {\r\n const {dataCenter} = useContext(Root)\r\n\r\n return (\r\n <div className=\"content\">\r\n {\r\n dataCenter.toolBox?.length ? dataCenter?.toolBox?.filter(v => {\r\n if (dataCenter.child_type_id === 'all') return true\r\n else return v.child_type_id === dataCenter.child_type_id\r\n }).map(v => {\r\n return (\r\n <ContentItemAdmin key={v['toolbox_id']} value={v}/>\r\n )\r\n })\r\n :\r\n '没有数据了!'\r\n }\r\n </div>\r\n )\r\n}\r\n\r\nexport default Content\r\n","import './PublishModal.scss'\r\nimport React, {useContext, useEffect, useState} from 'react';\r\nimport {Root} from \"../dataCenter/Root\";\r\nimport {UnControlled as CodeMirror} from 'react-codemirror2'\r\nimport {Form, Input, message, Modal, Select} from 'antd';\r\nimport apiConfig from \"../config/apiConfig\";\r\n\r\nimport 'codemirror/addon/display/autorefresh';\r\nimport 'codemirror/addon/comment/comment';\r\nimport 'codemirror/addon/edit/matchbrackets';\r\nimport 'codemirror/keymap/sublime';\r\nimport 'codemirror/theme/eclipse.css';\r\nimport 'codemirror/theme/monokai.css';\r\nimport 'codemirror/lib/codemirror.js';\r\nimport 'codemirror/lib/codemirror.css';\r\nimport 'codemirror/theme/solarized.css'\r\nimport 'codemirror/mode/javascript/javascript'\r\nimport 'codemirror/addon/selection/active-line';\r\nimport 'codemirror/addon/fold/foldgutter.css';\r\n\r\nconst { Option } = Select;\r\n\r\n\r\nconst PublishModal = ({ visible, onCancel, data }) => {\r\n const [code, setcode] = useState('')\r\n const [page_name, setPageName] = useState('')\r\n const [oldCode, setoldCode] = useState('')\r\n const { fetchData, dataCenter } = useContext(Root)\r\n console.log(data);\r\n const onCreate = (values) => {\r\n console.log(code);\r\n\r\n if (!code || !page_name) {\r\n message.error('请补全信息!')\r\n return\r\n }\r\n if (data) {\r\n fetch(`${apiConfig.domain}/page/updatePage`, {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n body: JSON.stringify({\r\n page_id: data.page_id,\r\n page_name: page_name,\r\n code: code\r\n })\r\n })\r\n .then(response => response.json())\r\n .then(data => {\r\n if (data.success) {\r\n onCancel()\r\n message.success('替换成功!')\r\n dataCenter?.type && fetchData('/page/queryPage', {}, 'queryPage')\r\n .then((res) => {\r\n \r\n })\r\n } else {\r\n message.error( '替换失败')\r\n }\r\n });\r\n } else {\r\n fetch(`${apiConfig.domain}/page/addPage`, {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n body: JSON.stringify({\r\n page_name: page_name,\r\n code: code\r\n })\r\n })\r\n .then(response => response.json())\r\n .then(data => {\r\n if (data.success) {\r\n onCancel()\r\n message.success('发布成功!')\r\n dataCenter?.type && fetchData('/page/queryPage', {}, 'queryPage')\r\n .then((res) => {\r\n \r\n })\r\n } else {\r\n message.error(data.error || '发布失败')\r\n }\r\n });\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n data&&setPageName(data.page_name)\r\n }, [data])\r\n\r\n return (\r\n <Modal\r\n visible={visible}\r\n title=\"发布\"\r\n okText=\"发布\"\r\n cancelText=\"取消\"\r\n onCancel={onCancel}\r\n onOk={onCreate}\r\n width='1000px'\r\n >\r\n <Form.Item\r\n name=\"page_name\"\r\n label=\"页面名称\"\r\n rules={[\r\n {\r\n required: true,\r\n message: '请输入页面名称!',\r\n },\r\n ]}\r\n >\r\n <Input placeholder=\"请输入页面名称\" defaultValue={data?.page_name ? data.page_name : page_name} onChange={(e) => { setPageName(e.target.value) }} />\r\n </Form.Item>\r\n <Form.Item\r\n name=\"type\"\r\n label=\"布局代码\"\r\n rules={[\r\n {\r\n required: true,\r\n message: '请输入页面名称!',\r\n },\r\n ]}\r\n >\r\n <div className='codeMain'>\r\n <CodeMirror\r\n onChange={(editor, data, value) => {\r\n setcode(value)\r\n }}\r\n value={oldCode}\r\n options={{\r\n styleActiveLine: true,//光标代码高亮\r\n lineNumbers: true,\r\n theme: 'monokai',\r\n tabSize: 2,\r\n keyMap: 'sublime',\r\n mode: 'text/javascript',\r\n smartIndent: true, //自动缩进\r\n lineWrapping: true,\r\n autofocus: true\r\n }}\r\n />\r\n </div>\r\n </Form.Item>\r\n </Modal>\r\n );\r\n};\r\nexport default PublishModal\r\n","import React from 'react';\r\nimport { Button, Modal, Form, Input, Radio, Select, message, Tabs } from 'antd';\r\nimport { useContext, useEffect, useState } from \"react\";\r\nimport { Root } from \"../dataCenter/Root\";\r\nimport { NEED_UPDATE_INDEX } from \"../dataCenter/action\";\r\nconst { Option } = Select;\r\nconst { TabPane } = Tabs;\r\nconst TypeModal = ({ visible, onCancel, queryData, data }) => {\r\n console.log(data);\r\n const [form] = Form.useForm();\r\n if (data) {\r\n form.setFieldsValue({\r\n type_name: data.type_name,\r\n });\r\n }\r\n const formItemLayout = {\r\n labelCol: { span: 4 },\r\n wrapperCol: { span: 18 },\r\n };\r\n\r\n const { fetchData, dataCenter, dispatch } = useContext(Root)\r\n const [value, setValue] = React.useState(1);\r\n\r\n\r\n const onCreate = (values) => {\r\n if (data) {\r\n console.log(data);\r\n\r\n let input = {\r\n type_id: '',\r\n type_name: ''\r\n }\r\n if (!data.isRemove) {\r\n input = {\r\n type_id: data.type_id,\r\n type_name: values.type_name\r\n }\r\n } else {\r\n input = {\r\n child_type_id: data.type_id,\r\n child_type_name: values.type_name\r\n }\r\n }\r\n fetchData('/typeManage/updateType', input)\r\n .then((res) => {\r\n if (res.success) {\r\n message.success('修改成功')\r\n dispatch(NEED_UPDATE_INDEX())\r\n queryData()\r\n onCancel()\r\n }\r\n })\r\n } else {\r\n console.log(values);\r\n fetchData('/add/addType', values)\r\n .then((res) => {\r\n if (res.success) {\r\n message.success('新建成功')\r\n dispatch(NEED_UPDATE_INDEX())\r\n onCancel()\r\n }\r\n })\r\n }\r\n\r\n };\r\n // function callback(key) {\r\n // console.log(key);\r\n // }\r\n\r\n const onChange = e => {\r\n console.log('radio checked', e.target.value);\r\n setValue(e.target.value);\r\n };\r\n\r\n const onGenderChange = (value) => {\r\n form.setFieldsValue({\r\n type_id: value,\r\n });\r\n };\r\n\r\n return (\r\n <Modal\r\n visible={visible}\r\n title={`${data ? '修改' : '新建'}类型`}\r\n okText=\"确定\"\r\n cancelText=\"取消\"\r\n onCancel={onCancel}\r\n onOk={() => {\r\n form\r\n .validateFields()\r\n .then((values) => {\r\n // form.resetFields();\r\n onCreate(values);\r\n })\r\n .catch((info) => {\r\n console.log('Validate Failed:', info);\r\n });\r\n }}\r\n >\r\n <Form\r\n form={form}\r\n // layout=\"vertical\"\r\n {...formItemLayout}\r\n name=\"form_in_modal\"\r\n initialValues={{\r\n modifier: 'public',\r\n 'radio-group': 1\r\n }}\r\n >\r\n\r\n {!data && <Form.Item name=\"radio-group\" label=\"类型\">\r\n <Radio.Group onChange={onChange} value={value}>\r\n <Radio value={1}>父类型</Radio>\r\n <Radio value={2}>子类型</Radio>\r\n </Radio.Group>\r\n </Form.Item>}\r\n {value === 1 || data ? <Form.Item\r\n name=\"type_name\"\r\n label={`${data ? '' : '父'}类型`}\r\n rules={[\r\n {\r\n required: true,\r\n message: '请输入类型名称!',\r\n },\r\n ]}\r\n >\r\n <Input placeholder=\"请输入类型名称\" />\r\n </Form.Item> :\r\n <>\r\n <Form.Item\r\n name=\"type_id\"\r\n label=\"父类型\"\r\n hasFeedback\r\n rules={[{ required: true, message: '请选择父类型!' }]}\r\n >\r\n <Select\r\n placeholder=\"请选择父类型\"\r\n onChange={onGenderChange}\r\n // allowClear\r\n >\r\n {\r\n dataCenter?.type?.length && dataCenter?.type.map(v => {\r\n return (\r\n <Option key={v.type_id} value={v.type_id}>{v.type_name}</Option>\r\n )\r\n })\r\n }\r\n\r\n </Select>\r\n </Form.Item>\r\n <Form.Item\r\n name=\"child_type_name\"\r\n label=\"子类型\"\r\n rules={[\r\n {\r\n required: true,\r\n message: '请输入类型名称!',\r\n },\r\n ]}\r\n >\r\n <Input placeholder=\"请输入类型名称\" />\r\n </Form.Item>\r\n </>\r\n\r\n }\r\n </Form>\r\n </Modal>\r\n );\r\n};\r\nexport default TypeModal\r\n","import React, {useContext, useEffect, useState} from 'react';\r\nimport {Root} from \"../dataCenter/Root\";\r\nimport {Modal, Space, Table} from 'antd';\r\nimport PublishModal from \"./PublishModal\"\r\n\r\nfunction PageModal({ visible, onCancel, onPublish }) {\r\n\r\n const [publish, setPublish] = useState(false)\r\n const [pageData, setpageData] = useState('')\r\n const { fetchData, dataCenter } = useContext(Root)\r\n\r\n const onChangePage = (values) => {\r\n console.log(values);\r\n setpageData(values);\r\n setPublish(true)\r\n };\r\n const onRemovePage = (values) => {\r\n console.log(values);\r\n // setVisible(false);\r\n };\r\n\r\n\r\n\r\n const columns = [\r\n {\r\n title: '页面Id',\r\n dataIndex: 'page_id',\r\n width: 150,\r\n align: 'center'\r\n },\r\n {\r\n title: '页面名称',\r\n dataIndex: 'page_name',\r\n width: 200,\r\n align: 'center'\r\n },\r\n {\r\n title: '页面Url',\r\n dataIndex: 'pageUrl',\r\n width: 300,\r\n align: 'center',\r\n render: (text, record) => (\r\n <Space size=\"middle\">\r\n <a href={record.pageUrl}>{record.pageUrl}</a>\r\n </Space>\r\n ),\r\n },\r\n {\r\n title: '操作',\r\n key: 'action',\r\n align: 'center',\r\n width: 100,\r\n render: (text, record) => (\r\n <Space size=\"middle\">\r\n <a onClick={() => onChangePage(record)}>替换</a>\r\n {/* <a onClick={() => onRemovePage(record)}>删除</a> */}\r\n </Space>\r\n ),\r\n },\r\n ];\r\n\r\n\r\n useEffect(() => {\r\n console.log(dataCenter);\r\n dataCenter?.type && fetchData('/page/queryPage', {}, 'queryPage')\r\n .then((res) => {\r\n })\r\n }, [])\r\n\r\n\r\n const data = [\r\n {\r\n key: '1',\r\n name: '1 Brown',\r\n age: 32,\r\n address: 'New York No. 1 Lake Park',\r\n },\r\n {\r\n key: '2',\r\n name: '2 Green',\r\n age: 42,\r\n address: 'London No. 1 Lake Park',\r\n },\r\n {\r\n key: '3',\r\n name: '3 Black',\r\n age: 32,\r\n address: 'Sidney No. 1 Lake Park',\r\n },\r\n {\r\n key: '4',\r\n name: '4 Brown',\r\n age: 32,\r\n address: 'New York No. 1 Lake Park',\r\n },\r\n {\r\n key: '5',\r\n name: '5 Green',\r\n age: 42,\r\n address: 'London No. 1 Lake Park',\r\n },\r\n {\r\n key: '6',\r\n name: '6 Black',\r\n age: 32,\r\n address: 'Sidney No. 1 Lake Park',\r\n },\r\n {\r\n key: '7',\r\n name: '7 Brown',\r\n age: 32,\r\n address: 'New York No. 1 Lake Park',\r\n },\r\n {\r\n key: '8',\r\n name: '8 Green',\r\n age: 42,\r\n address: 'London No. 1 Lake Park',\r\n },\r\n {\r\n key: '9',\r\n name: '9 Black',\r\n age: 32,\r\n address: 'Sidney No. 1 Lake Park',\r\n },\r\n {\r\n key: '10',\r\n name: '10 Brown',\r\n age: 32,\r\n address: 'New York No. 1 Lake Park',\r\n },\r\n {\r\n key: '11',\r\n name: '11 Green',\r\n age: 42,\r\n address: 'London No. 1 Lake Park',\r\n },\r\n {\r\n key: '12',\r\n name: '12 Black',\r\n age: 32,\r\n address: 'Sidney No. 1 Lake Park',\r\n },\r\n ];\r\n return (\r\n <>\r\n <Modal\r\n visible={visible}\r\n title=\"页面管理\"\r\n okText=\"确定\"\r\n cancelText=\"取消\"\r\n width='1000px'\r\n onCancel={onCancel}\r\n onOk={onCancel}\r\n >\r\n <Table columns={columns} dataSource={dataCenter?.queryPage && dataCenter.queryPage} pagination={{ pageSize: 10 }} size=\"middle\" />\r\n </Modal>\r\n {publish && <PublishModal\r\n visible={publish}\r\n onCancel={() =>\r\n setPublish(false)\r\n }\r\n data={pageData}\r\n />}\r\n </>\r\n )\r\n}\r\n\r\nexport default PageModal\r\n","import { Menu, Modal, Popconfirm, Space, Table, message } from 'antd';\r\nimport React, { useContext, useEffect, useState } from 'react';\r\nimport TypeModal from '../modal/TypeModal'\r\nimport { NEED_UPDATE_INDEX } from \"../dataCenter/action\";\r\nimport { Root } from \"../dataCenter/Root\";\r\n\r\nconst menu = (\r\n <Menu>\r\n <Menu.Item>Action 1</Menu.Item>\r\n <Menu.Item>Action 2</Menu.Item>\r\n </Menu>\r\n);\r\n\r\nfunction RemoveType({ visible, onCancel }) {\r\n\r\n const [typeModal, setTypeModal] = useState(false)\r\n const [typeData, settypeData] = useState('')\r\n const [oldData, setoldData] = useState('')\r\n const { fetchData, dataCenter, dispatch } = useContext(Root)\r\n\r\n const changType = (data) => {\r\n setoldData(data)\r\n setTypeModal(true)\r\n }\r\n\r\n const changeData = (list, cb) => {\r\n return list.map((item, index) => {\r\n const res = cb(item);\r\n if (item.children) res.children = changeData(item.children, item => ({\r\n isRemove: true,\r\n key: item.child_type_id,\r\n type_id: item.child_type_id,\r\n type_name: item.child_type_name,\r\n }));\r\n return res;\r\n })\r\n }\r\n\r\n const removeType = (data) => {\r\n fetchData('/typeManage/deleteChildType', { child_type_id: data.type_id })\r\n .then((res) => {\r\n if (res.success) {\r\n message.success('刪除成功')\r\n dispatch(NEED_UPDATE_INDEX())\r\n queryData()\r\n // onCancel()\r\n }else{\r\n message.error('刪除失败')\r\n }\r\n })\r\n }\r\n\r\n const queryData = () => {\r\n dataCenter?.type && fetchData('/typeManage/queryTypeForManage', {}, 'childTypeData')\r\n .then((res) => {\r\n // console.log(res.data);\r\n const newData = changeData(res.data, item => ({\r\n key: item.type_id,\r\n type_id: item.type_id,\r\n type_name: item.type_name,\r\n }));\r\n // console.log(newData);\r\n settypeData(newData)\r\n })\r\n }\r\n\r\n useEffect(() => {\r\n queryData()\r\n }, [])\r\n\r\n const columns = [\r\n { title: '类型名', width: 100, dataIndex: 'type_name', key: 'type_name' },\r\n { title: 'Id', width: 100, dataIndex: 'type_id', align: 'center', key: 'type_id' },\r\n {\r\n title: '操作', width: 100, key: 'operation', align: 'center',\r\n render: (text, record) => (\r\n <Space size=\"middle\">\r\n {record.isRemove && <Popconfirm title=\"确定删除吗?\" okText=\"确定\" cancelText=\"取消\" onConfirm={() => removeType(record)}>\r\n <a href=\"#\" >删除</a>\r\n </Popconfirm>}\r\n <a href=\"#\" onClick={() => changType(record)}>修改</a>\r\n </Space>\r\n )\r\n },\r\n ];\r\n\r\n return (\r\n <Modal\r\n visible={visible}\r\n title=\"类型管理\"\r\n okText=\"确定\"\r\n cancelText=\"取消\"\r\n width='1000px'\r\n onCancel={onCancel}\r\n onOk={onCancel}\r\n >\r\n <Table\r\n columns={columns}\r\n dataSource={typeData}\r\n />\r\n {typeModal && <TypeModal\r\n visible={typeModal}\r\n onCancel={() =>\r\n setTypeModal(false)\r\n }\r\n queryData={() =>\r\n queryData()\r\n }\r\n data={oldData}\r\n />}\r\n </Modal>\r\n\r\n );\r\n}\r\nexport default RemoveType\r\n","import React, {useState} from 'react'\r\nimport './AdminIndex.scss'\r\nimport {Button} from 'antd';\r\nimport ToolModal from '../../modal/ToolModal'\r\nimport PublishModal from '../../modal/PublishModal'\r\nimport TypeModal from '../../modal/TypeModal'\r\nimport PageModal from '../../modal/PageModal'\r\nimport RemoveType from '../../modal/RemoveType'\r\n\r\nfunction AdminIndex() {\r\n const [visible, setVisible] = useState(false)\r\n const [publish, setPublish] = useState(false)\r\n const [typeModal, setTypeModal] = useState(false)\r\n const [pageModal, setpageModal] = useState(false)\r\n const [removeType, setremoveType] = useState(false)\r\n\r\n return (\r\n <div className='admin'>\r\n <Button onClick={() => setVisible(true)}>新建工具盒</Button>\r\n <Button onClick={() => setTypeModal(true)}>新建类型</Button>\r\n <Button onClick={() => setPublish(true)}>发布</Button>\r\n <Button onClick={() => setpageModal(true)}>页面管理</Button>\r\n <Button onClick={() => setremoveType(true)}>类型管理</Button>\r\n {visible && <ToolModal\r\n visible={visible}\r\n onCancel={() =>\r\n setVisible(false)\r\n }\r\n />}\r\n {publish && <PublishModal\r\n visible={publish}\r\n onCancel={() =>\r\n setPublish(false)\r\n }\r\n />}\r\n {typeModal && <TypeModal\r\n visible={typeModal}\r\n onCancel={() =>\r\n setTypeModal(false)\r\n }\r\n />}\r\n {pageModal && <PageModal\r\n visible={pageModal}\r\n onCancel={() =>\r\n setpageModal(false)\r\n }\r\n />}\r\n {removeType && <RemoveType\r\n visible={removeType}\r\n onCancel={() =>\r\n setremoveType(false)\r\n }\r\n />}\r\n </div>\r\n )\r\n}\r\n\r\nexport default AdminIndex\r\n","import logo from \"../../static/logo.png\";\r\nimport './index.scss'\r\nimport ToolType from \"../../component/ToolType/ToolType\";\r\nimport Content from '../../component/ContentAdmin/Content'\r\nimport {PopContext, Root} from \"../../dataCenter/Root\";\r\nimport {useContext, useEffect, useState} from \"react\";\r\nimport {NEED_UPDATE_INDEX} from \"../../dataCenter/action\";\r\nimport AdminIndex from \"../../component/AdminIndex/AdminIndex\";\r\n\r\nfunction Index() {\r\n const [pop, setPop] = useState()\r\n const {fetchData, dataCenter, dispatch} = useContext(Root)\r\n const showPop = popComponent => {\r\n setPop(popComponent)\r\n }\r\n const getUser = () => {\r\n fetchData('/users/getUser', {uid: '100001'}, 'userInfo')\r\n .catch(res =>\r\n res.code === 70001 && (window.location.href = '/login')\r\n )\r\n }\r\n\r\n useEffect(() => {\r\n fetchData('/query/queryType', {}, 'type')\r\n .then(()=> fetchData('/query/queryChildType',{type_id: dataCenter.type_id},'childType'))\r\n .then(() => dispatch(NEED_UPDATE_INDEX()))\r\n }, [dataCenter.type_id])\r\n\r\n useEffect(() => {\r\n if (dataCenter.needUpdateIndex) {\r\n const _typeId = dataCenter.type_id === 'all' ? {} : dataCenter.type_id === 'follow' ? {\r\n isFollow: true,\r\n type_id: JSON.stringify(dataCenter.userInfo.follow)\r\n } : {type_id: dataCenter.type_id}\r\n fetchData('/query/queryToolBox', _typeId, 'toolBox').then(() => dispatch(NEED_UPDATE_INDEX()))\r\n }\r\n }, [dataCenter.needUpdateIndex])\r\n\r\n useEffect(() => {\r\n getUser()\r\n }, [])\r\n\r\n return (\r\n <PopContext.Provider value={{hidePop: () => setPop(''), showPop: popName => showPop(popName)}}>\r\n <div className=\"index\">\r\n <div className=\"welcome-top\">\r\n <span>欢迎您!\r\n <span className=\"welcome-uname\">{dataCenter?.userInfo?.uname}</span>\r\n <a className=\"login-btn\">退出登录</a>\r\n </span>\r\n </div>\r\n <div className=\"nav\">\r\n <div className=\"nav-title\">\r\n <img src={logo} alt=\"\"/>\r\n </div>\r\n <div className=\"nav-weather\">\r\n <iframe width=\"360\" height=\"40\" frameBorder=\"0\" scrolling=\"no\" hspace=\"0\"\r\n src=\"https://i.tianqi.com/?c=code&a=getcode&id=40&icon=1\"/>\r\n </div>\r\n </div>\r\n <div className=\"tool-nav\">\r\n <ToolType/>\r\n </div>\r\n <div className=\"container\">\r\n <Content/>\r\n </div>\r\n {\r\n pop\r\n }\r\n <div className=\"index-footer\">\r\n 兑吧研发中心·杭州兑吧网络科技游戏公司版权所有\r\n <br/>\r\n 浙ICP备14017299号-1\r\n </div>\r\n <AdminIndex/>\r\n </div>\r\n </PopContext.Provider>\r\n )\r\n}\r\n\r\nexport default Index\r\n\r\n","import './Content.scss'\r\nimport ContentItem from \"./ContentItem\";\r\nimport {useContext} from \"react\";\r\nimport {Root} from \"../../dataCenter/Root\";\r\n\r\nfunction Content(props) {\r\n const {dataCenter} = useContext(Root)\r\n return (\r\n <div className=\"content\">\r\n {\r\n dataCenter.toolBox?.length ? dataCenter?.toolBox?.filter(v => {\r\n if (dataCenter.child_type_id === 'all') return true\r\n else return v.child_type_id === dataCenter.child_type_id\r\n }).map(v => {\r\n return (\r\n <ContentItem key={v['toolbox_id']} value={v}/>\r\n )\r\n })\r\n :\r\n '没有数据了!'\r\n }\r\n </div>\r\n )\r\n}\r\n\r\nexport default Content\r\n","import logo from \"../../static/logo.png\";\r\nimport './index.scss'\r\nimport ToolType from \"../../component/ToolType/ToolType\";\r\nimport Content from \"../../component/Content/Content\";\r\nimport {Root} from \"../../dataCenter/Root\";\r\nimport {useContext, useEffect} from \"react\";\r\nimport {NEED_UPDATE_INDEX} from \"../../dataCenter/action\";\r\n\r\nfunction Index() {\r\n const {fetchData, dataCenter, dispatch} = useContext(Root)\r\n const getUser = () => {\r\n fetchData('/users/getUser', {uid: '100001'}, 'userInfo')\r\n .catch(res =>\r\n res.code === 70001 && (window.location.href = '/login')\r\n )\r\n }\r\n useEffect(() => {\r\n fetchData('/query/queryType', {}, 'type')\r\n .then(() => fetchData('/query/queryChildType', {type_id: dataCenter.type_id}, 'childType'))\r\n .then(() => dispatch(NEED_UPDATE_INDEX()))\r\n }, [dataCenter.type_id])\r\n useEffect(() => {\r\n if (dataCenter.needUpdateIndex) {\r\n const _typeId = dataCenter.type_id === 'follow' ? {\r\n isFollow: true,\r\n type_id: JSON.stringify(dataCenter.userInfo.follow)\r\n } : {type_id: dataCenter.type_id}\r\n fetchData('/query/queryToolBox', _typeId, 'toolBox').then(() => dispatch(NEED_UPDATE_INDEX()))\r\n }\r\n }, [dataCenter.needUpdateIndex])\r\n\r\n useEffect(() => {\r\n getUser()\r\n }, [])\r\n\r\n return (\r\n\r\n <div className=\"index\">\r\n <div className=\"welcome-top\">\r\n <span>欢迎您!\r\n <span className=\"welcome-uname\">{dataCenter?.userInfo?.uname}</span>\r\n <a className=\"login-btn\">退出登录</a>\r\n </span>\r\n </div>\r\n <div className=\"nav\">\r\n <div className=\"nav-title\">\r\n <img src={logo} alt=\"\"/>\r\n </div>\r\n <div className=\"nav-weather\">\r\n <iframe width=\"360\" height=\"40\" frameBorder=\"0\" scrolling=\"no\" hspace=\"0\"\r\n src=\"https://i.tianqi.com/?c=code&a=getcode&id=40&icon=1\"/>\r\n </div>\r\n </div>\r\n <div className=\"tool-nav\">\r\n <ToolType/>\r\n </div>\r\n <div className=\"container\">\r\n <Content/>\r\n </div>\r\n <div className=\"index-footer\">\r\n 兑吧研发中心·杭州兑吧网络科技游戏公司版权所有\r\n <br/>\r\n 浙ICP备14017299号-1\r\n </div>\r\n </div>\r\n )\r\n}\r\n\r\nexport default Index\r\n\r\n","import './login.scss'\r\nimport {useContext, useEffect, useState} from \"react\";\r\nimport {Root} from \"../../dataCenter/Root\";\r\nimport {useFormState} from \"../../utils/hook\";\r\n\r\nfunction Login(props) {\r\n const {fetchData, dataCenter} = useContext(Root)\r\n const [needLogin,setNeedLogin] = useState(false)\r\n const [input, setInput] = useFormState()\r\n const getUser = ()=>{\r\n fetchData('/users/getUser', {uid:'100001'}, 'userInfo')\r\n .then(res => res.data.uid && (window.location.href = '/index'))\r\n .catch(res =>\r\n res.code === 70001 && setNeedLogin(true)\r\n )\r\n }\r\n const doLogin = () => {\r\n if (needLogin){\r\n fetchData('/users/login',{uid: '100001'})\r\n .then(()=>{\r\n getUser()\r\n })\r\n }else {\r\n getUser()\r\n }\r\n }\r\n useEffect(() => {\r\n if (dataCenter.userInfo) {\r\n // window.location.href = '/index'\r\n }\r\n }, [dataCenter.userInfo])\r\n\r\n useEffect(() => {\r\n doLogin()\r\n }, [])\r\n return (\r\n <div className=\"login\">\r\n <div className='loginDiv'>\r\n {\r\n needLogin && <input type=\"text\" onChange={e => setInput('uid',e.target.value)} defaultValue={input.uid}/>\r\n }\r\n <button className='btn-login' onClick={() => doLogin()}>登录</button>\r\n </div>\r\n\r\n </div>\r\n )\r\n}\r\n\r\nexport default Login\r\n","import {useCallback, useState} from \"react\";\r\n\r\nconst useFormState = (initialValues = {}) => {\r\n const [input, setInput] = useState(initialValues)\r\n\r\n const setInputData = useCallback((name, value) => {\r\n setInput(() => Object.assign({}, {...input}, {[name]: value}))\r\n }, [input])\r\n\r\n return [input, setInputData]\r\n}\r\n\r\n\r\nconst useDrag = () => {\r\n\r\n}\r\n\r\n\r\n\r\n//这个hook很有意思,怎么样保存return出去的那个组件的数据呢\r\n// function usePopContainer(props) {\r\n// const dragRef = useRef()\r\n// const [offset, setOffset] = useState({x: 0, y: 0})\r\n// const [draggable, setDraggable] = useState(false)\r\n// const handleMouseDown = e => {\r\n// e.stopPropagation()\r\n// setDraggable(true)\r\n// setOffset({\r\n// x: e.clientX - dragRef.current['getBoundingClientRect']().x,\r\n// y: e.clientY - dragRef.current['getBoundingClientRect']().y\r\n// })\r\n// }\r\n//\r\n// const handleMouseUp = () => setDraggable(false)\r\n// const handleMouseMove = e => {\r\n// if (draggable) {\r\n// dragRef.current.style.transform = `translate(${e.clientX - offset.x}px,${e.clientY - offset.y}px)`\r\n// console.log(dragRef.current.style.transform)\r\n// }\r\n// }\r\n// return {\r\n// PopContainer: props => (\r\n// <div className=\"drag-Container\"\r\n// onMouseUp={() => handleMouseUp()}\r\n// onMouseMove={(e) => handleMouseMove(e)}>\r\n// <div className=\"Pop-container\"\r\n// ref={dragRef}\r\n// >\r\n// {props.children}\r\n// </div>\r\n// </div>\r\n// ),\r\n// dragMouseDown: e => handleMouseDown(e)\r\n// }\r\n// }\r\n\r\nexport {\r\n useFormState,\r\n useDrag,\r\n}\r\n","import './App.css';\r\nimport DataCenter from \"./dataCenter/Root\";\r\nimport IndexAdmin from \"./page/indexAdmin\";\r\nimport Index from \"./page/index\";\r\nimport Login from \"./page/login/login\";\r\nimport {HashRouter as Router, Route, Switch} from \"react-router-dom\";\r\nimport {useEffect} from \"react\";\r\n\r\nfunction App() {\r\n useEffect(() => {\r\n console.log(\"%c+\",\r\n `font-size: 1px;\r\n padding: 122px 217px;\r\n background-image: url(https://yun.duiba.com.cn/spark/assets/cc8da992b527b3cd24da7df9a5be8b2361c2e549.jpg);\r\n background-size: contain;\r\n background-repeat: no-repeat;\r\n color: transparent;`);\r\n }, [])\r\n return (\r\n <Router>\r\n <DataCenter>\r\n <Switch>\r\n <Route exact path='/login' component={Login}/>\r\n <Route exact path='/' component={Index}/>\r\n <Route exact path='/admin' component={IndexAdmin}/>\r\n </Switch>\r\n </DataCenter>\r\n </Router>\r\n );\r\n}\r\n\r\nexport default App;\r\n","const reportWebVitals = onPerfEntry => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport {ConfigProvider} from 'antd';\r\n// 由于 antd 组件的默认文案是英文,所以需要修改为中文\r\nimport zhCN from 'antd/lib/locale/zh_CN';\r\nimport moment from 'moment';\r\nimport 'moment/locale/zh-cn';\r\nimport 'antd/dist/antd.css';\r\nimport './index.css';\r\nimport App from './App';\r\nimport reportWebVitals from './reportWebVitals';\r\n\r\nmoment.locale('zh-cn');\r\nReactDOM.render(\r\n <React.StrictMode>\r\n <ConfigProvider locale={zhCN}>\r\n <App />\r\n </ConfigProvider>\r\n </React.StrictMode>,\r\n document.getElementById('root')\r\n);\r\n\r\n// If you want to start measuring performance in your app, pass a function\r\n// to log results (for example: reportWebVitals(console.log))\r\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\r\nreportWebVitals();\r\n"],"sourceRoot":""}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment