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
70cf5aa8
Commit
70cf5aa8
authored
Mar 16, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
fedf4f05
89a2b19e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
33 deletions
+33
-33
confirmDeleteProdCards.html
...main/resources/static/dialogs/confirmDeleteProdCards.html
+1
-1
app.js
src/main/resources/static/js/app.js
+1
-0
service.js
src/main/resources/static/js/service.js
+2
-0
analysisLog.js
src/main/resources/static/views/analysisLog/analysisLog.js
+0
-1
cardProdUpdate.js
...n/resources/static/views/cardProdUpdate/cardProdUpdate.js
+29
-31
No files found.
src/main/resources/static/dialogs/confirmDeleteProdCards.html
View file @
70cf5aa8
...
...
@@ -2,7 +2,7 @@
提示
</div>
<div
class=
"ui-dialog-content"
>
<div>
确认删除
{{startDate}}到{{endDate}}导入的
{{total}}条记录吗?
</div>
<div>
确认删除
<span
ng-if=
"startDate"
>
{{startDate}}到{{endDate}}导入的
</span>
{{total}}条记录吗?
</div>
</div>
<div
class=
"ui-dialog-confirm"
>
<button
type=
"submit"
class=
"btn btn-info"
ng-click=
"confirmDelete()"
>
确认删除
</button>
...
...
src/main/resources/static/js/app.js
View file @
70cf5aa8
...
...
@@ -225,6 +225,7 @@ angular.module('AvatarCheck', [
}
$scope
.
addQuickCardProd
=
function
(){
console
.
log
(
$scope
.
searchResult
.
workOrderData
[
0
].
CARD_TYPE_ID
)
if
(
$
(
".prod:checked"
).
length
>
0
){
var
idx
=
$
(
".prod:checked"
).
val
();
var
check
=
idx
.
split
(
"+"
);
...
...
src/main/resources/static/js/service.js
View file @
70cf5aa8
...
...
@@ -350,6 +350,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
if
(
angular
.
isUndefined
(
oldPackageName
)){
oldPackageName
=
''
;
}
console
.
log
(
oldPackageName
,
date
)
$http
({
method
:
'GET'
,
url
:
"../LogApi/selectAnalysisLogCount"
+
urlTimeStamp
(),
...
...
@@ -365,6 +366,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
if
(
angular
.
isUndefined
(
oldPackageName
)){
oldPackageName
=
''
;
}
console
.
log
(
oldPackageName
,
date
,
currentPage
,
itemsPerPage
)
$http
({
method
:
'GET'
,
url
:
"../LogApi/selectByAnalysisLog"
+
urlTimeStamp
(),
...
...
src/main/resources/static/views/analysisLog/analysisLog.js
View file @
70cf5aa8
...
...
@@ -34,7 +34,6 @@ angular.module('AvatarCheck.analysisLog', ['ngRoute', 'AvatarCheck.http', 'tm.pa
$scope
.
getAnalyseLog
=
function
(){
console
.
log
(
$
(
'#datepicker'
).
val
());
HttpService
.
selectAnalyseLogCount
(
$scope
.
oldPackageName
,
$
(
"#datepicker"
).
val
(),
function
(
data
)
{
$scope
.
paginationConf
.
totalItems
=
data
;
console
.
log
(
$scope
.
paginationConf
.
totalItems
)
...
...
src/main/resources/static/views/cardProdUpdate/cardProdUpdate.js
View file @
70cf5aa8
...
...
@@ -99,37 +99,36 @@ angular.module('AvatarCheck.cardProdUpdate', ['ngRoute', 'AvatarCheck.http'])
if
(
angular
.
isUndefined
(
pcs_name
)){
pcs_name
=
''
;
}
if
(
startDate
==
''
){
startDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
}
if
(
endDate
==
''
){
endDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
}
ngDialog
.
open
({
template
:
'dialogs/confirmDeleteProdCards.html'
+
urlTimeStamp
(),
width
:
600
,
cache
:
false
,
closeByDocument
:
false
,
controller
:
[
'$scope'
,
function
(
$scope
)
{
$scope
.
startDate
=
startDate
;
$scope
.
endDate
=
endDate
;
HttpService
.
selectXmlDataCount
(
startPackageNo
,
endPackageNo
,
pcs_name
,
startDate
,
endDate
,
function
(
data
){
$scope
.
total
=
data
;
console
.
log
(
$scope
.
total
,
"count"
)
})
$scope
.
confirmDelete
=
function
()
{
HttpService
.
deleteProdCards
(
startPackageNo
,
endPackageNo
,
pcs_name
,
startDate
,
endDate
,
function
(
data
)
{
if
(
data
){
MessageService
.
showAlert
(
"删除成功"
);
$scope
.
closeThisDialog
();
reGet
();
}
else
{
MessageService
.
showAlert
(
"删除失败"
)
}
if
((
startDate
!=
''
&&
endDate
==
''
)
||
(
endDate
!=
''
&&
startDate
==
''
))
{
MessageService
.
showAlert
(
"请选择起始日期和结束日期"
)
}
else
{
ngDialog
.
open
({
template
:
'dialogs/confirmDeleteProdCards.html'
+
urlTimeStamp
(),
width
:
600
,
cache
:
false
,
closeByDocument
:
false
,
controller
:
[
'$scope'
,
function
(
$scope
)
{
$scope
.
startDate
=
startDate
;
$scope
.
endDate
=
endDate
;
HttpService
.
selectXmlDataCount
(
startPackageNo
,
endPackageNo
,
pcs_name
,
startDate
,
endDate
,
function
(
data
){
$scope
.
total
=
data
;
console
.
log
(
$scope
.
total
,
"count"
)
})
};
$scope
.
confirmDelete
=
function
()
{
HttpService
.
deleteProdCards
(
startPackageNo
,
endPackageNo
,
pcs_name
,
startDate
,
endDate
,
function
(
data
)
{
if
(
data
){
MessageService
.
showAlert
(
"删除成功"
);
$scope
.
closeThisDialog
();
reGet
();
}
else
{
MessageService
.
showAlert
(
"删除失败"
)
}
})
};
}]
});
}
}]
});
}
});
\ No newline at end of file
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