Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
jijisa
/
porch
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1d3a48f0
authored
Jul 20, 2017
by
Heechul Kim
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Added group select feature in app play
parent
ef5256cd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
quasar/src/components/play/List.vue
quasar/src/components/play/List.vue
View file @
1d3a48f0
...
...
@@ -68,7 +68,7 @@
<input
type=
"checkbox"
@
click=
"toggle"
v-model=
"groupSelected
"
ref=
"section
"
v-bind:value=
"section"
>
그룹
{{
section
}}
...
...
@@ -193,19 +193,19 @@ export default {
this
.
$router
.
push
(
'/log/'
+
response
.
body
)
},
response
=>
{
Toast
.
create
.
negative
(
'서버 애플리케이션 배포 실패'
)
return
})
},
toggle
:
function
()
{
let
selected
=
[]
console
.
log
(
this
.
groupSelected
)
if
(
this
.
groupSelected
)
{
this
.
machines
.
forEach
(
function
(
machine
)
{
selected
.
push
(
machine
)
let
self
=
this
this
.
$refs
.
section
.
forEach
(
function
(
a
)
{
if
(
a
.
checked
)
{
self
.
sections
[
a
.
value
].
forEach
(
function
(
machine
)
{
selected
.
push
(
machine
[
'ip'
])
})
}
})
this
.
form
.
machines
=
selected
console
.
log
(
selected
)
},
radioVal
:
function
()
{
// get tags when app is selected.
...
...
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