Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TOSTUMI
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
Maple
TOSTUMI
Commits
e5cd4123
Commit
e5cd4123
authored
May 21, 2021
by
cellee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Signed-off-by: cellee <893264950@qq.com>
parent
1596dbf3
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
166 additions
and
106 deletions
+166
-106
service.tsx
src/pages/AccountManagement/Service/service.tsx
+16
-4
serviceEdit.tsx
src/pages/AccountManagement/Service/serviceEdit.tsx
+150
-102
No files found.
src/pages/AccountManagement/Service/service.tsx
View file @
e5cd4123
...
...
@@ -50,17 +50,25 @@ const service = (props: any) => {
<
Space
size=
"middle"
>
<
a
onClick=
{
()
=>
{
e
mpty
s
(
record
,
`/AccountManagement/service/edit`
);
e
dit
s
(
record
,
`/AccountManagement/service/edit`
);
}
}
>
Edit
Add
</
a
>
<
a
onClick=
{
()
=>
{
emptys
(
record
,
'/AccountManagement/service/detail'
);
}
}
>
Detail
Edit
</
a
>
<
a
onClick=
{
()
=>
{
message
.
warning
(
'Under development'
);
}
}
>
Download
</
a
>
</
Space
>
),
...
...
@@ -86,7 +94,7 @@ const service = (props: any) => {
}
},
[
location
,
Init
,
Data
]);
// 清除操作之前的数据
// 清除操作之前的数据
在跳转
const
emptys
=
(
data
:
any
,
url
:
any
)
=>
{
// dispatch({ type: module + '/urlRemove' }); // 清掉图片信息
dispatch
({
type
:
module
+
'/Result'
});
// 清掉之前的删除结果
...
...
@@ -95,6 +103,10 @@ const service = (props: any) => {
history
.
push
(
url
+
'/'
+
data
.
id
);
};
const
edits
=
(
data
:
any
,
url
:
any
)
=>
{
history
.
push
(
url
+
'/'
+
data
.
communityName
);
};
// 点击搜索
const
CallBackTitleSearch
=
(
comment
:
any
)
=>
{
...
...
src/pages/AccountManagement/Service/serviceEdit.tsx
View file @
e5cd4123
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