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
bfdb22d0
Commit
bfdb22d0
authored
Dec 02, 2022
by
TZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
9e3ebb1d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
AddRules.jsx
src/pages/system/rules/AddRules.jsx
+11
-0
index.jsx
src/pages/system/rules/index.jsx
+6
-2
No files found.
src/pages/system/rules/AddRules.jsx
0 → 100644
View file @
bfdb22d0
import
React
,
{
useState
,
useEffect
}
from
'react'
;
const
App
=
()
=>
{
return
(
<>
<
div
>
新增编号规则
</
div
>
</>
);
};
export
default
App
;
src/pages/system/rules/index.jsx
View file @
bfdb22d0
...
@@ -13,6 +13,7 @@ import PremButton from '@/components/PremButton';
...
@@ -13,6 +13,7 @@ import PremButton from '@/components/PremButton';
import
getcolumns
from
'./columns'
;
import
getcolumns
from
'./columns'
;
import
{
doFetch
}
from
'@/utils/doFetch'
;
import
{
doFetch
}
from
'@/utils/doFetch'
;
import
{
message
}
from
'antd'
;
import
{
message
}
from
'antd'
;
import
AddRules
from
'./AddRules'
;
function
Rules
(
props
)
{
function
Rules
(
props
)
{
const
actionRef
=
useRef
(),
const
actionRef
=
useRef
(),
...
@@ -151,7 +152,8 @@ function Rules(props) {
...
@@ -151,7 +152,8 @@ function Rules(props) {
item
:
null
,
item
:
null
,
detailpath
:
null
,
detailpath
:
null
,
title
:
'新增'
,
title
:
'新增'
,
val
:
'add'
,
type
:
'add'
,
val
:
'only'
,
onFinish
:
async
(
vals
)
=>
{
onFinish
:
async
(
vals
)
=>
{
console
.
log
(
1
);
console
.
log
(
1
);
let
params
=
{
let
params
=
{
...
@@ -190,7 +192,9 @@ function Rules(props) {
...
@@ -190,7 +192,9 @@ function Rules(props) {
}));
}));
}
}
}
}
{
...
drawer
}
{
...
drawer
}
/>
>
{
drawer
?.
type
==
'add'
?
<
AddRules
/>
:
null
}
</
DrawerPro
>
</
div
>
</
div
>
);
);
}
}
...
...
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