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
a0bc1a44
Commit
a0bc1a44
authored
Jun 03, 2021
by
cellee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Signed-off-by: cellee <893264950@qq.com>
parent
570068fa
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
4 deletions
+18
-4
ServicePro.ts
src/models/CommunityManagement/ServicePro.ts
+8
-1
service.tsx
src/pages/AccountManagement/Service/service.tsx
+8
-2
params.ts
src/utils/params.ts
+2
-1
No files found.
src/models/CommunityManagement/ServicePro.ts
View file @
a0bc1a44
/*
/*
* @Author: your name
* @Author: your name
* @Date: 2021-01-14 09:23:51
* @Date: 2021-01-14 09:23:51
* @LastEditTime: 2021-0
5-21 15:32:36
* @LastEditTime: 2021-0
6-03 16:35:51
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \tostumi\src\models\CommunityManagement\Bug.ts
* @FilePath: \tostumi\src\models\CommunityManagement\Bug.ts
...
@@ -105,6 +105,13 @@ export default {
...
@@ -105,6 +105,13 @@ export default {
history
.
push
(
'/AccountManagement/service'
);
history
.
push
(
'/AccountManagement/service'
);
}
}
break
;
break
;
case
78
:
// 下载
{
// console.log(resp.data);
window
.
open
(
resp
.
data
,
'_blank'
);
// history.push(resp.data.data);
}
break
;
}
}
}
}
},
},
...
...
src/pages/AccountManagement/Service/service.tsx
View file @
a0bc1a44
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
{
Space
,
message
,
Pagination
,
Button
}
from
'antd'
;
import
{
Space
,
message
,
Pagination
,
Button
}
from
'antd'
;
import
{
connect
,
history
}
from
'umi'
;
import
{
connect
,
history
}
from
'umi'
;
import
{
PlusOutlined
}
from
'@ant-design/icons'
;
import
{
DownloadOutlined
,
PlusOutlined
}
from
'@ant-design/icons'
;
import
ProTable
from
'@ant-design/pro-table'
;
import
ProTable
from
'@ant-design/pro-table'
;
...
@@ -65,7 +65,8 @@ const service = (props: any) => {
...
@@ -65,7 +65,8 @@ const service = (props: any) => {
<
a
<
a
onClick=
{
()
=>
{
onClick=
{
()
=>
{
message
.
warning
(
'Under development'
);
// message.warning('Under development');
downlo
(
record
.
communityName
);
}
}
}
}
>
>
Download Report
Download Report
...
@@ -107,6 +108,11 @@ const service = (props: any) => {
...
@@ -107,6 +108,11 @@ const service = (props: any) => {
history
.
push
(
url
+
'/'
+
data
.
communityName
);
history
.
push
(
url
+
'/'
+
data
.
communityName
);
};
};
// 点击下载
const
downlo
=
(
name
:
any
)
=>
{
RA
(
78
,
{
communityName
:
name
},
module
,
dispatch
);
};
// 点击搜索
// 点击搜索
const
CallBackTitleSearch
=
(
comment
:
any
)
=>
{
const
CallBackTitleSearch
=
(
comment
:
any
)
=>
{
...
...
src/utils/params.ts
View file @
a0bc1a44
/*
/*
* @Author: your name
* @Author: your name
* @Date: 2020-11-19 20:34:18
* @Date: 2020-11-19 20:34:18
* @LastEditTime: 2021-0
5-20 11:00:2
3
* @LastEditTime: 2021-0
6-03 16:03:3
3
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \tostumi\src\utils\params.ts
* @FilePath: \tostumi\src\utils\params.ts
...
@@ -103,4 +103,5 @@ export const requestList = [
...
@@ -103,4 +103,5 @@ export const requestList = [
[
'/tos/community/moveOut/record/get/detail'
,
'75 迁出申请详情'
,
{}],
[
'/tos/community/moveOut/record/get/detail'
,
'75 迁出申请详情'
,
{}],
[
'/tos/community/moveOut/record/reply'
,
'76 迁出申请回复'
,
{}],
[
'/tos/community/moveOut/record/reply'
,
'76 迁出申请回复'
,
{}],
[
'/tos/report/create'
,
'77 报告新增'
,
{}],
[
'/tos/report/create'
,
'77 报告新增'
,
{}],
[
'/tos/report/excel/download'
,
'78 报告下载'
,
{}],
];
];
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