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
8b7683a1
Commit
8b7683a1
authored
Mar 19, 2021
by
cellee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Signed-off-by: cellee <893264950@qq.com>
parent
73968f49
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
9 deletions
+17
-9
BackButton.tsx
src/components/BackButton/BackButton.tsx
+11
-3
serviceDetail.tsx
src/pages/AccountManagement/Service/serviceDetail.tsx
+3
-3
serviceEdit.tsx
src/pages/AccountManagement/Service/serviceEdit.tsx
+3
-3
No files found.
src/components/BackButton/BackButton.tsx
View file @
8b7683a1
/*
* @Author: your name
* @Date: 2020-11-19 16:54:53
* @LastEditTime: 2021-03-18 11:56:19
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \tostumi\src\components\BackButton\BackButton.tsx
*/
import
React
from
'react'
;
import
React
from
'react'
;
import
styles
from
'./index.less'
;
import
styles
from
'./index.less'
;
import
{
LeftOutlined
}
from
'@ant-design/icons'
;
import
{
LeftOutlined
}
from
'@ant-design/icons'
;
...
@@ -14,9 +22,9 @@ const BackButton = (props: any) => {
...
@@ -14,9 +22,9 @@ const BackButton = (props: any) => {
const
url
=
props
.
url
;
const
url
=
props
.
url
;
const
goToReturn
=
()
=>
{
const
goToReturn
=
()
=>
{
// history.back()
// history.back()
URL
({
pathname
:
history
.
location
.
pathname
,
status
:
0
},
module2
,
dispatch
);
//
URL({ pathname: history.location.pathname, status: 0 }, module2, dispatch);
console
.
log
(
'这里的地址为'
);
//
console.log('这里的地址为');
console
.
log
(
history
.
location
.
pathname
);
//
console.log(history.location.pathname);
history
.
go
(
-
1
);
history
.
go
(
-
1
);
};
};
const
goToReturnByParam
=
()
=>
{
const
goToReturnByParam
=
()
=>
{
...
...
src/pages/AccountManagement/Service/serviceDetail.tsx
View file @
8b7683a1
/*
/*
* @Author: your name
* @Author: your name
* @Date: 2021-03-02 14:39:40
* @Date: 2021-03-02 14:39:40
* @LastEditTime: 2021-03-1
6 11:08:58
* @LastEditTime: 2021-03-1
8 10:40:34
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \tostumi\src\pages\AccountManagement\Service\serviceEdit.tsx
* @FilePath: \tostumi\src\pages\AccountManagement\Service\serviceEdit.tsx
...
@@ -169,9 +169,9 @@ const service = (props: any) => {
...
@@ -169,9 +169,9 @@ const service = (props: any) => {
</
Form
.
Item
>
</
Form
.
Item
>
{
/* 报告人联系方式 */
}
{
/* 报告人联系方式 */
}
<
Form
.
Item
label=
"Contact Details"
>
<
Form
.
Item
label=
"Contact Details"
>
<
span
style=
{
{
display
:
'inline-block'
,
marginRight
:
20
}
}
>
{
/*
<span style={{ display: 'inline-block', marginRight: 20 }}>
{term ? term.reporterEmail : null}
{term ? term.reporterEmail : null}
</
span
>
</span>
*/
}
<
span
>
{
term
?
term
.
reporterPhone
:
null
}
</
span
>
<
span
>
{
term
?
term
.
reporterPhone
:
null
}
</
span
>
</
Form
.
Item
>
</
Form
.
Item
>
{
/* 报告描述 */
}
{
/* 报告描述 */
}
...
...
src/pages/AccountManagement/Service/serviceEdit.tsx
View file @
8b7683a1
/*
/*
* @Author: your name
* @Author: your name
* @Date: 2021-03-02 14:39:40
* @Date: 2021-03-02 14:39:40
* @LastEditTime: 2021-03-1
6 10:59:31
* @LastEditTime: 2021-03-1
8 10:40:22
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \tostumi\src\pages\AccountManagement\Service\serviceEdit.tsx
* @FilePath: \tostumi\src\pages\AccountManagement\Service\serviceEdit.tsx
...
@@ -142,9 +142,9 @@ const service = (props: any) => {
...
@@ -142,9 +142,9 @@ const service = (props: any) => {
</
Form
.
Item
>
</
Form
.
Item
>
{
/* 报告人联系方式 */
}
{
/* 报告人联系方式 */
}
<
Form
.
Item
label=
"Contact Details"
>
<
Form
.
Item
label=
"Contact Details"
>
<
span
style=
{
{
display
:
'inline-block'
,
marginRight
:
20
}
}
>
{
/*
<span style={{ display: 'inline-block', marginRight: 20 }}>
{term ? term.reporterEmail : null}
{term ? term.reporterEmail : null}
</
span
>
</span>
*/
}
<
span
>
{
term
?
term
.
reporterPhone
:
null
}
</
span
>
<
span
>
{
term
?
term
.
reporterPhone
:
null
}
</
span
>
</
Form
.
Item
>
</
Form
.
Item
>
{
/* 报告描述 */
}
{
/* 报告描述 */
}
...
...
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