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
9e05e5b9
Commit
9e05e5b9
authored
Jul 10, 2019
by
智勇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.quantgroup.cn/QA/qahome-diamond
parents
077b7acb
188854a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
sync.vue
src/views/dbconfig/sync.vue
+5
-1
envDetail.vue
src/views/docker/envDetail.vue
+1
-1
No files found.
src/views/dbconfig/sync.vue
View file @
9e05e5b9
...
...
@@ -8,7 +8,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
"服务名"
prop=
"mysqlName"
>
<el-select
v-model=
"temp.mysqlName"
placeholder=
"
此环境下拥有两个数据库服务,请选择
"
filterable
clearable
style=
"width: 300px"
>
<el-select
v-model=
"temp.mysqlName"
placeholder=
"
请选择数据库环境
"
filterable
clearable
style=
"width: 300px"
>
<el-option
v-for=
"item in sqlList"
:value=
"item.serviceName"
:label=
"item.serviceName"
:key=
"item.serviceName"
/>
</el-select>
</el-form-item>
...
...
@@ -89,6 +89,9 @@ export default {
created
()
{
this
.
temp
.
namespace
=
this
.
$route
.
query
.
namespace
===
undefined
?
''
:
this
.
$route
.
query
.
namespace
this
.
getNamespace
()
if
(
this
.
temp
.
namespace
!==
''
)
{
this
.
getMysql
()
}
this
.
getDBName
()
},
methods
:
{
...
...
@@ -96,6 +99,7 @@ export default {
this
.
$router
.
go
(
-
1
)
},
getMysql
()
{
this
.
temp
.
mysqlName
=
''
fetchK8sdetail
({
'
namespace
'
:
this
.
temp
.
namespace
}).
then
(
res
=>
{
const
servicelist
=
res
.
data
.
services
const
mysqlList
=
servicelist
.
filter
((
item
)
=>
{
...
...
src/views/docker/envDetail.vue
View file @
9e05e5b9
...
...
@@ -581,7 +581,7 @@ export default {
})
},
restartService
(
data
)
{
redeployClusterService
({
namespace
:
this
.
namespace
,
podName
:
data
.
podName
}).
then
(
res
=>
{
redeployClusterService
({
namespace
:
this
.
namespace
,
podName
:
data
.
podName
,
serviceName
:
data
.
serviceName
}).
then
(
res
=>
{
this
.
$message
({
type
:
'
success
'
,
message
:
`服务
${
data
.
serviceName
}
重置成功!`
...
...
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