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
b4e31096
Commit
b4e31096
authored
Dec 31, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
环境所有者
parent
389cc1be
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
4 deletions
+12
-4
dev.env.js
config/dev.env.js
+1
-1
envDetail.vue
src/views/docker/envDetail.vue
+2
-2
runingEnvDev.vue
src/views/docker/runingEnvDev.vue
+4
-0
runingEnvTest.vue
src/views/docker/runingEnvTest.vue
+5
-1
No files found.
config/dev.env.js
View file @
b4e31096
...
@@ -2,7 +2,7 @@ module.exports = {
...
@@ -2,7 +2,7 @@ module.exports = {
NODE_ENV
:
'
"development"
'
,
NODE_ENV
:
'
"development"
'
,
ENV_CONFIG
:
'
"dev"
'
,
ENV_CONFIG
:
'
"dev"
'
,
QA_API
:
'
"http://127.0.0.1:3003"
'
,
QA_API
:
'
"http://127.0.0.1:3003"
'
,
//QA_API: '"http://qaapi.liangkebang.com"',
//
QA_API: '"http://qaapi.liangkebang.com"',
TESTDATA_API
:
'
"http://172.30.220.22:3333"
'
,
TESTDATA_API
:
'
"http://172.30.220.22:3333"
'
,
PIPELINE_API
:
'
"http://pipes.liangkebang.com"
'
PIPELINE_API
:
'
"http://pipes.liangkebang.com"
'
}
}
src/views/docker/envDetail.vue
View file @
b4e31096
...
@@ -587,7 +587,7 @@ export default {
...
@@ -587,7 +587,7 @@ export default {
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
data
.
tagCount
)
{
if
(
res
.
data
.
tagCount
)
{
this
.
tagOptions
=
res
.
data
.
tagInfo
this
.
tagOptions
=
res
.
data
.
tagInfo
this
.
tagName
=
`latest`
this
.
tagName
=
res
.
data
.
tagInfo
[
0
].
tagName
}
}
})
})
},
},
...
@@ -704,7 +704,7 @@ export default {
...
@@ -704,7 +704,7 @@ export default {
if
(
res
.
data
.
tagCount
)
{
if
(
res
.
data
.
tagCount
)
{
this
.
tagOptions
=
res
.
data
.
tagInfo
this
.
tagOptions
=
res
.
data
.
tagInfo
this
.
reponame
=
res
.
data
.
reponame
this
.
reponame
=
res
.
data
.
reponame
this
.
tagName
=
'
latest
'
this
.
tagName
=
res
.
data
.
tagInfo
[
0
].
tagName
this
.
server
=
res
.
data
.
server
this
.
server
=
res
.
data
.
server
}
}
})
})
...
...
src/views/docker/runingEnvDev.vue
View file @
b4e31096
...
@@ -37,6 +37,10 @@
...
@@ -37,6 +37,10 @@
{{
scope
.
row
.
status
|
formatStatus
}}
{{
scope
.
row
.
status
|
formatStatus
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"owner"
label=
"所有者"
width=
"160"
/>
<el-table-column
<el-table-column
prop=
"operation"
prop=
"operation"
label=
"操作"
>
label=
"操作"
>
...
...
src/views/docker/runingEnvTest.vue
View file @
b4e31096
...
@@ -37,6 +37,10 @@
...
@@ -37,6 +37,10 @@
{{
scope
.
row
.
status
|
formatStatus
}}
{{
scope
.
row
.
status
|
formatStatus
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"owner"
label=
"所有者"
width=
"160"
/>
<el-table-column
<el-table-column
prop=
"operation"
prop=
"operation"
label=
"操作"
>
label=
"操作"
>
...
@@ -87,7 +91,7 @@ export default {
...
@@ -87,7 +91,7 @@ export default {
fetchK8sList
()
{
fetchK8sList
()
{
fetchKubernetesList
().
then
(
res
=>
{
fetchKubernetesList
().
then
(
res
=>
{
this
.
tableData
=
res
.
data
.
namespaces
.
filter
(
item
=>
{
this
.
tableData
=
res
.
data
.
namespaces
.
filter
(
item
=>
{
if
(
item
.
description
!==
'
dev
'
)
{
if
(
item
.
description
===
'
test
'
)
{
return
item
return
item
}
}
})
})
...
...
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