From 1799c18416ccb7e2bac1fd6aabcb74521f65da24 Mon Sep 17 00:00:00 2001 From: “shentao” Date: Mon, 7 Nov 2016 13:30:31 +0800 Subject: GSO-102 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iabd63832ff4682eff83b37fa07481bcdd91c6b30 Signed-off-by: “shentao” --- .../performance/js/performanceQueryController.js | 98 ++++++---------------- 1 file changed, 25 insertions(+), 73 deletions(-) (limited to 'openo-portal/portal-performance/src/main/webapp/performance/js/performanceQueryController.js') diff --git a/openo-portal/portal-performance/src/main/webapp/performance/js/performanceQueryController.js b/openo-portal/portal-performance/src/main/webapp/performance/js/performanceQueryController.js index d0d6b2eb..93d5ef07 100644 --- a/openo-portal/portal-performance/src/main/webapp/performance/js/performanceQueryController.js +++ b/openo-portal/portal-performance/src/main/webapp/performance/js/performanceQueryController.js @@ -79,8 +79,7 @@ pm.query.vmPmQuery = avalon.define({ async: false, "dataType": 'json', "type": "GET", - //"url": "/api/umcpm/v1/resources/" + resourceTypeId, - "url": "/api/umcpm/v1/resources/", + "url": "/openoapi/umc/v1/pm/resources", "contentType": 'application/json; charset=utf-8', "success": function (res, textStatus, jqXHR) { //var nodes = res.content; @@ -161,7 +160,7 @@ pm.query.vmPmQuery = avalon.define({ async: false, "dataType": 'json', "type": "GET", - "url": "/api/umcpm/v1/meatasks/" + el.id, + "url": "/openoapi/umc/v1/pm/meatasks/" + el.id, "data": null, "contentType": 'application/json; charset=utf-8', "success": function (res, textStatus, jqXHR) { @@ -256,7 +255,7 @@ pm.query.vmPmQuery = avalon.define({ }); }); //国际化 - var i18nItems = $("[name_i18n=com_zte_ums_ict_pm_query]"); + var i18nItems = $("[name_i18n=openo_performance_i18n]"); for(var i=0;i