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
27c933dd
Commit
27c933dd
authored
Jan 21, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
e2e98fca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
basic.component.html
src/main/webapp/app/overAll/basic/basic.component.html
+1
-1
basic.component.ts
src/main/webapp/app/overAll/basic/basic.component.ts
+1
-4
No files found.
src/main/webapp/app/overAll/basic/basic.component.html
View file @
27c933dd
...
@@ -322,7 +322,7 @@
...
@@ -322,7 +322,7 @@
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"searchStatus"
>
<ng-container
*
ngIf=
"searchStatus"
>
<ng-container
*
ngFor=
"let item of
searchD
ata"
>
<ng-container
*
ngFor=
"let item of
nzTable.d
ata"
>
<tr>
<tr>
<td
nzShowCheckbox
[
nzIndeterminate
]="
indeterminate
"
(
nzCheckedChange
)="
selectChecked
($
event
,
item
)"
<td
nzShowCheckbox
[
nzIndeterminate
]="
indeterminate
"
(
nzCheckedChange
)="
selectChecked
($
event
,
item
)"
[(
nzChecked
)]="
item
.
checked
"
></td>
[(
nzChecked
)]="
item
.
checked
"
></td>
...
...
src/main/webapp/app/overAll/basic/basic.component.ts
View file @
27c933dd
...
@@ -142,7 +142,6 @@ export class BasicComponent implements OnInit {
...
@@ -142,7 +142,6 @@ export class BasicComponent implements OnInit {
search
(
status
)
{
search
(
status
)
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
searchStatus
=
true
;
this
.
searchStatus
=
true
;
this
.
frontPagination
=
false
;
const
data
=
{
const
data
=
{
search
:
{
search
:
{
status
:
status
,
status
:
status
,
...
@@ -152,7 +151,7 @@ export class BasicComponent implements OnInit {
...
@@ -152,7 +151,7 @@ export class BasicComponent implements OnInit {
this
.
overAllSer
.
find
(
data
).
subscribe
(
this
.
overAllSer
.
find
(
data
).
subscribe
(
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
errCode
==
10000
)
{
if
(
res
.
errCode
==
10000
)
{
this
.
searchData
=
res
.
data
;
this
.
dataSet
=
res
.
data
;
}
}
this
.
loading
=
false
;
this
.
loading
=
false
;
}
}
...
@@ -162,7 +161,6 @@ export class BasicComponent implements OnInit {
...
@@ -162,7 +161,6 @@ export class BasicComponent implements OnInit {
//backList
//backList
backList
()
{
backList
()
{
this
.
searchStatus
=
false
;
this
.
searchStatus
=
false
;
this
.
frontPagination
=
true
;
}
}
//查询设备状态
//查询设备状态
...
@@ -235,7 +233,6 @@ export class BasicComponent implements OnInit {
...
@@ -235,7 +233,6 @@ export class BasicComponent implements OnInit {
select
()
{
select
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
searchStatus
=
false
;
this
.
searchStatus
=
false
;
this
.
frontPagination
=
true
;
this
.
findOpStatus
();
this
.
findOpStatus
();
if
(
this
.
selectedValue
==
'group'
)
{
if
(
this
.
selectedValue
==
'group'
)
{
this
.
overAllSer
.
getgroups
({}).
subscribe
(
this
.
overAllSer
.
getgroups
({}).
subscribe
(
...
...
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