|
|
@@ -240,7 +240,7 @@ import {
|
|
|
addAgentConfig,
|
|
|
addRemoteHost, deleteAgentConfig,
|
|
|
deleteRemoteHost,
|
|
|
- getAgentConfigList,
|
|
|
+ getAgentConfigList, getMgrCofig,
|
|
|
getRemoteHostList,
|
|
|
updateRemoteApp
|
|
|
} from '@/api/devops'
|
|
|
@@ -419,7 +419,15 @@ export default {
|
|
|
if (this.queryInfo.nodeType === 'agent') {
|
|
|
this.configForm = row.remoteAgentConfig
|
|
|
} else {
|
|
|
- this.mgrConfig = 'mgr config'
|
|
|
+ getMgrCofig().then(resp => {
|
|
|
+ if (resp.code === 0) {
|
|
|
+ this.mgrConfig = resp.data
|
|
|
+ } else {
|
|
|
+ this.$message.warning(resp.msg)
|
|
|
+ }
|
|
|
+ }).catch(error => {
|
|
|
+ this.$message.error(error.message)
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
this.title = this.queryInfo.nodeType + ' 节点配置'
|