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
835e25c2
Commit
835e25c2
authored
Mar 09, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增页面
parent
c215bb01
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
13 deletions
+21
-13
service.js
src/main/resources/static/js/service.js
+6
-0
task.js
src/main/resources/static/views/task/task.js
+5
-5
taskListPrint.html
src/main/resources/static/views/task/taskListPrint.html
+10
-8
No files found.
src/main/resources/static/js/service.js
View file @
835e25c2
...
@@ -342,6 +342,9 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
...
@@ -342,6 +342,9 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
if
(
angular
.
isUndefined
(
county
)){
if
(
angular
.
isUndefined
(
county
)){
county
=
-
1
;
county
=
-
1
;
}
}
if
(
date
==
""
){
date
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
}
console
.
log
(
newPackageName
,
idCard
,
date
,
county
)
console
.
log
(
newPackageName
,
idCard
,
date
,
county
)
$http
({
$http
({
method
:
'GET'
,
method
:
'GET'
,
...
@@ -366,6 +369,9 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
...
@@ -366,6 +369,9 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
if
(
angular
.
isUndefined
(
county
)){
if
(
angular
.
isUndefined
(
county
)){
county
=
-
1
;
county
=
-
1
;
}
}
if
(
date
==
""
){
date
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
}
console
.
log
(
newPackageName
,
idCard
,
date
,
county
)
console
.
log
(
newPackageName
,
idCard
,
date
,
county
)
$http
({
$http
({
method
:
'GET'
,
method
:
'GET'
,
...
...
src/main/resources/static/views/task/task.js
View file @
835e25c2
...
@@ -148,10 +148,11 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
...
@@ -148,10 +148,11 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
var
checks
=
document
.
getElementsByClassName
(
"checkOneBox"
);
var
checks
=
document
.
getElementsByClassName
(
"checkOneBox"
);
for
(
var
i
=
0
;
i
<
checks
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
checks
.
length
;
i
++
){
if
(
checks
[
i
].
checked
)
{
if
(
checks
[
i
].
checked
)
{
sum
+=
parseInt
(
checks
[
i
].
valu
e
);
sum
+=
parseInt
(
checks
[
i
].
nam
e
);
}
}
}
}
$rootScope
.
cardsTotal
=
$rootScope
.
cardsTotal
+
sum
-
temp
;
$rootScope
.
cardsTotal
=
$rootScope
.
cardsTotal
+
sum
-
temp
;
$scope
.
restCount
=
$rootScope
.
cardsTotal
%
8
;
temp
=
sum
;
temp
=
sum
;
};
};
...
@@ -169,22 +170,21 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
...
@@ -169,22 +170,21 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
var
sum
=
0
;
var
sum
=
0
;
var
checks
=
document
.
getElementsByClassName
(
"checkOneBox"
);
var
checks
=
document
.
getElementsByClassName
(
"checkOneBox"
);
for
(
var
i
=
0
;
i
<
checks
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
checks
.
length
;
i
++
)
{
sum
+=
parseInt
(
checks
[
i
].
valu
e
);
sum
+=
parseInt
(
checks
[
i
].
nam
e
);
}
}
$rootScope
.
cardsTotal
=
$rootScope
.
cardsTotal
+
sum
-
temp
;
$rootScope
.
cardsTotal
=
$rootScope
.
cardsTotal
+
sum
-
temp
;
$scope
.
restCount
=
$rootScope
.
cardsTotal
%
8
;
temp
=
sum
;
temp
=
sum
;
}
else
{
}
else
{
$rootScope
.
cardsTotal
=
0
;
$rootScope
.
cardsTotal
=
0
;
$scope
.
restCount
=
0
temp
=
0
;
temp
=
0
;
}
}
};
};
$scope
.
isSelected
=
function
(
task
)
{
$scope
.
isSelected
=
function
(
task
)
{
return
$scope
.
selected
.
indexOf
(
task
)
>=
0
;
return
$scope
.
selected
.
indexOf
(
task
)
>=
0
;
};
};
$scope
.
isSelectedAll
=
function
(
index
)
{
return
$scope
.
selected
.
length
===
$scope
.
cycleSheetData
[
index
].
countyList
.
length
>
0
;
};
$scope
.
currentTab
=
0
;
$scope
.
currentTab
=
0
;
$scope
.
func
=
function
(
index
)
{
$scope
.
func
=
function
(
index
)
{
...
...
src/main/resources/static/views/task/taskListPrint.html
View file @
835e25c2
...
@@ -28,8 +28,8 @@
...
@@ -28,8 +28,8 @@
</a>
</a>
</li>
</li>
<li
class=
"pull-right"
style=
"padding-right: 20px;"
>
<li
class=
"pull-right"
style=
"padding-right: 20px;"
>
<h5>
任务总数:
8001
</h5>
<h5>
任务总数:
{{cardsTotal}}
</h5>
<h4>
余证数:
1
</h4>
<h4>
余证数:
{{restCount}}
</h4>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -43,22 +43,24 @@
...
@@ -43,22 +43,24 @@
<th>
地区
</th>
<th>
地区
</th>
<th>
组数
</th>
<th>
组数
</th>
<th>
组号
</th>
<th>
组号
</th>
<th>
数据核验数量
</th>
<th>
核验数量
</th>
<th>
电写入数量
</th>
<th>
证件数量
</th>
<th>
特殊证件数量
</th>
<th>
废证数量
</th>
<th>
废证数量
</th>
<th></th>
<th></th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<tr
ng-repeat=
"task in type.countyList"
>
<tr
ng-repeat=
"task in type.countyList"
>
<td><input
type=
"checkbox"
class=
"checkOneBox"
ng-checked=
"isSelected(task)"
value=
"{{task.taskId}}"
ng-click=
"updateSelection($event,task)"
></td>
<td><input
type=
"checkbox"
class=
"checkOneBox"
ng-checked=
"isSelected(task)"
value=
"{{task.taskId}}"
n
ame=
"{{task.countyValidCount-task.specialCount}}"
n
g-click=
"updateSelection($event,task)"
></td>
<td
class=
"mailbox-star"
><b>
{{task.taskId}}
</b></td>
<td
class=
"mailbox-star"
><b>
{{task.taskId}}
</b></td>
<td
class=
"mailbox-subject"
>
{{task.
check
Date}}
</td>
<td
class=
"mailbox-subject"
>
{{task.
save
Date}}
</td>
<td
class=
"mailbox-subject"
><a>
{{task.countyName}}
</a></td>
<td
class=
"mailbox-subject"
><a>
{{task.countyName}}
</a></td>
<td
class=
"mailbox-subject"
>
{{task.groupList.length}}
</td>
<td
class=
"mailbox-subject"
>
{{task.groupList.length}}
</td>
<td
class=
"mailbox-subject"
>
{{task.groupNum}}
</td>
<td
class=
"mailbox-subject"
>
{{task.groupNum}}
</td>
<td
class=
"mailbox-subject"
>
{{task.dataCheckCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.countyValidCount}}
</td>
<td
class=
"mailbox-attachment"
>
{{task.electricCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.countyValidCount-task.specialCount}}
</td>
<td
class=
"mailbox-attachment"
>
{{task.specialCount}}
</td>
<td
ng-if=
"task.faileCount!=0"
class=
"mailbox-subject"
style=
"color: red;"
>
{{task.faileCount}}
</td>
<td
ng-if=
"task.faileCount!=0"
class=
"mailbox-subject"
style=
"color: red;"
>
{{task.faileCount}}
</td>
<td
ng-if=
"task.faileCount==0"
class=
"mailbox-subject"
>
{{task.faileCount}}
</td>
<td
ng-if=
"task.faileCount==0"
class=
"mailbox-subject"
>
{{task.faileCount}}
</td>
<td
class=
"mailbox-date"
><a
ng-click=
"getPoliceList(task.taskId)"
>
组号列表
</a></td>
<td
class=
"mailbox-date"
><a
ng-click=
"getPoliceList(task.taskId)"
>
组号列表
</a></td>
...
...
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