Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
luna
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
ops
luna
Commits
74b8c3f0
Unverified
Commit
74b8c3f0
authored
Mar 14, 2018
by
liuzheng712
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into github_dev
parents
0dd5c986
a002d28f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
35 deletions
+1
-35
test-page.component.ts
src/app/test-page/test-page.component.ts
+1
-35
No files found.
src/app/test-page/test-page.component.ts
View file @
74b8c3f0
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
DataStore
}
from
'../globals'
;
import
{
Config
}
from
'../elements/table/table.component'
;
import
{
DialogService
}
from
'../elements/dialog/dialog.service'
;
// import {Mats, MatDialogRef, MAT_DIALOG_DATA} from '@angular/material';
@
Component
({
selector
:
'app-test-page'
,
...
...
@@ -11,42 +7,12 @@ import {DialogService} from '../elements/dialog/dialog.service';
styleUrls
:
[
'./test-page.component.scss'
]
})
export
class
TestPageComponent
implements
OnInit
{
rows
=
[
{
name
:
'Austin'
,
gender
:
'Male'
,
company
:
'Swimlane'
},
{
name
:
'Dany'
,
gender
:
'Male'
,
company
:
'KFC'
},
{
name
:
'Molly'
,
gender
:
'Female'
,
company
:
'Burger King'
},
{
name
:
'Dany'
,
gender
:
'Male'
,
company
:
'KFC'
},
{
name
:
'Molly'
,
gender
:
'Female'
,
company
:
'Burger King'
},
{
name
:
'Dany'
,
gender
:
'Male'
,
company
:
'KFC'
},
{
name
:
'Molly'
,
gender
:
'Female'
,
company
:
'Burger King'
},
{
name
:
'Dany'
,
gender
:
'Male'
,
company
:
'KFC'
},
{
name
:
'Molly'
,
gender
:
'Female'
,
company
:
'Burger King'
},
{
name
:
'Dany'
,
gender
:
'Male'
,
company
:
'KFC'
},
{
name
:
'Molly'
,
gender
:
'Female'
,
company
:
'Burger King'
},
{
name
:
'Dany'
,
gender
:
'Male'
,
company
:
'KFC'
},
{
name
:
'Molly'
,
gender
:
'Female'
,
company
:
'Burger King'
},
{
name
:
'Dany'
,
gender
:
'Male'
,
company
:
'KFC'
},
{
name
:
'Molly'
,
gender
:
'Female'
,
company
:
'Burger King'
},
{
name
:
'Dany'
,
gender
:
'Male'
,
company
:
'KFC'
},
{
name
:
'Molly'
,
gender
:
'Female'
,
company
:
'Burger King'
},
];
columns
=
[
{
prop
:
'name'
},
{
name
:
'Gender'
},
{
name
:
'Company'
}
];
config
=
Config
;
constructor
(
private
_layer
:
DialogService
)
{
constructor
()
{
DataStore
.
NavShow
=
false
;
this
.
config
.
search
=
true
;
this
.
config
.
scrollbarH
=
true
;
}
ngOnInit
()
{
}
test
()
{
this
.
_layer
.
alert
(
'sss'
);
}
}
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