Commit d52dd8a2 authored by 智勇's avatar 智勇

更新日志

parent b6817737
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="lanIp" prop="lanIp"
width="100" width="110"
label="IP地址" label="IP地址"
/> />
<el-table-column <el-table-column
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
<el-table-column <el-table-column
v-if="item._id==='java'" v-if="item._id==='java'"
width="140" width="150"
label="调试"> label="调试">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.serviceType==='NodePort'">{{ scope.row.lanIp }}:{{ scope.row.portMappings[1].nodePort }}</span> <span v-if="scope.row.serviceType==='NodePort'">{{ scope.row.lanIp }}:{{ scope.row.portMappings[1].nodePort }}</span>
...@@ -793,7 +793,12 @@ export default { ...@@ -793,7 +793,12 @@ export default {
} else { } else {
path = `/home/quant_group/logs/*.log` path = `/home/quant_group/logs/*.log`
} }
if (this.$store.getters.cluster === 'qa') {
window.open(`http://172.30.220.24:9600/static/logs.html?namespace=${this.namespace}&pod=${scopeData.podName}&paths=${path}`, '_blank') window.open(`http://172.30.220.24:9600/static/logs.html?namespace=${this.namespace}&pod=${scopeData.podName}&paths=${path}`, '_blank')
}
if (this.$store.getters.cluster === 'qke') {
window.open(`http://172.30.220.24:9601/static/logs.html?namespace=${this.namespace}&pod=${scopeData.podName}&paths=${path}`, '_blank')
}
}, },
array2Object(original) { // 将数组转成对象存储 array2Object(original) { // 将数组转成对象存储
......
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