From efe936a73370a55d4c3336fb9973a92fcf87efff Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Thu, 08 Mar 2018 09:22:09 +0800 Subject: [PATCH] ts语法修正,报表部分功能实现 --- src/app/business/services/http/device.service.ts | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/business/services/http/device.service.ts b/src/app/business/services/http/device.service.ts index 9771877..750e277 100644 --- a/src/app/business/services/http/device.service.ts +++ b/src/app/business/services/http/device.service.ts @@ -13,10 +13,10 @@ save: environment.SERVER_BASH_URL + 'device/add-or-modify', delete: environment.SERVER_BASH_URL + 'device/delete-by-ids' }; - public getListUrl (){ + public getListUrl () { return this.urls.list; } - public getSqlParams(queryText:string){ + public getSqlParams(queryText: string) { const example = new ExampleService(); if (queryText != null && queryText !== '') { example.or().andLike({name: 'name', value: '%' + queryText + '%'}); @@ -28,7 +28,7 @@ delete(...ids: number[]): Observable< ResultBean<any> > { return this.http.post(this.urls.delete, ids); } - public save(data:Device): Observable<any> { + public save(data: Device): Observable<any> { return this.http.post(this.urls.save, data); } } -- Gitblit v1.8.0