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
34250ac7
Commit
34250ac7
authored
Mar 09, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增页面
parent
ebfd2ca9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
app.js
src/main/resources/static/js/app.js
+3
-0
addRest.js
src/main/resources/static/views/addRest/addRest.js
+5
-2
searchCard.html
src/main/resources/static/views/searchCard/searchCard.html
+1
-1
No files found.
src/main/resources/static/js/app.js
View file @
34250ac7
...
...
@@ -198,6 +198,9 @@ angular.module('AvatarCheck', [
$location
.
path
(
"/createTaskList"
);
}
}).
filter
(
'myDateFilter'
,
function
()
{
//可以注入依赖
return
function
(
permanentPositionDate
)
{
...
...
src/main/resources/static/views/addRest/addRest.js
View file @
34250ac7
...
...
@@ -28,6 +28,9 @@ angular.module('AvatarCheck.addRest', ['ngRoute', 'AvatarCheck.http'])
for
(
var
i
=
0
;
i
<
$scope
.
arr
.
length
;
i
++
){
array
.
push
(
$
(
".rest"
)[
i
].
value
)
}
var
json
=
{};
json
.
name
=
$rootScope
.
loginData
.
name
;
json
.
list
=
array
;
console
.
log
(
array
)
ngDialog
.
open
({
template
:
'dialogs/confirmRestCards.html'
+
urlTimeStamp
(),
...
...
@@ -35,12 +38,12 @@ angular.module('AvatarCheck.addRest', ['ngRoute', 'AvatarCheck.http'])
cache
:
false
,
closeByDocument
:
false
,
controller
:
[
'$scope'
,
'HttpService'
,
'MessageService'
,
function
(
$scope
,
HttpService
,
MessageService
)
{
HttpService
.
getPersonInfo
(
array
,
function
(
data
){
HttpService
.
getPersonInfo
(
json
,
function
(
data
){
$scope
.
personInfo
=
data
;
console
.
log
(
$scope
.
personInfo
)
})
$scope
.
confirmAdd
=
function
(){
HttpService
.
addRestCard
(
array
,
function
(
data
){
HttpService
.
addRestCard
(
json
,
function
(
data
){
$scope
.
closeThisDialog
();
MessageService
.
showAlert
(
"添加成功"
);
console
.
log
(
data
)
...
...
src/main/resources/static/views/searchCard/searchCard.html
View file @
34250ac7
...
...
@@ -92,7 +92,7 @@
</table>
</div>
<div
style=
"text-align:right;padding: 10px;padding-top: 0;"
>
<button
class=
"btn btn-info"
>
添加快证
</button>
<button
class=
"btn btn-info"
ng-click=
""
>
添加快证
</button>
<button
class=
"btn btn-danger"
>
退证
</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