Commit b4e31096 authored by 智勇's avatar 智勇

环境所有者

parent 389cc1be
...@@ -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"'
} }
...@@ -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
} }
}) })
......
...@@ -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="操作">
......
...@@ -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
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment