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
50987832
Commit
50987832
authored
Mar 05, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善主页面
parent
f0c3bc00
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
39 additions
and
10 deletions
+39
-10
index.html
src/main/resources/static/index.html
+10
-3
app.js
src/main/resources/static/js/app.js
+20
-0
service.js
src/main/resources/static/js/service.js
+6
-2
logo.jpg
src/main/resources/static/newTheme/dist/img/logo.jpg
+0
-0
login.html
src/main/resources/static/views/login/login.html
+1
-1
xmlAndSearch.html
...ain/resources/static/views/xmlAndSearch/xmlAndSearch.html
+1
-3
xmlAndSearch.js
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.js
+1
-1
No files found.
src/main/resources/static/index.html
View file @
50987832
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
</li>
</li>
</ul>
</ul>
<div
class=
"pull-right"
style=
"font-size:1.8em;line-height: 50px;color: #fff;font-family:'黑体';padding:0 20px;"
>
北京制证辅助平台
</div>
<!--导航右边-->
<!--导航右边-->
<div
class=
"navbar-custom-menu"
>
<div
class=
"navbar-custom-menu"
>
<ul
class=
"nav navbar-nav"
>
<ul
class=
"nav navbar-nav"
>
...
@@ -191,7 +191,7 @@
...
@@ -191,7 +191,7 @@
<li
class=
"dropdown user"
>
<li
class=
"dropdown user"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
<span
class=
"hidden-xs"
>
{{loginData.name}}
</span>
<span
class=
"hidden-xs"
>
当前用户:
{{loginData.name}}
</span>
</a>
</a>
<ul
class=
"dropdown-menu"
>
<ul
class=
"dropdown-menu"
>
<li
style=
"padding: 5px;"
>
<li
style=
"padding: 5px;"
>
...
@@ -199,6 +199,13 @@
...
@@ -199,6 +199,13 @@
</li>
</li>
</ul>
</ul>
</li>
</li>
<li
class=
"dropdown user user-menu"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
style=
"padding-bottom: 0;"
>
<img
src=
"newTheme/dist/img/logo.jpg"
class=
"user-image"
alt=
"User Image"
>
<span
style=
"font-size: 1.7em;"
>
北京制证辅助平台
</span>
</a>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -216,7 +223,7 @@
...
@@ -216,7 +223,7 @@
<li
ng-repeat=
"menu in menuList | orderBy:'id'"
ng-class=
"{true: 'active', false: ''}[tab =='{{menu.url}}']"
ng-click=
"getFocus(menu.url)"
>
<li
ng-repeat=
"menu in menuList | orderBy:'id'"
ng-class=
"{true: 'active', false: ''}[tab =='{{menu.url}}']"
ng-click=
"getFocus(menu.url)"
>
<a
href=
"#!{{menu.url}}"
>
<a
href=
"#!{{menu.url}}"
>
<i
class=
"
fa fa-file-code-o
"
></i>
<i
class=
"
{{icons[$index]}}
"
></i>
<span
ng-bind=
"menu.name"
></span>
<span
ng-bind=
"menu.name"
></span>
</a>
</a>
</li>
</li>
...
...
src/main/resources/static/js/app.js
View file @
50987832
...
@@ -47,6 +47,26 @@ angular.module('AvatarCheck', [
...
@@ -47,6 +47,26 @@ angular.module('AvatarCheck', [
$location
.
path
(
"/login"
);
$location
.
path
(
"/login"
);
}
}
if
(
$rootScope
.
loginData
.
login
==
true
){
if
(
$rootScope
.
loginData
.
login
==
true
){
$scope
.
icons
=
[
"glyphicon glyphicon-list icon text-primary"
,
"fa fa-file icon text-info"
,
"glyphicon glyphicon-briefcase icon text-danger"
,
"glyphicon glyphicon-th-large icon text-success"
,
"glyphicon glyphicon-stats icon text-primary-dker"
,
"glyphicon glyphicon-list icon text-primary"
,
"fa fa-file icon text-info"
,
"glyphicon glyphicon-briefcase icon text-danger"
,
"glyphicon glyphicon-th-large icon text-success"
,
"glyphicon glyphicon-stats icon text-primary-dker"
,
"glyphicon glyphicon-list icon text-primary"
,
"fa fa-file icon text-info"
,
"glyphicon glyphicon-briefcase icon text-danger"
,
"glyphicon glyphicon-th-large icon text-success"
,
"glyphicon glyphicon-stats icon text-primary-dker"
,
"glyphicon glyphicon-briefcase icon text-danger"
,
"glyphicon glyphicon-th-large icon text-success"
,
"glyphicon glyphicon-stats icon text-primary-dker"
]
$rootScope
.
menuList
=
$rootScope
.
loginData
.
roleList
[
0
].
permissions
;
$rootScope
.
menuList
=
$rootScope
.
loginData
.
roleList
[
0
].
permissions
;
console
.
log
(
$scope
.
menuList
)
console
.
log
(
$scope
.
menuList
)
}
}
...
...
src/main/resources/static/js/service.js
View file @
50987832
...
@@ -174,11 +174,15 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
...
@@ -174,11 +174,15 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
},
},
selectXmlPackage
:
function
(
date
,
state
,
success
){
selectXmlPackage
:
function
(
date
,
state
,
success
){
if
(
angular
.
isUndefined
(
state
)){
state
=-
1
;
}
console
.
log
(
date
,
state
)
$http
({
$http
({
method
:
'GET'
,
method
:
'GET'
,
url
:
"../
selectXMLApi/selectXml
"
+
urlTimeStamp
(),
url
:
"../
importXML/queryPersonXMLCount
"
+
urlTimeStamp
(),
params
:{
params
:{
d
ate
:
date
,
importD
ate
:
date
,
state
:
state
state
:
state
}
}
}).
then
(
function
successCallback
(
response
)
{
}).
then
(
function
successCallback
(
response
)
{
...
...
src/main/resources/static/newTheme/dist/img/logo.jpg
0 → 100644
View file @
50987832
582 KB
src/main/resources/static/views/login/login.html
View file @
50987832
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<div
class=
"login-box-body"
style=
"border-radius: 4px;"
>
<div
class=
"login-box-body"
style=
"border-radius: 4px;"
>
<p
class=
"login-box-msg"
>
用户登录
</p>
<p
class=
"login-box-msg"
>
用户登录
</p>
<form>
<form
name=
"form"
>
<div
class=
"text-danger wrapper text-center"
ng-show=
"authError"
style=
"margin-bottom: 5px;"
>
<div
class=
"text-danger wrapper text-center"
ng-show=
"authError"
style=
"margin-bottom: 5px;"
>
{{authError}}
{{authError}}
</div>
</div>
...
...
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.html
View file @
50987832
...
@@ -67,9 +67,7 @@
...
@@ -67,9 +67,7 @@
</td>
</td>
<td>
<td>
<select
class=
"form-control select2"
id=
"state"
ng-model=
"state"
>
<select
class=
"form-control select2"
id=
"state"
ng-model=
"state"
>
<option
value=
""
>
--请选择解析状态--
</option>
<option
value=
"{{state.stateCode}}"
ng-repeat=
"state in [{stateName:'已解析',stateCode:1},{stateName:'未解析',stateCode:0}] track by $index"
>
{{state.stateName}}
</option>
<option
value=
"1"
>
已解析
</option>
<option
value=
"-1"
>
未解析
</option>
</select>
</select>
</td>
</td>
<td>
<td>
...
...
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.js
View file @
50987832
...
@@ -72,7 +72,7 @@ angular.module('AvatarCheck.xmlAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm.p
...
@@ -72,7 +72,7 @@ angular.module('AvatarCheck.xmlAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm.p
console
.
log
(
$
(
"#datepicker"
).
val
(),
$scope
.
state
)
console
.
log
(
$
(
"#datepicker"
).
val
(),
$scope
.
state
)
HttpService
.
selectXmlPackage
(
$
(
"#datepicker"
).
val
(),
$scope
.
state
,
function
(
data
){
HttpService
.
selectXmlPackage
(
$
(
"#datepicker"
).
val
(),
$scope
.
state
,
function
(
data
){
$scope
.
xmlPackageData
=
data
;
$scope
.
xmlPackageData
=
data
;
console
.
log
(
$scope
.
xmlPackageData
)
console
.
log
(
"$scope.xmlPackageData:"
,
$scope
.
xmlPackageData
)
})
})
}
}
...
...
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