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
fbfe36b9
Commit
fbfe36b9
authored
Apr 28, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
bdac2671
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
25 deletions
+19
-25
app.js
src/main/resources/static/js/app.js
+2
-1
receitp.js
src/main/resources/static/views/receitp/receitp.js
+0
-12
tagPrint.js
src/main/resources/static/views/tagPrint/tagPrint.js
+17
-12
No files found.
src/main/resources/static/js/app.js
View file @
fbfe36b9
...
@@ -244,7 +244,6 @@ angular.module('AvatarCheck', [
...
@@ -244,7 +244,6 @@ angular.module('AvatarCheck', [
$scope
.
logout
=
function
(){
$scope
.
logout
=
function
(){
HttpService
.
logout
(
function
(
data
)
{
HttpService
.
logout
(
function
(
data
)
{
$location
.
path
(
'/login'
)
$rootScope
.
loginData
=
{
userid
:
'用户未登录'
,
login
:
false
};
$rootScope
.
loginData
=
{
userid
:
'用户未登录'
,
login
:
false
};
localStorage
.
clear
();
localStorage
.
clear
();
});
});
...
@@ -288,6 +287,8 @@ angular.module('AvatarCheck', [
...
@@ -288,6 +287,8 @@ angular.module('AvatarCheck', [
if
(
$
(
".prod:checked"
).
length
>
0
){
if
(
$
(
".prod:checked"
).
length
>
0
){
if
(
angular
.
isUndefined
(
$scope
.
searchResult
.
workOrderData
[
0
].
CARD_TYPE_ID
)){
if
(
angular
.
isUndefined
(
$scope
.
searchResult
.
workOrderData
[
0
].
CARD_TYPE_ID
)){
MessageService
.
showAlert
(
"无制证类型记录,请创建任务单后再添加快证"
)
MessageService
.
showAlert
(
"无制证类型记录,请创建任务单后再添加快证"
)
}
else
if
(
$scope
.
searchResult
.
workOrderData
[
0
].
POSITION_DATE
!=
null
){
MessageService
.
showAlert
(
"该证件正在分拣,不能添加快证"
)
}
else
{
}
else
{
var
idx
=
$
(
".prod:checked"
).
val
();
var
idx
=
$
(
".prod:checked"
).
val
();
var
check
=
idx
.
split
(
"+"
);
var
check
=
idx
.
split
(
"+"
);
...
...
src/main/resources/static/views/receitp/receitp.js
View file @
fbfe36b9
...
@@ -62,12 +62,6 @@ angular.module('AvatarCheck.receitp', ['ngRoute', 'AvatarCheck.http'])
...
@@ -62,12 +62,6 @@ angular.module('AvatarCheck.receitp', ['ngRoute', 'AvatarCheck.http'])
$scope
.
isHistory
=
0
;
$scope
.
isHistory
=
0
;
var
startDate
=
$
(
'#datepicker1'
).
val
();
var
startDate
=
$
(
'#datepicker1'
).
val
();
var
endDate
=
$
(
'#datepicker2'
).
val
();
var
endDate
=
$
(
'#datepicker2'
).
val
();
if
(
startDate
==
''
){
startDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd HH:mm:ss"
);
}
if
(
endDate
==
''
){
endDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd HH:mm:ss"
);
}
HttpService
.
getReceitp
(
startDate
,
endDate
,
function
(
data
){
HttpService
.
getReceitp
(
startDate
,
endDate
,
function
(
data
){
$scope
.
receitpData
=
data
;
$scope
.
receitpData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
receitpData
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
receitpData
.
length
;
i
++
){
...
@@ -86,12 +80,6 @@ angular.module('AvatarCheck.receitp', ['ngRoute', 'AvatarCheck.http'])
...
@@ -86,12 +80,6 @@ angular.module('AvatarCheck.receitp', ['ngRoute', 'AvatarCheck.http'])
$scope
.
isHistory
=
1
;
$scope
.
isHistory
=
1
;
var
startDate
=
$
(
'#datepicker1'
).
val
();
var
startDate
=
$
(
'#datepicker1'
).
val
();
var
endDate
=
$
(
'#datepicker2'
).
val
();
var
endDate
=
$
(
'#datepicker2'
).
val
();
if
(
startDate
==
''
){
startDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd HH:mm:ss"
);
}
if
(
endDate
==
''
){
endDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd HH:mm:ss"
);
}
HttpService
.
getHistoryReceitp
(
startDate
,
endDate
,
function
(
data
){
HttpService
.
getHistoryReceitp
(
startDate
,
endDate
,
function
(
data
){
$scope
.
receitpHistoryData
=
data
;
$scope
.
receitpHistoryData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
receitpHistoryData
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
receitpHistoryData
.
length
;
i
++
){
...
...
src/main/resources/static/views/tagPrint/tagPrint.js
View file @
fbfe36b9
...
@@ -9,11 +9,25 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
...
@@ -9,11 +9,25 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
});
});
}])
}])
.
controller
(
'tagPrintCtrl'
,
function
(
$scope
,
$rootScope
,
HttpService
,
$interval
,
MessageService
,
$timeout
,
$filter
,
ngDialog
)
{
.
controller
(
'tagPrintCtrl'
,
function
(
$scope
,
$rootScope
,
HttpService
,
$interval
,
MessageService
,
$timeout
,
$filter
,
ngDialog
,
$location
)
{
var
getPoliceListDataNotChecked
=
function
()
{
HttpService
.
getPoliceListDataNotCheckedData
(
function
(
data
){
$scope
.
tagPrintData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
tagPrintData
.
length
;
i
++
){
$scope
.
tagPrintData
[
i
].
show
=
false
;
}
console
.
log
(
$scope
.
tagPrintData
)
})
};
$scope
.
acceptNo
=
'ACCEPT_NO'
;
if
(
$rootScope
.
loginData
.
login
===
false
){
$location
.
path
(
"/login"
);
}
else
{
getPoliceListDataNotChecked
();
}
$scope
.
acceptNo
=
'ACCEPT_NO'
;
var
postParam
=
{
var
postParam
=
{
idCard
:
''
,
idCard
:
''
,
...
@@ -65,16 +79,7 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
...
@@ -65,16 +79,7 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
getDetailListById
(
item
.
ID
);
getDetailListById
(
item
.
ID
);
};
};
var
getPoliceListDataNotChecked
=
function
()
{
HttpService
.
getPoliceListDataNotCheckedData
(
function
(
data
){
$scope
.
tagPrintData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
tagPrintData
.
length
;
i
++
){
$scope
.
tagPrintData
[
i
].
show
=
false
;
}
console
.
log
(
$scope
.
tagPrintData
)
})
};
getPoliceListDataNotChecked
();
$scope
.
checkSame
=
function
(
id
)
{
$scope
.
checkSame
=
function
(
id
)
{
HttpService
.
updateReceiptList
(
id
,
function
(
data
)
{
HttpService
.
updateReceiptList
(
id
,
function
(
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