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
51ba3f86
Commit
51ba3f86
authored
Mar 10, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增页面
parent
b0320bbe
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
11 deletions
+20
-11
service.js
src/main/resources/static/js/service.js
+12
-0
createTaskList.js
...n/resources/static/views/createTaskList/createTaskList.js
+2
-5
taskListPushing.html
src/main/resources/static/views/task/taskListPushing.html
+2
-2
taskListSorting.html
src/main/resources/static/views/task/taskListSorting.html
+3
-0
xmlAndSearch.js
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.js
+1
-4
No files found.
src/main/resources/static/js/service.js
View file @
51ba3f86
...
...
@@ -153,6 +153,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
})
},
uploadPackage
:
function
(
fd
,
success
){
console
.
log
(
fd
)
$http
({
method
:
'POST'
,
url
:
"../importXML/getXMLToCheck"
,
...
...
@@ -184,6 +185,9 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
},
selectXmlPackageCount
:
function
(
date
,
success
){
if
(
date
==
''
){
date
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
}
$http
({
method
:
'GET'
,
url
:
"../importXML/queryPersonXMLCount"
+
urlTimeStamp
(),
...
...
@@ -195,6 +199,10 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
})
},
selectXmlPackage
:
function
(
date
,
currentPage
,
itemsPerPage
,
success
){
if
(
date
==
''
){
date
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
}
console
.
log
(
date
,
currentPage
,
itemsPerPage
)
$http
({
method
:
'GET'
,
url
:
"../importXML/queryPersonXML"
+
urlTimeStamp
(),
...
...
@@ -372,6 +380,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
if
(
date
==
""
){
date
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
}
console
.
log
(
newPackageName
,
idCard
,
date
,
county
,
currentPage
,
itemsPerPage
)
console
.
log
(
newPackageName
,
idCard
,
date
,
county
)
$http
({
method
:
'GET'
,
...
...
@@ -413,6 +422,9 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
})
},
getTaskListToCreate
:
function
(
date
,
success
){
if
(
date
==
''
){
date
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
}
console
.
log
(
$rootScope
.
loginData
.
roleList
[
0
].
process
,
date
)
$http
({
method
:
'GET'
,
...
...
src/main/resources/static/views/createTaskList/createTaskList.js
View file @
51ba3f86
...
...
@@ -41,9 +41,6 @@ angular.module('AvatarCheck.createTaskList', ['ngRoute', 'AvatarCheck.http', 'tm
}
$scope
.
searchCurrent
();
var
reGet
=
function
()
{
$scope
.
searchCurrent
();
}
$scope
.
currentTab
=
0
;
$scope
.
func
=
function
(
index
)
{
...
...
@@ -163,8 +160,8 @@ angular.module('AvatarCheck.createTaskList', ['ngRoute', 'AvatarCheck.http', 'tm
console
.
log
(
map
)
HttpService
.
createTask
(
map
,
function
(
data
){
MessageService
.
showAlert
(
"创建成功"
)
console
.
log
(
reGe
t
)
reGe
t
();
console
.
log
(
$scope
.
searchCurren
t
)
$scope
.
searchCurren
t
();
})
}
else
{
MessageService
.
showAlert
(
"请选择创建任务单的组"
)
...
...
src/main/resources/static/views/task/taskListPushing.html
View file @
51ba3f86
...
...
@@ -101,8 +101,8 @@
</div>
</div>
<div
ng-if=
"cycleSheetData.length==0"
>
<h4>
暂无数据
</h4>
</div>
<h4>
暂无数据
</h4>
</div>
<!-- /.mail-box-messages -->
</div>
<!-- /.box-body -->
...
...
src/main/resources/static/views/task/taskListSorting.html
View file @
51ba3f86
...
...
@@ -104,6 +104,9 @@
</div>
<!-- /.mail-box-messages -->
</div>
<div
ng-if=
"cycleSheetData.length==0"
>
<h4>
暂无数据
</h4>
</div>
</div>
<!-- /.box-body -->
</div>
...
...
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.js
View file @
51ba3f86
...
...
@@ -84,17 +84,14 @@ angular.module('AvatarCheck.xmlAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm.p
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
$scope
.
getXmlPackage
=
function
(){
console
.
log
(
$
(
"#datepicker"
).
val
())
HttpService
.
selectXmlPackageCount
(
$
(
"#datepicker"
).
val
(),
function
(
data
){
$scope
.
paginationConf
.
totalItems
=
data
.
respData
.
string
;
})
HttpService
.
selectXmlPackage
(
$
(
"#datepicker"
).
val
(),
$scope
.
paginationConf
.
currentPage
,
$scope
.
paginationConf
.
itemsPerPage
,
function
(
data
){
HttpService
.
selectXmlPackage
(
$
(
"#datepicker"
).
val
(),
$scope
.
paginationConf
.
currentPage
+
1
,
$scope
.
paginationConf
.
itemsPerPage
,
function
(
data
){
$scope
.
xmlPackageData
=
data
.
respData
;
console
.
log
(
"$scope.xmlPackageData:"
,
$scope
.
xmlPackageData
)
})
}
// 通过$watch currentPage和itemperPage 当他们一变化的时候,重新获取数据条目
$scope
.
$watch
(
'paginationConf.currentPage +paginationConf.itemsPerPage'
,
$scope
.
getXmlPackage
);
...
...
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