Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
smart
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
wangqinghua
smart
Commits
433c4a6e
Commit
433c4a6e
authored
Jun 14, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改名称最短长度
parent
7958ca9c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
navbar.component.html
src/main/webapp/app/layouts/navbar/navbar.component.html
+2
-2
navbar.component.ts
src/main/webapp/app/layouts/navbar/navbar.component.ts
+1
-1
user.component.ts
src/main/webapp/app/system/modal/user/user.component.ts
+1
-1
tsconfig.json
tsconfig.json
+1
-1
No files found.
src/main/webapp/app/layouts/navbar/navbar.component.html
View file @
433c4a6e
...
...
@@ -2,6 +2,7 @@
<div
nz-row
>
<div
nz-col
class=
"handle"
[
nzSpan
]="
12
"
>
<a
class=
"main-color margin-right-10"
routerLink=
"../main/home"
>
首页
</a>
<a
class=
"main-color margin-left-10"
(
click
)="
goOut
()"
>
机房监控系统
</a>
<span
class=
"main-color"
(
click
)="
transition
()"
>
快捷添加 +
</span>
<span
#
parent
class=
"span-hov"
>
<span
#
children
class=
"addBtn"
>
...
...
@@ -9,9 +10,8 @@
<span
(
click
)="
showBasicEditModal
()"
>
添加资源
</span>
</span>
</span>
<a
class=
"main-color margin-left-10"
(
click
)="
goOut
()"
>
机房监控系统
</a>
</div>
<div
nz-col
[
nzSpan
]="
12
"
style=
"text-align:
right"
>
<div
nz-col
[
nzSpan
]="
12
"
class=
"text-
right"
>
<nz-select
style=
"width: 150px;margin-right: 20px"
[(
ngModel
)]="
theme
"
(
ngModelChange
)="
changeTheme
()"
>
<ng-container
*
ngFor=
"let item of themeList"
>
<nz-option
[
nzValue
]="
item
.
value
"
[
nzLabel
]="
item
.
label
"
></nz-option>
...
...
src/main/webapp/app/layouts/navbar/navbar.component.ts
View file @
433c4a6e
...
...
@@ -141,7 +141,7 @@ export class NavbarComponent implements OnInit ,AfterViewChecked{
goOut
(){
window
.
open
(
'http://26.81.99.220/control/user/userlogin.php?userid=sa&userpwd=123456'
,
"_blank"
);
timer
(
1
00
).
subscribe
(
timer
(
5
00
).
subscribe
(
()
=>
{
window
.
open
(
'http://26.81.99.220/views/index.php'
,
"_blank"
);
}
...
...
src/main/webapp/app/system/modal/user/user.component.ts
View file @
433c4a6e
...
...
@@ -36,7 +36,7 @@ export class UserComponent implements OnInit {
initForm
(){
this
.
validateForm
=
this
.
fb
.
group
({
name
:[
null
,[
Validators
.
required
,
Validators
.
minLength
(
6
),
Validators
.
maxLength
(
16
)]],
name
:[
null
,[
Validators
.
required
,
Validators
.
minLength
(
1
),
Validators
.
maxLength
(
16
)]],
phoneNumber
:[
null
,[
Validators
.
required
,
Validators
.
minLength
(
11
),
Validators
.
maxLength
(
11
)]],
gender
:[
null
,[
Validators
.
required
]],
email
:[
null
,],
...
...
tsconfig.json
View file @
433c4a6e
...
...
@@ -10,7 +10,7 @@
"noImplicitAny"
:
false
,
"skipLibCheck"
:
true
,
"suppressImplicitAnyIndexErrors"
:
true
,
"outDir"
:
"build/w
ww
/app"
,
"outDir"
:
"build/w
x
/app"
,
"lib"
:
[
"es7"
,
"dom"
],
"typeRoots"
:
[
"node_modules/@types"
...
...
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