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
8c4dd12e
Commit
8c4dd12e
authored
Apr 29, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分拣转出任务单时,没选中任务单给提示
parent
427e18fb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
task.js
src/main/resources/static/views/task/task.js
+9
-7
No files found.
src/main/resources/static/views/task/task.js
View file @
8c4dd12e
...
...
@@ -630,7 +630,9 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
console
.
log
(
$scope
.
cycleSheetData
)
})
}
if
(
$rootScope
.
loginData
.
login
==
true
){
$scope
.
searchTaskList
();
}
$scope
.
searchHistory
=
function
(){
$scope
.
isHistory
=
1
;
...
...
@@ -717,15 +719,15 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
}
$scope
.
goes
=
function
(){
var
checks
=
$
(
".checkOneBox:checked"
);
if
(
checks
.
length
>
0
){
var
go
=
function
()
{
$rootScope
.
closeBtn
();
$rootScope
.
selectCount
=
0
;
for
(
var
i
=
0
;
i
<
$scope
.
selected
.
length
;
i
++
)
{
$rootScope
.
selectCount
=
$rootScope
.
selectCount
+
parseInt
(
$scope
.
selected
[
i
].
countyValidCount
-
$scope
.
selected
[
i
].
specialCount
);
}
console
.
log
(
"for"
,
$rootScope
.
selectCount
)
var
go
=
function
()
{
$rootScope
.
closeBtn
();
var
checks
=
$
(
".checkOneBox:checked"
);
if
(
checks
.
length
>
0
){
var
arr
=
[];
var
failedArr
=
[];
for
(
var
i
=
0
;
i
<
checks
.
length
;
i
++
){
...
...
@@ -748,9 +750,6 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$rootScope
.
ableBtn
();
$rootScope
.
closeThis
();
})
}
else
{
MessageService
.
showAlert
(
"请选择转出的任务单"
);
}
}
ngDialog
.
open
({
template
:
'dialogs/gotoDistribute.html'
+
urlTimeStamp
(),
...
...
@@ -768,6 +767,9 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$scope
.
confirmGoTo
=
go
;
}]
})
}
else
{
MessageService
.
showAlert
(
"请选择转出的任务单"
);
}
}
...
...
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