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
e655380c
Commit
e655380c
authored
Mar 18, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下载交接单
parent
37af3535
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
88 additions
and
13 deletions
+88
-13
updateNote.html
src/main/resources/static/dialogs/updateNote.html
+26
-0
index.html
src/main/resources/static/index.html
+3
-6
service.js
src/main/resources/static/js/service.js
+12
-0
uploadExcelAndSearch.html
...atic/views/uploadExcelAndSearch/uploadExcelAndSearch.html
+18
-7
uploadExcelAndSearch.js
...static/views/uploadExcelAndSearch/uploadExcelAndSearch.js
+29
-0
No files found.
src/main/resources/static/dialogs/updateNote.html
0 → 100644
View file @
e655380c
<div
class=
"ui-dialog-title"
>
更新备注
</div>
<div
class=
"ui-dialog-content"
>
<table
class=
"table"
style=
"border-color: black;"
>
<thead>
<tr>
<th>
上传受理号
</th>
<th>
申请人姓名
</th>
<th>
备注
</th>
</tr>
</thead>
<tbody>
<tr
ng-repeat=
"item in idAndNote"
>
<td>
{{item.FIRST_WHITE}}
</td>
<td>
{{item.APPLICANT_NAME}}
</td>
<td><input
type=
"text"
ng-model=
"item.NOTE"
></td>
</tr>
</tbody>
</table>
</div>
<div
class=
"ui-dialog-confirm"
>
<button
type=
"submit"
class=
"btn btn-info"
ng-click=
""
>
复核一致
</button>
<button
type=
"submit"
class=
"btn btn-primary"
ng-click=
""
>
打印条形码
</button>
</div>
\ No newline at end of file
src/main/resources/static/index.html
View file @
e655380c
...
@@ -119,6 +119,9 @@
...
@@ -119,6 +119,9 @@
<span
class=
"hidden-xs"
ng-bind=
"loginData.name"
></span>
<span
class=
"hidden-xs"
ng-bind=
"loginData.name"
></span>
</a>
</a>
</li>
</li>
<li
class=
"dropdown user user-menu"
>
<a
ng-click=
"logout()"
class=
"btn btn-flat"
style=
"background-color: #0c6ba2;border: 0"
>
退出当前用户
</a>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -140,12 +143,6 @@
...
@@ -140,12 +143,6 @@
<span
ng-bind=
"menu.name"
></span>
<span
ng-bind=
"menu.name"
></span>
</a>
</a>
</li>
</li>
<li>
<a
ng-click=
"logout()"
>
<i
class=
"glyphicon glyphicon-user"
></i>
<span>
退出当前用户
</span>
</a>
</li>
</ul>
</ul>
</section>
</section>
<!-- /.sidebar -->
<!-- /.sidebar -->
...
...
src/main/resources/static/js/service.js
View file @
e655380c
...
@@ -883,6 +883,17 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
...
@@ -883,6 +883,17 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
}).
then
(
function
successCallback
(
response
)
{
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
success
(
response
.
data
)
})
})
},
getNoteToUpdate
:
function
(
data
,
success
)
{
var
body
=
JSON
.
stringify
(
data
);
$http
({
method
:
'POST'
,
url
:
"../personPostApi/selectNote"
,
data
:
body
,
headers
:
{
'Content-Type'
:
'application/json'
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
}
}
}
}
});
});
\ No newline at end of file
src/main/resources/static/views/uploadExcelAndSearch/uploadExcelAndSearch.html
View file @
e655380c
...
@@ -72,7 +72,15 @@
...
@@ -72,7 +72,15 @@
<span
class=
"input-group-addon"
><span
class=
"glyphicon glyphicon-remove"
></span></span>
<span
class=
"input-group-addon"
><span
class=
"glyphicon glyphicon-remove"
></span></span>
</div>
</div>
</td>
</td>
<td
colspan=
"4"
>
<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
colspan=
"2"
>
<div
style=
"float: left"
>
<div
style=
"float: left"
>
<button
class=
"btn btn-primary"
style=
"margin-right: 7px;"
ng-click=
"doQuery()"
>
查询
</button>
<button
class=
"btn btn-primary"
style=
"margin-right: 7px;"
ng-click=
"doQuery()"
>
查询
</button>
<button
class=
"btn btn-primary"
style=
"margin-right: 7px;"
ng-click=
"subSomething()"
>
读卡查询
</button>
<button
class=
"btn btn-primary"
style=
"margin-right: 7px;"
ng-click=
"subSomething()"
>
读卡查询
</button>
...
@@ -88,8 +96,8 @@
...
@@ -88,8 +96,8 @@
<div
class=
"box-header with-border"
><strong>
邮寄单详情
</strong>
<div
class=
"box-header with-border"
><strong>
邮寄单详情
</strong>
(
<span
style=
"color:#0b93d5;"
>
每页显示{{paginationConf.itemsPerPage}}条/共
(
<span
style=
"color:#0b93d5;"
>
每页显示{{paginationConf.itemsPerPage}}条/共
{{paginationConf.totalItems}}条
</span>
)
</div>
{{paginationConf.totalItems}}条
</span>
)
</div>
<div
class=
"box-info"
style=
"padding: 7px;"
>
<div
class=
"box-info"
style=
"padding: 7px;"
>
<table
class=
"table table-bordered table-hover"
ng-if=
"postData.length>0"
>
<table
class=
"table table-bordered table-hover"
ng-if=
"postData.length>0"
>
<thead>
<thead>
<tr>
<tr>
<th>
NO.
</th>
<th>
NO.
</th>
...
@@ -117,10 +125,13 @@
...
@@ -117,10 +125,13 @@
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<div
style=
"padding-left: 27%;"
ng-if=
"postData.length>0"
>
<div
class=
"box-footer"
>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
<button
class=
"pull-right btn btn-primary"
ng-click=
"addNote()"
>
添加备注
</button>
</div>
</div>
<h4
ng-if=
"postData.length==0"
>
暂无记录。
</h4>
<div
style=
"padding-left: 27%;"
ng-if=
"postData.length>0"
>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
</div>
<h4
ng-if=
"postData.length==0"
>
暂无记录。
</h4>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/main/resources/static/views/uploadExcelAndSearch/uploadExcelAndSearch.js
View file @
e655380c
...
@@ -85,6 +85,7 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
...
@@ -85,6 +85,7 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
}
}
var
getJson
=
function
()
{
var
getJson
=
function
()
{
var
date
=
$
(
'#datepicker'
).
val
();
var
date
=
$
(
'#datepicker'
).
val
();
var
notNull
=
$
(
"#notNull"
).
val
();
var
json
=
{};
var
json
=
{};
if
(
angular
.
isDefined
(
$scope
.
applicantName
))
{
if
(
angular
.
isDefined
(
$scope
.
applicantName
))
{
json
.
applicantName
=
$scope
.
applicantName
;
json
.
applicantName
=
$scope
.
applicantName
;
...
@@ -122,6 +123,11 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
...
@@ -122,6 +123,11 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
}
else
{
}
else
{
json
.
uploadDate
=
$
(
"#datepicker"
).
val
();
json
.
uploadDate
=
$
(
"#datepicker"
).
val
();
}
}
if
(
notNull
==
''
){
json
.
notNull
=
-
1
;
}
else
{
json
.
notNull
=
notNull
}
if
(
$scope
.
paginationConf
.
currentPage
==
0
){
if
(
$scope
.
paginationConf
.
currentPage
==
0
){
$scope
.
paginationConf
.
currentPage
=
1
$scope
.
paginationConf
.
currentPage
=
1
}
}
...
@@ -301,6 +307,28 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
...
@@ -301,6 +307,28 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
});
});
}
}
$scope.addNote = function () {
var arr = [];
for (var i=0;i<$scope.postData.length;i++){
arr.push($scope.postData[i].id)
}
ngDialog.open({
template: 'dialogs/updateNote.html' + urlTimeStamp(),
width: 800,
cache: false,
closeByDocument: false,
controller: ['$scope', 'HttpService', 'MessageService', function ($scope, HttpService, MessageService) {
console.log(arr)
HttpService.getNoteToUpdate(arr,function(data) {
$scope.idAndNote = data;
})
}]
});
}
});
});
\ 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