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
dafd4e3e
Commit
dafd4e3e
authored
Mar 20, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
96ef72a7
69b05536
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
46 deletions
+13
-46
createTaskList.js
...n/resources/static/views/createTaskList/createTaskList.js
+1
-16
dispatchTask.js
src/main/resources/static/views/dispatchTask/dispatchTask.js
+2
-24
task.js
src/main/resources/static/views/task/task.js
+8
-4
taskListEwriting.html
src/main/resources/static/views/task/taskListEwriting.html
+1
-1
taskListSorting.html
src/main/resources/static/views/task/taskListSorting.html
+1
-1
No files found.
src/main/resources/static/views/createTaskList/createTaskList.js
View file @
dafd4e3e
...
...
@@ -31,7 +31,7 @@ angular.module('AvatarCheck.createTaskList', ['ngRoute', 'AvatarCheck.http', 'tm
$scope
.
isHistory
=
0
;
$scope
.
searchCurrent
=
function
(){
$
rootScope
.
cardsTotal
=
0
;
$
scope
.
selected
=
[]
;
$scope
.
isHistory
=
0
;
HttpService
.
getTaskListToCreate
(
$
(
'#datepicker'
).
val
(),
function
(
data
){
$scope
.
cycleSheetData
=
data
;
...
...
@@ -173,15 +173,6 @@ angular.module('AvatarCheck.createTaskList', ['ngRoute', 'AvatarCheck.http', 'tm
var
checkbox
=
$event
.
target
;
var
action
=
(
checkbox
.
checked
?
'add'
:
'remove'
);
updateSelected
(
action
,
task
);
$scope
.
cardsTotal
=
0
;
var
sum
=
0
;
for
(
var
i
=
0
;
i
<
$scope
.
selected
.
length
;
i
++
)
{
sum
+=
parseInt
(
$scope
.
selected
[
i
].
countyValidCount
);
}
$scope
.
cardsTotal
=
$scope
.
cardsTotal
+
sum
;
};
//全选操作
$scope
.
selectAll
=
function
(
task
,
$event
)
{
...
...
@@ -191,12 +182,6 @@ angular.module('AvatarCheck.createTaskList', ['ngRoute', 'AvatarCheck.http', 'tm
var
contact
=
task
[
i
];
updateSelected
(
action
,
contact
);
}
$rootScope
.
cardsTotal
=
0
;
var
sum
=
0
;
for
(
var
i
=
0
;
i
<
$scope
.
selected
.
length
;
i
++
)
{
sum
+=
parseInt
(
$scope
.
selected
[
i
].
countyValidCount
);
}
$rootScope
.
cardsTotal
=
$rootScope
.
cardsTotal
+
sum
;
};
$scope
.
isSelected
=
function
(
task
)
{
return
$scope
.
selected
.
indexOf
(
task
)
>=
0
;
...
...
src/main/resources/static/views/dispatchTask/dispatchTask.js
View file @
dafd4e3e
...
...
@@ -27,7 +27,7 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p
$scope
.
isHistory
=
0
;
$scope
.
searchTaskList
=
function
(){
$
rootScope
.
cardsTotal
=
0
;
$
scope
.
selected
=
[]
;
$scope
.
isHistory
=
0
;
HttpService
.
getTaskListByProcess
(
function
(
data
){
$scope
.
cycleSheetData
=
data
;
...
...
@@ -72,18 +72,6 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p
var
checkbox
=
$event
.
target
;
var
action
=
(
checkbox
.
checked
?
'add'
:
'remove'
);
updateSelected
(
action
,
task
);
$rootScope
.
cardsTotal
=
0
;
var
sum
=
0
;
for
(
var
i
=
0
;
i
<
$scope
.
selected
.
length
;
i
++
)
{
if
(
$scope
.
selected
[
i
].
faileCount
==
0
){
sum
+=
parseInt
(
$scope
.
selected
[
i
].
countyValidCount
)
-
parseInt
(
$scope
.
selected
[
i
].
specialCount
);
}
else
{
continue
;
}
}
$rootScope
.
cardsTotal
=
$rootScope
.
cardsTotal
+
sum
;
};
//全选操作
$scope
.
selectAll
=
function
(
task
,
$event
)
{
...
...
@@ -93,16 +81,6 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p
var
contact
=
task
[
i
];
updateSelected
(
action
,
contact
);
}
$rootScope
.
cardsTotal
=
0
;
var
sum
=
0
;
for
(
var
i
=
0
;
i
<
$scope
.
selected
.
length
;
i
++
)
{
if
(
$scope
.
selected
[
i
].
faileCount
==
0
){
sum
+=
parseInt
(
$scope
.
selected
[
i
].
countyValidCount
)
-
parseInt
(
$scope
.
selected
[
i
].
specialCount
);
}
else
{
continue
;
}
}
$rootScope
.
cardsTotal
=
$rootScope
.
cardsTotal
+
sum
;
};
$scope
.
isSelected
=
function
(
task
)
{
...
...
@@ -161,7 +139,7 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p
$scope
.
goes
=
function
(){
$rootScope
.
selectCount
=
0
;
for
(
var
i
=
0
;
i
<
$scope
.
selected
.
length
;
i
++
)
{
$rootScope
.
selectCount
=
$rootScope
.
selectCount
+
parseInt
(
$scope
.
selected
[
i
].
countyValidCount
);
$rootScope
.
selectCount
=
$rootScope
.
selectCount
+
parseInt
(
$scope
.
selected
[
i
].
countyValidCount
-
$scope
.
selected
[
i
].
specialCount
);
}
console
.
log
(
"for"
,
$rootScope
.
selectCount
)
var
go
=
function
()
{
...
...
src/main/resources/static/views/task/task.js
View file @
dafd4e3e
...
...
@@ -47,6 +47,7 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$scope
.
isHistory
=
0
;
$scope
.
searchTaskList
=
function
(){
$scope
.
selected
=
[];
$rootScope
.
cardsTotal
=
0
;
$scope
.
restCount
=
0
;
$scope
.
isHistory
=
0
;
...
...
@@ -183,7 +184,7 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$scope
.
goes
=
function
(){
$rootScope
.
selectCount
=
0
;
for
(
var
i
=
0
;
i
<
$scope
.
selected
.
length
;
i
++
)
{
$rootScope
.
selectCount
=
$rootScope
.
selectCount
+
parseInt
(
$scope
.
selected
[
i
].
countyValidCount
);
$rootScope
.
selectCount
=
$rootScope
.
selectCount
+
parseInt
(
$scope
.
selected
[
i
].
countyValidCount
-
$scope
.
selected
[
i
].
specialCount
);
}
console
.
log
(
"for"
,
$rootScope
.
selectCount
)
var
go
=
function
()
{
...
...
@@ -248,6 +249,7 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$scope
.
isHistory
=
0
;
$scope
.
searchTaskList
=
function
(){
$scope
.
selected
=
[];
$scope
.
isHistory
=
0
;
HttpService
.
getPingTaskListByProcess
(
function
(
data
){
$scope
.
cycleSheetData
=
data
.
typeList
;
...
...
@@ -355,7 +357,7 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$scope
.
goes
=
function
(){
$rootScope
.
selectCount
=
0
;
for
(
var
i
=
0
;
i
<
$scope
.
selected
.
length
;
i
++
)
{
$rootScope
.
selectCount
=
$rootScope
.
selectCount
+
parseInt
(
$scope
.
selected
[
i
].
countyValidCount
);
$rootScope
.
selectCount
=
$rootScope
.
selectCount
+
parseInt
(
$scope
.
selected
[
i
].
countyValidCount
-
$scope
.
selected
[
i
].
specialCount
);
}
console
.
log
(
"for"
,
$rootScope
.
selectCount
)
var
go
=
function
()
{
...
...
@@ -418,6 +420,7 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$scope
.
isHistory
=
0
;
$scope
.
searchTaskList
=
function
(){
$scope
.
selected
=
[];
$scope
.
isHistory
=
0
;
HttpService
.
getFjTaskListByProcess
(
function
(
data
){
$scope
.
cycleSheetData
=
data
;
...
...
@@ -520,7 +523,7 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$scope
.
goes
=
function
(){
$rootScope
.
selectCount
=
0
;
for
(
var
i
=
0
;
i
<
$scope
.
selected
.
length
;
i
++
)
{
$rootScope
.
selectCount
=
$rootScope
.
selectCount
+
parseInt
(
$scope
.
selected
[
i
].
countyValidCount
);
$rootScope
.
selectCount
=
$rootScope
.
selectCount
+
parseInt
(
$scope
.
selected
[
i
].
countyValidCount
-
$scope
.
selected
[
i
].
specialCount
);
}
console
.
log
(
"for"
,
$rootScope
.
selectCount
)
var
go
=
function
()
{
...
...
@@ -584,6 +587,7 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$scope
.
isHistory
=
0
;
$scope
.
searchTaskList
=
function
(){
$scope
.
selected
=
[];
$scope
.
isHistory
=
0
;
HttpService
.
getFjTaskListByProcess
(
function
(
data
){
$scope
.
cycleSheetData
=
data
;
...
...
@@ -686,7 +690,7 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$scope
.
goes
=
function
(){
$rootScope
.
selectCount
=
0
;
for
(
var
i
=
0
;
i
<
$scope
.
selected
.
length
;
i
++
)
{
$rootScope
.
selectCount
=
$rootScope
.
selectCount
+
parseInt
(
$scope
.
selected
[
i
].
countyValidCount
);
$rootScope
.
selectCount
=
$rootScope
.
selectCount
+
parseInt
(
$scope
.
selected
[
i
].
countyValidCount
-
$scope
.
selected
[
i
].
specialCount
);
}
console
.
log
(
"for"
,
$rootScope
.
selectCount
)
var
go
=
function
()
{
...
...
src/main/resources/static/views/task/taskListEwriting.html
View file @
dafd4e3e
...
...
@@ -54,7 +54,7 @@
<td
class=
"mailbox-subject"
>
{{task.saveDate| date:'yyyy-MM-dd'}}
</td>
<td
class=
"mailbox-subject"
><a>
{{task.countyName}}
</a></td>
<td
class=
"mailbox-subject"
>
{{task.groupList.length}}
</td>
<td
class=
"mailbox-subject"
></td>
<td
class=
"mailbox-subject"
>
{{task.groupNum}}
</td>
<td
class=
"mailbox-subject"
>
{{task.countyValidCount-task.specialCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.eWriteCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.specialCount}}
</td>
...
...
src/main/resources/static/views/task/taskListSorting.html
View file @
dafd4e3e
...
...
@@ -64,7 +64,7 @@
<td
class=
"mailbox-subject"
>
{{task.saveDate| date:'yyyy-MM-dd'}}
</td>
<td
class=
"mailbox-subject"
><a>
{{task.countyName}}
</a></td>
<td
class=
"mailbox-subject"
>
{{task.groupList.length}}
</td>
<td
class=
"mailbox-subject"
></td>
<td
class=
"mailbox-subject"
>
{{task.groupNum}}
</td>
<td
class=
"mailbox-subject"
>
{{task.countyValidCount-task.specialCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.eWriteCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.specialCount}}
</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