Commit 2fa39688 authored by wangqinghua's avatar wangqinghua

message update

parent 42b60723
......@@ -105,7 +105,6 @@ export class ResourceAlarmComponent implements OnInit {
const response = res.data;
this.setTopEcharts(response);
}else{
this.message.warning('告警总数TOP10暂无数据');
this.data.left = true;
}
}else{
......@@ -170,7 +169,6 @@ export class ResourceAlarmComponent implements OnInit {
const response = res.data;
this.setAlarmTrend(response);
}else{
this.message.warning('告警趋势暂无数据');
this.isLoading = false;
this.data.right = true;
}
......@@ -259,8 +257,6 @@ export class ResourceAlarmComponent implements OnInit {
(res) => {
if(res.errCode == 10000){
this.commonList = res.data;
}else{
this.message.error(res.errMsg);
}
}
......@@ -284,10 +280,7 @@ export class ResourceAlarmComponent implements OnInit {
if(res.errCode == 10000){
this.reportList = res.data.data;
this.totalNum = res.data.totalNum;
}else{
this.message.error(res.errMsg);
}
}
);
}
......
......@@ -62,8 +62,6 @@ export class ResourceUsabilComponent implements OnInit {
this.groupList = res.data;
this.obj.groupid = this.groupList[0].groupid + '';
this.search();
} else {
this.message.error(res.errMsg);
}
}
);
......@@ -82,7 +80,6 @@ export class ResourceUsabilComponent implements OnInit {
} else {
this.data.left = true;
this.isLoading = false;
this.message.warning('可用性TOP暂无数据');
}
} else {
this.message.error(res.errMsg);
......@@ -143,11 +140,7 @@ export class ResourceUsabilComponent implements OnInit {
} else {
this.data.right = true;
this.isLoading = false;
this.message.warning('可用性Last暂无数据');
}
} else {
this.message.error(res.errMsg);
}
}
);
......
......@@ -54,8 +54,6 @@ export class WarnListComponent implements OnInit {
this.totalNum = res.data.totalNum;
this.total.emit(this.totalNum);
}
}else{
this.message.info(res.errMsg);
}
this.loading = false;
}
......
......@@ -181,8 +181,6 @@ export class BasicComponent implements OnInit {
if (res.errCode == 10000) {
this.groupList = res.data;
this.search();
} else {
this.message.info(res.errMsg);
}
}
);
......@@ -256,7 +254,6 @@ export class BasicComponent implements OnInit {
this.loading = true;
this.pageNum = event;
this.searchRe();
console.log(this.groupid);
}
//backList
......@@ -274,8 +271,6 @@ export class BasicComponent implements OnInit {
this.yellow = res.data.waring;
this.red = res.data.serious;
this.deviceNo = res.data.total;
} else {
this.message.info(res.Msg);
}
}
);
......
......@@ -10,7 +10,7 @@
"noImplicitAny": false,
"skipLibCheck": true,
"suppressImplicitAnyIndexErrors": true,
"outDir": "build/wx/app",
"outDir": "build/www/app",
"lib": ["es7", "dom"],
"typeRoots": [
"node_modules/@types"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment