Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
X
xffruit
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
张杰
xffruit
Commits
00f687c6
Commit
00f687c6
authored
9 years ago
by
陈俊俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
是否是叶子节点
parent
67ec38fb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
ReportViewController.m
...ViewControllers/Report/Controllers/ReportViewController.m
+1
-2
Compass.h
XFFruit/ViewControllers/Report/Models/Compass.h
+1
-1
RsearchCell.m
XFFruit/ViewControllers/Report/Views/RsearchCell.m
+1
-1
No files found.
XFFruit/ViewControllers/Report/Controllers/ReportViewController.m
View file @
00f687c6
...
...
@@ -409,8 +409,7 @@
Compass
*
parentCompass
=
[
self
.
dataArr
objectAtIndex
:
indexPath
.
row
];
//如果当前点击的不是删除,则要先获取数据在进行插入
if
(
!
[
self
isHaveIndexPath
:
indexPath
])
{
#warning 要修改的
if
(
parentCompass
.
isleaf
||
parentCompass
.
level
==
3
)
{
if
(
parentCompass
.
isLeaf
)
{
//如果是子节点就不用进行网络请求
return
;
}
//不是子节点进行网络请求
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/Report/Models/Compass.h
View file @
00f687c6
...
...
@@ -74,5 +74,5 @@
@property
(
nonatomic
,
strong
)
NSNumber
*
grossprofitYoYRate
;
//毛利率同比增减率 是 Double
@property
(
nonatomic
,
assign
)
BOOL
expand
;
//该节点是否处于展开状态
@property
(
nonatomic
,
assign
)
BOOL
is
l
eaf
;
@property
(
nonatomic
,
assign
)
BOOL
is
L
eaf
;
@end
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/Report/Views/RsearchCell.m
View file @
00f687c6
...
...
@@ -38,7 +38,7 @@
}
-
(
void
)
setvalueWithLowerOrgs
:
(
LowerOrgs
*
)
orgs
{
self
.
titleLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@
%@"
,
orgs
.
code
,
orgs
.
nam
e
];
self
.
titleLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@
【%@】"
,
orgs
.
name
,
orgs
.
cod
e
];
}
-
(
void
)
awakeFromNib
{
...
...
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