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
92077503
Commit
92077503
authored
Mar 16, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
搜索框
parent
63a7d2d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
app.js
src/main/resources/static/js/app.js
+8
-2
searchCard.html
src/main/resources/static/views/searchCard/searchCard.html
+4
-5
No files found.
src/main/resources/static/js/app.js
View file @
92077503
...
...
@@ -162,20 +162,26 @@ angular.module('AvatarCheck', [
console
.
log
(
$rootScope
.
tab
)
}
$scope
.
doSearch
=
function
(
searchInput
)
{
$scope
.
msg
=
""
;
$scope
.
alertMsg
=
""
;
var
pattern
=
/^
[
0-9
]
*$/
if
(
angular
.
isUndefined
(
searchInput
)
||!
pattern
.
test
(
searchInput
)){
$scope
.
disabledAdd
=
false
;
// var pattern = /^[0-9]*$/
if
(
angular
.
isUndefined
(
searchInput
)){
$location
.
path
(
"/searchCard"
);
$scope
.
msg
=
"请输入正确的受理号/身份证号/任务单编号"
;
}
else
{
HttpService
.
searchCards
(
searchInput
,
function
(
data
)
{
if
(
data
==
''
){
$scope
.
searchResult
=
{}
$scope
.
msg
=
""
;
$scope
.
alertMsg
=
"暂无数据"
;
}
else
{
$scope
.
searchResult
=
data
;
if
(
$scope
.
searchResult
.
workOrderData
[
0
].
CARD_TYPE
==
1
){
$scope
.
disabledAdd
=
true
;
}
console
.
log
(
$scope
.
searchResult
,
"searchResult"
)
console
.
log
(
$scope
.
searchResult
.
workOrderData
,
"searchResult.workOrderData"
)
console
.
log
(
$scope
.
searchResult
.
ACCdata
,
"searchResult.ACCdata"
)
...
...
src/main/resources/static/views/searchCard/searchCard.html
View file @
92077503
...
...
@@ -37,7 +37,6 @@
<td>
{{item.COUNTYNAME}}
</td>
<td>
{{item.CARD_TYPE}}
</td>
<td>
{{item.VALID_COUNT}}
</td>
<td>
{{item.SUBMIT_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.ISSUED_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.PRINT_OUT_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.POSITION_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
...
...
@@ -89,8 +88,8 @@
</tbody>
</table>
</div>
<div
style=
"text-align:right;padding: 10px;padding-top: 0;"
>
<button
class=
"btn btn-info"
ng-click=
"addQuickCardAccu()"
>
添加快证
</button>
<div
style=
"text-align:right;padding: 10px;padding-top: 0;"
ng-if=
"loginData.roleList[0].process==1"
>
<button
class=
"btn btn-info"
ng-
disabled=
"disabledAdd"
ng-
click=
"addQuickCardAccu()"
>
添加快证
</button>
<button
class=
"btn btn-danger"
ng-click=
"giveBackCardAccu()"
>
退证
</button>
</div>
</div>
...
...
@@ -136,8 +135,8 @@
</tbody>
</table>
</div>
<div
style=
"text-align:right;padding: 10px;padding-top: 0;"
>
<button
class=
"btn btn-info"
ng-click=
"addQuickCardProd()"
>
添加快证
</button>
<div
style=
"text-align:right;padding: 10px;padding-top: 0;"
ng-if=
"loginData.roleList[0].process==1"
>
<button
class=
"btn btn-info"
ng-
disabled=
"disabledAdd"
ng-
click=
"addQuickCardProd()"
>
添加快证
</button>
<button
class=
"btn btn-danger"
ng-click=
"giveBackCardAccu()"
>
退证
</button>
</div>
</div>
...
...
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