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
9a039119
Commit
9a039119
authored
Dec 09, 2015
by
admin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成“获取管理人员抽查列表”
parent
54a3efee
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
140 additions
and
50 deletions
+140
-50
UserInterfaceState.xcuserstate
...userdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
Url.h
redstar/Classes/Macro/Url.h
+3
-0
LookOnLineViewController.m
...Line/LookOnLine/ViewController/LookOnLineViewController.m
+10
-9
SpotCheckOnLineViewController.m
...heckOnLine/ViewController/SpotCheckOnLineViewController.m
+106
-41
HandOutViewController.m
...ar/StandardHandout/ViewController/HandOutViewController.m
+7
-0
HttpClient.h
redstar/Classes/Tools/HttpClient/HttpClient.h
+4
-0
HttpClient.m
redstar/Classes/Tools/HttpClient/HttpClient.m
+10
-0
No files found.
redstar.xcworkspace/xcuserdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
View file @
9a039119
No preview for this file type
redstar/Classes/Macro/Url.h
View file @
9a039119
...
@@ -59,4 +59,7 @@
...
@@ -59,4 +59,7 @@
// 提交公告
// 提交公告
#define kAnnounceYetReadURL @"redstar-server/rest/affiche/read/"
#define kAnnounceYetReadURL @"redstar-server/rest/affiche/read/"
// 管理层的抽查列表
#define kManageSportcheckURL @"redstar-server/rest/sportcheck/query"
#endif
/* Url_h */
#endif
/* Url_h */
redstar/Classes/Module/Function/OnLine/LookOnLine/ViewController/LookOnLineViewController.m
View file @
9a039119
...
@@ -331,20 +331,21 @@
...
@@ -331,20 +331,21 @@
_menuView
=
[[
MenuView
alloc
]
init
];
_menuView
=
[[
MenuView
alloc
]
init
];
_menuView
.
translatesAutoresizingMaskIntoConstraints
=
NO
;
_menuView
.
translatesAutoresizingMaskIntoConstraints
=
NO
;
_menuView
.
backgroundColor
=
kInspectSectionBackGroundColor
;
_menuView
.
backgroundColor
=
kInspectSectionBackGroundColor
;
UIWindow
*
window
=
[[
UIApplication
sharedApplication
].
windows
lastObject
];
[
_menuView
.
taxiButton
addTarget
:
self
action
:
@selector
(
dropCilck
:
)
forControlEvents
:
UIControlEventTouchUpInside
];
[
window
addSubview
:
_menuView
];
[
_menuView
.
screenButton
addTarget
:
self
action
:
@selector
(
dropCilck
:
)
forControlEvents
:
UIControlEventTouchUpInside
];
[
self
.
view
addSubview
:
_menuView
];
NSLayoutConstraint
*
menuTop
=
[
NSLayoutConstraint
constraintWithItem
:
_menuView
attribute
:
NSLayoutAttributeTop
relatedBy
:
NSLayoutRelationEqual
toItem
:
window
attribute
:
NSLayoutAttributeTop
multiplier
:
1
.
0
constant
:
64
];
NSLayoutConstraint
*
menuTop
=
[
NSLayoutConstraint
constraintWithItem
:
_menuView
attribute
:
NSLayoutAttributeTop
relatedBy
:
NSLayoutRelationEqual
toItem
:
self
.
view
attribute
:
NSLayoutAttributeTop
multiplier
:
1
.
0
constant
:
0
];
[
windo
w
addConstraint
:
menuTop
];
[
self
.
vie
w
addConstraint
:
menuTop
];
NSLayoutConstraint
*
menuLeft
=
[
NSLayoutConstraint
constraintWithItem
:
_menuView
attribute
:
NSLayoutAttributeLeft
relatedBy
:
NSLayoutRelationEqual
toItem
:
windo
w
attribute
:
NSLayoutAttributeLeft
multiplier
:
1
.
0
constant
:
0
];
NSLayoutConstraint
*
menuLeft
=
[
NSLayoutConstraint
constraintWithItem
:
_menuView
attribute
:
NSLayoutAttributeLeft
relatedBy
:
NSLayoutRelationEqual
toItem
:
self
.
vie
w
attribute
:
NSLayoutAttributeLeft
multiplier
:
1
.
0
constant
:
0
];
[
windo
w
addConstraint
:
menuLeft
];
[
self
.
vie
w
addConstraint
:
menuLeft
];
NSLayoutConstraint
*
menuRight
=
[
NSLayoutConstraint
constraintWithItem
:
_menuView
attribute
:
NSLayoutAttributeRight
relatedBy
:
NSLayoutRelationEqual
toItem
:
windo
w
attribute
:
NSLayoutAttributeRight
multiplier
:
1
.
0
constant
:
0
];
NSLayoutConstraint
*
menuRight
=
[
NSLayoutConstraint
constraintWithItem
:
_menuView
attribute
:
NSLayoutAttributeRight
relatedBy
:
NSLayoutRelationEqual
toItem
:
self
.
vie
w
attribute
:
NSLayoutAttributeRight
multiplier
:
1
.
0
constant
:
0
];
[
windo
w
addConstraint
:
menuRight
];
[
self
.
vie
w
addConstraint
:
menuRight
];
NSLayoutConstraint
*
menuHeight
=
[
NSLayoutConstraint
constraintWithItem
:
_menuView
attribute
:
NSLayoutAttributeHeight
relatedBy
:
NSLayoutRelationEqual
toItem
:
nil
attribute
:
NSLayoutAttributeNotAnAttribute
multiplier
:
1
.
0
constant
:
45
];
NSLayoutConstraint
*
menuHeight
=
[
NSLayoutConstraint
constraintWithItem
:
_menuView
attribute
:
NSLayoutAttributeHeight
relatedBy
:
NSLayoutRelationEqual
toItem
:
nil
attribute
:
NSLayoutAttributeNotAnAttribute
multiplier
:
1
.
0
constant
:
45
];
[
windo
w
addConstraint
:
menuHeight
];
[
self
.
vie
w
addConstraint
:
menuHeight
];
}
}
return
_menuView
;
return
_menuView
;
}
}
...
...
redstar/Classes/Module/Function/OnLine/SpotCheckOnLine/ViewController/SpotCheckOnLineViewController.m
View file @
9a039119
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/Standar/StandardHandout/ViewController/HandOutViewController.m
View file @
9a039119
...
@@ -12,6 +12,8 @@
...
@@ -12,6 +12,8 @@
#import "MenuView.h"
#import "MenuView.h"
#import "StandardViewController.h"
#import "StandardViewController.h"
#import "NoDataView.h"
@interface
HandOutViewController
()
<
ScreenTableDelegate
,
TaxisViewDelegate
,
InspectTableViewDelegate
>
@interface
HandOutViewController
()
<
ScreenTableDelegate
,
TaxisViewDelegate
,
InspectTableViewDelegate
>
@property
(
nonatomic
,
strong
)
MenuView
*
menuView
;
@property
(
nonatomic
,
strong
)
MenuView
*
menuView
;
...
@@ -22,6 +24,9 @@
...
@@ -22,6 +24,9 @@
@property
(
nonatomic
,
strong
)
UIView
*
bgView
;
@property
(
nonatomic
,
strong
)
UIView
*
bgView
;
@property
(
nonatomic
,
assign
)
NSInteger
selectRow
;
@property
(
nonatomic
,
assign
)
NSInteger
selectRow
;
@property
(
nonatomic
,
assign
)
NSInteger
timeSelectNum
;
@property
(
nonatomic
,
assign
)
NSInteger
timeSelectNum
;
@property
(
nonatomic
,
strong
)
NoDataView
*
noDataView
;
@end
@end
@implementation
HandOutViewController
@implementation
HandOutViewController
...
@@ -301,4 +306,6 @@
...
@@ -301,4 +306,6 @@
}
}
return
_menuView
;
return
_menuView
;
}
}
@end
@end
redstar/Classes/Tools/HttpClient/HttpClient.h
View file @
9a039119
...
@@ -63,4 +63,8 @@ typedef void (^completionBlock) (id response, NSError *error);
...
@@ -63,4 +63,8 @@ typedef void (^completionBlock) (id response, NSError *error);
// 提交公告已读状态
// 提交公告已读状态
-
(
void
)
settingAnnounceYetReadWithCompletion
:(
completionBlock
)
completion
;
-
(
void
)
settingAnnounceYetReadWithCompletion
:(
completionBlock
)
completion
;
// 获取管理层的抽查任务的列表
-
(
void
)
getManageSportCheckListWithParameters
:(
id
)
parameters
completion
:(
completionBlock
)
completion
;
@end
@end
redstar/Classes/Tools/HttpClient/HttpClient.m
View file @
9a039119
...
@@ -241,4 +241,14 @@
...
@@ -241,4 +241,14 @@
}];
}];
}
}
// 获取管理层的抽查任务的列表
-
(
void
)
getManageSportCheckListWithParameters
:
(
id
)
parameters
completion
:
(
completionBlock
)
completion
{
[
self
postParameters
:
parameters
completion
:
^
(
id
response
,
NSError
*
error
)
{
if
(
completion
)
{
completion
(
response
,
error
);
}
}];
}
@end
@end
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