Commit b5d9bb59 authored by wangqinghua's avatar wangqinghua

配置菜单栏

parent 04e92bc3
......@@ -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'}, //空路由定向
......
......@@ -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 参数
......
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