Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
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
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
001f69a8
Commit
001f69a8
authored
Apr 19, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
质检切换制证类型
parent
9a403919
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
8 deletions
+16
-8
receitp.html
src/main/resources/static/views/receitp/receitp.html
+0
-1
receitp.js
src/main/resources/static/views/receitp/receitp.js
+16
-7
No files found.
src/main/resources/static/views/receitp/receitp.html
View file @
001f69a8
...
...
@@ -119,7 +119,6 @@
<td></td>
</tr>
<tr
ng-repeat=
"police in item.policeList"
>
<td></td>
<td>
{{police.ID}}
</td>
<td>
{{police.GAJG_DM}}
</td>
<td>
{{police.GAJG_MC}}
</td>
...
...
src/main/resources/static/views/receitp/receitp.js
View file @
001f69a8
...
...
@@ -40,13 +40,22 @@ angular.module('AvatarCheck.receitp', ['ngRoute', 'AvatarCheck.http'])
$scope
.
currentTab
=
0
;
$scope
.
func
=
function
(
index
)
{
for
(
var
idx
in
$scope
.
cycleSheet
Data
)
{
for
(
var
idx
in
$scope
.
receitp
Data
)
{
if
(
index
==
idx
)
{
$scope
.
cycleSheet
Data
[
idx
].
isActive
=
true
;
$scope
.
receitp
Data
[
idx
].
isActive
=
true
;
}
else
{
$scope
.
cycleSheet
Data
[
idx
].
isActive
=
false
;
$scope
.
receitp
Data
[
idx
].
isActive
=
false
;
}
}
for
(
var
idx
in
$scope
.
receitpHistoryData
)
{
if
(
index
==
idx
)
{
$scope
.
receitpHistoryData
[
idx
].
isActive
=
true
;
}
else
{
$scope
.
receitpHistoryData
[
idx
].
isActive
=
false
;
}
}
console
.
log
(
$scope
.
receitpHistoryData
)
console
.
log
(
$scope
.
receitpData
)
$scope
.
currentTab
=
index
;
}
...
...
@@ -87,14 +96,14 @@ angular.module('AvatarCheck.receitp', ['ngRoute', 'AvatarCheck.http'])
}
HttpService
.
getHistoryReceitp
(
startDate
,
endDate
,
function
(
data
){
$scope
.
receitpHistoryData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
receitpData
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
receitp
History
Data
.
length
;
i
++
){
if
(
i
==
$scope
.
currentTab
){
$scope
.
receitpData
[
i
].
isActive
=
true
;
$scope
.
receitp
History
Data
[
i
].
isActive
=
true
;
}
else
{
$scope
.
receitpData
[
i
].
isActive
=
false
;
$scope
.
receitp
History
Data
[
i
].
isActive
=
false
;
}
}
console
.
log
(
$scope
.
receitpData
);
console
.
log
(
$scope
.
receitp
History
Data
);
})
}
...
...
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