Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
total
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
张杰
total
Commits
8499858c
Commit
8499858c
authored
Jan 06, 2017
by
曹云霄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.oschina.net/gomore/total
parents
c4dba4a9
489da93f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
13 deletions
+10
-13
GTOPatrolPlan.m
total/GTOApp/Business/Patrol/Models/GTOPatrolPlan.m
+0
-2
GTOPatrolPlanCellContentView.m
...OApp/Business/Patrol/Views/GTOPatrolPlanCellContentView.m
+5
-7
GTOLiceneResultViewController.m
total/GTOApp/Business/Repair/GTOLiceneResultViewController.m
+1
-0
GTORepairDetailViewController.m
...App/Business/Repair/Views/GTORepairDetailViewController.m
+3
-3
GTOAppMacro.h
total/Macro/GTOAppMacro.h
+1
-1
No files found.
total/GTOApp/Business/Patrol/Models/GTOPatrolPlan.m
View file @
8499858c
...
...
@@ -20,7 +20,6 @@
}
-
(
UIColor
*
)
stateColor
{
if
(
!
_stateColor
)
{
switch
(
self
.
state
)
{
case
kPatrolPlanStatusCreated
:
{
_stateColor
=
GTO_RED_COLOR
;
...
...
@@ -42,7 +41,6 @@
_stateColor
=
GTO_GRAY_TINT_COLOR
;
break
;
}
}
}
return
_stateColor
;
}
...
...
total/GTOApp/Business/Patrol/Views/GTOPatrolPlanCellContentView.m
View file @
8499858c
...
...
@@ -93,13 +93,15 @@
.
origin
.
y
=
_m_processLabel
.
y
,
.
size
.
width
=
120
,
.
size
.
height
=
lblH
,
};
[
_m_processValueLabel
sizeToFit
];
};
[
_m_processValueLabel
sizeToFit
];
_m_processFractionLabel
.
frame
=
(
CGRect
){
.
origin
.
x
=
SCREEN_SIZE
.
width
-
100
-
GTO_LEFT_PADDING
,
.
origin
.
y
=
_m_processLabel
.
y
,
.
size
.
width
=
100
,
.
size
.
height
=
lblH
,
};
[
_m_processFractionLabel
sizeToFit
];
};
[
_m_processFractionLabel
sizeToFit
];
CGRect
rect
=
(
CGRect
){
.
origin
.
x
=
_m_processLabel
.
x
,
...
...
@@ -122,7 +124,7 @@
self
.
m_planNameLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
patrolPlan
.
name
];
NSString
*
begin
=
[
patrolPlan
.
beginDate
substringToIndex
:
11
];
NSString
*
end
=
[
patrolPlan
.
endDate
substringToIndex
:
11
];
self
.
m_planTimeLabel
.
text
=
[
NSString
stringWithFormat
:
@"计划时间: %@ ~ %@"
,
begin
,
end
];
//
[NSString stringWithFormat:@"最后修改时间:%@ ",patrolPlan.lastModify_time];//
self
.
m_planTimeLabel
.
text
=
[
NSString
stringWithFormat
:
@"计划时间: %@ ~ %@"
,
begin
,
end
];
//
self
.
m_processLabel
.
text
=
[
NSString
stringWithFormat
:
@"巡检总进度: "
];
self
.
m_planStateLabel
.
text
=
@"状态: "
;
NSString
*
stateStr
=
[
NSString
stringWithFormat
:
@"%ld"
,
patrolPlan
.
state
];
...
...
@@ -141,11 +143,7 @@
}
self
.
m_processFractionLabel
.
text
=
[
NSString
stringWithFormat
:
@"%ld/%ld(油站)"
,
patrolPlan
.
finishedStoreNumber
,
patrolPlan
.
totalStoreNumber
];
// self.m_processBarView = [[IBTUIView alloc]initWithFrame:self.m_processBarView.frame processBarFloat:_d_processLength processBarColor:GTO_BLUE_SHALLOW_TINT_COLOR viewBorderBarColor:GTO_GRAY_SHALLOW_TINT_COLOR];
// [self addSubview:_m_processBarView];
[
self
layoutSubviews
];
}
@end
total/GTOApp/Business/Repair/GTOLiceneResultViewController.m
View file @
8499858c
...
...
@@ -653,6 +653,7 @@ static NSString *headerProblemItemID = @"headerItem";
if
(
!
isFinish
)
{
return
;
}
else
{
[
hud
hide
:
YES
];
if
([
action
isEqualToString
:
@"save"
])
{
[
self
httpSaveLicenceResult
];
}
else
{
...
...
total/GTOApp/Business/Repair/Views/GTORepairDetailViewController.m
View file @
8499858c
...
...
@@ -130,14 +130,14 @@ typedef NS_ENUM(NSUInteger, bottomViewTag) {
@"pageNumber"
:
@
(
0
),
@"pageSize"
:
@
(
200
)
};
IBTLoadingView
*
hud
=
[
IBTLoadingView
showHUDAddedTo
:
self
.
view
animated
:
YES
];
ICRHTTPController
*
httpC
=
[
ICRHTTPController
sharedController
];
[
httpC
getLicenceListWithData
:
dict
success
:
^
(
id
data
)
{
[
IBTLoadingView
hideHUDWithText
:
nil
];
[
hud
hide
:
YES
];
__strong
__typeof
(
weakSelf
)
strongSelf
=
weakSelf
;
[
strongSelf
fetchtPuchaseList
:
data
];
}
failure
:^
(
id
data
)
{
[
IBTLoadingView
hideHUDWithText
:
nil
];
[
hud
hide
:
YES
];
[
IBTLoadingView
showTips
:
data
];
}];
}
...
...
total/Macro/GTOAppMacro.h
View file @
8499858c
...
...
@@ -106,7 +106,7 @@
#define GTO_BLUE_TINT_COLOR HexColor(@"#226AAD") //17 topView
#define GTO_BLUE_SHALLOW_TINT_COLOR HexColor(@"#71D2F4") // category 较浅的蓝色
#define GTO_BLUE_DEEP_COLOR HexColor(@"#005CA5") // 深蓝
#define GTO_RED_COLOR HexColor(@"
#E6002E") //红色
#define GTO_RED_COLOR HexColor(@"#E6002E") //红色
#define GTO_GREEN_COLOR HexColor(@"#7FD18D") //红色
#define GXF_ORIGIN_COLOR HexColor(@"f69100") //橙色
#define GTO_BACKGROUND_GRAY_SHALLOW_COLOR RGBA(246,246,246,1)
...
...
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