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
a5a0a682
Commit
a5a0a682
authored
Mar 06, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增页面
parent
200bc344
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
46 additions
and
38 deletions
+46
-38
index.html
src/main/resources/static/index.html
+3
-3
app.js
src/main/resources/static/js/app.js
+15
-4
excelAndSearch.html
...resources/static/views/excelAndSearch/excelAndSearch.html
+5
-4
excelAndSearch.js
...n/resources/static/views/excelAndSearch/excelAndSearch.js
+4
-4
searchCard.html
src/main/resources/static/views/searchCard/searchCard.html
+16
-12
searchCard.js
src/main/resources/static/views/searchCard/searchCard.js
+3
-11
No files found.
src/main/resources/static/index.html
View file @
a5a0a682
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
<li
class=
"sidebar no-padding navbar-left"
style=
"width: 230px;margin-left:27px;height: auto;"
>
<li
class=
"sidebar no-padding navbar-left"
style=
"width: 230px;margin-left:27px;height: auto;"
>
<form
style=
"margin-top: 6px;"
name=
"form"
>
<form
style=
"margin-top: 6px;"
name=
"form"
>
<div
class=
"input-group input-group-sm"
>
<div
class=
"input-group input-group-sm"
>
<input
type=
"text"
class=
"form-control input-sm bg-light no-border padder"
ng-keyup=
"enterEvent($event,searchInput)"
style=
"height: 35px;background-color: #fff;"
ng-model=
"searchInput"
placeholder=
"身份证号/受理号/任务单
id
..."
>
<input
type=
"text"
class=
"form-control input-sm bg-light no-border padder"
ng-keyup=
"enterEvent($event,searchInput)"
style=
"height: 35px;background-color: #fff;"
ng-model=
"searchInput"
placeholder=
"身份证号/受理号/任务单
编号
..."
>
<span
class=
"input-group-btn"
>
<span
class=
"input-group-btn"
>
<button
type=
"button"
style=
"height: 35px;background-color: #fff;border-left:0;outline:none;"
ng-click=
"doSearch(searchInput)"
class=
"btn btn-sm bg-light"
>
<button
type=
"button"
style=
"height: 35px;background-color: #fff;border-left:0;outline:none;"
ng-click=
"doSearch(searchInput)"
class=
"btn btn-sm bg-light"
>
<i
class=
"fa fa-search"
></i>
<i
class=
"fa fa-search"
></i>
...
@@ -240,9 +240,9 @@
...
@@ -240,9 +240,9 @@
<div
class=
"content-wrapper"
ng-view
style=
"min-height: 589px;"
></div>
<div
class=
"content-wrapper"
ng-view
style=
"min-height: 589px;"
></div>
<footer
class=
"main-footer"
>
<footer
class=
"main-footer"
>
<div
class=
"pull-right hidden-xs"
>
<div
class=
"pull-right hidden-xs"
>
<b>
联系电话:
</b>
(010)88516568
<b>
版本:
</b>
1.0
</div>
</div>
<strong>
北京
盈信信息科技所有
</strong>
<strong>
北京
制证辅助平台
</strong>
</footer>
</footer>
</div>
</div>
<div
ng-if=
"loginData.login == false"
class=
"wrapper"
style=
"background-color: #EEEEEE;"
>
<div
ng-if=
"loginData.login == false"
class=
"wrapper"
style=
"background-color: #EEEEEE;"
>
...
...
src/main/resources/static/js/app.js
View file @
a5a0a682
...
@@ -156,14 +156,22 @@ angular.module('AvatarCheck', [
...
@@ -156,14 +156,22 @@ angular.module('AvatarCheck', [
}
}
$scope
.
doSearch
=
function
(
searchInput
)
{
$scope
.
doSearch
=
function
(
searchInput
)
{
if
(
angular
.
isUndefined
(
searchInput
)){
$rootScope
.
searchResult
=
{};
$scope
.
msg
=
""
;
$scope
.
alertMsg
=
""
;
var
pattern
=
/^
[
0-9
]
*$/
if
(
angular
.
isUndefined
(
searchInput
)
||!
pattern
.
test
(
searchInput
)){
$location
.
path
(
"/searchCard"
);
$location
.
path
(
"/searchCard"
);
$scope
.
alertMsg
=
"请输入要查询的受理号/身份证号/任务单id
"
;
$scope
.
msg
=
"请输入正确的受理号/身份证号/任务单编号
"
;
}
else
{
}
else
{
console
.
log
(
searchInput
,
"//"
)
HttpService
.
searchCards
(
searchInput
,
function
(
data
)
{
HttpService
.
searchCards
(
searchInput
,
function
(
data
)
{
if
(
data
==
''
){
$scope
.
alertMsg
=
"暂无数据"
;
}
else
{
$rootScope
.
searchResult
=
data
;
$rootScope
.
searchResult
=
data
;
console
.
log
(
$rootScope
.
searchResult
)
console
.
log
(
$rootScope
.
searchResult
)
}
})
})
$location
.
path
(
"/searchCard"
);
$location
.
path
(
"/searchCard"
);
}
}
...
@@ -177,12 +185,15 @@ angular.module('AvatarCheck', [
...
@@ -177,12 +185,15 @@ angular.module('AvatarCheck', [
});
});
}
}
$scope
.
enterEvent
=
function
(
e
,
search
)
{
$scope
.
enterEvent
=
function
(
e
,
search
)
{
console
.
log
(
search
)
var
keycode
=
window
.
event
?
e
.
keyCode
:
e
.
which
;
var
keycode
=
window
.
event
?
e
.
keyCode
:
e
.
which
;
if
(
keycode
==
13
){
if
(
keycode
==
13
){
$scope
.
doSearch
(
search
)
$scope
.
doSearch
(
search
)
}
}
}
}
$scope
.
goBack
=
function
()
{
$location
.
path
(
"/createTaskList"
);
}
});
});
src/main/resources/static/views/excelAndSearch/excelAndSearch.html
View file @
a5a0a682
...
@@ -128,18 +128,19 @@
...
@@ -128,18 +128,19 @@
<tbody>
<tbody>
<tr
ng-repeat=
"item in postPackageData"
>
<tr
ng-repeat=
"item in postPackageData"
>
<td>
{{$index+1}}
</td>
<td>
{{$index+1}}
</td>
<td>
{{item.
beginDat
e}}
</td>
<td>
{{item.
formStartTim
e}}
</td>
<td>
{{item.
d
eadline}}
</td>
<td>
{{item.
formD
eadline}}
</td>
<td>
{{item.fileName}}
</td>
<td>
{{item.fileName}}
</td>
<td>
{{item.uploadDate}}
</td>
<td>
{{item.uploadDate}}
</td>
<td>
{{item.state}}
</td>
<td
ng-if=
"item.state==0"
>
未解析
</td>
<td
ng-if=
"item.state==1"
>
已解析
</td>
<td>
<td>
<button
class=
"btn btn-danger"
>
删除
</button>
<button
class=
"btn btn-danger"
>
删除
</button>
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<div
style=
"padding-left: 27%;"
ng-if=
"postPackageData"
>
<div
style=
"padding-left: 27%;"
>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
</div>
</div>
<h3
ng-if=
"postMsgDetail.length==0"
>
暂无记录。
</h3>
<h3
ng-if=
"postMsgDetail.length==0"
>
暂无记录。
</h3>
...
...
src/main/resources/static/views/excelAndSearch/excelAndSearch.js
View file @
a5a0a682
...
@@ -65,18 +65,18 @@ angular.module('AvatarCheck.excelAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm
...
@@ -65,18 +65,18 @@ angular.module('AvatarCheck.excelAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm
$scope
.
paginationConf
=
{
$scope
.
paginationConf
=
{
currentPage
:
1
,
currentPage
:
1
,
itemsPerPage
:
10
,
itemsPerPage
:
10
,
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
perPageOptions
:
[
5
,
10
,
15
,
20
,
25
]
};
};
$scope
.
getPostPackage
=
function
(){
$scope
.
getPostPackage
=
function
(){
console
.
log
(
$scope
.
fileName
,
$scope
.
state
,
$
(
"#datepicker3"
).
val
())
console
.
log
(
$scope
.
fileName
,
$scope
.
state
,
$
(
"#datepicker3"
).
val
())
HttpService
.
selectPostPackageCount
(
$scope
.
fileName
,
$scope
.
state
,
$
(
"#datepicker3"
).
val
(),
function
(
data
)
{
HttpService
.
selectPostPackageCount
(
$scope
.
fileName
,
$scope
.
state
,
$
(
"#datepicker3"
).
val
(),
function
(
data
)
{
$scope
.
paginationConf
.
totalItems
=
data
;
$scope
.
paginationConf
.
totalItems
=
data
.
respData
.
string
;
console
.
log
(
data
)
console
.
log
(
$scope
.
paginationConf
.
totalItems
)
})
})
HttpService
.
selectPostPackage
(
$scope
.
fileName
,
$scope
.
state
,
$scope
.
paginationConf
.
currentPage
,
$scope
.
paginationConf
.
itemsPerPage
,
$
(
"#datepicker3"
).
val
(),
function
(
data
){
HttpService
.
selectPostPackage
(
$scope
.
fileName
,
$scope
.
state
,
$scope
.
paginationConf
.
currentPage
,
$scope
.
paginationConf
.
itemsPerPage
,
$
(
"#datepicker3"
).
val
(),
function
(
data
){
$scope
.
postPackageData
=
data
;
$scope
.
postPackageData
=
data
.
respData
;
console
.
log
(
$scope
.
postPackageData
)
console
.
log
(
$scope
.
postPackageData
)
})
})
}
}
...
...
src/main/resources/static/views/searchCard/searchCard.html
View file @
a5a0a682
...
@@ -6,8 +6,12 @@
...
@@ -6,8 +6,12 @@
</strong>
</strong>
<div
class=
"box-info"
style=
"padding:0px 10px 7px 10px;"
>
<div
class=
"box-info"
style=
"padding:0px 10px 7px 10px;"
>
<h4
ng-if=
"alertMsg"
>
{{alertMsg}}
</h4>
<h4
ng-if=
"alertMsg"
>
{{alertMsg}}
</h4>
<h4
ng-if=
"msg"
>
{{msg}}
</h4>
<h4
ng-if=
"!searchResult"
>
请输入要查询的受理号/身份证号/任务单编号
</h4>
<!--任务单-->
<!--任务单-->
<div
class=
"panel panel-info"
ng-if=
"searchResult.workOrderDat
e
.length>0"
>
<div
class=
"panel panel-info"
ng-if=
"searchResult.workOrderDat
a
.length>0"
>
<div
class=
"panel-heading"
>
<div
class=
"panel-heading"
>
<h3
class=
"panel-title"
>
<h3
class=
"panel-title"
>
任务单
任务单
...
@@ -28,17 +32,17 @@
...
@@ -28,17 +32,17 @@
<th>
仓库
</th>
<th>
仓库
</th>
</thead>
</thead>
<tbody>
<tbody>
<tr>
<tr
ng-repeat=
"item in searchResult.workOrderData"
>
<td>
20190228001
</td>
<td>
{{item.TASK_ID}}
</td>
<td>
海淀区
</td>
<td>
{{item.COUNTYNAME}}
</td>
<td>
普通证
</td>
<td>
{{item.CARD_TYPE}}
</td>
<td>
20190221
</td>
<td>
{{item.SUBMIT_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td></td>
<td>
{{item.ISSUED_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td></td>
<td>
{{item.PRINT_OUT_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td></td>
<td>
{{item.POSITION_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td></td>
<td>
{{item.SORT_OUT_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td></td>
<td>
{{item.QUALITY_TEST_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td></td>
<td>
{{item.OUT_STORAGE_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
...
...
src/main/resources/static/views/searchCard/searchCard.js
View file @
a5a0a682
...
@@ -4,15 +4,7 @@ angular.module('AvatarCheck.searchCard', ['ngRoute', 'AvatarCheck.http'])
...
@@ -4,15 +4,7 @@ angular.module('AvatarCheck.searchCard', ['ngRoute', 'AvatarCheck.http'])
.
config
([
'$routeProvider'
,
function
(
$routeProvider
)
{
.
config
([
'$routeProvider'
,
function
(
$routeProvider
)
{
$routeProvider
.
when
(
'/searchCard'
,
{
$routeProvider
.
when
(
'/searchCard'
,
{
templateUrl
:
'views/searchCard/searchCard.html'
+
urlTimeStamp
(),
templateUrl
:
'views/searchCard/searchCard.html'
+
urlTimeStamp
(),
controller
:
'
searchCard
Ctrl'
,
controller
:
'
app
Ctrl'
,
cache
:
false
cache
:
false
});
});
}])
}]);
\ No newline at end of file
.
controller
(
'searchCardCtrl'
,
function
(
$scope
,
$rootScope
,
$timeout
,
HttpService
,
ngDialog
,
MessageService
,
$filter
,
$location
)
{
$scope
.
goBack
=
function
()
{
$location
.
path
(
"/dataCheckTask"
);
}
});
\ 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