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
23d600c4
Commit
23d600c4
authored
Dec 27, 2024
by
guantiantian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出今日全国异地证信息表
parent
16c886b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
218 additions
and
147 deletions
+218
-147
xmlAndSearch.html
...ain/resources/static/views/xmlAndSearch/xmlAndSearch.html
+210
-147
xmlAndSearch.js
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.js
+8
-0
No files found.
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.html
View file @
23d600c4
<style>
.table
th
,
.table
td
{
text-align
:
center
;
vertical-align
:
middle
!important
;
}
.select2-search__field
{
height
:
30px
;
}
.ul
li
{
cursor
:
pointer
;
}
.page-list
.pagination
{
float
:
left
;}
.page-list
.pagination
span
{
cursor
:
pointer
;}
.page-list
.pagination
.separate
span
{
cursor
:
default
;
border-top
:
none
;
border-bottom
:
none
;}
.page-list
.pagination
.separate
span
:hover
{
background
:
none
;}
.page-list
.page-total
{
float
:
left
;
margin
:
25px
20px
;}
.page-list
.page-total
input
,
.page-list
.page-total
select
{
height
:
26px
;
border
:
1px
solid
#ddd
;}
.page-list
.page-total
input
{
width
:
40px
;
padding-left
:
3px
;}
.page-list
.page-total
select
{
width
:
50px
;}
.page-list
:after
{
display
:
block
;
clear
:
both
;
content
:
""
}
.table
th
,
.table
td
{
text-align
:
center
;
vertical-align
:
middle
!important
;
}
.select2-search__field
{
height
:
30px
;
}
.ul
li
{
cursor
:
pointer
;
}
.page-list
.pagination
{
float
:
left
;
}
.page-list
.pagination
span
{
cursor
:
pointer
;
}
.page-list
.pagination
.separate
span
{
cursor
:
default
;
border-top
:
none
;
border-bottom
:
none
;
}
.page-list
.pagination
.separate
span
:hover
{
background
:
none
;
}
.page-list
.page-total
{
float
:
left
;
margin
:
25px
20px
;
}
.page-list
.page-total
input
,
.page-list
.page-total
select
{
height
:
26px
;
border
:
1px
solid
#ddd
;
}
.page-list
.page-total
input
{
width
:
40px
;
padding-left
:
3px
;
}
.page-list
.page-total
select
{
width
:
50px
;
}
.page-list
:after
{
display
:
block
;
clear
:
both
;
content
:
""
;
}
.page-list
{
zoom
:
1
}
.page-list
{
zoom
:
1
;
}
</style>
<div
class=
"content row"
>
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"box "
>
<strong
class=
"box-header with-border"
>
格口文件信息
</strong>
<div
class=
"box-info"
style=
"padding-top: 0;"
>
<table
class=
"table table-bordered table-hover postTable"
ng-if=
"postPackageData.length>0"
>
<thead>
<tr>
<th>
NO.
</th>
<th>
文件ID
</th>
<th>
订单起始日期
</th>
<th>
订单截至日期
</th>
<th>
文件名
</th>
<th>
上传时间
</th>
<th>
解析状态
</th>
</tr>
</thead>
<tbody>
<tr
ng-repeat=
"item in postPackageData"
>
<td>
{{$index+1}}
</td>
<td>
{{item.fileId}}
</td>
<td>
{{item.formStartTime | myDateFilter}}
</td>
<td>
{{item.formDeadline| myDateFilter}}
</td>
<td>
{{item.fileName}}
</td>
<td>
{{item.uploadDate | myDateFilter}}
</td>
<td
ng-if=
"item.state==0"
>
未解析
</td>
<td
ng-if=
"item.state==1"
>
已解析
</td>
</tr>
</tbody>
</table>
<div
class=
"box-body"
ng-if=
"postPackageData.length==0"
><h4>
暂无记录
</h4></div>
<div
class=
"col-md-12"
style=
"margin-top: 20px"
>
<div
class=
"box"
>
<strong
class=
"box-header with-border"
>
格口文件信息
</strong>
<div
class=
"box-info"
style=
"padding-top: 0"
>
<table
class=
"table table-bordered table-hover postTable"
ng-if=
"postPackageData.length>0"
>
<thead>
<tr>
<th>
NO.
</th>
<th>
文件ID
</th>
<th>
订单起始日期
</th>
<th>
订单截至日期
</th>
<th>
文件名
</th>
<th>
上传时间
</th>
<th>
解析状态
</th>
</tr>
</thead>
<tbody>
<tr
ng-repeat=
"item in postPackageData"
>
<td>
{{$index+1}}
</td>
<td>
{{item.fileId}}
</td>
<td>
{{item.formStartTime | myDateFilter}}
</td>
<td>
{{item.formDeadline| myDateFilter}}
</td>
<td>
{{item.fileName}}
</td>
<td>
{{item.uploadDate | myDateFilter}}
</td>
<td
ng-if=
"item.state==0"
>
未解析
</td>
<td
ng-if=
"item.state==1"
>
已解析
</td>
</tr>
</tbody>
</table>
<div
class=
"box-body"
ng-if=
"postPackageData.length==0"
>
<h4>
暂无记录
</h4>
</div>
</div>
</div>
<div
class=
"box "
>
<strong
class=
"box-header with-border"
>
制证包上传
</strong>
<div
class=
"box box-primary"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<tr>
<td
width=
"15%"
>
选择XML文件:
</td>
<td
colspan=
"2"
width=
"35%"
>
<input
type=
"file"
id=
"id_file_photo_for_check"
class=
"file"
data-show-preview=
"false"
multiple=
"multiple"
data-allowed-file-extensions=
'["xml","XML"]'
/>
</td>
<td
style=
"text-align: left;"
><button
class=
"btn btn-primary"
ng-click=
"uploadXml()"
>
上传
</button></td>
</tr>
</table>
</div>
<div
class=
"box"
>
<strong
class=
"box-header with-border"
>
制证包上传
</strong>
<div
class=
"box box-primary"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0"
>
<tr>
<td
width=
"15%"
>
选择XML文件:
</td>
<td
colspan=
"2"
width=
"35%"
>
<input
type=
"file"
id=
"id_file_photo_for_check"
class=
"file"
data-show-preview=
"false"
multiple=
"multiple"
data-allowed-file-extensions=
'["xml","XML"]'
/>
</td>
<td
style=
"text-align: left"
>
<button
class=
"btn btn-primary"
ng-click=
"uploadXml()"
>
上传
</button>
</td>
<td
style=
"text-align: left"
>
<button
class=
"btn btn-primary"
ng-click=
"downLoadXml()"
>
导出今日全国异地证信息表
</button>
</td>
</tr>
</table>
</div>
</div>
<div
class=
"box"
>
<div
class=
"box-header with-border"
>
<strong>
制证包管理
</strong>
(
<span
style=
"color:#0b93d5;"
>
每页显示{{paginationConf.itemsPerPage}}条/共
{{paginationConf.totalItems}}条
</span>
)
</div>
<div
class=
"box box-primary"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<tr>
<td>
XML导入时间:
</td>
<div
class=
"box-header with-border"
>
<strong>
制证包管理
</strong>
(
<span
style=
"color: #0b93d5"
>
每页显示{{paginationConf.itemsPerPage}}条/共
{{paginationConf.totalItems}}条
</span
>
)
</div>
<div
class=
"box box-primary"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0"
>
<tr>
<td>
XML导入时间:
</td>
<td>
<div
class=
"input-group date"
style=
"width: 65%"
>
<div
class=
"input-group-addon"
>
<i
class=
"fa fa-calendar"
></i>
</div>
<input
type=
"text"
class=
"form-control pull-right"
value=
"{{choseDate}}"
id=
"datepicker"
readonly
/>
<span
class=
"input-group-addon"
><span
class=
"glyphicon glyphicon-remove"
></span
></span>
</div>
</td>
<!--<td>格口导入日期:</td>-->
<!--<td>-->
<!--<div class="input-group date" >-->
<!--<div class="input-group-addon">-->
<!--<i class="fa fa-calendar"></i>-->
<!--</div>-->
<!--<input type="text" class="form-control pull-right" ng-model="gridDate" id="dateGrid" readonly/>-->
<!--<span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>-->
<!--</div>-->
<!--</td>-->
<td
style=
"text-align: left"
>
<button
class=
"btn btn-primary"
ng-click=
"getXmlPackage()"
>
查询
</button>
</td>
</tr>
</table>
<div
class=
"box-info"
style=
"padding: 7px; padding-top: 0"
>
<table
class=
"table table-bordered table-hover postTable"
ng-if=
"xmlPackageData.length>0"
>
<thead>
<tr>
<th>
NO.
</th>
<th>
上传时间
</th>
<th>
制证包数量
</th>
<th>
数据量
</th>
<th>
普通证数量
</th>
<th>
邮寄证数量
</th>
<th>
解析状态
</th>
</tr>
</thead>
<tbody>
<tr
ng-repeat=
"item in xmlPackageData"
>
<td>
{{$index+1}}
</td>
<td>
{{item.date}}
</td>
<td>
{{item.packageCount}}
</td>
<td>
{{item.dateCount}}
</td>
<td>
{{item.commonCount}}
</td>
<td>
{{item.postCount}}
</td>
<td>
<div
class=
"input-group date"
style=
"width: 65%"
>
<div
class=
"input-group-addon"
>
<i
class=
"fa fa-calendar"
></i>
</div>
<input
type=
"text"
class=
"form-control pull-right"
value=
"{{choseDate}}"
id=
"datepicker"
readonly
/>
<span
class=
"input-group-addon"
><span
class=
"glyphicon glyphicon-remove"
></span></span>
</div>
</td>
<!--<td>格口导入日期:</td>-->
<!--<td>-->
<!--<div class="input-group date" >-->
<!--<div class="input-group-addon">-->
<!--<i class="fa fa-calendar"></i>-->
<!--</div>-->
<!--<input type="text" class="form-control pull-right" ng-model="gridDate" id="dateGrid" readonly/>-->
<!--<span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>-->
<!--</div>-->
<!--</td>-->
<td
style=
"text-align: left;"
>
<button
class=
"btn btn-primary"
ng-click=
"getXmlPackage()"
>
查询
</button>
<!--<button class="btn btn-primary" ng-click="analysis(item.date,item.packageCount)">解析</button>-->
<button
class=
"btn btn-primary"
ng-click=
"analysis(item.date)"
>
解析
</button>
<button
class=
"btn btn-danger"
ng-click=
"deleteDataById(item.date,item.packageCount)"
>
删除
</button>
<button
class=
"btn btn-primary"
ng-click=
"check(item.date)"
>
检查
</button>
<!--<button class="btn btn-info" ng-click="analysisMachineAcceptList(item)">解析机器受理包</button>-->
</td>
</tr>
</table>
<div
class=
"box-info"
style=
"padding: 7px;padding-top: 0;"
>
<table
class=
"table table-bordered table-hover postTable"
ng-if=
"xmlPackageData.length>0"
>
<thead>
<tr>
<th>
NO.
</th>
<th>
上传时间
</th>
<th>
制证包数量
</th>
<th>
数据量
</th>
<th>
普通证数量
</th>
<th>
邮寄证数量
</th>
<th>
解析状态
</th>
</tr>
</thead>
<tbody>
<tr
ng-repeat=
"item in xmlPackageData"
>
<td>
{{$index+1}}
</td>
<td>
{{item.date}}
</td>
<td>
{{item.packageCount}}
</td>
<td>
{{item.dateCount}}
</td>
<td>
{{item.commonCount}}
</td>
<td>
{{item.postCount}}
</td>
<td>
<!--<button class="btn btn-primary" ng-click="analysis(item.date,item.packageCount)">解析</button>-->
<button
class=
"btn btn-primary"
ng-click=
"analysis(item.date)"
>
解析
</button>
<button
class=
"btn btn-danger"
ng-click=
"deleteDataById(item.date,item.packageCount)"
>
删除
</button>
<button
class=
"btn btn-primary"
ng-click=
"check(item.date)"
>
检查
</button>
<!--<button class="btn btn-info" ng-click="analysisMachineAcceptList(item)">解析机器受理包</button>-->
</td>
</tr>
</tbody>
</table>
<div
style=
"padding-left: 27%;"
ng-if=
"xmlPackageData.length>0"
>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
</div>
<div
class=
"box-body"
ng-if=
"xmlPackageData.length==0"
>
<h4>
暂无记录。
</h4>
</div>
</div>
</tr>
</tbody>
</table>
<div
style=
"padding-left: 27%"
ng-if=
"xmlPackageData.length>0"
>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
</div>
<div
class=
"box-body"
ng-if=
"xmlPackageData.length==0"
>
<h4>
暂无记录。
</h4>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.js
View file @
23d600c4
...
...
@@ -200,6 +200,14 @@ angular
}
}
$scope
.
downLoadXml
=
function
(
fileId
)
{
var
url
=
"../importXML/exportCsv"
var
a
=
document
.
createElement
(
"a"
)
document
.
body
.
appendChild
(
a
)
a
.
href
=
encodeURI
(
url
)
a
.
click
()
}
var
reGet
=
$scope
.
getXmlPackage
$scope
.
deleteDataById
=
function
(
uploadDate
,
packageCount
)
{
ngDialog
.
open
({
...
...
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