Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wms
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuhao
wms
Commits
281248ef
Commit
281248ef
authored
Jun 20, 2022
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asder
parent
0d299f54
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
196 additions
and
386 deletions
+196
-386
proxy.js
config/proxy.js
+1
-1
index.jsx
src/components/Tableform/index.jsx
+9
-6
index.jsx
src/components/TreeRender/index.jsx
+117
-79
Index.jsx
src/pages/craft/Materiel/Index.jsx
+69
-300
No files found.
config/proxy.js
View file @
281248ef
...
@@ -11,7 +11,7 @@ export default {
...
@@ -11,7 +11,7 @@ export default {
// localhost:8000/api/** -> https://preview.pro.ant.design/api/**
// localhost:8000/api/** -> https://preview.pro.ant.design/api/**
"/wms/"
:
{
"/wms/"
:
{
// 要代理的地址
// 要代理的地址
target
:
"http://192.168.40.
134
:18040/"
,
//39:18040 23/wms/ //60 翔
target
:
"http://192.168.40.
212
:18040/"
,
//39:18040 23/wms/ //60 翔
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
"^/wms"
:
""
,
"^/wms"
:
""
,
...
...
src/components/Tableform/index.jsx
View file @
281248ef
...
@@ -7,7 +7,7 @@ export default (props) => {
...
@@ -7,7 +7,7 @@ export default (props) => {
const
screens
=
useBreakpoint
();
const
screens
=
useBreakpoint
();
return
(
return
(
<
div
>
<
div
className=
"diycard"
>
{
screens
.
xs
?
(
{
screens
.
xs
?
(
<
div
<
div
style=
{
{
display
:
"flex"
,
flexDirection
:
"column"
,
height
:
"100%"
}
}
style=
{
{
display
:
"flex"
,
flexDirection
:
"column"
,
height
:
"100%"
}
}
...
@@ -20,12 +20,13 @@ export default (props) => {
...
@@ -20,12 +20,13 @@ export default (props) => {
</
div
>
</
div
>
</
div
>
</
div
>
)
:
props
.
withCard
===
false
?
(
)
:
props
.
withCard
===
false
?
(
<
div
style=
{
{
display
:
"flex"
}
}
>
<
div
style=
{
{
display
:
"flex"
,
width
:
"100%"
}
}
>
<
div
style=
{
{
flex
:
1
}
}
>
{
(
props
.
childposition
==
"left"
||
!
props
.
childposition
)
&&
props
.
children
}
<
div
style=
{
{
flex
:
1
,
width
:
"100%"
}
}
>
{
props
.
childposition
==
"top"
&&
props
.
children
}
{
props
.
childposition
==
"top"
&&
props
.
children
}
<
Mtable
{
...
props
}
/>
<
Mtable
{
...
props
}
/>
</
div
>
</
div
>
{
(
props
.
childposition
==
"right"
||
!
props
.
childposition
)
&&
{
(
props
.
childposition
==
"right"
||
!
props
.
childposition
)
&&
props
.
children
}
props
.
children
}
</
div
>
</
div
>
...
@@ -39,8 +40,10 @@ export default (props) => {
...
@@ -39,8 +40,10 @@ export default (props) => {
tabList=
{
props
.
tabList
}
tabList=
{
props
.
tabList
}
onTabChange=
{
props
.
onTabChange
}
onTabChange=
{
props
.
onTabChange
}
>
>
<
div
style=
{
{
display
:
"flex"
}
}
>
<
div
style=
{
{
display
:
"flex"
,
width
:
"100%"
}
}
>
<
div
style=
{
{
flex
:
1
}
}
>
{
(
props
.
childposition
==
"left"
||
!
props
.
childposition
)
&&
props
.
children
}
<
div
style=
{
{
flex
:
1
,
width
:
"100%"
}
}
>
{
props
.
childposition
==
"top"
&&
props
.
children
}
{
props
.
childposition
==
"top"
&&
props
.
children
}
<
Mtable
{
...
props
}
/>
<
Mtable
{
...
props
}
/>
</
div
>
</
div
>
...
...
src/components/TreeRender/index.jsx
View file @
281248ef
This diff is collapsed.
Click to expand it.
src/pages/craft/Materiel/Index.jsx
View file @
281248ef
This diff is collapsed.
Click to expand it.
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