Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
万
万科
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
张杰
万科
Commits
b7583950
Commit
b7583950
authored
Aug 26, 2016
by
Sandy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
销售录入审批权限控制
parent
450e7059
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
53 additions
and
11 deletions
+53
-11
Info.plist
build/Release-iphoneos/vanke.app.dSYM/Contents/Info.plist
+1
-1
vanke
...se-iphoneos/vanke.app.dSYM/Contents/Resources/DWARF/vanke
+0
-0
Info.plist
build/Release-iphoneos/vanke.app/Info.plist
+0
-0
CodeResources
...d/Release-iphoneos/vanke.app/_CodeSignature/CodeResources
+1
-1
vanke
build/Release-iphoneos/vanke.app/vanke
+0
-0
Info.plist
vanke/Info.plist
+1
-1
VankeAffairsBoard_iPhone.m
.../view_iPhone/templates/affairs/VankeAffairsBoard_iPhone.m
+43
-4
SaleInputAuditViewController.h
...ates/salesInput/Controller/SaleInputAuditViewController.h
+2
-1
SaleInputAuditViewController.m
...ates/salesInput/Controller/SaleInputAuditViewController.m
+5
-3
No files found.
build/Release-iphoneos/vanke.app.dSYM/Contents/Info.plist
View file @
b7583950
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
string
>
????
<
/string
>
<
string
>
????
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
1.5.
0
<
/string
>
<
string
>
1.5.
1
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
0
<
/string
>
<
string
>
0
<
/string
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
...
...
build/Release-iphoneos/vanke.app.dSYM/Contents/Resources/DWARF/vanke
View file @
b7583950
No preview for this file type
build/Release-iphoneos/vanke.app/Info.plist
View file @
b7583950
No preview for this file type
build/Release-iphoneos/vanke.app/_CodeSignature/CodeResources
View file @
b7583950
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
</data>
</data>
<key>
Info.plist
</key>
<key>
Info.plist
</key>
<data>
<data>
bvKji1hK8e2+lBMGLBvRKaTldjw
=
eu83K03nOGtejgXjrDWGcfp2khY
=
</data>
</data>
<key>
MJRefresh.bundle/arrow@2x.png
</key>
<key>
MJRefresh.bundle/arrow@2x.png
</key>
<data>
<data>
...
...
build/Release-iphoneos/vanke.app/vanke
View file @
b7583950
No preview for this file type
vanke/Info.plist
View file @
b7583950
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
1.5.
0
<
/string
>
<
string
>
1.5.
1
<
/string
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
string
>
????
<
/string
>
<
string
>
????
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
...
...
vanke/view_iPhone/templates/affairs/VankeAffairsBoard_iPhone.m
View file @
b7583950
...
@@ -165,7 +165,7 @@ ON_SIGNAL3(VankeAffairsBoard_iPhone, btnSaleInput, signal) {
...
@@ -165,7 +165,7 @@ ON_SIGNAL3(VankeAffairsBoard_iPhone, btnSaleInput, signal) {
}
}
CGFloat
yOffset
=
(
self
.
view
.
bounds
.
size
.
height
-
yHeight
)
/
2
.
0
f
;
CGFloat
yOffset
=
(
self
.
view
.
bounds
.
size
.
height
-
yHeight
)
/
2
.
0
f
;
UIPopoverListView
*
poplistview
=
[[
UIPopoverListView
alloc
]
initWithFrame
:
CGRectMake
(
10
,
yOffset
,
xWidth
,
yHeight
)];
UIPopoverListView
*
poplistview
=
[[
UIPopoverListView
alloc
]
initWithFrame
:
CGRectMake
(
10
,
yOffset
,
xWidth
,
yHeight
)];
poplistview
.
tag
=
1000
1
;
poplistview
.
tag
=
1000
3
;
poplistview
.
delegate
=
self
;
poplistview
.
delegate
=
self
;
poplistview
.
datasource
=
self
;
poplistview
.
datasource
=
self
;
poplistview
.
listView
.
scrollEnabled
=
YES
;
poplistview
.
listView
.
scrollEnabled
=
YES
;
...
@@ -181,10 +181,40 @@ ON_SIGNAL3(VankeAffairsBoard_iPhone, btnServiceApply, signal) {
...
@@ -181,10 +181,40 @@ ON_SIGNAL3(VankeAffairsBoard_iPhone, btnServiceApply, signal) {
ON_SIGNAL3
(
VankeAffairsBoard_iPhone
,
btnBillAudit
,
signal
)
{
ON_SIGNAL3
(
VankeAffairsBoard_iPhone
,
btnBillAudit
,
signal
)
{
[[
VankeAppBoard_iPhone
sharedInstance
]
hideMenu
];
[[
VankeAppBoard_iPhone
sharedInstance
]
hideMenu
];
VankeCommonModel
*
userModel
=
[
VankeCommonModel
sharedInstance
];
authorizedOrgs
=
[
userModel
getAuthOrgs
];
if
(
authorizedOrgs
.
count
==
0
)
{
return
;
}
else
if
(
authorizedOrgs
.
count
==
1
)
{
AuthorizedOrg
*
org
=
[
authorizedOrgs
objectAtIndex
:
0
];
UIStoryboard
*
storyBoard
=
[
UIStoryboard
storyboardWithName
:
@"SalesInPut"
bundle
:
nil
];
SaleInputAuditViewController
*
auditVC
=
[
storyBoard
instantiateViewControllerWithIdentifier
:
@"SaleInputAuditViewController"
];
auditVC
.
org
=
org
;
[
self
.
navigationController
pushViewController
:
auditVC
animated
:
YES
];
}
else
{
CGFloat
xWidth
=
self
.
view
.
bounds
.
size
.
width
-
20
.
0
f
;
CGFloat
yHeight
=
authorizedOrgs
.
count
*
60
+
50
;
if
(
yHeight
>
400
)
{
yHeight
=
400
.
0
f
;
}
CGFloat
yOffset
=
(
self
.
view
.
bounds
.
size
.
height
-
yHeight
)
/
2
.
0
f
;
UIPopoverListView
*
poplistview
=
[[
UIPopoverListView
alloc
]
initWithFrame
:
CGRectMake
(
10
,
yOffset
,
xWidth
,
yHeight
)];
poplistview
.
tag
=
10001
;
poplistview
.
delegate
=
self
;
poplistview
.
datasource
=
self
;
poplistview
.
listView
.
scrollEnabled
=
YES
;
[
poplistview
setTitle
:
@"请选择查看项目"
];
[
poplistview
show
];
}
CLog
(
@"销售录入审核"
);
CLog
(
@"销售录入审核"
);
UIStoryboard
*
storyBoard
=
[
UIStoryboard
storyboardWithName
:
@"SalesInPut"
bundle
:
nil
];
SaleInputAuditViewController
*
auditVC
=
[
storyBoard
instantiateViewControllerWithIdentifier
:
@"SaleInputAuditViewController"
];
[
self
.
navigationController
pushViewController
:
auditVC
animated
:
YES
];
}
}
...
@@ -221,6 +251,15 @@ ON_SIGNAL3(VankeAffairsBoard_iPhone, btnBillAudit, signal) {
...
@@ -221,6 +251,15 @@ ON_SIGNAL3(VankeAffairsBoard_iPhone, btnBillAudit, signal) {
AuthorizedOrg
*
org
=
[
authorizedOrgs
objectAtIndex
:
indexPath
.
row
];
AuthorizedOrg
*
org
=
[
authorizedOrgs
objectAtIndex
:
indexPath
.
row
];
statementVC
.
org
=
org
;
statementVC
.
org
=
org
;
[
self
.
navigationController
pushViewController
:
statementVC
animated
:
YES
];
[
self
.
navigationController
pushViewController
:
statementVC
animated
:
YES
];
}
else
if
(
popoverListView
.
tag
==
10001
)
{
//跳转录入审批
AuthorizedOrg
*
org
=
[
authorizedOrgs
objectAtIndex
:
indexPath
.
row
];
UIStoryboard
*
storyBoard
=
[
UIStoryboard
storyboardWithName
:
@"SalesInPut"
bundle
:
nil
];
SaleInputAuditViewController
*
auditVC
=
[
storyBoard
instantiateViewControllerWithIdentifier
:
@"SaleInputAuditViewController"
];
auditVC
.
org
=
org
;
[
self
.
navigationController
pushViewController
:
auditVC
animated
:
YES
];
}
else
{
}
else
{
SalesInputViewController
*
salesVC
=
[[
SalesInputViewController
alloc
]
init
];
SalesInputViewController
*
salesVC
=
[[
SalesInputViewController
alloc
]
init
];
salesVC
.
authorizedOrg
=
[
authorizedOrgs
objectAtIndex
:
indexPath
.
row
];
salesVC
.
authorizedOrg
=
[
authorizedOrgs
objectAtIndex
:
indexPath
.
row
];
...
...
vanke/view_iPhone/templates/salesInput/Controller/SaleInputAuditViewController.h
View file @
b7583950
...
@@ -9,5 +9,6 @@
...
@@ -9,5 +9,6 @@
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
@interface
SaleInputAuditViewController
:
UIViewController
@interface
SaleInputAuditViewController
:
UIViewController
/** 项目 */
@property
(
nonatomic
,
strong
)
AuthorizedOrg
*
org
;
@end
@end
vanke/view_iPhone/templates/salesInput/Controller/SaleInputAuditViewController.m
View file @
b7583950
...
@@ -52,10 +52,10 @@
...
@@ -52,10 +52,10 @@
-
(
void
)
httpRequest
{
-
(
void
)
httpRequest
{
NSDictionary
*
dic
=
@{
@"beginDateEquals"
:
@"201
6-07-10
"
,
NSDictionary
*
dic
=
@{
@"beginDateEquals"
:
@"201
5-01-01
"
,
@"endDateEquals"
:
[[
NSDate
date
]
yearMonthDayString
],
@"endDateEquals"
:
[[
NSDate
date
]
yearMonthDayString
],
@"pageNumber"
:
@
(
self
.
page
),
@"pageNumber"
:
@
(
self
.
page
),
@"pageSize"
:
@
2
0
};
@"pageSize"
:
@
5
0
};
WS
(
weakSelf
);
WS
(
weakSelf
);
...
@@ -64,7 +64,9 @@
...
@@ -64,7 +64,9 @@
CLog
(
@"%@"
,
strData
);
CLog
(
@"%@"
,
strData
);
for
(
NSDictionary
*
dic
in
data
[
@"data"
][
@"records"
])
{
for
(
NSDictionary
*
dic
in
data
[
@"data"
][
@"records"
])
{
SalesInputAuditListModel
*
model
=
[
SalesInputAuditListModel
modelObjectWithDictionary
:
dic
];
SalesInputAuditListModel
*
model
=
[
SalesInputAuditListModel
modelObjectWithDictionary
:
dic
];
[
weakSelf
.
arrData
addObject
:
model
];
if
([
model
.
projectId
isEqualToString
:
weakSelf
.
org
.
code
])
{
[
weakSelf
.
arrData
addObject
:
model
];
}
}
}
[
self
.
hud
hide
:
YES
];
[
self
.
hud
hide
:
YES
];
[
weakSelf
.
tableView
.
mj_header
endRefreshing
];
[
weakSelf
.
tableView
.
mj_header
endRefreshing
];
...
...
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