diff options
Diffstat (limited to 'usecaseui-monitor/src/main/webapp/app/uui')
3 files changed, 5 insertions, 5 deletions
diff --git a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/alarm-chartController.js b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/alarm-chartController.js index d064f311..c98336e0 100644 --- a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/alarm-chartController.js +++ b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/alarm-chartController.js @@ -159,7 +159,7 @@ app.controller('alarmchartCtrl', ['$scope', '$http', '$routeParams', '$window', var options = { tooltip: { trigger: 'axis', - formatter: (params) => { + formatter: function(params) { var res = '<p>' + params[0].name + '</p>' + '<div>'; // console.log(params); for (var i = 0; i < params.length; i++) { @@ -189,7 +189,7 @@ app.controller('alarmchartCtrl', ['$scope', '$http', '$routeParams', '$window', boundaryGap: false, data: data.dateList, axisLabel:{ - formatter:(value)=>{ + formatter:function(value){ if($scope.showModeId == 'day'){ return value.slice(5,10) }else if($scope.showModeId == 'hour'){ diff --git a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/left-menuController.js b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/left-menuController.js index 93608a69..135ed768 100644 --- a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/left-menuController.js +++ b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/left-menuController.js @@ -13,7 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -var currentTab = 'app/uui/fusion/scripts/view-models/performance.html'; +var currentTab = 'app/uui/fusion/scripts/view-models/lifecyclemanagement.html'; app.controller('cmCtrl', ['$scope', function ($scope) { $scope.routeData = [{ diff --git a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/performance-chartController.js b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/performance-chartController.js index 6d9c36a7..21363ff0 100644 --- a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/performance-chartController.js +++ b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/performance-chartController.js @@ -211,7 +211,7 @@ app.controller('pertabCtrl', ['$scope', '$http', '$routeParams', '$window' , var options = { tooltip: { trigger: 'axis', - formatter: (params) => { + formatter: function(params){ var res = '<p>' + params[0].name + '</p>' + '<div>'; // console.log(params); for (var i = 0; i < params.length; i++) { @@ -241,7 +241,7 @@ app.controller('pertabCtrl', ['$scope', '$http', '$routeParams', '$window' , boundaryGap: true, data: data.dateList, axisLabel:{ - formatter:(value)=>{ + formatter:function(value){ if($scope.showModeId == 'day'){ return value.slice(5,10) }else if($scope.showModeId == 'hour'){ |