Merge branch 'master-v32-lushangqing' into 'master'
容量分析资源名称下探详情更改 See merge request !578
Showing
1 changed file
with
7 additions
and
3 deletions
@@ -266,9 +266,13 @@ global.openDetail = (resId, resType, proxy) => { | @@ -266,9 +266,13 @@ global.openDetail = (resId, resType, proxy) => { | ||
266 | let collProtocol = ''; | 266 | let collProtocol = ''; |
267 | 267 | ||
268 | // 获取资源详情 | 268 | // 获取资源详情 |
269 | - proxy.$http.get(`/api-web/v32/res/detail/${resId}`, {}, function (res) { | ||
270 | - if (res && res.map) { | ||
271 | - let data = res.map; | 269 | + // proxy.$http.get(`/api-web/v32/res/detail/${resId}`, {}, function (res) { |
270 | + //start lsq 2022-04-29 容量分析资源名称下探详情更改 | ||
271 | + proxy.$http.get(`/api-web/manage/resource/findById/`, {resId:resId}, function (res) { | ||
272 | + // if (res && res.map) { | ||
273 | + // let data = res.map; | ||
274 | + if (res && res.obj) { | ||
275 | + let data = res.obj.bean; | ||
272 | 276 | ||
273 | provider = data.provider; | 277 | provider = data.provider; |
274 | ip = data.ip; | 278 | ip = data.ip; |
-
Please register or login to post a comment