Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
X
xffruit
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
张杰
xffruit
Commits
11b01a25
Commit
11b01a25
authored
Jan 29, 2016
by
AvatarC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报表:曲线图的modify
parent
6f12d9a7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
5 deletions
+17
-5
ICRAppMacro.h
XFFruit/Macro/ICRAppMacro.h
+1
-1
ReportDetailViewController.m
...ntrollers/Report/Controllers/ReportDetailViewController.m
+14
-4
SearchReportViewController.m
...ntrollers/Report/Controllers/SearchReportViewController.m
+2
-0
No files found.
XFFruit/Macro/ICRAppMacro.h
View file @
11b01a25
...
...
@@ -32,7 +32,7 @@
//********现场正式环境*********
#define HTTP_REST_API_BASE_URL @"http://122.224.171.126:7380/cruiser-server/rest"
#define HTTP_REST_REPORT_BASE_URL @"http://122.224.171.126:7380"
// HTTP
//#define HTTP_REST_API_BASE_URL @"http://115.28.191.44:8080/IPatrol/rest"
//10月23 122.224.171.126:7280
...
...
XFFruit/ViewControllers/Report/Controllers/ReportDetailViewController.m
View file @
11b01a25
...
...
@@ -141,17 +141,27 @@
}
#pragma mark- 请求webView
-
(
void
)
loadWebViewFromServer
{
ICRUserUtil
*
userU
=
[
ICRUserUtil
sharedInstance
];
#warning 测试
NSString
*
passgerUrl
=
[
NSString
stringWithFormat
:
@"%@/%@?enterprise=%@&dateScopeType=%@&dateScope=%@&orgUuid=%@"
,
HTTP_REST_
API_BASE_URL
,
PassengerWebUrl
,[
ICRUserUtil
sharedInstance
].
orgId
,
self
.
dayType
,
self
.
scopeTy
pe
,
self
.
compass
.
orgUuid
];
NSString
*
passgerUrl
=
[
NSString
stringWithFormat
:
@"%@/%@?enterprise=%@&dateScopeType=%@&dateScope=%@&orgUuid=%@"
,
HTTP_REST_
REPORT_BASE_URL
,
PassengerWebUrl
,
userU
.
orgId
,
self
.
dayType
,
self
.
compass
.
dataSco
pe
,
self
.
compass
.
orgUuid
];
[
self
.
rpassgerWebView
loadRequest
:[
NSURLRequest
requestWithURL
:[
NSURL
URLWithString
:
passgerUrl
]]];
NSString
*
priceUrl
=
[
NSString
stringWithFormat
:
@"%@/%@?enterprise=%@&dateScopeType=%@&dateScope=%@&orgUuid=%@"
,
HTTP_REST_API_BASE_URL
,
PriceWebUrl
,[
ICRUserUtil
sharedInstance
].
orgId
,
self
.
dayType
,
self
.
scopeType
,
self
.
compass
.
orgUuid
];
// NSString *priceUrl = [NSString stringWithFormat:@"%@/%@?enterprise=%@&dateScopeType=%@&dateScope=%@&orgUuid=%@",HTTP_REST_REPORT_BASE_URL,PriceWebUrl,[ICRUserUtil sharedInstance].orgId,self.dayType,self.scopeType,self.compass.orgUuid];
// [self.rpriceWebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:priceUrl]]];
//
// NSString *grossUrl = [NSString stringWithFormat:@"%@/%@?enterprise=%@&dateScopeType=%@&dateScope=%@&orgUuid=%@",HTTP_REST_REPORT_BASE_URL,GrossWebUrl,[ICRUserUtil sharedInstance].orgId,self.dayType,self.scopeType,self.compass.orgUuid];
// [self.rgrossWebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:grossUrl]]];
//
// NSString *saleUrl = [NSString stringWithFormat:@"%@/%@?enterprise=%@&dateScopeType=%@&dateScope=%@&orgUuid=%@",HTTP_REST_REPORT_BASE_URL,SaleWebUrl,[ICRUserUtil sharedInstance].orgId,self.dayType,self.scopeType,self.compass.orgUuid];
// [self.rwebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:saleUrl]]];
NSString
*
priceUrl
=
[
NSString
stringWithFormat
:
@"%@/%@?enterprise=%@&dateScopeType=%@&dateScope=%@&orgUuid=%@"
,
HTTP_REST_REPORT_BASE_URL
,
PriceWebUrl
,
userU
.
orgId
,
self
.
dayType
,
self
.
compass
.
dataScope
,
self
.
compass
.
orgUuid
];
[
self
.
rpriceWebView
loadRequest
:[
NSURLRequest
requestWithURL
:[
NSURL
URLWithString
:
priceUrl
]]];
NSString
*
grossUrl
=
[
NSString
stringWithFormat
:
@"%@/%@?enterprise=%@&dateScopeType=%@&dateScope=%@&orgUuid=%@"
,
HTTP_REST_
API_BASE_URL
,
GrossWebUrl
,[
ICRUserUtil
sharedInstance
].
orgId
,
self
.
dayType
,
self
.
scopeTy
pe
,
self
.
compass
.
orgUuid
];
NSString
*
grossUrl
=
[
NSString
stringWithFormat
:
@"%@/%@?enterprise=%@&dateScopeType=%@&dateScope=%@&orgUuid=%@"
,
HTTP_REST_
REPORT_BASE_URL
,
GrossWebUrl
,[
ICRUserUtil
sharedInstance
].
orgId
,
self
.
dayType
,
self
.
compass
.
dataSco
pe
,
self
.
compass
.
orgUuid
];
[
self
.
rgrossWebView
loadRequest
:[
NSURLRequest
requestWithURL
:[
NSURL
URLWithString
:
grossUrl
]]];
NSString
*
saleUrl
=
[
NSString
stringWithFormat
:
@"%@/%@?enterprise=%@&dateScopeType=%@&dateScope=%@&orgUuid=%@"
,
HTTP_REST_
API_BASE_URL
,
SaleWebUrl
,[
ICRUserUtil
sharedInstance
].
orgId
,
self
.
dayType
,
self
.
scopeTy
pe
,
self
.
compass
.
orgUuid
];
NSString
*
saleUrl
=
[
NSString
stringWithFormat
:
@"%@/%@?enterprise=%@&dateScopeType=%@&dateScope=%@&orgUuid=%@"
,
HTTP_REST_
REPORT_BASE_URL
,
SaleWebUrl
,[
ICRUserUtil
sharedInstance
].
orgId
,
self
.
dayType
,
self
.
compass
.
dataSco
pe
,
self
.
compass
.
orgUuid
];
[
self
.
rwebView
loadRequest
:[
NSURLRequest
requestWithURL
:[
NSURL
URLWithString
:
saleUrl
]]];
}
...
...
XFFruit/ViewControllers/Report/Controllers/SearchReportViewController.m
View file @
11b01a25
...
...
@@ -205,6 +205,8 @@
com
.
orgUuid
=
orgs
.
uuid
;
com
.
orgName
=
orgs
.
name
;
com
.
orgCode
=
orgs
.
code
;
com
.
dataScope
=
[[
NSDate
date
]
localYMDString
];
com
.
dataScopeType
=
@"day"
;
rvc
.
compass
=
com
;
[
self
PushViewController
:
rvc
animated
:
YES
];
}
...
...
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