|
@@ -3567,11 +3567,11 @@ export class HushijiandanComponent implements OnInit {
|
3567
|
3567
|
this.selectOtherId = null;
|
3568
|
3568
|
this.otherSearch = '';
|
3569
|
3569
|
if (type === "surgery") {
|
3570
|
|
- this.getSurgery();
|
|
3570
|
+ this.getSurgery(true);
|
3571
|
3571
|
} else if (type === "historySpecimen") {
|
3572
|
|
- this.getHistorySpecimen();
|
|
3572
|
+ this.getHistorySpecimen(true);
|
3573
|
3573
|
} else if (type === "historyDrugsbag") {
|
3574
|
|
- this.getHistoryDrugsbag();
|
|
3574
|
+ this.getHistoryDrugsbag(true);
|
3575
|
3575
|
} else if (type === "bxlb" && this.isShowBx && this.coopBtns.repairList) {
|
3576
|
3576
|
this.getBxlb(this.bxlbPageIndex);
|
3577
|
3577
|
// this.getIncidentState();
|
|
@@ -3650,10 +3650,13 @@ export class HushijiandanComponent implements OnInit {
|
3650
|
3650
|
adviceListLength: number = 10; //表格总数据量
|
3651
|
3651
|
adviceSearchInp: string = ""; //意见箱搜索
|
3652
|
3652
|
adviceLoading = false;
|
3653
|
|
- getAdvice() {
|
|
3653
|
+ getAdvice(idx?) {
|
3654
|
3654
|
if(!this.coopBtns.suggestionBox){
|
3655
|
3655
|
return;
|
3656
|
3656
|
}
|
|
3657
|
+ if(idx){
|
|
3658
|
+ this.advicePageIndex = 1;
|
|
3659
|
+ }
|
3657
|
3660
|
let that = this;
|
3658
|
3661
|
let postData = {
|
3659
|
3662
|
advice: {
|
|
@@ -3665,7 +3668,7 @@ export class HushijiandanComponent implements OnInit {
|
3665
|
3668
|
id: that.loginUser.id,
|
3666
|
3669
|
},
|
3667
|
3670
|
},
|
3668
|
|
- idx: that.advicePageIndex - 1 < 0 ? 0 : that.advicePageIndex - 1,
|
|
3671
|
+ idx: that.advicePageIndex - 1,
|
3669
|
3672
|
sum: that.advicePageSize,
|
3670
|
3673
|
};
|
3671
|
3674
|
this.adviceLoading = true;
|
|
@@ -3814,6 +3817,7 @@ export class HushijiandanComponent implements OnInit {
|
3814
|
3817
|
// 获取事件状态
|
3815
|
3818
|
let postData = { type: "list", key: "incident_status" };
|
3816
|
3819
|
this.iLoading = true;
|
|
3820
|
+ this.bxlbLoading = true;
|
3817
|
3821
|
this.mainService.getDictionaryByITSM(postData).subscribe((data: any) => {
|
3818
|
3822
|
this.iLoading = false;
|
3819
|
3823
|
if (data.status == 200) {
|
|
@@ -3830,7 +3834,6 @@ export class HushijiandanComponent implements OnInit {
|
3830
|
3834
|
this.bxlbPageIndex = 1;
|
3831
|
3835
|
}
|
3832
|
3836
|
let current = JSON.parse(localStorage.getItem("user"));
|
3833
|
|
- this.bxlbLoading = true;
|
3834
|
3837
|
this.mainService
|
3835
|
3838
|
.listWxIncident({
|
3836
|
3839
|
idx: this.bxlbPageIndex - 1,
|