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) => {
<Space size="middle">
<a
onClick={() => {
emptys(record, `/AccountManagement/service/edit`);
edits(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) => {
......
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