Commit e5cd4123 authored by cellee's avatar cellee

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

parent 1596dbf3
...@@ -50,17 +50,25 @@ const service = (props: any) => { ...@@ -50,17 +50,25 @@ const service = (props: any) => {
<Space size="middle"> <Space size="middle">
<a <a
onClick={() => { onClick={() => {
emptys(record, `/AccountManagement/service/edit`); edits(record, `/AccountManagement/service/edit`);
}} }}
> >
Edit Add
</a> </a>
<a <a
onClick={() => { onClick={() => {
emptys(record, '/AccountManagement/service/detail'); emptys(record, '/AccountManagement/service/detail');
}} }}
> >
Detail Edit
</a>
<a
onClick={() => {
message.warning('Under development');
}}
>
Download
</a> </a>
</Space> </Space>
), ),
...@@ -86,7 +94,7 @@ const service = (props: any) => { ...@@ -86,7 +94,7 @@ const service = (props: any) => {
} }
}, [location, Init, Data]); }, [location, Init, Data]);
// 清除操作之前的数据 // 清除操作之前的数据 在跳转
const emptys = (data: any, url: any) => { const emptys = (data: any, url: any) => {
// dispatch({ type: module + '/urlRemove' }); // 清掉图片信息 // dispatch({ type: module + '/urlRemove' }); // 清掉图片信息
dispatch({ type: module + '/Result' }); // 清掉之前的删除结果 dispatch({ type: module + '/Result' }); // 清掉之前的删除结果
...@@ -95,6 +103,10 @@ const service = (props: any) => { ...@@ -95,6 +103,10 @@ const service = (props: any) => {
history.push(url + '/' + data.id); history.push(url + '/' + data.id);
}; };
const edits = (data: any, url: any) => {
history.push(url + '/' + data.communityName);
};
// 点击搜索 // 点击搜索
const CallBackTitleSearch = (comment: any) => { const CallBackTitleSearch = (comment: any) => {
......
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