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
ee8658b9
Commit
ee8658b9
authored
Mar 20, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
0cb3172f
dcc058a6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
18 deletions
+20
-18
confirmToDownload.html
src/main/resources/static/dialogs/confirmToDownload.html
+1
-1
uploadExcelAndSearch.html
...atic/views/uploadExcelAndSearch/uploadExcelAndSearch.html
+17
-17
uploadExcelAndSearch.js
...static/views/uploadExcelAndSearch/uploadExcelAndSearch.js
+2
-0
No files found.
src/main/resources/static/dialogs/confirmToDownload.html
View file @
ee8658b9
...
...
@@ -2,7 +2,7 @@
提示
</div>
<div
class=
"ui-dialog-content"
>
<div>
确认下载{{count}}条记录吗?
</div>
<div>
下载格口文件导入日期为:{{importDate}} 的
<strong>
{{count}}
</strong>
条记录
</div>
</div>
<div
class=
"ui-dialog-confirm"
>
<button
type=
"submit"
class=
"btn btn-info"
ng-click=
"confirmDownload()"
>
确认
</button>
...
...
src/main/resources/static/views/uploadExcelAndSearch/uploadExcelAndSearch.html
View file @
ee8658b9
...
...
@@ -42,15 +42,14 @@
<td><input
type=
"text"
class=
"form-control"
ng-model=
"emailNo"
placeholder=
"邮件号"
></td>
</tr>
<tr>
<td>
打印状态:
</td>
<td
style=
"text-align: left;"
>
<select
class=
"form-control select2"
id=
"print"
ng-model=
"isPrint"
>
<option
value=
""
>
--请选择打印状态--
</option>
<option
value=
"1"
>
已打印
</option>
<option
value=
"0"
>
未打印
</option>
</select>
</td>
<td>
数据状态:
</td>
<td
style=
"text-align: left;"
>
<select
class=
"form-control select2"
id=
"notNull"
ng-model=
"isValid"
>
<option
value=
""
>
--请选择数据状态--
</option>
<option
value=
"1"
>
有效记录
</option>
<option
value=
"0"
>
无效记录
</option>
</select>
</td>
<td
>
格口:
</td>
<td><input
type=
"text"
class=
"form-control"
ng-model=
"gkxx"
placeholder=
"格口"
></td>
<td>
区县:
</td>
...
...
@@ -72,14 +71,15 @@
<span
class=
"input-group-addon"
><span
class=
"glyphicon glyphicon-remove"
></span></span>
</div>
</td>
<td>
数据状态:
</td>
<td
style=
"text-align: left;"
>
<select
class=
"form-control select2"
id=
"notNull"
ng-model=
"isValid"
>
<option
value=
""
>
--请选择数据状态--
</option>
<option
value=
"1"
>
有效记录
</option>
<option
value=
"0"
>
无效记录
</option>
</select>
</td>
<td>
打印状态:
</td>
<td
style=
"text-align: left;"
>
<select
class=
"form-control select2"
id=
"print"
ng-model=
"isPrint"
>
<option
value=
""
>
--请选择打印状态--
</option>
<option
value=
"1"
>
已打印
</option>
<option
value=
"0"
>
未打印
</option>
</select>
</td>
<td
colspan=
"2"
>
<div
style=
"float: left"
>
<button
class=
"btn btn-primary"
style=
"margin-right: 7px;"
ng-click=
"doQuery()"
>
查询
</button>
...
...
src/main/resources/static/views/uploadExcelAndSearch/uploadExcelAndSearch.js
View file @
ee8658b9
...
...
@@ -205,6 +205,7 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
})
}
$scope
.
downloadExcel
=
function
(){
var
date
=
$
(
'#datepicker'
).
val
();
ngDialog
.
open
({
template
:
'dialogs/confirmToDownload.html'
+
urlTimeStamp
(),
width
:
800
,
...
...
@@ -212,6 +213,7 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
closeByDocument
:
false
,
controller
:
[
'$scope'
,
function
(
$scope
)
{
getCount
()
$scope
.
importDate
=
date
;
$scope
.
confirmDownload
=
function
()
{
var
url
=
'../personPostApi/download?'
;
var
a
=
document
.
createElement
(
"a"
);
...
...
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