Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ems3.3
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
ems3.3
Commits
37b71cd9
Commit
37b71cd9
authored
Dec 20, 2022
by
TZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
553b4b74
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
11 deletions
+22
-11
home.png
public/home.png
+0
-0
Welcome.jsx
src/pages/Welcome.jsx
+11
-2
index.jsx
src/pages/device/account/index.jsx
+4
-2
index.jsx
src/pages/setting/production/index.jsx
+2
-2
index.jsx
src/pages/setting/section/index.jsx
+3
-3
index.jsx
src/pages/setting/workshop/index.jsx
+2
-2
No files found.
public/home.png
0 → 100644
View file @
37b71cd9
658 KB
src/pages/Welcome.jsx
View file @
37b71cd9
import
React
from
'react'
;
import
React
from
'react'
;
export
default
()
=>
{
export
default
()
=>
<>
欢迎
</>;
const
style
=
{
width
:
'100%'
,
height
:
'100%'
,
backgroundImage
:
`url(
${
require
(
'../../public/home.png'
)}
)`
,
backgroundPosition
:
'0 0'
,
backgroundSize
:
'100% 100%'
,
backgroundRepeat
:
'no-repeat'
,
};
return
<
div
style=
{
style
}
></
div
>;
};
src/pages/device/account/index.jsx
View file @
37b71cd9
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: Li Hanlin
* @Author: Li Hanlin
* @Date: 2022-11-10 09:39:56
* @Date: 2022-11-10 09:39:56
* @Last Modified by: Li Hanlin
* @Last Modified by: Li Hanlin
* @Last Modified time: 2022-12-
19 16:43:03
* @Last Modified time: 2022-12-
20 11:25:48
*/
*/
import
*
as
React
from
'react'
;
import
*
as
React
from
'react'
;
...
@@ -97,7 +97,9 @@ function Model(props) {
...
@@ -97,7 +97,9 @@ function Model(props) {
{
row
?.
urlIds
.
map
((
it
)
=>
(
{
row
?.
urlIds
.
map
((
it
)
=>
(
// eslint-disable-next-line react/jsx-key
// eslint-disable-next-line react/jsx-key
<
div
style=
{
{
marginBottom
:
'8px'
}
}
>
<
div
style=
{
{
marginBottom
:
'8px'
}
}
>
<
Image
width=
{
80
}
src=
{
it
.
url
}
/>
<
a
href=
{
it
?.
url
}
download
target=
"_blank"
rel=
"noopener noreferrer"
>
{
it
?.
name
}
</
a
>
</
div
>
</
div
>
))
}
))
}
</
div
>
</
div
>
...
...
src/pages/setting/production/index.jsx
View file @
37b71cd9
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: Li Hanlin
* @Author: Li Hanlin
* @Date: 2022-11-09 14:43:54
* @Date: 2022-11-09 14:43:54
* @Last Modified by: Li Hanlin
* @Last Modified by: Li Hanlin
* @Last Modified time: 2022-12-
16 16:07:33
* @Last Modified time: 2022-12-
20 10:48:29
*/
*/
import
*
as
React
from
'react'
;
import
*
as
React
from
'react'
;
...
@@ -65,7 +65,7 @@ function Section(props) {
...
@@ -65,7 +65,7 @@ function Section(props) {
...
s
,
...
s
,
visible
:
true
,
visible
:
true
,
title
:
'编辑'
,
title
:
'编辑'
,
fields
:
getcolumns
(
data
),
fields
:
getcolumns
(
data
?.
data
),
params
:
{
id
:
row
.
id
},
params
:
{
id
:
row
.
id
},
detailpath
:
urlParams
.
detail
,
detailpath
:
urlParams
.
detail
,
val
:
'edit'
,
val
:
'edit'
,
...
...
src/pages/setting/section/index.jsx
View file @
37b71cd9
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: Li Hanlin
* @Author: Li Hanlin
* @Date: 2022-11-09 14:43:54
* @Date: 2022-11-09 14:43:54
* @Last Modified by: Li Hanlin
* @Last Modified by: Li Hanlin
* @Last Modified time: 2022-12-
16 16:02:16
* @Last Modified time: 2022-12-
20 10:48:14
*/
*/
import
*
as
React
from
'react'
;
import
*
as
React
from
'react'
;
...
@@ -66,7 +66,7 @@ function Section(props) {
...
@@ -66,7 +66,7 @@ function Section(props) {
visible
:
true
,
visible
:
true
,
title
:
'编辑'
,
title
:
'编辑'
,
params
:
{
id
:
row
.
id
},
params
:
{
id
:
row
.
id
},
fields
:
getcolumns
(
data
),
fields
:
getcolumns
(
data
?.
data
),
detailpath
:
'/auth/sysSection/getById'
,
detailpath
:
'/auth/sysSection/getById'
,
val
:
'edit'
,
val
:
'edit'
,
onFinish
:
async
(
vals
)
=>
{
onFinish
:
async
(
vals
)
=>
{
...
@@ -156,6 +156,7 @@ function Section(props) {
...
@@ -156,6 +156,7 @@ function Section(props) {
item
:
null
,
item
:
null
,
detailpath
:
null
,
detailpath
:
null
,
title
:
'新增'
,
title
:
'新增'
,
fields
:
getcolumns
(
false
),
val
:
'add'
,
val
:
'add'
,
onFinish
:
async
(
vals
)
=>
{
onFinish
:
async
(
vals
)
=>
{
let
params
=
{
let
params
=
{
...
@@ -181,7 +182,6 @@ function Section(props) {
...
@@ -181,7 +182,6 @@ function Section(props) {
/>
/>
<
DrawerPro
<
DrawerPro
fields=
{
columns
}
// detailpath={urlParams.detail}
// detailpath={urlParams.detail}
// params={{ id: drawer?.item?.id }}
// params={{ id: drawer?.item?.id }}
defaultFormValue=
{
drawer
?.
item
??
{}
}
defaultFormValue=
{
drawer
?.
item
??
{}
}
...
...
src/pages/setting/workshop/index.jsx
View file @
37b71cd9
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: Li Hanlin
* @Author: Li Hanlin
* @Date: 2022-11-09 14:44:18
* @Date: 2022-11-09 14:44:18
* @Last Modified by: Li Hanlin
* @Last Modified by: Li Hanlin
* @Last Modified time: 2022-12-
16 15:53:09
* @Last Modified time: 2022-12-
20 10:47:56
*/
*/
import
*
as
React
from
'react'
;
import
*
as
React
from
'react'
;
...
@@ -68,7 +68,7 @@ function Factory(props) {
...
@@ -68,7 +68,7 @@ function Factory(props) {
item
:
row
,
item
:
row
,
title
:
'编辑'
,
title
:
'编辑'
,
val
:
'edit'
,
val
:
'edit'
,
fields
:
getcolumns
(
data
),
fields
:
getcolumns
(
data
?.
data
),
onFinish
:
async
(
vals
)
=>
{
onFinish
:
async
(
vals
)
=>
{
let
params
=
{
let
params
=
{
...
vals
,
...
vals
,
...
...
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