Commit 8b7683a1 authored by cellee's avatar cellee

Signed-off-by: cellee <893264950@qq.com>

parent 73968f49
/*
* @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 = () => {
......
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-03-02 14:39:40 * @Date: 2021-03-02 14:39:40
* @LastEditTime: 2021-03-16 11:08:58 * @LastEditTime: 2021-03-18 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>
{/* 报告描述 */} {/* 报告描述 */}
......
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-03-02 14:39:40 * @Date: 2021-03-02 14:39:40
* @LastEditTime: 2021-03-16 10:59:31 * @LastEditTime: 2021-03-18 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>
{/* 报告描述 */} {/* 报告描述 */}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment