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
ea82248d
Commit
ea82248d
authored
9 years ago
by
admin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
屏蔽“在线抽查”
parent
6fc57053
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
12 deletions
+18
-12
UserInterfaceState.xcuserstate
...userdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
SOPViewController.m
...n/Standar/SOPCategarys/ViewController/SOPViewController.m
+4
-2
ShowPDFWebViewController.m
...Standar/ShowPDF/ViewController/ShowPDFWebViewController.m
+2
-0
HomeViewController.m
...r/Classes/Module/Home/ViewController/HomeViewController.m
+12
-10
No files found.
redstar.xcworkspace/xcuserdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
View file @
ea82248d
No preview for this file type
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/Standar/SOPCategarys/ViewController/SOPViewController.m
View file @
ea82248d
...
...
@@ -301,19 +301,21 @@
operation
.
outputStream
=
[
NSOutputStream
outputStreamToFileAtPath
:
fileName
append
:
NO
];
[
MBProgressHUD
showHUDAddedTo
:
self
.
view
animated
:
YES
];
//已完成下载
[
operation
setCompletionBlockWithSuccess
:
^
(
AFHTTPRequestOperation
*
operation
,
id
responseObject
)
{
[
self
closeRedView
];
UIAlertView
*
alert
=
[[
UIAlertView
alloc
]
initWithTitle
:
@"提示"
message
:
@"下载成功!"
delegate
:
self
cancelButtonTitle
:
nil
otherButtonTitles
:
@"确定"
,
nil
];
alert
.
tag
=
66690
;
[
alert
show
];
[
MBProgressHUD
hideHUDForView
:
self
.
view
animated
:
YES
];
[
self
.
tableView
reloadData
];
}
failure
:
^
(
AFHTTPRequestOperation
*
operation
,
NSError
*
error
)
{
[
self
closeRedView
];
UIAlertView
*
alert
=
[[
UIAlertView
alloc
]
initWithTitle
:
@"警告"
message
:
@"下载失败!"
delegate
:
self
cancelButtonTitle
:
nil
otherButtonTitles
:
@"确定"
,
nil
];
[
alert
show
];
[
MBProgressHUD
hideHUDForView
:
self
.
view
animated
:
YES
];
[
self
.
tableView
reloadData
];
}];
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/Standar/ShowPDF/ViewController/ShowPDFWebViewController.m
View file @
ea82248d
...
...
@@ -7,6 +7,7 @@
//
#import "ShowPDFWebViewController.h"
#import <MBProgressHUD.h>
@interface
ShowPDFWebViewController
()
@property
(
nonatomic
,
strong
)
UIWebView
*
webView
;
...
...
@@ -21,6 +22,7 @@
NSURLRequest
*
request
=
[
NSURLRequest
requestWithURL
:[
NSURL
fileURLWithPath
:
self
.
url
]];
[
self
.
webView
loadRequest
:
request
];
}
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Home/ViewController/HomeViewController.m
View file @
ea82248d
...
...
@@ -109,7 +109,9 @@ typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);
self
.
navigationItem
.
titleView
=
customLab
;
self
.
titleArray
=
[
NSMutableArray
array
];
self
.
sectionArray
=
[
NSMutableArray
arrayWithObjects
:
@"口碑报告"
,
@"商场风采"
,
@"优秀案例"
,
@"巡店报告"
,
@"问题知识"
,
@"口碑巡检"
,
@"在线抽查"
,
@"查看抽查"
,
nil
];
// self.sectionArray = [NSMutableArray arrayWithObjects:@"口碑报告",@"商场风采",@"优秀案例",@"巡店报告", @"问题知识",@"口碑巡检",@"在线抽查", @"查看抽查",nil];
self
.
sectionArray
=
[
NSMutableArray
arrayWithObjects
:
@"口碑报告"
,
@"商场风采"
,
@"优秀案例"
,
@"巡店报告"
,
@"问题知识"
,
@"口碑巡检"
,
nil
];
self
.
allRankListArray
=
[
NSMutableArray
array
];
self
.
taskListDataArray
=
[
NSMutableArray
array
];
self
.
allQuestionArray
=
[
NSMutableArray
array
];
...
...
@@ -165,15 +167,15 @@ typedef NSComparisonResult (^NSComparator)(id obj1, id obj2);
[
_sectionArray
removeObject
:
@"口碑巡检"
];
}
if
([
permissions
containsObject
:
@"500701"
])
{
[
self
.
titleArray
addObject
:
@"在线抽查"
];
[
self
requestSpotCheckList
];
}
if
([
permissions
containsObject
:
@"500702"
])
{
[
self
.
titleArray
addObject
:
@"查看抽查"
];
[
self
requestLookOnLineList
];
}
//
if ([permissions containsObject:@"500701"]) {
//
[self.titleArray addObject:@"在线抽查"];
//
[self requestSpotCheckList];
//
}
//
//
if ([permissions containsObject:@"500702"]) {
//
[self.titleArray addObject:@"查看抽查"];
//
[self requestLookOnLineList];
//
}
[
self
setupTableView
];
...
...
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