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
31f0b0d4
Commit
31f0b0d4
authored
9 years ago
by
admin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
b8a4f019
master
develop
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
6 deletions
+14
-6
UserInterfaceState.xcuserstate
...userdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
Url.h
redstar/Classes/Macro/Url.h
+2
-2
RankingListViewController.m
...ng/RankingList/ViewController/RankingListViewController.m
+12
-4
No files found.
redstar.xcworkspace/xcuserdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
View file @
31f0b0d4
No preview for this file type
This diff is collapsed.
Click to expand it.
redstar/Classes/Macro/Url.h
View file @
31f0b0d4
...
@@ -10,11 +10,11 @@
...
@@ -10,11 +10,11 @@
#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://172.16.3.12:7580/"
//
#define kRedStarURL @"http://172.16.3.12:7580/"
// 检查更新
// 检查更新
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/WordOfMouth/Ranking/RankingList/ViewController/RankingListViewController.m
View file @
31f0b0d4
...
@@ -56,6 +56,8 @@
...
@@ -56,6 +56,8 @@
@property
(
nonatomic
,
assign
)
NSInteger
pickRow
;
@property
(
nonatomic
,
assign
)
NSInteger
pickRow
;
@property
(
nonatomic
,
strong
)
NSMutableArray
*
uuidArray
;
@property
(
nonatomic
,
strong
)
NSMutableArray
*
uuidArray
;
@property
(
nonatomic
,
assign
)
NSInteger
statisMode
;
@end
@end
@implementation
RankingListViewController
@implementation
RankingListViewController
...
@@ -195,11 +197,12 @@
...
@@ -195,11 +197,12 @@
NSString
*
url
=
[
NSString
stringWithFormat
:
@"%@%@"
,
kRedStarURL
,
kRankingListURL
];
NSString
*
url
=
[
NSString
stringWithFormat
:
@"%@%@"
,
kRedStarURL
,
kRankingListURL
];
NSInteger
statisMode
=
_selectButton
.
tag
-
323228
;
_statisMode
=
_selectButton
.
tag
-
323228
;
HttpClient
*
httpCilent
=
[[
HttpClient
alloc
]
initWithUrl
:
url
];
HttpClient
*
httpCilent
=
[[
HttpClient
alloc
]
initWithUrl
:
url
];
NSDictionary
*
dict
=
_titleArray
[
_pickRow
];
NSDictionary
*
dict
=
_titleArray
[
_pickRow
];
NSDictionary
*
parameters
=
@{
@"praiseUuid"
:
dict
[
@"uuid"
],
NSDictionary
*
parameters
=
@{
@"praiseUuid"
:
dict
[
@"uuid"
],
@"statisMode"
:
@
(
statisMode
),
@"statisMode"
:
@
(
_
statisMode
),
@"orgUuids"
:
_uuidArray
@"orgUuids"
:
_uuidArray
};
};
NSLog
(
@"parrrrrters = %@"
,
parameters
);
NSLog
(
@"parrrrrters = %@"
,
parameters
);
...
@@ -460,10 +463,15 @@
...
@@ -460,10 +463,15 @@
return
nil
;
return
nil
;
}
else
{
}
else
{
RankListModel
*
rankList
=
_rankData
[
section
-
1
];
RankListModel
*
rankList
=
_rankData
[
section
-
1
];
NSLog
(
@"indeB === %d"
,
rankList
.
index
);
RankListHeaderView
*
headView
=
[
RankListHeaderView
headViewWithTableView
:
tableView
section
:
section
-
1
index
:
rankList
.
index
];
RankListHeaderView
*
headView
=
[
RankListHeaderView
headViewWithTableView
:
tableView
section
:
section
-
1
index
:
rankList
.
index
];
headView
.
delegate
=
self
;
headView
.
delegate
=
self
;
if
(
_statisMode
==
1
)
{
[
headView
.
pushButton
removeTarget
:
self
action
:
@selector
(
pushclick
:
)
forControlEvents
:
UIControlEventTouchUpInside
];
}
else
{
[
headView
.
pushButton
addTarget
:
self
action
:
@selector
(
pushclick
:
)
forControlEvents
:
UIControlEventTouchUpInside
];
[
headView
.
pushButton
addTarget
:
self
action
:
@selector
(
pushclick
:
)
forControlEvents
:
UIControlEventTouchUpInside
];
}
headView
.
rankListModel
=
rankList
;
headView
.
rankListModel
=
rankList
;
return
headView
;
return
headView
;
}
}
...
...
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