Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qahome-diamond
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
qahome-diamond
Commits
05fb3dba
Commit
05fb3dba
authored
Nov 26, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
关闭窗口事件
parent
2b7b5125
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
createEnv.vue
src/views/docker/createEnv.vue
+1
-1
envDetail.vue
src/views/docker/envDetail.vue
+2
-2
application.vue
src/views/pipeline/application.vue
+3
-5
No files found.
src/views/docker/createEnv.vue
View file @
05fb3dba
...
...
@@ -102,7 +102,7 @@ export default {
getCluster
()
{
getCluster
().
then
(
res
=>
{
this
.
clusterArray
=
res
.
data
this
.
clusterArray
=
res
.
data
.
map
(
i
=>
i
.
clusterName
)
})
},
...
...
src/views/docker/envDetail.vue
View file @
05fb3dba
...
...
@@ -128,10 +128,10 @@
<svg-icon
icon-class=
"restart"
/>
重置服务
</el-dropdown-item>
<
el-dropdown-item
v-permission=
"['admin']"
v-if=
"scope.row.serviceName!=='mysql'
"
style=
"color: red"
@
click.native=
"deleteService(scope.row) "
>
<
!--
<el-dropdown-item
v-permission=
"['admin']
"
style=
"color: red"
@
click.native=
"deleteService(scope.row) "
>
<svg-icon
icon-class=
"delete"
/>
删除服务
</el-dropdown-item>
</el-dropdown-item>
-->
</el-dropdown-menu>
</el-dropdown>
</
template
>
...
...
src/views/pipeline/application.vue
View file @
05fb3dba
...
...
@@ -56,7 +56,7 @@
<!-- <pagination v-show="total>0" :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList" /> -->
<el-dialog
:title=
"dialogStatus"
:visible.sync=
"dialogFormVisible"
:show-close=
"showClose
"
>
<el-dialog
:title=
"dialogStatus"
:visible.sync=
"dialogFormVisible"
@
close=
"handleFilter
"
>
<el-form
ref=
"dataForm"
:rules=
"rules"
:model=
"temp"
label-position=
"left"
label-width=
"80px"
style=
"width: 90%; margin-left:40px;"
>
<el-form-item
label=
"应用名称"
prop=
"application_name"
>
<el-input
v-model=
"temp.application_name"
/>
...
...
@@ -105,7 +105,7 @@
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"
handleFilter
"
>
{{ $t('table.cancel') }}
</el-button>
<el-button
@
click=
"
dialogFormVisible = false
"
>
{{ $t('table.cancel') }}
</el-button>
<el-button
type=
"primary"
@
click=
"createData()"
>
{{ $t('table.confirm') }}
</el-button>
</div>
</el-dialog>
...
...
@@ -175,8 +175,7 @@ export default {
refs
:
{},
ref
:
undefined
,
clusterArray
:
[],
nsArray
:
[],
showClose
:
false
nsArray
:
[]
}
},
computed
:
{
...
...
@@ -243,7 +242,6 @@ export default {
},
handleFilter
()
{
this
.
dialogFormVisible
=
false
this
.
getApplications
()
},
...
...
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