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
5c4d6c40
Commit
5c4d6c40
authored
Mar 18, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加备注
parent
229816c3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
3 deletions
+38
-3
ngDialog-theme-default.css
...c/components/ngDialog/css/myth/ngDialog-theme-default.css
+1
-1
showDetail.html
src/main/resources/static/dialogs/showDetail.html
+2
-0
updateNote.html
src/main/resources/static/dialogs/updateNote.html
+2
-2
service.js
src/main/resources/static/js/service.js
+14
-0
uploadExcelAndSearch.js
...static/views/uploadExcelAndSearch/uploadExcelAndSearch.js
+19
-0
No files found.
src/main/resources/static/components/ngDialog/css/myth/ngDialog-theme-default.css
View file @
5c4d6c40
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
.ngdialog.ngdialog-theme-default
{
.ngdialog.ngdialog-theme-default
{
padding-bottom
:
160px
;
padding-bottom
:
160px
;
padding-top
:
16
0px
;
padding-top
:
5
0px
;
}
}
.ngdialog.ngdialog-theme-default.ngdialog-closing
.ngdialog-content
{
.ngdialog.ngdialog-theme-default.ngdialog-closing
.ngdialog-content
{
...
...
src/main/resources/static/dialogs/showDetail.html
View file @
5c4d6c40
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
<tr>
<tr>
<td
style=
"text-align:left;"
><strong>
内件性质:
</strong>
{{item.natureOfTheInternal}}
</td>
<td
style=
"text-align:left;"
><strong>
内件性质:
</strong>
{{item.natureOfTheInternal}}
</td>
<td
style=
"text-align:left;"
><strong>
内件信息:
</strong>
{{item.natureOfTheInformation}}
</td>
<td
style=
"text-align:left;"
><strong>
内件信息:
</strong>
{{item.natureOfTheInformation}}
</td>
<td
style=
"text-align:left;"
><strong>
备注:
</strong>
{{item.note}}
</td>
</tr>
</tr>
</table>
</table>
</div>
</div>
\ No newline at end of file
src/main/resources/static/dialogs/updateNote.html
View file @
5c4d6c40
...
@@ -20,6 +20,5 @@
...
@@ -20,6 +20,5 @@
</table>
</table>
</div>
</div>
<div
class=
"ui-dialog-confirm"
>
<div
class=
"ui-dialog-confirm"
>
<button
type=
"submit"
class=
"btn btn-info"
ng-click=
""
>
复核一致
</button>
<button
type=
"submit"
class=
"btn btn-info"
ng-click=
"updateNoteData()"
>
更新
</button>
<button
type=
"submit"
class=
"btn btn-primary"
ng-click=
""
>
打印条形码
</button>
</div>
</div>
\ No newline at end of file
src/main/resources/static/js/service.js
View file @
5c4d6c40
...
@@ -886,6 +886,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
...
@@ -886,6 +886,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
},
},
getNoteToUpdate
:
function
(
data
,
success
)
{
getNoteToUpdate
:
function
(
data
,
success
)
{
var
body
=
JSON
.
stringify
(
data
);
var
body
=
JSON
.
stringify
(
data
);
console
.
log
(
body
)
$http
({
$http
({
method
:
'POST'
,
method
:
'POST'
,
url
:
"../personPostApi/selectNote"
,
url
:
"../personPostApi/selectNote"
,
...
@@ -894,6 +895,18 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
...
@@ -894,6 +895,18 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
}).
then
(
function
successCallback
(
response
)
{
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
success
(
response
.
data
)
})
})
},
updateTheseNote
:
function
(
data
,
success
){
var
body
=
JSON
.
stringify
(
data
);
console
.
log
(
body
)
$http
({
method
:
'POST'
,
url
:
"../personPostApi/addNote"
,
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.js
View file @
5c4d6c40
...
@@ -277,6 +277,7 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
...
@@ -277,6 +277,7 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
cache: false,
cache: false,
controller: ['$scope', function ($scope) {
controller: ['$scope', function ($scope) {
$scope.item = itemData;
$scope.item = itemData;
console.log($scope.item)
}]
}]
});
});
}
}
...
@@ -322,7 +323,25 @@ angular.module('AvatarCheck.uploadExcelAndSearch', ['ngRoute', 'AvatarCheck.http
...
@@ -322,7 +323,25 @@ 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)
})
})
$scope.updateNoteData = function(){
var arr = [];
for (var i=0;i<$scope.idAndNote.length;i++){
var json={
id:$scope.idAndNote[i].ID,
note:$scope.idAndNote[i].NOTE
}
arr.push(json);
}
HttpService.updateTheseNote(arr,function(data) {
if(data){
$scope.closeThisDialog();
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