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
35aee7d6
Commit
35aee7d6
authored
Jun 26, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
8f10a3f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
sync.vue
src/views/dbconfig/sync.vue
+1
-1
syncMq.vue
src/views/docker/syncMq.vue
+2
-1
No files found.
src/views/dbconfig/sync.vue
View file @
35aee7d6
...
@@ -135,7 +135,7 @@ export default {
...
@@ -135,7 +135,7 @@ export default {
this
.
desc
=
new
Date
().
toLocaleTimeString
()
+
` 测试环境
${
this
.
temp
.
namespace
}
正在同步
${
this
.
temp
.
dbname
}
数据库,已等待
${
this
.
timer
}
s...\n\n\n`
+
res
.
log
.
body
this
.
desc
=
new
Date
().
toLocaleTimeString
()
+
` 测试环境
${
this
.
temp
.
namespace
}
正在同步
${
this
.
temp
.
dbname
}
数据库,已等待
${
this
.
timer
}
s...\n\n\n`
+
res
.
log
.
body
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
syncQuery
(
location
)
this
.
syncQuery
(
location
)
},
3
000
)
},
5
000
)
})
})
},
},
...
...
src/views/docker/syncMq.vue
View file @
35aee7d6
...
@@ -35,7 +35,8 @@ export default {
...
@@ -35,7 +35,8 @@ export default {
getMqService
()
{
getMqService
()
{
fetchServiceDetails
({
fetchServiceDetails
({
namespace
:
this
.
namespace
,
namespace
:
this
.
namespace
,
serviceName
:
'
rabbitmq
'
serviceName
:
'
rabbitmq
'
,
type
:
'
base
'
}).
then
(
res
=>
{
}).
then
(
res
=>
{
const
host
=
res
.
data
.
lanIp
const
host
=
res
.
data
.
lanIp
const
port
=
res
.
data
.
portMappings
.
filter
(
item
=>
item
.
port
===
15672
)[
0
].
nodePort
const
port
=
res
.
data
.
portMappings
.
filter
(
item
=>
item
.
port
===
15672
)[
0
].
nodePort
...
...
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