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
ff5496c2
Commit
ff5496c2
authored
Apr 04, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
38d830d1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
10 deletions
+15
-10
FailedCardApi.java
src/main/java/com/yxproject/start/api/FailedCardApi.java
+1
-1
TaskListServiceImpl.java
...com/yxproject/start/service/impl/TaskListServiceImpl.java
+1
-0
task.js
src/main/resources/static/views/task/task.js
+7
-3
taskListEwriting.html
src/main/resources/static/views/task/taskListEwriting.html
+3
-3
taskListPrint.html
src/main/resources/static/views/task/taskListPrint.html
+3
-3
No files found.
src/main/java/com/yxproject/start/api/FailedCardApi.java
View file @
ff5496c2
...
...
@@ -84,7 +84,7 @@ public class FailedCardApi {
}
else
{
idMap
=
failedCardService
.
selectCountIdByCardId
(
jsonObject
.
getString
(
"cardId"
));
}
int
initiator
=
Integer
.
parseInt
(
jsonObject
.
getString
(
"initiator"
))
-
1
;
int
initiator
=
5
;
failedCardService
.
insertFailedCard
(
jsonObject
.
getString
(
"failedCardReasonId"
),
idMap
.
get
(
"ACCEPT_NO"
).
toString
(),
idMap
.
get
(
"TASK_ID"
).
toString
(),
String
.
valueOf
(
initiator
),
jsonObject
.
getString
(
"note"
),
idMap
.
get
(
"WORK_GROUP"
).
toString
());
}
return
true
;
...
...
src/main/java/com/yxproject/start/service/impl/TaskListServiceImpl.java
View file @
ff5496c2
...
...
@@ -1122,6 +1122,7 @@ public class TaskListServiceImpl implements TaskListService {
workGroup
=
countyMap
.
get
(
"WORK_GROUP"
)
+
""
;
typeSum
+=
Integer
.
valueOf
(
countyMap
.
get
(
"VALID_COUNT"
)
+
""
);
typeSum
-=
Integer
.
valueOf
(
countyMap
.
get
(
"SPECIAL_CARD_COUNT"
)
+
""
);
// typeSum -= Integer.valueOf(countyMap.get("FAILECOUNT") + "");
validCount
+=
Integer
.
valueOf
(
countyMap
.
get
(
"VALID_COUNT"
)
+
""
);
invalidCount
+=
Integer
.
valueOf
(
countyMap
.
get
(
"INVALID_COUNT"
)
+
""
);
specialCount
+=
Integer
.
valueOf
(
countyMap
.
get
(
"SPECIAL_CARD_COUNT"
)
+
""
);
...
...
src/main/resources/static/views/task/task.js
View file @
ff5496c2
...
...
@@ -114,7 +114,7 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
var
action
=
(
checkbox
.
checked
?
'add'
:
'remove'
);
console
.
log
(
task
)
for
(
var
i
=
0
;
i
<
task
.
length
;
i
++
)
{
if
(
task
[
i
].
faileCount
==
0
){
if
(
(
task
[
i
].
countyValidCount
-
task
[
i
].
specialCount
)
==
task
[
i
].
downloadCount
){
var
contact
=
task
[
i
];
updateSelected
(
action
,
contact
);
}
else
{
...
...
@@ -468,8 +468,12 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
var
checkbox
=
$event
.
target
;
var
action
=
(
checkbox
.
checked
?
'add'
:
'remove'
);
for
(
var
i
=
0
;
i
<
task
.
length
;
i
++
)
{
var
contact
=
task
[
i
];
updateSelected
(
action
,
contact
);
if
((
task
[
i
].
countyValidCount
-
task
[
i
].
specialCount
)
==
task
[
i
].
eWriteCount
){
var
contact
=
task
[
i
];
updateSelected
(
action
,
contact
);
}
else
{
continue
;
}
}
};
$scope
.
isSelected
=
function
(
task
)
{
...
...
src/main/resources/static/views/task/taskListEwriting.html
View file @
ff5496c2
...
...
@@ -48,13 +48,13 @@
</thead>
<tbody
ng-repeat=
"task in type.countyList | orderBy:countyCode:desc"
>
<tr>
<td
ng-if=
"
task.faileCount==0&&(task.countyValidCount-task.special
Count)==task.eWriteCount"
><input
type=
"checkbox"
class=
"checkOneBox"
ng-checked=
"isSelected(task)"
value=
"{{task.taskId}}"
ng-click=
"updateSelection($event,task)"
></td>
<td
ng-if=
"
task.faileCount>0||(task.countyValidCount-task.special
Count)!=task.eWriteCount"
></td>
<td
ng-if=
"
(task.countyValidCount-task.specialCount-task.faile
Count)==task.eWriteCount"
><input
type=
"checkbox"
class=
"checkOneBox"
ng-checked=
"isSelected(task)"
value=
"{{task.taskId}}"
ng-click=
"updateSelection($event,task)"
></td>
<td
ng-if=
"
(task.countyValidCount-task.specialCount-task.faile
Count)!=task.eWriteCount"
></td>
<td
class=
"mailbox-star"
><b>
{{task.taskId}}
</b></td>
<td
class=
"mailbox-subject"
>
{{task.saveDate| date:'yyyy-MM-dd'}}
</td>
<td
class=
"mailbox-subject"
>
{{task.groupList.length}}
</td>
<td
class=
"mailbox-subject"
>
{{task.groupNum}}
</td>
<td
class=
"mailbox-subject"
>
{{task.countyValidCount-task.specialCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.countyValidCount-task.specialCount
-task.faileCount
}}
</td>
<td
class=
"mailbox-subject"
>
{{task.eWriteCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.checkCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.specialCount}}
</td>
...
...
src/main/resources/static/views/task/taskListPrint.html
View file @
ff5496c2
...
...
@@ -53,15 +53,15 @@
</thead>
<tbody
ng-repeat=
"task in type.countyList | orderBy:countyCode:desc"
>
<tr>
<td
ng-if=
"
task.faileCount==0&&(task.countyValidCount-task.specialCount)=
=task.downloadCount"
><input
type=
"checkbox"
id=
"checkOneBox"
class=
"checkOneBox"
ng-checked=
"isSelected(task)"
value=
"{{task.taskId}}"
name=
"{{task.countyValidCount-task.specialCount}}"
ng-click=
"updateSelection($event,task)"
></td>
<td
ng-if=
"
task.faileCount>0||(task.countyValidCount-task.special
Count)!=task.downloadCount"
></td>
<td
ng-if=
"
(task.countyValidCount-task.specialCount-task.faileCount)<
=task.downloadCount"
><input
type=
"checkbox"
id=
"checkOneBox"
class=
"checkOneBox"
ng-checked=
"isSelected(task)"
value=
"{{task.taskId}}"
name=
"{{task.countyValidCount-task.specialCount}}"
ng-click=
"updateSelection($event,task)"
></td>
<td
ng-if=
"
(task.countyValidCount-task.specialCount-task.faile
Count)!=task.downloadCount"
></td>
<td
class=
"mailbox-star"
><b>
{{task.taskId}}
</b></td>
<td
class=
"mailbox-subject"
>
{{task.saveDate | date:'yyyy-MM-dd'}}
</td>
<td
class=
"mailbox-subject"
>
{{task.groupList.length}}
</td>
<td
class=
"mailbox-subject"
>
{{task.groupNum}}
</td>
<td
class=
"mailbox-subject"
>
{{task.countyValidCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.downloadCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.countyValidCount-task.specialCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.countyValidCount-task.specialCount
-task.faileCount
}}
</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"
>
{{task.faileCount}}
</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