|
@@ -237,10 +237,8 @@ global.openCmdbAssets = (resTypeId, resId, proxy) => { |
|
@@ -237,10 +237,8 @@ global.openCmdbAssets = (resTypeId, resId, proxy) => { |
237
|
if (res && res.success) {
|
237
|
if (res && res.success) {
|
238
|
let obj = res.object;
|
238
|
let obj = res.object;
|
239
|
let cmdVal = obj.cmdbValue;
|
239
|
let cmdVal = obj.cmdbValue;
|
240
|
-
|
|
|
241
|
- let url = `${preUrl}/#/CI/configuration-item/detail?objId=${cmdVal}&id=${resId}`
|
|
|
242
|
-
|
|
|
243
|
- //window.open(url, "_blank", `left=100,fullscreen,toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=no, width=${width}, height=${height}`);
|
240
|
+ //let url = `${preUrl}/#/CI/configuration-item/detail?objId=${cmdVal}&ciId=${resId}`
|
|
|
241
|
+ let url = `${preUrl}/#/CI/configuration-item/detail/${resId}/${cmdVal}`
|
244
|
global.openBlankWindow(url, "80%", "90%");
|
242
|
global.openBlankWindow(url, "80%", "90%");
|
245
|
} else {
|
243
|
} else {
|
246
|
proxy.$global.showMsg('没有查询到关联数据,请配置!', "error");
|
244
|
proxy.$global.showMsg('没有查询到关联数据,请配置!', "error");
|