Commit de8f8c7d authored by wangqinghua's avatar wangqinghua

delete log

parent 3e8aa8f7
...@@ -120,7 +120,6 @@ export class AlarmListComponent implements OnInit { ...@@ -120,7 +120,6 @@ export class AlarmListComponent implements OnInit {
searchValue(){ searchValue(){
this.obj.startTime = this.datePipe.transform(this.obj.startTime,'yyyy-MM-dd HH:mm:ss'); this.obj.startTime = this.datePipe.transform(this.obj.startTime,'yyyy-MM-dd HH:mm:ss');
this.obj.endTime = this.datePipe.transform(this.obj.endTime,'yyyy-MM-dd HH:mm:ss'); this.obj.endTime = this.datePipe.transform(this.obj.endTime,'yyyy-MM-dd HH:mm:ss');
console.log(this.obj);
this.warnList.getList(this.obj); this.warnList.getList(this.obj);
} }
} }
...@@ -29,7 +29,6 @@ export class AlarmModalComponent implements OnInit { ...@@ -29,7 +29,6 @@ export class AlarmModalComponent implements OnInit {
} }
showModal(data){ showModal(data){
console.log(data);
this.isShow = true; this.isShow = true;
} }
......
...@@ -154,10 +154,7 @@ export class BasiCheckComponent implements OnInit { ...@@ -154,10 +154,7 @@ export class BasiCheckComponent implements OnInit {
data.condition = this.validateForm.condition_high; data.condition = this.validateForm.condition_high;
data.faultCondition = this.validateForm.faultCondition_high; data.faultCondition = this.validateForm.faultCondition_high;
} }
console.log(this.conditionList);
console.log(this.faultConditionList);
console.log(data);
this.overAllSer.create(data).subscribe( this.overAllSer.create(data).subscribe(
(res) => { (res) => {
if (res == 10000) { if (res == 10000) {
......
...@@ -192,7 +192,6 @@ export class BasicEditComponent implements OnInit { ...@@ -192,7 +192,6 @@ export class BasicEditComponent implements OnInit {
//tabs切换 //tabs切换
tabsChange(num) { tabsChange(num) {
console.log('tabs:' + num);
this.tabNum = num; this.tabNum = num;
} }
...@@ -246,7 +245,6 @@ export class BasicEditComponent implements OnInit { ...@@ -246,7 +245,6 @@ export class BasicEditComponent implements OnInit {
} }
} }
console.log(this.interfaceslist);
} }
//只能一个默认 //只能一个默认
...@@ -255,7 +253,6 @@ export class BasicEditComponent implements OnInit { ...@@ -255,7 +253,6 @@ export class BasicEditComponent implements OnInit {
res.main = '0'; res.main = '0';
}); });
this.interfaceslist[index].main = '1'; this.interfaceslist[index].main = '1';
console.log(this.interfaceslist);
} }
//新增宏 //新增宏
......
...@@ -48,7 +48,6 @@ export class CreateGroupComponent implements OnInit { ...@@ -48,7 +48,6 @@ export class CreateGroupComponent implements OnInit {
showModal(title,item): void { showModal(title,item): void {
this.title = title; this.title = title;
console.log(item);
this.validateForm = this.fb.group({ this.validateForm = this.fb.group({
name: [ '', [ Validators.required ],[ this.userNameAsyncValidator ] ], name: [ '', [ Validators.required ],[ this.userNameAsyncValidator ] ],
groupDescribe : [ '' ] groupDescribe : [ '' ]
...@@ -61,7 +60,6 @@ export class CreateGroupComponent implements OnInit { ...@@ -61,7 +60,6 @@ export class CreateGroupComponent implements OnInit {
this.validateForm.controls[ i ].markAsDirty(); this.validateForm.controls[ i ].markAsDirty();
this.validateForm.controls[ i ].updateValueAndValidity(); this.validateForm.controls[ i ].updateValueAndValidity();
} }
console.log(this.validateForm);
} }
create(){ create(){
...@@ -83,7 +81,6 @@ export class CreateGroupComponent implements OnInit { ...@@ -83,7 +81,6 @@ export class CreateGroupComponent implements OnInit {
} }
handleCancel(): void { handleCancel(): void {
console.log('Button cancel clicked!');
this.isCreate = false; this.isCreate = false;
} }
......
...@@ -159,7 +159,6 @@ export class BasicComponent implements OnInit { ...@@ -159,7 +159,6 @@ export class BasicComponent implements OnInit {
this.dataSet[i].host = i; this.dataSet[i].host = i;
this.dataSet[i].checked = false; this.dataSet[i].checked = false;
} }
console.log(this.dataSet);
this.toTree(); this.toTree();
} else { } else {
this.message.info(res.errMsg); this.message.info(res.errMsg);
...@@ -177,7 +176,6 @@ export class BasicComponent implements OnInit { ...@@ -177,7 +176,6 @@ export class BasicComponent implements OnInit {
this.dataSet[i].host = i; this.dataSet[i].host = i;
this.dataSet[i].checked = false; this.dataSet[i].checked = false;
} }
console.log(this.dataSet);
this.toTree(); this.toTree();
} else { } else {
this.message.info(res.errMsg); this.message.info(res.errMsg);
...@@ -376,7 +374,6 @@ export class BasicComponent implements OnInit { ...@@ -376,7 +374,6 @@ export class BasicComponent implements OnInit {
this.batchDelList.splice(index,1) this.batchDelList.splice(index,1)
} }
} }
console.log(this.batchDelList);
} }
//开启or停止监控 //开启or停止监控
......
...@@ -34,8 +34,6 @@ export class AuthServerProvider { ...@@ -34,8 +34,6 @@ export class AuthServerProvider {
); );
function authenticateSuccess(resp) { function authenticateSuccess(resp) {
const bearerToken = resp.body.data; const bearerToken = resp.body.data;
console.log('post');
if (bearerToken ) { if (bearerToken ) {
this.$localStorage.store('accessToken', bearerToken); this.$localStorage.store('accessToken', bearerToken);
return ; return ;
......
...@@ -58,7 +58,6 @@ export class Principal { ...@@ -58,7 +58,6 @@ export class Principal {
return Promise.resolve(this.userIdentity); return Promise.resolve(this.userIdentity);
} }
console.log('identity');
// retrieve the userIdentity data from the server, update the identity object, and then resolve. // retrieve the userIdentity data from the server, update the identity object, and then resolve.
return this.account.get().toPromise().then((response) => { return this.account.get().toPromise().then((response) => {
const account = response.body; const account = response.body;
......
...@@ -41,7 +41,6 @@ export class JhiLoginModalComponent implements AfterViewInit,OnInit { ...@@ -41,7 +41,6 @@ export class JhiLoginModalComponent implements AfterViewInit,OnInit {
) { ) {
this.credentials = {}; this.credentials = {};
this.emitService.eventEmit.subscribe((value: any) => { this.emitService.eventEmit.subscribe((value: any) => {
console.log('接收到了');
if(value == "logout") { if(value == "logout") {
this.router.navigate(['app/login']); this.router.navigate(['app/login']);
}else{ }else{
......
...@@ -88,7 +88,6 @@ export class PowerComponent implements OnInit { ...@@ -88,7 +88,6 @@ export class PowerComponent implements OnInit {
nzOnOk:()=>{ nzOnOk:()=>{
this.systemSer.deleteRole(data.id).subscribe( this.systemSer.deleteRole(data.id).subscribe(
(res) => { (res) => {
console.log(res);
} }
); );
}, },
...@@ -103,7 +102,6 @@ export class PowerComponent implements OnInit { ...@@ -103,7 +102,6 @@ export class PowerComponent implements OnInit {
} }
hello() { hello() {
console.log('hello');
} }
} }
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