Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
红
红星美凯龙管理在线APP IOS
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
张杰
红星美凯龙管理在线APP IOS
Commits
4c551c62
Commit
4c551c62
authored
9 years ago
by
admin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复部分bug
parent
846ad7e6
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
119 additions
and
89 deletions
+119
-89
UserInterfaceState.xcuserstate
...userdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
Url.h
redstar/Classes/Macro/Url.h
+2
-2
CheckPicViewController.m
redstar/Classes/Module/Check/CheckPicViewController.m
+17
-1
FunctionViewController.m
redstar/Classes/Module/Function/FunctionViewController.m
+2
-0
LookOnLineViewController.m
...Line/LookOnLine/ViewController/LookOnLineViewController.m
+1
-1
LookOnLineDetailView.h
...ction/OnLine/LookOnLineDetail/View/LookOnLineDetailView.h
+2
-2
LookOnLineDetailView.m
...ction/OnLine/LookOnLineDetail/View/LookOnLineDetailView.m
+10
-7
LookOnLineDetailViewController.h
...ineDetail/ViewController/LookOnLineDetailViewController.h
+3
-1
LookOnLineDetailViewController.m
...ineDetail/ViewController/LookOnLineDetailViewController.m
+17
-25
OnLineCompleteViewController.m
...askComplete/ViewController/OnLineCompleteViewController.m
+8
-4
SpotCheckOnLineViewController.m
...heckOnLine/ViewController/SpotCheckOnLineViewController.m
+15
-5
PictureViewController.m
...icture/PictureList/ViewController/PictureViewController.m
+8
-3
InspectListCell.m
...on/WordOfMouth/Inspect/InspectList/Cell/InspectListCell.m
+2
-2
InspectListViewController.m
...ct/InspectList/ViewController/InspectListViewController.m
+3
-3
InspectTaskViewController.m
...ct/InspectTask/ViewController/InspectTaskViewController.m
+14
-9
RankListHeaderView.m
...WordOfMouth/Ranking/RankingList/View/RankListHeaderView.m
+1
-7
RankingListViewController.m
...ng/RankingList/ViewController/RankingListViewController.m
+3
-1
HomeViewController.m
...r/Classes/Module/Home/ViewController/HomeViewController.m
+11
-16
No files found.
redstar.xcworkspace/xcuserdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
View file @
4c551c62
No preview for this file type
This diff is collapsed.
Click to expand it.
redstar/Classes/Macro/Url.h
View file @
4c551c62
...
@@ -10,9 +10,9 @@
...
@@ -10,9 +10,9 @@
#define Url_h
#define Url_h
// url
// url
//
#define kRedStarURL @"http://218.244.151.129:7580/"
#define kRedStarURL @"http://218.244.151.129:7580/"
#define kRedStarURL @"http://219.235.234.225:7580/"
//
#define kRedStarURL @"http://219.235.234.225:7580/"
// 检查更新
// 检查更新
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Check/CheckPicViewController.m
View file @
4c551c62
...
@@ -20,7 +20,23 @@
...
@@ -20,7 +20,23 @@
-
(
void
)
viewDidLoad
{
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
[
super
viewDidLoad
];
self
.
takeImageView
=
[[
UIImageView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
kScreenWidth
,
kScreenHeight
)];
self
.
view
.
backgroundColor
=
[
UIColor
whiteColor
];
CGFloat
imageW
=
self
.
checkImage
.
size
.
width
;
CGFloat
imageH
=
self
.
checkImage
.
size
.
height
;
CGFloat
imageViewW
,
imageViewH
;
if
((
imageH
/
imageW
)
>
(
kScreenHeight
/
kScreenWidth
))
{
imageViewH
=
kScreenHeight
;
imageViewW
=
imageW
*
(
kScreenHeight
/
imageH
);
}
else
{
imageViewH
=
imageH
*
(
kScreenWidth
/
imageW
);
imageViewW
=
kScreenWidth
;
}
self
.
takeImageView
=
[[
UIImageView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
imageViewW
,
imageViewH
)];
_takeImageView
.
center
=
CGPointMake
(
kScreenWidth
/
2
,
(
kScreenHeight
-
64
)
/
2
);
_takeImageView
.
image
=
_checkImage
;
_takeImageView
.
image
=
_checkImage
;
[
self
.
view
addSubview
:
_takeImageView
];
[
self
.
view
addSubview
:
_takeImageView
];
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/FunctionViewController.m
View file @
4c551c62
...
@@ -71,6 +71,8 @@
...
@@ -71,6 +71,8 @@
InspectListViewController
*
inspectListVC
=
[[
InspectListViewController
alloc
]
init
];
InspectListViewController
*
inspectListVC
=
[[
InspectListViewController
alloc
]
init
];
nav
=
[[
UINavigationController
alloc
]
initWithRootViewController
:
inspectListVC
];
nav
=
[[
UINavigationController
alloc
]
initWithRootViewController
:
inspectListVC
];
}
else
if
([
item
.
titleLabel
.
text
isEqualToString
:
@"口碑标准"
])
{
}
else
if
([
item
.
titleLabel
.
text
isEqualToString
:
@"口碑标准"
])
{
UIAlertView
*
alert
=
[[
UIAlertView
alloc
]
initWithTitle
:
@"提示"
message
:
@"当前功能正在开发!"
delegate
:
self
cancelButtonTitle
:
nil
otherButtonTitles
:
@"确定"
,
nil
];
[
alert
show
];
return
;
return
;
}
else
if
([
item
.
titleLabel
.
text
isEqualToString
:
@"图说口碑"
])
{
}
else
if
([
item
.
titleLabel
.
text
isEqualToString
:
@"图说口碑"
])
{
PictureViewController
*
pictureVC
=
[[
PictureViewController
alloc
]
init
];
PictureViewController
*
pictureVC
=
[[
PictureViewController
alloc
]
init
];
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/OnLine/LookOnLine/ViewController/LookOnLineViewController.m
View file @
4c551c62
...
@@ -491,7 +491,7 @@
...
@@ -491,7 +491,7 @@
{
{
LookOnLineModel
*
lookOnLine
=
_allLookOnLineList
[
indexPath
.
row
];
LookOnLineModel
*
lookOnLine
=
_allLookOnLineList
[
indexPath
.
row
];
LookOnLineDetailViewController
*
lookDetailVC
=
[[
LookOnLineDetailViewController
alloc
]
init
];
LookOnLineDetailViewController
*
lookDetailVC
=
[[
LookOnLineDetailViewController
alloc
]
init
];
lookDetailVC
.
uuid
=
lookOnLine
.
uuid
;
lookDetailVC
.
lookOnLine
=
lookOnLine
;
[
self
.
navigationController
pushViewController
:
lookDetailVC
animated
:
YES
];
[
self
.
navigationController
pushViewController
:
lookDetailVC
animated
:
YES
];
}
}
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/OnLine/LookOnLineDetail/View/LookOnLineDetailView.h
View file @
4c551c62
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
//
//
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
@class
OnLineDetail
Model
;
@class
LookOnLine
Model
;
@interface
LookOnLineDetailView
:
UIView
@interface
LookOnLineDetailView
:
UIView
@property
(
nonatomic
,
strong
)
UILabel
*
titleLabel
;
@property
(
nonatomic
,
strong
)
UILabel
*
titleLabel
;
...
@@ -21,5 +21,5 @@
...
@@ -21,5 +21,5 @@
@property
(
nonatomic
,
strong
)
UILabel
*
dayLabel
;
// 剩余天数
@property
(
nonatomic
,
strong
)
UILabel
*
dayLabel
;
// 剩余天数
@property
(
nonatomic
,
strong
)
OnLineDetailModel
*
onLineDetail
;
@property
(
nonatomic
,
strong
)
LookOnLineModel
*
lookOnLine
;
@end
@end
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/OnLine/LookOnLineDetail/View/LookOnLineDetailView.m
View file @
4c551c62
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
//
//
#import "LookOnLineDetailView.h"
#import "LookOnLineDetailView.h"
#import "LookOnLineModel.h"
@interface
LookOnLineDetailView
()
@interface
LookOnLineDetailView
()
@property
(
nonatomic
,
strong
)
UILabel
*
shopname
;
// 商店名称
@property
(
nonatomic
,
strong
)
UILabel
*
shopname
;
// 商店名称
...
@@ -41,9 +42,11 @@
...
@@ -41,9 +42,11 @@
}
}
-
(
void
)
set
OnLineDetail
:
(
OnLineDetailModel
*
)
onLineDetail
-
(
void
)
set
LookOnLine
:
(
LookOnLineModel
*
)
lookOnLine
{
{
_onLineDetail
=
onLineDetail
;
_lookOnLine
=
lookOnLine
;
self
.
titleLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
lookOnLine
.
title
];
self
.
bgView
.
backgroundColor
=
[
UIColor
whiteColor
];
self
.
bgView
.
backgroundColor
=
[
UIColor
whiteColor
];
self
.
shopname
.
text
=
@"商场名称"
;
self
.
shopname
.
text
=
@"商场名称"
;
...
@@ -52,12 +55,12 @@
...
@@ -52,12 +55,12 @@
self
.
startDate
.
text
=
@"发起时间"
;
self
.
startDate
.
text
=
@"发起时间"
;
self
.
taskContent
.
text
=
@"任务内容"
;
self
.
taskContent
.
text
=
@"任务内容"
;
self
.
shopnameLabel
.
text
=
@"上海真北店"
;
self
.
shopnameLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
lookOnLine
.
store_name
]
;
self
.
overDateLabel
.
text
=
@"2015-10-03"
;
self
.
overDateLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
lookOnLine
.
endDate
]
;
self
.
peopleLabel
.
text
=
@"王XX 集团X领导"
;
self
.
peopleLabel
.
text
=
@"王XX 集团X领导"
;
self
.
startDateLabel
.
text
=
@"2015-09-30 12:20:12"
;
self
.
startDateLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
lookOnLine
.
reportTime
]
;
NSString
*
intro
=
@"1.大厅促销标语、彩旗拍照不少于3张; 2.促销人员着装拍照不少于4张; 3.大厅促销站台拍照不少于3张。"
;
NSString
*
intro
=
[
NSString
stringWithFormat
:
@"%@"
,
lookOnLine
.
content
]
;
NSMutableAttributedString
*
attributedString
=
[[
NSMutableAttributedString
alloc
]
initWithString
:
intro
];
NSMutableAttributedString
*
attributedString
=
[[
NSMutableAttributedString
alloc
]
initWithString
:
intro
];
NSMutableParagraphStyle
*
paragraphStyle
=
[[
NSMutableParagraphStyle
alloc
]
init
];
NSMutableParagraphStyle
*
paragraphStyle
=
[[
NSMutableParagraphStyle
alloc
]
init
];
[
paragraphStyle
setLineSpacing
:
5
];
[
paragraphStyle
setLineSpacing
:
5
];
...
@@ -71,9 +74,9 @@
...
@@ -71,9 +74,9 @@
self
.
dayLabel
.
text
=
@"2"
;
self
.
dayLabel
.
text
=
@"2"
;
self
.
pictureLabel
.
text
=
@"现场照片"
;
self
.
pictureLabel
.
text
=
@"现场照片"
;
}
}
-
(
UILabel
*
)
titleLabel
-
(
UILabel
*
)
titleLabel
{
{
if
(
!
_titleLabel
)
{
if
(
!
_titleLabel
)
{
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/OnLine/LookOnLineDetail/ViewController/LookOnLineDetailViewController.h
View file @
4c551c62
...
@@ -7,7 +7,9 @@
...
@@ -7,7 +7,9 @@
//
//
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#import "LookOnLineModel.h"
@interface
LookOnLineDetailViewController
:
UIViewController
@interface
LookOnLineDetailViewController
:
UIViewController
@property
(
nonatomic
,
copy
)
NSString
*
uuid
;
@property
(
nonatomic
,
strong
)
LookOnLineModel
*
lookOnLine
;
@end
@end
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/OnLine/LookOnLineDetail/ViewController/LookOnLineDetailViewController.m
View file @
4c551c62
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
@property
(
nonatomic
,
strong
)
LookOnLineFootView
*
footView
;
@property
(
nonatomic
,
strong
)
LookOnLineFootView
*
footView
;
@property
(
nonatomic
,
strong
)
NSMutableArray
*
imageNameArray
;
@property
(
nonatomic
,
strong
)
NSMutableArray
*
imageNameArray
;
@property
(
nonatomic
,
strong
)
OnLineDetailModel
*
onLineDetail
;
@property
(
nonatomic
,
assign
)
int
rowNumber
;
@property
(
nonatomic
,
assign
)
int
rowNumber
;
@end
@end
...
@@ -52,7 +51,6 @@
...
@@ -52,7 +51,6 @@
-
(
void
)
viewWillAppear
:
(
BOOL
)
animated
-
(
void
)
viewWillAppear
:
(
BOOL
)
animated
{
{
[
super
viewWillAppear
:
animated
];
[
super
viewWillAppear
:
animated
];
[
self
requestOnLineDetail
];
}
}
...
@@ -82,25 +80,6 @@
...
@@ -82,25 +80,6 @@
self
.
navigationItem
.
titleView
=
customLab
;
self
.
navigationItem
.
titleView
=
customLab
;
}
}
-
(
void
)
requestOnLineDetail
{
NSString
*
url
=
[
NSString
stringWithFormat
:
@"%@%@%@?fetch_parts=stores"
,
kRedStarURL
,
kSportcheckDetailURL
,
self
.
uuid
];
url
=
[
url
stringByAddingPercentEscapesUsingEncoding
:
NSUTF8StringEncoding
];
HttpClient
*
httpClient
=
[[
HttpClient
alloc
]
initWithUrl
:
url
];
[
httpClient
getSportCheckDetailWithCompletion
:
^
(
id
response
,
NSError
*
error
)
{
NSLog
(
@"5.4 抽查明细 response = %@, error = %@"
,
response
,
error
);
NSDictionary
*
dataDict
=
response
[
@"data"
];
OnLineDetailModel
*
onlineDetail
=
[[
OnLineDetailModel
alloc
]
init
];
[
onlineDetail
setValuesForKeysWithDictionary
:
dataDict
];
_onLineDetail
=
onlineDetail
;
self
.
tableView
.
delegate
=
self
;
self
.
tableView
.
dataSource
=
self
;
[
self
.
tableView
reloadData
];
}];
}
-
(
void
)
reportRestult
:
(
UIButton
*
)
sender
-
(
void
)
reportRestult
:
(
UIButton
*
)
sender
{
{
...
@@ -166,7 +145,7 @@
...
@@ -166,7 +145,7 @@
NSString
*
operName
=
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"user_name"
];
NSString
*
operName
=
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"user_name"
];
NSString
*
url
=
[
NSString
stringWithFormat
:
@"%@%@%@?time=%@&operId=%@&operName=%@"
,
kRedStarURL
,
kReportCheckResultURL
,
@"checkId"
,
dateString
,
operId
,
operName
];
NSString
*
url
=
[
NSString
stringWithFormat
:
@"%@%@%@?time=%@&operId=%@&operName=%@"
,
kRedStarURL
,
kReportCheckResultURL
,
_lookOnLine
.
uuid
,
dateString
,
operId
,
operName
];
url
=
[
url
stringByAddingPercentEscapesUsingEncoding
:
NSUTF8StringEncoding
];
url
=
[
url
stringByAddingPercentEscapesUsingEncoding
:
NSUTF8StringEncoding
];
NSLog
(
@"上报抽检结果 url = %@"
,
url
);
NSLog
(
@"上报抽检结果 url = %@"
,
url
);
HttpClient
*
httpClient
=
[[
HttpClient
alloc
]
initWithUrl
:
url
];
HttpClient
*
httpClient
=
[[
HttpClient
alloc
]
initWithUrl
:
url
];
...
@@ -187,7 +166,7 @@
...
@@ -187,7 +166,7 @@
}
}
NSDictionary
*
parameters
=
@{
NSDictionary
*
parameters
=
@{
@"storeUuid"
:
@""
,
@"storeUuid"
:
_lookOnLine
.
store_uuid
,
@"processNote"
:
self
.
footView
.
contentTextView
.
text
,
@"processNote"
:
self
.
footView
.
contentTextView
.
text
,
@"attachments"
:
imageArray
,
@"attachments"
:
imageArray
,
};
};
...
@@ -195,9 +174,23 @@
...
@@ -195,9 +174,23 @@
[
httpClient
reportCheckResultWithParameters
:
parameters
completion
:
^
(
id
response
,
NSError
*
error
)
{
[
httpClient
reportCheckResultWithParameters
:
parameters
completion
:
^
(
id
response
,
NSError
*
error
)
{
NSLog
(
@"上报抽检结果 response = %@"
,
response
);
NSLog
(
@"上报抽检结果 response = %@"
,
response
);
NSLog
(
@"上报抽检结果 error = %@"
,
error
);
NSLog
(
@"上报抽检结果 error = %@"
,
error
);
if
([
response
[
@"message"
]
isEqualToString
:
@"ok"
])
{
UIAlertView
*
alert
=
[[
UIAlertView
alloc
]
initWithTitle
:
@"提示"
message
:
@"上报成功!"
delegate
:
self
cancelButtonTitle
:
nil
otherButtonTitles
:
@"确定"
,
nil
];
alert
.
tag
=
314332
;
alert
.
delegate
=
self
;
[
alert
show
];
}
}];
}];
}
}
}
}
if
(
alertView
.
tag
==
314332
)
{
if
(
buttonIndex
==
0
)
{
[
self
.
navigationController
popViewControllerAnimated
:
YES
];
}
}
}
}
#pragma mark - UIImagePickerController 代理方法
#pragma mark - UIImagePickerController 代理方法
...
@@ -260,7 +253,6 @@
...
@@ -260,7 +253,6 @@
[
cell
.
photoButton1
setImage
:
image0
forState
:
UIControlStateNormal
];
[
cell
.
photoButton1
setImage
:
image0
forState
:
UIControlStateNormal
];
NSString
*
imageName1
=
_imageNameArray
[(
indexPath
.
row
)
*
2
+
1
];
NSString
*
imageName1
=
_imageNameArray
[(
indexPath
.
row
)
*
2
+
1
];
NSLog
(
@"imageName = %@"
,
imageName1
);
NSString
*
fullPath1
=
[[
NSHomeDirectory
()
stringByAppendingPathComponent
:
@"Documents"
]
stringByAppendingPathComponent
:
imageName1
];
NSString
*
fullPath1
=
[[
NSHomeDirectory
()
stringByAppendingPathComponent
:
@"Documents"
]
stringByAppendingPathComponent
:
imageName1
];
UIImage
*
image1
=
[
UIImage
imageWithContentsOfFile
:
fullPath1
];
UIImage
*
image1
=
[
UIImage
imageWithContentsOfFile
:
fullPath1
];
[
cell
.
photoButton2
setImage
:
image1
forState
:
UIControlStateNormal
];
[
cell
.
photoButton2
setImage
:
image1
forState
:
UIControlStateNormal
];
...
@@ -312,7 +304,7 @@
...
@@ -312,7 +304,7 @@
if
(
!
_headerView
)
{
if
(
!
_headerView
)
{
_headerView
=
[[
LookOnLineDetailView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
kScreenWidth
,
295
)];
_headerView
=
[[
LookOnLineDetailView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
kScreenWidth
,
295
)];
_headerView
.
titleLabel
.
text
=
@"2015年十一促销临时抽查"
;
_headerView
.
titleLabel
.
text
=
@"2015年十一促销临时抽查"
;
_headerView
.
onLineDetail
=
_onLineDetail
;
_headerView
.
lookOnLine
=
_lookOnLine
;
}
}
return
_headerView
;
return
_headerView
;
}
}
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/OnLine/OnLineTaskComplete/ViewController/OnLineCompleteViewController.m
View file @
4c551c62
...
@@ -176,10 +176,14 @@
...
@@ -176,10 +176,14 @@
if
(
indexPath
.
section
==
0
)
{
if
(
indexPath
.
section
==
0
)
{
return
;
return
;
}
else
{
}
else
{
OnLineResultViewController
*
onLineResult
=
[[
OnLineResultViewController
alloc
]
init
];
onLineResult
.
storeDetail
=
_allStoreArray
[
indexPath
.
row
];
UIAlertView
*
alert
=
[[
UIAlertView
alloc
]
initWithTitle
:
@"提示"
message
:
@"当前功能正在开发!"
delegate
:
self
cancelButtonTitle
:
nil
otherButtonTitles
:
@"确定"
,
nil
];
onLineResult
.
checkUuid
=
self
.
uuid
;
[
alert
show
];
[
self
.
navigationController
pushViewController
:
onLineResult
animated
:
YES
];
// OnLineResultViewController *onLineResult = [[OnLineResultViewController alloc] init];
// onLineResult.storeDetail = _allStoreArray[indexPath.row];
// onLineResult.checkUuid = self.uuid;
// [self.navigationController pushViewController:onLineResult animated:YES];
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/OnLine/SpotCheckOnLine/ViewController/SpotCheckOnLineViewController.m
View file @
4c551c62
...
@@ -193,8 +193,10 @@
...
@@ -193,8 +193,10 @@
-
(
void
)
addSpotCheckTaskClick
:
(
UIButton
*
)
sender
-
(
void
)
addSpotCheckTaskClick
:
(
UIButton
*
)
sender
{
{
OnLineViewController
*
onlineVC
=
[[
OnLineViewController
alloc
]
init
];
UIAlertView
*
alert
=
[[
UIAlertView
alloc
]
initWithTitle
:
@"提示"
message
:
@"当前功能正在开发!"
delegate
:
self
cancelButtonTitle
:
nil
otherButtonTitles
:
@"确定"
,
nil
];
[
self
.
navigationController
pushViewController
:
onlineVC
animated
:
YES
];
[
alert
show
];
// OnLineViewController *onlineVC = [[OnLineViewController alloc] init];
// [self.navigationController pushViewController:onlineVC animated:YES];
}
}
-
(
void
)
dropCilck
:
(
MenuButton
*
)
sender
-
(
void
)
dropCilck
:
(
MenuButton
*
)
sender
...
@@ -380,7 +382,6 @@
...
@@ -380,7 +382,6 @@
[
parameters
setObject
:
@"reported"
forKey
:
@"state"
];
[
parameters
setObject
:
@"reported"
forKey
:
@"state"
];
}
else
{
}
else
{
[
parameters
setObject
:
@"finished"
forKey
:
@"state"
];
[
parameters
setObject
:
@"finished"
forKey
:
@"state"
];
}
}
NSArray
*
array
=
@[@{
@"field"
:
@"state"
}];
NSArray
*
array
=
@[@{
@"field"
:
@"state"
}];
[
parameters
setObject
:
array
forKey
:
@"queryOrders"
];
[
parameters
setObject
:
array
forKey
:
@"queryOrders"
];
...
@@ -490,7 +491,7 @@
...
@@ -490,7 +491,7 @@
#pragma mark - TaxisDelegate
#pragma mark - TaxisDelegate
-
(
void
)
timeChange
:
(
UIButton
*
)
sender
-
(
void
)
timeChange
:
(
UIButton
*
)
sender
{
{
_page
=
0
;
NSString
*
url
=
[
NSString
stringWithFormat
:
@"%@%@"
,
kRedStarURL
,
kManageSportcheckURL
];
NSString
*
url
=
[
NSString
stringWithFormat
:
@"%@%@"
,
kRedStarURL
,
kManageSportcheckURL
];
HttpClient
*
httpCilent
=
[[
HttpClient
alloc
]
initWithUrl
:
url
];
HttpClient
*
httpCilent
=
[[
HttpClient
alloc
]
initWithUrl
:
url
];
NSArray
*
queryOrders
;
NSArray
*
queryOrders
;
...
@@ -512,7 +513,7 @@
...
@@ -512,7 +513,7 @@
// 相关参数
// 相关参数
NSString
*
user_uuid
=
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"user_uuid"
];
NSString
*
user_uuid
=
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"user_uuid"
];
NSDictionary
*
parameters
=
@{
@"userUuid"
:
user_uuid
,
NSDictionary
*
parameters
=
@{
@"userUuid"
:
user_uuid
,
@"pageNumber"
:
@
(
0
),
@"pageNumber"
:
@
(
_page
),
@"pageSize"
:
@
(
10
),
@"pageSize"
:
@
(
10
),
@"queryOrders"
:
queryOrders
@"queryOrders"
:
queryOrders
};
};
...
@@ -520,7 +521,16 @@
...
@@ -520,7 +521,16 @@
[
httpCilent
getManageSportCheckListWithParameters
:
parameters
completion
:
^
(
id
response
,
NSError
*
error
)
{
[
httpCilent
getManageSportCheckListWithParameters
:
parameters
completion
:
^
(
id
response
,
NSError
*
error
)
{
NSLog
(
@"管理层的抽查列表 response= %@"
,
response
);
NSLog
(
@"管理层的抽查列表 response= %@"
,
response
);
NSLog
(
@"管理层的抽查列表 error= %@"
,
error
);
NSLog
(
@"管理层的抽查列表 error= %@"
,
error
);
NSDictionary
*
dataDict
=
response
[
@"data"
];
NSArray
*
recordsArray
=
dataDict
[
@"records"
];
NSMutableArray
*
tempArray
=
[
NSMutableArray
array
];
for
(
NSDictionary
*
dict
in
recordsArray
)
{
SpotCheckModel
*
spot
=
[[
SpotCheckModel
alloc
]
init
];
[
spot
setValuesForKeysWithDictionary
:
dict
];
[
tempArray
addObject
:
spot
];
}
_allSpotCheckList
=
tempArray
;
if
(
_allSpotCheckList
.
count
==
0
)
{
if
(
_allSpotCheckList
.
count
==
0
)
{
if
(
_tableView
)
{
if
(
_tableView
)
{
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/Picture/PictureList/ViewController/PictureViewController.m
View file @
4c551c62
...
@@ -115,8 +115,12 @@
...
@@ -115,8 +115,12 @@
-
(
void
)
addClick
:
(
UIButton
*
)
sender
-
(
void
)
addClick
:
(
UIButton
*
)
sender
{
{
AddPictureViewController
*
addPic
=
[[
AddPictureViewController
alloc
]
init
];
[
self
.
navigationController
pushViewController
:
addPic
animated
:
YES
];
UIAlertView
*
alert
=
[[
UIAlertView
alloc
]
initWithTitle
:
@"提示"
message
:
@"当前功能正在开发!"
delegate
:
self
cancelButtonTitle
:
nil
otherButtonTitles
:
@"确定"
,
nil
];
[
alert
show
];
// AddPictureViewController *addPic = [[AddPictureViewController alloc] init];
// [self.navigationController pushViewController:addPic animated:YES];
}
}
-
(
void
)
requestPicturePraise
-
(
void
)
requestPicturePraise
...
@@ -531,6 +535,7 @@
...
@@ -531,6 +535,7 @@
#pragma mark - TaxisDelegate
#pragma mark - TaxisDelegate
-
(
void
)
timeChange
:
(
UIButton
*
)
sender
-
(
void
)
timeChange
:
(
UIButton
*
)
sender
{
{
_page
=
0
;
// 请求地址
// 请求地址
NSString
*
urlStr
=
[
NSString
stringWithFormat
:
@"%@%@"
,
kRedStarURL
,
kQueryPicturePraiseURL
];
NSString
*
urlStr
=
[
NSString
stringWithFormat
:
@"%@%@"
,
kRedStarURL
,
kQueryPicturePraiseURL
];
NSString
*
user_uuid
=
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"user_uuid"
];
NSString
*
user_uuid
=
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"user_uuid"
];
...
@@ -550,7 +555,7 @@
...
@@ -550,7 +555,7 @@
}
}
NSDictionary
*
parameters
=
@{
@"user"
:
user_uuid
,
NSDictionary
*
parameters
=
@{
@"user"
:
user_uuid
,
@"pageNumber"
:
@
(
0
),
@"pageNumber"
:
@
(
_page
),
@"pageSize"
:
@
(
10
),
@"pageSize"
:
@
(
10
),
@"queryOrders"
:
queryOrders
@"queryOrders"
:
queryOrders
};
};
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/WordOfMouth/Inspect/InspectList/Cell/InspectListCell.m
View file @
4c551c62
...
@@ -43,9 +43,9 @@
...
@@ -43,9 +43,9 @@
{
{
_spotCheck
=
spotCheck
;
_spotCheck
=
spotCheck
;
self
.
titleLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
spotCheck
.
title
];
self
.
titleLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
spotCheck
.
title
];
self
.
startDate
.
text
=
[
NSString
stringWithFormat
:
@"起始时间:%@"
,
spotCheck
.
endDat
e
];
self
.
startDate
.
text
=
[
NSString
stringWithFormat
:
@"起始时间:%@"
,
spotCheck
.
create_tim
e
];
self
.
overDate
.
text
=
[
NSString
stringWithFormat
:
@"截止时间:%@"
,
spotCheck
.
endDate
];
self
.
overDate
.
text
=
[
NSString
stringWithFormat
:
@"截止时间:%@"
,
spotCheck
.
endDate
];
self
.
address
.
text
=
[
NSString
stringWithFormat
:
@"巡检商场:%@"
,
spotCheck
.
content
];
self
.
address
.
text
=
[
NSString
stringWithFormat
:
@"巡检商场:%@"
,
@"上海真北店"
];
self
.
alreadyLabel
.
text
=
[
NSString
stringWithFormat
:
@"%d"
,
spotCheck
.
reportCount
];
self
.
alreadyLabel
.
text
=
[
NSString
stringWithFormat
:
@"%d"
,
spotCheck
.
reportCount
];
self
.
allLabel
.
text
=
[
NSString
stringWithFormat
:
@"/%d"
,
spotCheck
.
storeCount
];
self
.
allLabel
.
text
=
[
NSString
stringWithFormat
:
@"/%d"
,
spotCheck
.
storeCount
];
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/WordOfMouth/Inspect/InspectList/ViewController/InspectListViewController.m
View file @
4c551c62
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
HttpClient
*
httpCilent
=
[[
HttpClient
alloc
]
initWithUrl
:
url
];
HttpClient
*
httpCilent
=
[[
HttpClient
alloc
]
initWithUrl
:
url
];
NSDictionary
*
parameters
=
@{
NSDictionary
*
parameters
=
@{
@"userUuid"
:
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"user_uuid"
],
@"userUuid"
:
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"user_uuid"
],
@"queryOrders"
:
@[@{
@"field"
:
@"lastModifyInfo"
}],
@"queryOrders"
:
@[@{
@"field"
:
@"lastModifyInfo"
,
@"direction"
:
@"desc"
}],
@"pageNumber"
:
@
(
_page
),
@"pageNumber"
:
@
(
_page
),
@"pageSize"
:
@
(
10
)
@"pageSize"
:
@
(
10
)
};
};
...
@@ -157,7 +157,7 @@
...
@@ -157,7 +157,7 @@
HttpClient
*
httpCilent
=
[[
HttpClient
alloc
]
initWithUrl
:
url
];
HttpClient
*
httpCilent
=
[[
HttpClient
alloc
]
initWithUrl
:
url
];
NSDictionary
*
parameters
=
@{
NSDictionary
*
parameters
=
@{
@"userUuid"
:
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"user_uuid"
],
@"userUuid"
:
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"user_uuid"
],
@"queryOrders"
:
@[@{
@"field"
:
@"lastModifyInfo"
}],
@"queryOrders"
:
@[@{
@"field"
:
@"lastModifyInfo"
,
@"direction"
:
@"desc"
}],
@"pageNumber"
:
@
(
0
),
@"pageNumber"
:
@
(
0
),
@"pageSize"
:
@
(
10
)
@"pageSize"
:
@
(
10
)
};
};
...
@@ -213,7 +213,7 @@
...
@@ -213,7 +213,7 @@
HttpClient
*
httpCilent
=
[[
HttpClient
alloc
]
initWithUrl
:
url
];
HttpClient
*
httpCilent
=
[[
HttpClient
alloc
]
initWithUrl
:
url
];
NSDictionary
*
parameters
=
@{
NSDictionary
*
parameters
=
@{
@"userUuid"
:
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"user_uuid"
],
@"userUuid"
:
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"user_uuid"
],
@"queryOrders"
:
@[@{
@"field"
:
@"lastModifyInfo"
}],
@"queryOrders"
:
@[@{
@"field"
:
@"lastModifyInfo"
,
@"direction"
:
@"desc"
}],
@"pageNumber"
:
@
(
0
),
@"pageNumber"
:
@
(
0
),
@"pageSize"
:
@
(
10
)
@"pageSize"
:
@
(
10
)
};
};
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/WordOfMouth/Inspect/InspectTask/ViewController/InspectTaskViewController.m
View file @
4c551c62
...
@@ -229,7 +229,6 @@
...
@@ -229,7 +229,6 @@
TaskGroup
*
taskGroup
=
_taskData
[
indexPath
.
section
-
1
];
TaskGroup
*
taskGroup
=
_taskData
[
indexPath
.
section
-
1
];
TaskModel
*
task
=
taskGroup
.
answers
[
indexPath
.
row
];
TaskModel
*
task
=
taskGroup
.
answers
[
indexPath
.
row
];
cell
.
task
=
task
;
cell
.
task
=
task
;
cell
.
titleLabel
.
text
=
[
NSString
stringWithFormat
:
@"%d、%@"
,
(
int
)
indexPath
.
row
+
1
,
task
.
title
];
cell
.
titleLabel
.
text
=
[
NSString
stringWithFormat
:
@"%d、%@"
,
(
int
)
indexPath
.
row
+
1
,
task
.
title
];
cell
.
selectionStyle
=
UITableViewCellSelectionStyleNone
;
cell
.
selectionStyle
=
UITableViewCellSelectionStyleNone
;
...
@@ -254,14 +253,20 @@
...
@@ -254,14 +253,20 @@
NSArray
*
permissions
=
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"permissions"
];
NSArray
*
permissions
=
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"permissions"
];
if
([
permissions
containsObject
:
@"500103"
])
{
if
([
permissions
containsObject
:
@"500103"
])
{
//InspectNoUpLoadViewController *inspectNotVC = [[InspectNoUpLoadViewController alloc] init];
if
([
task
.
readonly
isEqualToString
:
@"1"
])
{
InspectNotUploadViewController
*
inspectNotVC
=
[[
InspectNotUploadViewController
alloc
]
init
];
InspectUploadedViewController
*
inspectVC
=
[[
InspectUploadedViewController
alloc
]
init
];
inspectNotVC
.
questionCount
=
taskGroup
.
questionCount
;
inspectVC
.
questionCount
=
taskGroup
.
questionCount
;
inspectNotVC
.
taskModel
=
task
;
inspectVC
.
taskModel
=
task
;
inspectNotVC
.
store_uuid
=
_taskDetail
.
store_uuid
;
[
self
.
navigationController
pushViewController
:
inspectVC
animated
:
YES
];
inspectNotVC
.
praiseUuid
=
_taskDetail
.
uuid
;
}
else
{
inspectNotVC
.
questionUuid
=
task
.
uuid
;
InspectNotUploadViewController
*
inspectNotVC
=
[[
InspectNotUploadViewController
alloc
]
init
];
[
self
.
navigationController
pushViewController
:
inspectNotVC
animated
:
YES
];
inspectNotVC
.
questionCount
=
taskGroup
.
questionCount
;
inspectNotVC
.
taskModel
=
task
;
inspectNotVC
.
store_uuid
=
_taskDetail
.
store_uuid
;
inspectNotVC
.
praiseUuid
=
_taskDetail
.
uuid
;
inspectNotVC
.
questionUuid
=
task
.
uuid
;
[
self
.
navigationController
pushViewController
:
inspectNotVC
animated
:
YES
];
}
}
else
{
}
else
{
UIAlertView
*
alert
=
[[
UIAlertView
alloc
]
initWithTitle
:
@"提示"
message
:
@"您没有编辑检查点的权限!"
delegate
:
self
cancelButtonTitle
:
nil
otherButtonTitles
:
@"确定"
,
nil
];
UIAlertView
*
alert
=
[[
UIAlertView
alloc
]
initWithTitle
:
@"提示"
message
:
@"您没有编辑检查点的权限!"
delegate
:
self
cancelButtonTitle
:
nil
otherButtonTitles
:
@"确定"
,
nil
];
[
alert
show
];
[
alert
show
];
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/WordOfMouth/Ranking/RankingList/View/RankListHeaderView.m
View file @
4c551c62
...
@@ -59,6 +59,7 @@
...
@@ -59,6 +59,7 @@
bgButton
.
titleLabel
.
font
=
[
UIFont
systemFontOfSize
:
17
.
0
];
bgButton
.
titleLabel
.
font
=
[
UIFont
systemFontOfSize
:
17
.
0
];
[
bgButton
addTarget
:
self
action
:
@selector
(
headBtnClick
)
forControlEvents
:
UIControlEventTouchUpInside
];
[
bgButton
addTarget
:
self
action
:
@selector
(
headBtnClick
)
forControlEvents
:
UIControlEventTouchUpInside
];
bgButton
.
backgroundColor
=
[
UIColor
whiteColor
];
bgButton
.
backgroundColor
=
[
UIColor
whiteColor
];
bgButton
.
titleLabel
.
numberOfLines
=
0
;
[
self
addSubview
:
bgButton
];
[
self
addSubview
:
bgButton
];
_bgButton
=
bgButton
;
_bgButton
=
bgButton
;
...
@@ -129,13 +130,6 @@
...
@@ -129,13 +130,6 @@
}
else
{
}
else
{
_scoreLabel
.
text
=
[
NSString
stringWithFormat
:
@"%.1f"
,
rankListModel
.
score
];
_scoreLabel
.
text
=
[
NSString
stringWithFormat
:
@"%.1f"
,
rankListModel
.
score
];
}
}
// if (rankListModel.score == nil || rankListModel.score == NULL || [rankListModel.score isEqual:[NSNull null]]) {
// _scoreLabel.text = [NSString stringWithFormat:@"0"];
// } else {
// _scoreLabel.text = [NSString stringWithFormat:@"%@",rankListModel.score];
// }
}
}
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/WordOfMouth/Ranking/RankingList/ViewController/RankingListViewController.m
View file @
4c551c62
...
@@ -412,6 +412,7 @@
...
@@ -412,6 +412,7 @@
_pickerView
.
backgroundColor
=
[
UIColor
whiteColor
];
_pickerView
.
backgroundColor
=
[
UIColor
whiteColor
];
_pickerView
.
pickerView
.
delegate
=
self
;
_pickerView
.
pickerView
.
delegate
=
self
;
_pickerView
.
pickerView
.
dataSource
=
self
;
_pickerView
.
pickerView
.
dataSource
=
self
;
_pickerView
.
pickerView
.
showsSelectionIndicator
=
YES
;
}
}
_backGroundView
.
alpha
=
0
;
_backGroundView
.
alpha
=
0
;
_backGroundView
.
backgroundColor
=
[
UIColor
blackColor
];
_backGroundView
.
backgroundColor
=
[
UIColor
blackColor
];
...
@@ -512,7 +513,8 @@
...
@@ -512,7 +513,8 @@
-
(
NSString
*
)
pickerView
:
(
UIPickerView
*
)
pickerView
titleForRow
:
(
NSInteger
)
row
forComponent
:
(
NSInteger
)
component
-
(
NSString
*
)
pickerView
:
(
UIPickerView
*
)
pickerView
titleForRow
:
(
NSInteger
)
row
forComponent
:
(
NSInteger
)
component
{
{
NSDictionary
*
dict
=
_titleArray
[
row
];
NSDictionary
*
dict
=
_titleArray
[
row
];
return
[
NSString
stringWithFormat
:
@"%@"
,
dict
[
@"name"
]];
NSString
*
title
=
[
NSString
stringWithFormat
:
@"%@"
,
dict
[
@"name"
]];
return
title
;
}
}
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Home/ViewController/HomeViewController.m
View file @
4c551c62
...
@@ -114,7 +114,6 @@ typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);
...
@@ -114,7 +114,6 @@ typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);
if
([
permissions
containsObject
:
@"500501"
]
||
[
permissions
containsObject
:
@"500502"
])
{
if
([
permissions
containsObject
:
@"500501"
]
||
[
permissions
containsObject
:
@"500502"
])
{
[
self
.
titleArray
addObject
:
@"问题知识"
];
[
self
.
titleArray
addObject
:
@"问题知识"
];
[
self
requestQuestionList
];
[
self
requestQuestionList
];
}
}
...
@@ -130,17 +129,6 @@ typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);
...
@@ -130,17 +129,6 @@ typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);
}
}
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
_titleArray
forKey
:
@"function"
];
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
_titleArray
forKey
:
@"function"
];
NSLog
(
@"-title = =%@"
,
_titleArray
);
// 初始化容器
// self.btnTitleArray = [NSArray arrayWithObjects:@"在线抽查", @"口碑巡检",@"口碑标准",@"图说口碑",@"问题知识",@"口碑排名",@"查看抽查", nil];
// self.announeArray = [NSArray arrayWithObjects:@"关于展开10月口碑巡检的说明", @"迎2015十一大促活动启动", @"9月口碑巡检结果排名已公布", nil];
//
// // 初始化
// self.test1Array = [NSArray arrayWithObjects:@"【服务口碑现场】第二期",@"讲述红星人自己的故事",@"【服务口碑现场】第一期", nil];
// self.test2Array = [NSArray arrayWithObjects:@"把第一次客户投诉变成商场服务提升的契机,变成商场服务提升的契机。",@"变成商场服务提升的契机,变成商场服务提升的契机。",@"把第一次客户投诉变成商场服务提升的契机,变成商场服务提升的契机。", nil];
// self.test3Array = [NSArray arrayWithObjects:@"2015-08-26",@"2015-08-09",@"2015-07-31", nil];
[
self
setupNav
];
[
self
setupNav
];
...
@@ -193,7 +181,7 @@ typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);
...
@@ -193,7 +181,7 @@ typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);
NSString
*
url3
=
[
NSString
stringWithFormat
:
@"%@%@"
,
kRedStarURL
,
kInspectListURL
];
NSString
*
url3
=
[
NSString
stringWithFormat
:
@"%@%@"
,
kRedStarURL
,
kInspectListURL
];
HttpClient
*
httpCilent3
=
[[
HttpClient
alloc
]
initWithUrl
:
url3
];
HttpClient
*
httpCilent3
=
[[
HttpClient
alloc
]
initWithUrl
:
url3
];
NSDictionary
*
parameters3
=
@{
@"userUuid"
:
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"user_uuid"
],
NSDictionary
*
parameters3
=
@{
@"userUuid"
:
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"user_uuid"
],
@"queryOrders"
:
@[@{
@"field"
:
@"lastModifyInfo"
}],
@"queryOrders"
:
@[@{
@"field"
:
@"lastModifyInfo"
,
@"direction"
:
@"desc"
}],
@"pageNumber"
:
@
(
0
),
@"pageNumber"
:
@
(
0
),
@"pageSize"
:
@
(
2
)
@"pageSize"
:
@
(
2
)
};
};
...
@@ -353,7 +341,7 @@ typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);
...
@@ -353,7 +341,7 @@ typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);
NSDictionary
*
parameters
=
@{
NSDictionary
*
parameters
=
@{
@"userUuid"
:
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"user_uuid"
],
@"userUuid"
:
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"user_uuid"
],
@"queryOrders"
:
@[@{
@"field"
:
@"lastModifyInfo"
}],
@"queryOrders"
:
@[@{
@"field"
:
@"lastModifyInfo"
,
@"direction"
:
@"desc"
}],
@"pageNumber"
:
@
(
0
),
@"pageNumber"
:
@
(
0
),
@"pageSize"
:
@
(
2
)
@"pageSize"
:
@
(
2
)
};
};
...
@@ -504,8 +492,15 @@ typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);
...
@@ -504,8 +492,15 @@ typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);
InspectListViewController
*
inspectListVC
=
[[
InspectListViewController
alloc
]
init
];
InspectListViewController
*
inspectListVC
=
[[
InspectListViewController
alloc
]
init
];
nav
=
[[
UINavigationController
alloc
]
initWithRootViewController
:
inspectListVC
];
nav
=
[[
UINavigationController
alloc
]
initWithRootViewController
:
inspectListVC
];
}
else
if
([
item
.
titleLabel
.
text
isEqualToString
:
@"口碑标准"
])
{
}
else
if
([
item
.
titleLabel
.
text
isEqualToString
:
@"口碑标准"
])
{
LookOnLineViewController
*
lookOnLine
=
[[
LookOnLineViewController
alloc
]
init
];
nav
=
[[
UINavigationController
alloc
]
initWithRootViewController
:
lookOnLine
];
UIAlertView
*
alert
=
[[
UIAlertView
alloc
]
initWithTitle
:
@"提示"
message
:
@"当前功能正在开发!"
delegate
:
self
cancelButtonTitle
:
nil
otherButtonTitles
:
@"确定"
,
nil
];
[
alert
show
];
return
;
// LookOnLineViewController *lookOnLine = [[LookOnLineViewController alloc] init];
// nav = [[UINavigationController alloc] initWithRootViewController:lookOnLine];
// StandardViewController *standardVC = [[StandardViewController alloc] init];
// StandardViewController *standardVC = [[StandardViewController alloc] init];
// nav = [[UINavigationController alloc] initWithRootViewController:standardVC];
// nav = [[UINavigationController alloc] initWithRootViewController:standardVC];
}
else
if
([
item
.
titleLabel
.
text
isEqualToString
:
@"图说口碑"
])
{
}
else
if
([
item
.
titleLabel
.
text
isEqualToString
:
@"图说口碑"
])
{
...
...
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