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
c9d14d74
Commit
c9d14d74
authored
Dec 29, 2022
by
caijianbiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加checkNewExcelUnresolved接口,code不为0是下载
parent
3d62330a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
2 deletions
+24
-2
service.js
src/main/resources/static/js/service.js
+12
-0
cardProdPackage.html
...sources/static/views/cardProdPackage/cardProdPackage.html
+1
-1
cardProdPackage.js
...resources/static/views/cardProdPackage/cardProdPackage.js
+11
-1
No files found.
src/main/resources/static/js/service.js
View file @
c9d14d74
...
...
@@ -2063,5 +2063,16 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
success
(
response
.
data
)
})
},
checkNewExcelUnresolved
:
function
(
success
)
{
$http
({
method
:
'POST'
,
url
:
"../LogApi/checkNewExcelUnresolved"
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
}
});
\ No newline at end of file
src/main/resources/static/views/cardProdPackage/cardProdPackage.html
View file @
c9d14d74
...
...
@@ -99,7 +99,7 @@
<td>
<div
style=
"text-align: right;"
>
<button
class=
"btn btn-primary"
ng-click=
"doPackageQuery()"
>
查询
</button>
<button
type=
"submit"
class=
"btn btn-info"
ng-click=
"
downloadXml
()"
>
下载制证包
</button>
<button
type=
"submit"
class=
"btn btn-info"
ng-click=
"
checkNewExcelUnresolved
()"
>
下载制证包
</button>
</div>
</td>
</tr>
...
...
src/main/resources/static/views/cardProdPackage/cardProdPackage.js
View file @
c9d14d74
...
...
@@ -209,7 +209,17 @@ angular.module('AvatarCheck.cardProdPackage', ['ngRoute', 'AvatarCheck.http', 't
$rootScope
.
count
=
data
;
})
}
$scope
.
downloadXml
=
function
(){
$scope
.
checkNewExcelUnresolved
=
function
(){
HttpService
.
checkNewExcelUnresolved
(
function
(
data
){
if
(
data
.
code
===
0
){
MessageService
.
showAlert
(
"code: 0"
);
}
else
{
downloadXml
()
}
})
}
var
downloadXml
=
function
(){
$rootScope
.
count
=
0
;
var
date
=
$
(
"#datepicker"
).
val
();
var
date1
=
$
(
"#datepicker1"
).
val
();
...
...
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