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
6 years ago
by
哈南
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
7b6f0dd2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
PatrolExamViewController.m
...lOnline(VI巡检)/ViewConstrollers/PatrolExamViewController.m
+10
-0
Info.plist
total/Info.plist
+1
-1
No files found.
total/GTOApp/Business/PatrolOnline(VI巡检)/ViewConstrollers/PatrolExamViewController.m
View file @
b657173d
...
...
@@ -351,10 +351,15 @@
PatrolExamCellViewModel
*
vm
=
self
.
viewModel
.
arrCellData
[
i
];
if
(
photoType
(
vm
.
question
.
photoType
)
!=
PHOTO_TYPE_NO
)
{
if
([
questionArray
containsObject
:
vm
.
question
.
uuid
])
{
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,6 +383,10 @@
PatrolExamCellViewModel
*
vm
=
self
.
viewModel
.
arrCellData
[
i
];
if
([
questionArray
containsObject
:
vm
.
question
.
uuid
])
{
if
(
photoType
(
vm
.
question
.
photoType
)
!=
PHOTO_TYPE_NO
)
{
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
:
@"您有检查的项目未拍照"
];
...
...
@@ -386,6 +395,7 @@
}
}
}
}
@weakify
(
self
);
NSMutableArray
*
answerArray
=
[
NSMutableArray
array
];
for
(
id
object
in
self
.
viewModel
.
dicAnswers
.
allValues
)
{
...
...
This diff is collapsed.
Click to expand it.
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
>
...
...
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