Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
smart
Project
Project
Details
Activity
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
wangqinghua
smart
Commits
b5d9bb59
Commit
b5d9bb59
authored
Jul 02, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置菜单栏
parent
04e92bc3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
app.route.ts
src/main/webapp/app/app.route.ts
+1
-0
work.service.ts
src/main/webapp/app/work/work.service.ts
+25
-0
No files found.
src/main/webapp/app/app.route.ts
View file @
b5d9bb59
...
...
@@ -47,6 +47,7 @@ import {DatabaseComponent} from './overAll/modal/database/database.component';
import
{
ServerComponent
}
from
'./overAll/modal/server/server.component'
;
import
{
SwitchComponent
}
from
'./overAll/modal/switch/switch.component'
;
import
{
MineComponent
}
from
'./mine/mine.component'
;
import
{
CommentStmt
}
from
'@angular/compiler'
;
export
const
route
:
Routes
=
[
{
path
:
''
,
redirectTo
:
'app/main/home'
,
pathMatch
:
'prefix'
},
//空路由定向
...
...
src/main/webapp/app/work/work.service.ts
View file @
b5d9bb59
...
...
@@ -189,6 +189,31 @@ export class WorkService {
return
this
.
http
.
put
(
SERVER_API_URL
+
'/sysevent/updateEventNoPre'
,
data
);
}
//修改费用记录
updateCost
(
data
):
Observable
<
any
>
{
return
this
.
http
.
post
(
SERVER_API_URL
+
'/cost/updateCost'
,
data
);
}
//分页筛选费用记录
findPage
(
data
):
Observable
<
any
>
{
return
this
.
http
.
post
(
SERVER_API_URL
+
'/cost/findPage'
,
data
);
}
//批量删除费用记录
deleteCost
(
data
):
Observable
<
any
>
{
return
this
.
http
.
post
(
SERVER_API_URL
+
'/cost/deleteCost'
,
data
);
}
//新增费用记录
addCost
(
data
):
Observable
<
any
>
{
return
this
.
http
.
post
(
SERVER_API_URL
+
'/cost/addCost'
,
data
);
}
//根据费用id查询
findById
(
data
):
Observable
<
any
>
{
return
this
.
http
.
post
(
SERVER_API_URL
+
'/cost/findById'
,
data
);
}
/**
* 附件文件
* @param pararms 参数
...
...
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