chenjingyu 4 years ago
parent
commit
1fd95dfd29
  1. 2
      src/app/data-collection/linkage-forces/linkage-forces.component.ts
  2. 2
      src/app/data-collection/water-collection/water-collection.component.ts

2
src/app/data-collection/linkage-forces/linkage-forces.component.ts

@ -474,6 +474,7 @@ export class LinkageForcesComponent implements OnInit {
config.verticalPosition = 'top'; config.verticalPosition = 'top';
config.duration = 3000 config.duration = 3000
this.snackBar.open('修改成功','确定',config); this.snackBar.open('修改成功','确定',config);
this.PageNumber = 1 //当前第几页
this.getAllFireForce() this.getAllFireForce()
}) })
}else{ }else{
@ -484,6 +485,7 @@ export class LinkageForcesComponent implements OnInit {
config.duration = 3000 config.duration = 3000
this.snackBar.open('保存成功','确定',config); this.snackBar.open('保存成功','确定',config);
this.LinkageForceDetailInfo = data this.LinkageForceDetailInfo = data
this.PageNumber = 1 //当前第几页
this.getAllFireForce() this.getAllFireForce()
}) })
} }

2
src/app/data-collection/water-collection/water-collection.component.ts

@ -433,6 +433,7 @@ export class WaterCollectionComponent implements OnInit {
config.duration = 3000 config.duration = 3000
this.snackBar.open('修改成功','确定',config); this.snackBar.open('修改成功','确定',config);
this.selectedLiIndex = 0 this.selectedLiIndex = 0
this.PageNumber = 1 //当前第几页
this.getAllWaterData() this.getAllWaterData()
}) })
}else{ }else{
@ -445,6 +446,7 @@ export class WaterCollectionComponent implements OnInit {
this.snackBar.open('保存成功','确定',config); this.snackBar.open('保存成功','确定',config);
this.selectedLiIndex = 0 this.selectedLiIndex = 0
this.waterData = data this.waterData = data
this.PageNumber = 1 //当前第几页
this.getAllWaterData() this.getAllWaterData()
}) })
} }

Loading…
Cancel
Save