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
2274530b
Commit
2274530b
authored
8 years ago
by
Sandy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拓站文字显示错误修复、报修详情许可证无数据提示、hse巡检模糊查询、筛选逻辑bug修复
parent
41a6d86c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
1719 additions
and
1481 deletions
+1719
-1481
BusinessViewController.m
total/GTOApp/Business/BusinessViewController.m
+2
-7
GTOBusinessViewController.m
total/GTOApp/Business/Patrol/GTOBusinessViewController.m
+1
-1
GTOPatrolPlanListViewController.m
.../GTOApp/Business/Patrol/GTOPatrolPlanListViewController.m
+675
-617
GTOCategoryItemView.m
total/GTOApp/Business/Patrol/Views/GTOCategoryItemView.m
+1
-1
GTOPatrolPlanResultTopItem.m
...GTOApp/Business/Patrol/Views/GTOPatrolPlanResultTopItem.m
+1
-1
GTOPioneeringListViewController.m
...App/Business/Pioneering/GTOPioneeringListViewController.m
+2
-1
GTOQResultViewController.m
.../Business/Pioneering/Questions/GTOQResultViewController.m
+1
-1
GTOPioneeringAddressInfoView.m
.../Business/Pioneering/Views/GTOPioneeringAddressInfoView.m
+1
-1
GTOPioneeringListCellContent.m
.../Business/Pioneering/Views/GTOPioneeringListCellContent.m
+1
-1
GTORepairDetailViewController.m
...App/Business/Repair/Views/GTORepairDetailViewController.m
+995
-843
Contents.json
total/Images.xcassets/AppIcon.appiconset/Contents.json
+10
-0
Contents.json
total/Images.xcassets/no_data.imageset/Contents.json
+22
-0
no_data@2x.png
total/Images.xcassets/no_data.imageset/no_data@2x.png
+0
-0
no_data@3x.png
total/Images.xcassets/no_data.imageset/no_data@3x.png
+0
-0
GTOAppMacro.h
total/Macro/GTOAppMacro.h
+1
-1
ICRHTTPController.h
total/Managers/HttpManager/ICRHTTPController.h
+1
-1
ICRHTTPController.m
total/Managers/HttpManager/ICRHTTPController.m
+5
-5
No files found.
total/GTOApp/Business/BusinessViewController.m
View file @
2274530b
...
...
@@ -124,7 +124,7 @@
@"function_repairSee_icon"
,
@"function_licenceSee_icon"
,
nil
];
NSArray
*
titleArray
=
[
NSArray
arrayWithObjects
:
@"拓
店
"
@"拓
站
"
,
@"HSE巡检"
,
nil
];
NSDictionary
*
dict
=
@{
@"image"
:
[
imageArray
objectAtIndex
:
i
],
@"title"
:
[
titleArray
objectAtIndex
:
i
]};
[
_datasArray
[
3
]
addObject
:
dict
];
...
...
@@ -409,12 +409,7 @@
//根据个人查看权和本人查看权的范围确定是否有菜单权限
-
(
BOOL
)
permissionWithMaxNumber
:
(
NSString
*
)
maxNumber
{
ICRUserUtil
*
userU
=
[
ICRUserUtil
sharedInstance
];
for
(
NSString
*
strNumber
in
userU
.
f_permissions
){
if
([
strNumber
isEqualToString
:
maxNumber
])
{
return
YES
;
}
}
return
NO
;
return
[
userU
.
f_permissions
containsObject
:
maxNumber
];
}
...
...
This diff is collapsed.
Click to expand it.
total/GTOApp/Business/Patrol/GTOBusinessViewController.m
View file @
2274530b
...
...
@@ -436,7 +436,7 @@ typedef NS_ENUM (NSUInteger, ICRFunctionID) {
[
self
PushViewController
:
pVC
animated
:
YES
];
}
break
;
case
kFunctionPioneering
:
//拓
店
case
kFunctionPioneering
:
//拓
站
{
GTOPioneeringListViewController
*
pioneeringVC
=
[[
GTOPioneeringListViewController
alloc
]
init
];
[
self
PushViewController
:
pioneeringVC
animated
:
YES
];
...
...
This diff is collapsed.
Click to expand it.
total/GTOApp/Business/Patrol/GTOPatrolPlanListViewController.m
View file @
2274530b
This diff is collapsed.
Click to expand it.
total/GTOApp/Business/Patrol/Views/GTOCategoryItemView.m
View file @
2274530b
...
...
@@ -114,7 +114,7 @@
}
else
if
([
category
isEqualToString
:
@"辅助区"
])
{
imgV
.
image
=
[
UIImage
imageNamed
:
@"assist_area"
];
}
else
{
imgV
.
image
=
[
UIImage
imageNamed
:
@"
public
_area"
];
imgV
.
image
=
[
UIImage
imageNamed
:
@"
addOil
_area"
];
}
}
-
(
void
)
p_processWithFinishCategorysNumber
:
(
NSInteger
)
finishNumber
...
...
This diff is collapsed.
Click to expand it.
total/GTOApp/Business/Patrol/Views/GTOPatrolPlanResultTopItem.m
View file @
2274530b
...
...
@@ -128,7 +128,7 @@
-
(
void
)
updateWithPioneering
:
(
GTOPioneering
*
)
pioneering
arrayDictDisplayResults
:
(
NSArray
*
)
arrDisplayResults
{
self
.
m_planTimeLabel
.
text
=
[
NSString
stringWithFormat
:
@"拓
店
人员:%@"
,
pioneering
.
pioneer_name
];
self
.
m_planTimeLabel
.
text
=
[
NSString
stringWithFormat
:
@"拓
站
人员:%@"
,
pioneering
.
pioneer_name
];
self
.
m_startTimeLabel
.
text
=
[
NSString
stringWithFormat
:
@"开始时间:%@"
,
pioneering
.
beginDate
];
self
.
m_processLabel
.
text
=
[
NSString
stringWithFormat
:
@"拓站总进度:"
];
...
...
This diff is collapsed.
Click to expand it.
total/GTOApp/Business/Pioneering/GTOPioneeringListViewController.m
View file @
2274530b
...
...
@@ -99,7 +99,8 @@ static NSString *cellID = @"pioneeringListCell";
{
BOOL
createPermission
=
[
GTOCommonTools
hasPermissionWithPermissionId
:
500503
];
if
(
createPermission
)
{
UIBarButtonItem
*
rightBarBtn
=
[[
UIBarButtonItem
alloc
]
initWithBarButtonSystemItem
:
UIBarButtonSystemItemAdd
target
:
self
action
:
@selector
(
addPioneeringClicked
)];
UIBarButtonItem
*
rightBarBtn
=
[[
UIBarButtonItem
alloc
]
initWithTitle
:
@"新增"
style
:
UIBarButtonItemStyleDone
target
:
self
action
:
@selector
(
addPioneeringClicked
)];
// UIBarButtonItem *rightBarBtn = [[UIBarButtonItem alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemAdd target:self action:@selector(addPioneeringClicked)];
self
.
navigationItem
.
rightBarButtonItem
=
rightBarBtn
;
}
...
...
This diff is collapsed.
Click to expand it.
total/GTOApp/Business/Pioneering/Questions/GTOQResultViewController.m
View file @
2274530b
...
...
@@ -108,7 +108,7 @@ UIAlertViewDelegate>
}
-
(
void
)
updateAnsewer
{
ICRDatabaseFetchBlock
fetchBlk
=
^
FMResultSet
*
(
FMDatabase
*
db
)
{
NSString
*
sql
=
[
NSString
stringWithFormat
:
@"SELECT * FROM %@ WHERE %@ = ? ORDER BY %@"
,
[
GTOAnswer
TableName
],
@"pioneeringUuid"
,
@"questionUuid"
];
NSString
*
sql
=
[
NSString
stringWithFormat
:
@"SELECT * FROM %@ WHERE %@ = ? ORDER BY %@"
,
[
GTOAnswer
TableName
],
@"pioneeringUuid"
,
@"questionUuid"
];
//答案的排序按照问题的uuid来,(此事的排序关系到结果页中答案的显示,按道理应该是根据答题的顺序,是不是后台给的问题应该排序?????)
NSLog
(
@"%@"
,
sql
);
return
[
db
executeQuery
:
sql
,
_d_pioneering
.
uuid
];
...
...
This diff is collapsed.
Click to expand it.
total/GTOApp/Business/Pioneering/Views/GTOPioneeringAddressInfoView.m
View file @
2274530b
...
...
@@ -2,7 +2,7 @@
//
// GTOPatrolPlanResultTopItem.m
// total
// 拓
店
任务列表的cell的内容
// 拓
站
任务列表的cell的内容
// Created by freecui on 15/9/28.
// Copyright (c) 2015年 free. All rights reserved.
//
...
...
This diff is collapsed.
Click to expand it.
total/GTOApp/Business/Pioneering/Views/GTOPioneeringListCellContent.m
View file @
2274530b
...
...
@@ -2,7 +2,7 @@
//
// GTOPatrolPlanResultTopItem.m
// total
// 拓
店
任务列表的cell的内容
// 拓
站
任务列表的cell的内容
// Created by freecui on 15/9/28.
// Copyright (c) 2015年 free. All rights reserved.
//
...
...
This diff is collapsed.
Click to expand it.
total/GTOApp/Business/Repair/Views/GTORepairDetailViewController.m
View file @
2274530b
This diff is collapsed.
Click to expand it.
total/Images.xcassets/AppIcon.appiconset/Contents.json
View file @
2274530b
{
"images"
:
[
{
"idiom"
:
"iphone"
,
"size"
:
"20x20"
,
"scale"
:
"2x"
},
{
"idiom"
:
"iphone"
,
"size"
:
"20x20"
,
"scale"
:
"3x"
},
{
"size"
:
"29x29"
,
"idiom"
:
"iphone"
,
...
...
This diff is collapsed.
Click to expand it.
total/Images.xcassets/no_data.imageset/Contents.json
0 → 100644
View file @
2274530b
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"idiom"
:
"universal"
,
"filename"
:
"no_data@2x.png"
,
"scale"
:
"2x"
},
{
"idiom"
:
"universal"
,
"filename"
:
"no_data@3x.png"
,
"scale"
:
"3x"
}
],
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
total/Images.xcassets/no_data.imageset/no_data@2x.png
0 → 100644
View file @
2274530b
13 KB
This diff is collapsed.
Click to expand it.
total/Images.xcassets/no_data.imageset/no_data@3x.png
0 → 100644
View file @
2274530b
35 KB
This diff is collapsed.
Click to expand it.
total/Macro/GTOAppMacro.h
View file @
2274530b
...
...
@@ -81,7 +81,7 @@
////正式环境
//#define HTTP_REST_API_BASE_URL @"http://139.196.39.77:7080/total-server/rest"
//#define HTTP_LOCAL_BASE_URL @"http://139.196.39.77:7080"
//
//测试环境
//#define HTTP_REST_API_BASE_URL @"http://139.196.39.77:8180/total-server/rest"
//#define HTTP_LOCAL_BASE_URL @"http://139.196.39.77:8180"
...
...
This diff is collapsed.
Click to expand it.
total/Managers/HttpManager/ICRHTTPController.h
View file @
2274530b
...
...
@@ -146,7 +146,7 @@ typedef NS_ENUM(NSUInteger, ICRAttachmentType) {
-
(
void
)
doSavePioneeringResultWithData
:(
id
)
data
success
:(
void
(
^
)(
id
))
succ
failure
:(
void
(
^
)(
id
))
fail
;
//6.2提交拓
店
(写)
//6.2提交拓
站
(写)
-
(
void
)
doSubmitPioneeringResultWithData
:(
id
)
data
success
:(
void
(
^
)(
id
))
succ
failure
:(
void
(
^
)(
id
))
fail
;
...
...
This diff is collapsed.
Click to expand it.
total/Managers/HttpManager/ICRHTTPController.m
View file @
2274530b
...
...
@@ -84,9 +84,9 @@ typedef NS_ENUM(NSUInteger, ICRHTTPAction) {
kGTOHTTP_LicenceApprove
,
kGTOHTTP_LicenceAskForApprove
,
kGTOHTTP_LicenceGetLogs
,
//6.1 保存拓
店
(写)
//6.1 保存拓
站
(写)
kGTOHTTP_PioneeringSaveResult
,
//6.2 提交拓
店
(写)
//6.2 提交拓
站
(写)
kGTOHTTP_PioneeringSubmitResult
,
//6.3 获取拓站列表(读)
kGTOHTTP_PioneeringQuery
,
...
...
@@ -175,9 +175,9 @@ static NSString * const ICRHTTPInterface[] = {
[
kGTOHTTP_LicenceAskForApprove
]
=
@"licence/askforapprove"
,
[
kGTOHTTP_LicenceGetLogs
]
=
@"licence/get_logs"
,
//6.1 保存拓
店
(写)
//6.1 保存拓
站
(写)
[
kGTOHTTP_PioneeringSaveResult
]
=
@"pioneering/save"
,
//6.2 提交拓
店
(写)
//6.2 提交拓
站
(写)
[
kGTOHTTP_PioneeringSubmitResult
]
=
@"pioneering/submit"
,
//6.3 获取拓站列表(读)
[
kGTOHTTP_PioneeringQuery
]
=
@"pioneering/query"
,
...
...
@@ -1107,7 +1107,7 @@ acceptTypeJson:YES
failure
:
failure
];
}
//6.2提交拓
店
(写)
//6.2提交拓
站
(写)
-
(
void
)
doSubmitPioneeringResultWithData
:
(
id
)
data
success
:
(
void
(
^
)(
id
))
succ
failure
:
(
void
(
^
)(
id
))
fail
{
...
...
This diff is collapsed.
Click to expand it.
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