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
d2e639e4
Commit
d2e639e4
authored
Apr 28, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EMS添加备注
parent
fbfe36b9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
13 deletions
+19
-13
updateNote.html
src/main/resources/static/dialogs/updateNote.html
+9
-2
uploadExcelAndSearch.html
...atic/views/uploadExcelAndSearch/uploadExcelAndSearch.html
+6
-4
uploadExcelAndSearch.js
...static/views/uploadExcelAndSearch/uploadExcelAndSearch.js
+4
-7
No files found.
src/main/resources/static/dialogs/updateNote.html
View file @
d2e639e4
...
@@ -19,6 +19,12 @@
...
@@ -19,6 +19,12 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<div
class=
"ui-dialog-confirm"
>
<div
class=
"ui-dialog-confirm clearfix"
>
<button
type=
"submit"
class=
"btn btn-info"
ng-click=
"updateNoteData()"
>
更新
</button>
<div
class=
"pull-left"
ng-if=
"consoleMsg"
style=
"color: red;margin-left: 69px;"
>
{{consoleMsg}}
</div>
<div
class=
"pull-right"
>
<button
type=
"submit"
class=
"btn btn-info"
ng-click=
"updateNoteData()"
>
更新
</button>
<button
type=
"submit"
class=
"btn btn-danger"
ng-click=
"closeThisDialog()"
>
关闭
</button>
</div>
</div>
</div>
\ No newline at end of file
src/main/resources/static/views/uploadExcelAndSearch/uploadExcelAndSearch.html
View file @
d2e639e4
...
@@ -109,10 +109,11 @@
...
@@ -109,10 +109,11 @@
<th>
联系方式
</th>
<th>
联系方式
</th>
<th>
地址
</th>
<th>
地址
</th>
<th>
打印时间
</th>
<th>
打印时间
</th>
<th>
操作
</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<tr
ng-repeat=
"item in postData | orderBy:item.id"
ng-click=
"showDetail(item)"
style=
"cursor: pointer;"
>
<tr
ng-repeat=
"item in postData | orderBy:item.id"
>
<td>
{{item.id}}
</td>
<td>
{{item.id}}
</td>
<td>
{{item.orderNumber}}
</td>
<td>
{{item.orderNumber}}
</td>
<td>
{{item.waybillNumber}}
</td>
<td>
{{item.waybillNumber}}
</td>
...
@@ -120,14 +121,15 @@
...
@@ -120,14 +121,15 @@
<td>
{{item.firstWhite}}
</td>
<td>
{{item.firstWhite}}
</td>
<td>
{{item.applicantName}}
</td>
<td>
{{item.applicantName}}
</td>
<td>
{{item.recipientPhone}}
</td>
<td>
{{item.recipientPhone}}
</td>
<td
>
{{item.recipientAddress}}
</td>
<td
ng-click=
"showDetail(item)"
><a>
{{item.recipientAddress}}
</a>
</td>
<td>
{{item.printDate | date:'yyyy-MM-dd hh:mm:ss'}}
</td>
<td>
{{item.printDate | date:'yyyy-MM-dd hh:mm:ss'}}
</td>
<td
ng-click=
"addNote(item.id)"
><a>
备注
</a></td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<div
class=
"box-footer"
ng-if=
"postData.length>0"
>
<
!--<
div class="box-footer" ng-if="postData.length>0">
<button class="pull-right btn btn-primary" ng-click="addNote()">添加备注</button>
<button class="pull-right btn btn-primary" ng-click="addNote()">添加备注</button>
</div>
</div>
-->
<div
style=
"padding-left: 27%;"
ng-if=
"postData.length>0"
>
<div
style=
"padding-left: 27%;"
ng-if=
"postData.length>0"
>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
</div>
</div>
...
...
src/main/resources/static/views/uploadExcelAndSearch/uploadExcelAndSearch.js
View file @
d2e639e4
...
@@ -339,11 +339,9 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
...
@@ -339,11 +339,9 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
}
}
$scope.addNote = function () {
$scope.addNote = function (
id
) {
var arr = [];
var arr = [];
for (var i=0;i<$scope.postData.length;i++){
arr.push(id);
arr.push($scope.postData[i].id)
}
ngDialog.open({
ngDialog.open({
template: 'dialogs/updateNote.html' + urlTimeStamp(),
template: 'dialogs/updateNote.html' + urlTimeStamp(),
width: 800,
width: 800,
...
@@ -353,7 +351,7 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
...
@@ -353,7 +351,7 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
console.log(arr)
console.log(arr)
HttpService.getNoteToUpdate(arr,function(data) {
HttpService.getNoteToUpdate(arr,function(data) {
$scope.idAndNote = data;
$scope.idAndNote = data;
console.log(
$scope.idAndNote)
console.log($scope.idAndNote)
})
})
$scope.updateNoteData = function(){
$scope.updateNoteData = function(){
...
@@ -367,8 +365,7 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
...
@@ -367,8 +365,7 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
}
}
HttpService.updateTheseNote(arr,function(data) {
HttpService.updateTheseNote(arr,function(data) {
if(data){
if(data){
$scope.closeThisDialog();
$scope.consoleMsg = "
更新成功
";
MessageService.showAlert("
更新成功
")
}
}
})
})
}
}
...
...
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