Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
total
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
张杰
total
Commits
b657173d
Commit
b657173d
authored
Oct 24, 2018
by
哈南
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
7b6f0dd2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
8 deletions
+18
-8
PatrolExamViewController.m
...lOnline(VI巡检)/ViewConstrollers/PatrolExamViewController.m
+17
-7
Info.plist
total/Info.plist
+1
-1
No files found.
total/GTOApp/Business/PatrolOnline(VI巡检)/ViewConstrollers/PatrolExamViewController.m
View file @
b657173d
...
...
@@ -351,9 +351,14 @@
PatrolExamCellViewModel
*
vm
=
self
.
viewModel
.
arrCellData
[
i
];
if
(
photoType
(
vm
.
question
.
photoType
)
!=
PHOTO_TYPE_NO
)
{
if
([
questionArray
containsObject
:
vm
.
question
.
uuid
])
{
NSIndexPath
*
indexPath
=
[
NSIndexPath
indexPathForRow
:
i
inSection
:
0
];
[
self
.
tableView
scrollToRowAtIndexPath
:
indexPath
atScrollPosition
:(
UITableViewScrollPositionMiddle
)
animated
:
YES
];
break
;
ZJPatrolDetail_results_answers_details
*
detail
=
vm
.
answer
.
details
.
firstObject
;
if
([
vm
.
question
.
type
intValue
]
==
8
&&
[
detail
.
index
intValue
]
==
3
){
[
questionArray
removeObject
:
vm
.
question
.
uuid
];
}
else
{
NSIndexPath
*
indexPath
=
[
NSIndexPath
indexPathForRow
:
i
inSection
:
0
];
[
self
.
tableView
scrollToRowAtIndexPath
:
indexPath
atScrollPosition
:(
UITableViewScrollPositionMiddle
)
animated
:
YES
];
break
;
}
}
}
else
{
[
questionArray
removeObject
:
vm
.
question
.
uuid
];
...
...
@@ -378,10 +383,15 @@
PatrolExamCellViewModel
*
vm
=
self
.
viewModel
.
arrCellData
[
i
];
if
([
questionArray
containsObject
:
vm
.
question
.
uuid
])
{
if
(
photoType
(
vm
.
question
.
photoType
)
!=
PHOTO_TYPE_NO
)
{
NSIndexPath
*
indexPath
=
[
NSIndexPath
indexPathForRow
:
i
inSection
:
0
];
[
self
.
tableView
scrollToRowAtIndexPath
:
indexPath
atScrollPosition
:(
UITableViewScrollPositionMiddle
)
animated
:
YES
];
[
IBTLoadingView
showTextOnly
:
@"您有检查的项目未拍照"
];
return
;
ZJPatrolDetail_results_answers_details
*
detail
=
vm
.
answer
.
details
.
firstObject
;
if
([
vm
.
question
.
type
intValue
]
==
8
&&
[
detail
.
index
intValue
]
==
3
){
}
else
{
NSIndexPath
*
indexPath
=
[
NSIndexPath
indexPathForRow
:
i
inSection
:
0
];
[
self
.
tableView
scrollToRowAtIndexPath
:
indexPath
atScrollPosition
:(
UITableViewScrollPositionMiddle
)
animated
:
YES
];
[
IBTLoadingView
showTextOnly
:
@"您有检查的项目未拍照"
];
return
;
}
}
}
}
...
...
total/Info.plist
View file @
b657173d
...
...
@@ -19,7 +19,7 @@
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
1.4.
1
<
/string
>
<
string
>
1.4.
2
<
/string
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
string
>
????
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
...
...
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