Parcourir la source

报修列表和详情

seimin il y a 10 mois
Parent
commit
9070298720

+ 1 - 1
proxy.conf.json

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "/service": {
3
-    "target": "http://192.168.3.108",
3
+    "target": "http://192.168.4.171",
4 4
     "logLevel": "debug",
5 5
     "changeOrigin": true,
6 6
     "pathRewrite": {

+ 1 - 7
src/app/services/main.service.ts

@@ -510,7 +510,7 @@ export class MainService {
510 510
   }
511 511
   //查报修列表
512 512
   listWxIncident(data) {
513
-    return this.http.post(host.host + "/itsm/listWxIncident", data, {
513
+    return this.http.post(host.host + "/itsm/fetchDataList/incident", data, {
514 514
       headers: this.headers,
515 515
     });
516 516
   }
@@ -520,12 +520,6 @@ export class MainService {
520 520
       headers: this.headers,
521 521
     });
522 522
   }
523
-  //查报修流程时间
524
-  getProcessTime(data,processInstanceId) {
525
-    return this.http.post(host.host + "/itsm/bpm/flowTracing/"+processInstanceId, data, {
526
-      headers: this.headers,
527
-    });
528
-  }
529 523
   //查列表
530 524
   fetchListBx(type, data) {
531 525
     return this.http.post(host.host + "/itsm/fetchDataList/" + type, data, {

+ 25 - 235
src/app/share/detail-bx/detail-bx.component.html

@@ -5,258 +5,48 @@
5 5
     <div class="content">
6 6
       <div class="top" *ngIf="amplificationShow">
7 7
         <div class="num">
8
-          <span class="left">报修编号:{{orderInfo.bxcode}}</span>
9
-          <span class="right">{{orderInfo.incidentState?orderInfo.incidentState.name:''}}</span>
8
+          <span class="left">工单单号:{{orderInfo.incidentsign}}</span>
9
+          <span class="right">{{orderInfo.state?orderInfo.state.name:''}}</span>
10 10
         </div>
11 11
         <div class="info" nz-row>
12 12
           <div nz-col nzSpan="8">报修类别:{{orderInfo.category?orderInfo.category.category:''}}</div>
13
-          <div nz-col nzSpan="8">报修地址:<ng-container *ngIf="orderInfo.place">{{ orderInfo.place.area.area }} {{ orderInfo.place.place }} {{ orderInfo.address }}</ng-container></div>
14
-          <div nz-col nzSpan="24">报修内容:{{orderInfo.incidentDescription}}</div>
13
+          <div nz-col nzSpan="8">报修地址:<ng-container *ngIf="orderInfo.place">{{ orderInfo.place.area.area }} {{ orderInfo.place.place }} {{ orderInfo.houseNumber }}</ng-container></div>
14
+          <div nz-col nzSpan="24">报修内容:{{orderInfo.description}}</div>
15 15
           <div nz-col nzSpan="24">报修图片:
16 16
             <app-image-viewer [imageUrl]="imgs_wechatRequesterIncident" *ngIf="imgs_wechatRequesterIncident.length"></app-image-viewer>
17 17
           </div>
18 18
           <div nz-col nzSpan="24">处理图片:
19 19
             <app-image-viewer [imageUrl]="imgs_incident" *ngIf="imgs_incident.length"></app-image-viewer>
20 20
           </div>
21
-          <div nz-col nzSpan="8">维修人:<ng-container *ngIf="orderInfo.incident&&orderInfo.incident.handlingPersonnelUser">{{ orderInfo.incident.handlingPersonnelUser.name }}</ng-container></div>
22
-          <div nz-col nzSpan="8">维修人电话:<ng-container *ngIf="orderInfo.incident&&orderInfo.incident.handlingPersonnelUser">{{ orderInfo.incident.handlingPersonnelUser.phone }}</ng-container></div>
23
-          <div nz-col nzSpan="8" *ngIf="orderInfo.incident&&orderInfo.incident.repairSummaryDTO">维修总金额:{{ orderInfo.incident.repairSummaryDTO.totalMaintenancePrice }}元</div>
24
-          <div nz-col nzSpan="24" *ngIf="processData == '已撤回'">撤回原因:{{ orderInfo.retractReason }}</div>
25
-          <div nz-col nzSpan="24" *ngIf="processData == '不受理'">不受理原因:{{ orderInfo.rejectRemark }}</div>
21
+          <div nz-col nzSpan="8">维修人:<ng-container *ngIf="orderInfo.handlingPersonnelUser">{{ orderInfo.handlingPersonnelUser.name }}</ng-container></div>
22
+          <div nz-col nzSpan="8">维修人电话:<ng-container *ngIf="orderInfo.handlingPersonnelUser">{{ orderInfo.handlingPersonnelUser.phone }}</ng-container></div>
23
+          <div nz-col nzSpan="8">维修总金额:{{orderInfo.rsPrice === undefined ? '无' : orderInfo.rsPrice + '元'}}</div>
26 24
         </div>
27 25
       </div>
28 26
       <div class="center" *ngIf="amplificationShow">
29 27
         <div class="box">
30 28
           <!-- 流程图 start -->
31 29
           <div class="processBox">
32
-            <div
33
-              class="process"
34
-              *ngIf="
35
-                processData == '不受理' ||
36
-                  processData == '结束' ||
37
-                  processData == '已撤回' ||
38
-                  processData == '重复事件'
39
-              "
40
-            >
41
-              <div class="status">
42
-                {{ processMessage[4] ? processMessage[4].name : "" }}
43
-              </div>
44
-              <div class="ico">
45
-                <i class="icon_transport transport-icon_liucheng last"></i>
46
-              </div>
47
-              <div class="time">
48
-                <ng-container *ngIf="processTime[4]">
49
-                  {{processTime[4].startTime | date:"MM-dd HH:mm:ss"}}
50
-                </ng-container>
51
-              </div>
52
-            </div>
53
-            <div
54
-              class="processCont"
55
-              *ngIf="
56
-                processData == '不受理' ||
57
-                  processData == '结束' ||
58
-                  processData == '已撤回' ||
59
-                  processData == '重复事件'
60
-              "
61
-            >
62
-              <div class="status"></div>
63
-              <div
64
-                class="conents"
65
-                [innerHTML]="processMessage[4] ? processMessage[4].desc : ''"
66
-              ></div>
67
-            </div>
68
-            <div
69
-              class="process"
70
-              *ngIf="
71
-                processData == '评价' ||
72
-                  (processData == '结束' && processData != '重复事件')
73
-              "
74
-            >
75
-              <div class="status">
76
-                {{ processMessage[3] ? processMessage[3].name : "" }}
77
-              </div>
78
-              <div class="ico">
79
-                <i
80
-                  class="icon_transport transport-icon_liucheng green now"
81
-                  *ngIf="processData == '评价'"
82
-                ></i>
83
-                <i
84
-                  class="icon_transport transport-icon_liucheng last"
85
-                  *ngIf="processData != '评价'"
86
-                ></i>
87
-              </div>
88
-              <div class="time">
89
-                <ng-container *ngIf="processTime[3]">
90
-                  {{processTime[3].startTime | date:"MM-dd HH:mm:ss"}}
91
-                </ng-container>
92
-              </div>
93
-            </div>
94
-            <div
95
-              class="processCont"
96
-              *ngIf="
97
-                processData == '评价' ||
98
-                  (processData == '结束' && processData != '重复事件')
99
-              "
100
-            >
101
-              <div class="status"></div>
102
-              <div
103
-                class="conents"
104
-                [innerHTML]="processMessage[3] ? processMessage[3].desc : ''"
105
-              ></div>
106
-            </div>
107
-            <!-- 处理日志 start -->
108
-            <ng-container *ngIf="orderInfo.incident">
109
-              <div *ngFor="let item of orderInfo.incident.handlerLogs;let i = index;">
110
-                <div
111
-                  class="process"
112
-                  *ngIf="
113
-                    processData == '处理' ||
114
-                      processData == '评价' ||
115
-                      (processData == '结束' && processData != '重复事件')
116
-                  "
117
-                >
118
-                  <div class="status">
119
-                    {{ processMessage[2] ? processMessage[2].name : "" }}
120
-                  </div>
121
-                  <div class="ico">
122
-                    <i
123
-                      class="icon_transport transport-icon_liucheng green now"
124
-                      *ngIf="processData == '处理' && i === 0"
125
-                    ></i>
126
-                    <i
127
-                      class="icon_transport transport-icon_liucheng last"
128
-                      *ngIf="!(processData == '处理' && i === 0)"
129
-                    ></i>
130
-                  </div>
131
-                  <div class="time">
132
-                    {{ item.opTime | date:"MM-dd HH:mm:ss"}},{{ item.userName }}
133
-                  </div>
30
+            <ng-container *ngFor="let item of progressInfo;let last = last;">
31
+              <div class="process">
32
+                <div class="status">
33
+                  {{ item.logType ? item.logType.name : '' }}
134 34
                 </div>
135
-                <div
136
-                  class="processCont"
137
-                  *ngIf="
138
-                    processData == '处理' ||
139
-                      processData == '评价' ||
140
-                      (processData == '结束' && processData != '重复事件')
141
-                  "
142
-                >
143
-                  <div class="status"></div>
144
-                  <div class="conents"><span *ngIf="item.repairType && item.expectedDate">{{item.repairType.name}}{{item.expectedDate|date:'MM月dd日前完成'}}</span> {{ item.opValue }}</div>
35
+                <div class="ico">
36
+                  <i class="icon_transport transport-icon_liucheng last"></i>
37
+                </div>
38
+                <div class="time">
39
+                    {{ item.startTime | date:"MM-dd HH:mm:ss" }}
40
+                    <span *ngIf="item.appointorName">
41
+                      ,{{ item.appointorName }}
42
+                    </span>
145 43
                 </div>
146 44
               </div>
147
-            </ng-container>
148
-            <!-- 处理日志 end -->
149
-            <div
150
-              class="process"
151
-              *ngIf="
152
-                processData == '处理' ||
153
-                  processData == '评价' ||
154
-                  (processData == '结束' && processData != '重复事件')
155
-              "
156
-            >
157
-              <div class="status">
158
-                {{ processMessage[2] ? processMessage[2].name : "" }}
159
-              </div>
160
-              <div class="ico">
161
-                <i
162
-                  class="icon_transport transport-icon_liucheng green now"
163
-                  *ngIf="processData == '处理' && orderInfo.incident && !orderInfo.incident.handlerLogs"
164
-                ></i>
165
-                <i
166
-                  class="icon_transport transport-icon_liucheng last"
167
-                  v-else
168
-                ></i>
169
-              </div>
170
-              <div class="time">
171
-                <ng-container *ngIf="processTime[2]">
172
-                  {{processTime[2].startTime | date:"MM-dd HH:mm:ss"}}
173
-                </ng-container>
174
-              </div>
175
-            </div>
176
-            <div
177
-              class="processCont"
178
-              *ngIf="
179
-                processData == '处理' ||
180
-                  processData == '评价' ||
181
-                  (processData == '结束' && processData != '重复事件')
182
-              "
183
-            >
184
-              <div class="status"></div>
185
-              <div
186
-                class="conents"
187
-                [innerHTML]="processMessage[2] ? processMessage[2].desc : ''"
188
-              ></div>
189
-            </div>
190
-            <div
191
-              class="process"
192
-              *ngIf="
193
-                processData == '受理' ||
194
-                  processData == '处理' ||
195
-                  processData == '评价' ||
196
-                  (processData == '结束' && processData != '重复事件')
197
-              "
198
-            >
199
-              <div class="status">
200
-                {{ processMessage[1] ? processMessage[1].name : "" }}
201
-              </div>
202
-              <div class="ico">
203
-                <i
204
-                  class="icon_transport transport-icon_liucheng green now"
205
-                  *ngIf="processData == '受理'"
206
-                ></i>
207
-                <i
208
-                  class="icon_transport transport-icon_liucheng last"
209
-                  *ngIf="processData != '受理'"
210
-                ></i>
211
-              </div>
212
-              <div class="time">
213
-                <ng-container *ngIf="processTime[1]">
214
-                  {{processTime[1].startTime | date:'MM-dd HH:mm:ss'}}
215
-                </ng-container>
216
-              </div>
217
-            </div>
218
-            <div
219
-              class="processCont"
220
-              *ngIf="
221
-                processData == '受理' ||
222
-                  processData == '处理' ||
223
-                  processData == '评价' ||
224
-                  (processData == '结束' && processData != '重复事件')
225
-              "
226
-            >
227
-              <div class="status"></div>
228
-              <div
229
-                class="conents"
230
-                [innerHTML]="processMessage[1] ? processMessage[1].desc : ''"
231
-              ></div>
232
-            </div>
233
-            <div class="process">
234
-              <div class="status">
235
-                {{ processMessage[0] ? processMessage[0].name : "" }}
236
-              </div>
237
-              <div class="ico">
238
-                <i
239
-                  class="icon_transport transport-icon_liucheng green now"
240
-                  *ngIf="processData == '申请'"
241
-                ></i>
242
-                <i
243
-                  class="icon_transport transport-icon_liucheng last"
244
-                  *ngIf="processData != '申请'"
245
-                ></i>
246
-              </div>
247
-              <div class="time">
248
-                <ng-container *ngIf="processTime[0]">
249
-                  {{processTime[0].startTime | date:"MM-dd HH:mm:ss"}}
250
-                </ng-container>
45
+              <div class="processCont">
46
+                <div class="status"></div>
47
+                <div class="conents" [ngClass]="{lastContent: last}" [innerHTML]="item.remark"></div>
251 48
               </div>
252
-            </div>
253
-            <div class="processCont">
254
-              <div class="status"></div>
255
-              <div
256
-                class="conents lastConents"
257
-                [innerHTML]="processMessage[0] ? processMessage[0].desc : ''"
258
-              ></div>
259
-            </div>
49
+            </ng-container>
260 50
           </div>
261 51
           <!-- 流程图 end -->
262 52
         </div>
@@ -285,7 +75,7 @@
285 75
     </div>
286 76
   </overlay-scrollbars>
287 77
   <div class="btns display_flex justify-content_flex-center">
288
-    <button nz-button nzType="primary" (click)="goToSummary()" *ngIf="orderInfo.incident.duty && orderInfo.incident.duty.addSummary == 1">维修单</button>
78
+    <button nz-button nzType="primary" (click)="goToSummary()" *ngIf="orderInfo.duty && orderInfo.duty.addSummary == 1">维修单</button>
289 79
     <button class=" btn cancel" nz-button nzType="default" (click)="close()">取消</button>
290 80
   </div>
291 81
 </div>
@@ -326,6 +116,6 @@
326 116
   [info]="promptInfo" (closeModel)="close()">
327 117
   <!-- 2.父组件调用子组件时绑定到这个事件属性,并在事件发生时作出回应。(closeModel)="close()" -->
328 118
 </app-prompt-modal>
329
-<app-incident-details *ngIf="isShowIncidentDetails" (close)="closeIncidentDetails()" [incidentId]="orderInfo.incident.id"></app-incident-details>
119
+<app-incident-details *ngIf="isShowIncidentDetails" (close)="closeIncidentDetails()" [incidentId]="orderInfo.id"></app-incident-details>
330 120
 <!-- 遮罩 -->
331 121
 <app-mask *ngIf="maskFlag"></app-mask>

+ 3 - 1
src/app/share/detail-bx/detail-bx.component.less

@@ -84,9 +84,11 @@
84 84
     padding: 4px 0;
85 85
     padding-left: 5%;
86 86
     border-left: 1px #999999 solid;
87
-    line-height: 15[x];
88 87
     word-break: break-all;
89 88
   }
89
+  .processCont .conents.lastContent {
90
+    border-left: none;
91
+  }
90 92
   .processCont .lastConents {
91 93
     border-left: none;
92 94
   }

+ 17 - 62
src/app/share/detail-bx/detail-bx.component.ts

@@ -24,9 +24,8 @@ export class DetailBxComponent implements OnInit {
24 24
     private tool: ToolService,
25 25
     private mainService: MainService
26 26
   ) {}
27
-  processTime = [];
27
+  progressInfo = [];
28 28
   processData = "";
29
-  processMessage = [];
30 29
   imgs_wechatRequesterIncident = [];
31 30
   imgs_incident = [];
32 31
 
@@ -70,33 +69,9 @@ export class DetailBxComponent implements OnInit {
70 69
       this.logList = res[0]["data"];
71 70
       // getDetail
72 71
       this.orderInfo = res[1]["data"];
73
-      this.getProcessTime();
74
-      this.getProcessMessageData();
72
+      this.getProgressInfo();
75 73
       this.getImgsData('wechatRequesterIncident');
76 74
       this.getImgsData('incident');
77
-      if(this.orderInfo.incident){
78
-        if (!this.orderInfo.incident.handlerLogs) {
79
-          this.orderInfo.incident.handlerLogs = [];
80
-        } else {
81
-          this.orderInfo.incident.handlerLogs.reverse();
82
-        }
83
-      }
84
-
85
-      if (this.orderInfo.incident && this.orderInfo.incident.repeat) {
86
-        this.processData = "重复事件";
87
-      } else if (this.orderInfo.incidentState.name == "不受理") {
88
-        this.processData = "不受理";
89
-      } else if (this.orderInfo.incidentState.name == "未受理") {
90
-        this.processData = "申请";
91
-      } else if (this.orderInfo.incidentState.name == "处理中") {
92
-        this.processData = "处理";
93
-      } else if (this.orderInfo.incidentState.name == "待评价") {
94
-        this.processData = "评价";
95
-      } else if (this.orderInfo.incidentState.name == "已解决") {
96
-        this.processData = "结束";
97
-      } else if (this.orderInfo.incidentState.name == "已撤回") {
98
-        this.processData = "已撤回";
99
-      }
100 75
     });
101 76
   }
102 77
 
@@ -112,17 +87,7 @@ export class DetailBxComponent implements OnInit {
112 87
 
113 88
   // 获取图片信息
114 89
   getImgsData(type) {
115
-    let id;
116
-    if(type === 'wechatRequesterIncident'){
117
-      id = this.orderInfo.id;
118
-    } else if(type === 'incident'){
119
-      if(this.orderInfo.incident){
120
-        id = this.orderInfo.incident.processInstanceId;
121
-      } else {
122
-        this['imgs_' + type] = [];
123
-        return;
124
-      }
125
-    }
90
+    let id = this.orderInfo.id;
126 91
     this.mainService
127 92
       .listAttachment(type, id)
128 93
       .subscribe((res:any)=> {
@@ -133,29 +98,19 @@ export class DetailBxComponent implements OnInit {
133 98
       });
134 99
   }
135 100
 
136
-  //获取流程节点时间
137
-  getProcessTime() {
138
-    if (this.orderInfo.incident && this.orderInfo.incident.processInstanceId) {
139
-      this.mainService
140
-        .getProcessTime({}, this.orderInfo.incident.processInstanceId)
141
-        .subscribe((res: any) => {
142
-          this.processTime = res.data;
143
-        });
144
-    }
145
-  }
146
-
147
-  getProcessMessageData() {
148
-    this.mainService
149
-      .fetchListBx("dictionary", {
150
-        idx: 0,
151
-        sum: 10,
152
-        dictionary: {
153
-          key: "wxincident_task_default",
154
-        },
155
-      })
156
-      .subscribe((res: any) => {
157
-        this.processMessage = res.list;
158
-      });
101
+  //获取处理进度
102
+  getProgressInfo() {
103
+    this.mainService .fetchListBx("incidentLog", {
104
+      "idx": 0,
105
+      "sum": 9999,
106
+      "incidentLog": {
107
+          "incidentId": this.orderInfo.id
108
+      }
109
+    })
110
+    .subscribe((res: any) => {
111
+      console.log(res);
112
+      this.progressInfo = res.list || [];
113
+    });
159 114
   }
160 115
 
161 116
   // 放大
@@ -165,7 +120,7 @@ export class DetailBxComponent implements OnInit {
165 120
 
166 121
   // 获取工单详情
167 122
   getDetail() {
168
-    return this.mainService.fetchDataBx("wXIncident", this.id);
123
+    return this.mainService.fetchDataBx("incident", this.id);
169 124
   }
170 125
 
171 126
   // 确认加急

+ 8 - 13
src/app/views/hushijiandan/hushijiandan.component.html

@@ -2099,7 +2099,6 @@
2099 2099
                         class="formItem"
2100 2100
                         [nzDropdownMatchSelectWidth]="false"
2101 2101
                         [nzShowSearch]="false"
2102
-                        nzAllowClear
2103 2102
                         nzPlaceHolder="请选择状态"
2104 2103
                         [(ngModel)]="incidentStateId"
2105 2104
                       >
@@ -2134,13 +2133,12 @@
2134 2133
                     >
2135 2134
                       <thead>
2136 2135
                         <tr class="thead">
2137
-                          <th nzWidth="7%">序号</th>
2138
-                          <th nzWidth="16%">报修内容</th>
2139
-                          <th nzWidth="16%">报修时间</th>
2140
-                          <th nzWidth="16%">报修科室</th>
2141
-                          <th nzWidth="10%">状态</th>
2142
-                          <th nzWidth="20%">维修人</th>
2143
-                          <th nzWidth="15%"></th>
2136
+                          <th nzWidth="5%">序号</th>
2137
+                          <th nzWidth="19%">报修内容</th>
2138
+                          <th nzWidth="19%">报修时间</th>
2139
+                          <th nzWidth="19%">状态</th>
2140
+                          <th nzWidth="19%">维修人</th>
2141
+                          <th nzWidth="19%"></th>
2144 2142
                         </tr>
2145 2143
                       </thead>
2146 2144
                       <tbody>
@@ -2148,10 +2146,7 @@
2148 2146
                           <td>{{ i + 1 }}</td>
2149 2147
                           <td>{{ data.description || "无" }}</td>
2150 2148
                           <td>
2151
-                            {{ data.createTime | date: "MM-dd HH:mm" }}
2152
-                          </td>
2153
-                          <td>
2154
-                            {{ data.departmentDTO ? data.departmentDTO.dept : "无" }}
2149
+                            {{ data.startDate | date: "yyyy-MM-dd HH:mm" }}
2155 2150
                           </td>
2156 2151
                           <td>{{ data.state?data.state.name:'无' }}</td>
2157 2152
                           <td>
@@ -2166,7 +2161,7 @@
2166 2161
                           <td>
2167 2162
                             <!-- <button (click)="viewBx(data)">查看</button> -->
2168 2163
                             <button class="btn1 mr8 mb8 mt8" (click)="detailBx(data)">查看</button>
2169
-                            <button class="btn1 mr8 mb8 mt8" (click)="showAppraiseBx(data.id)" *ngIf="data.state.name  == '待评价'">评价</button>
2164
+                            <button class="btn1 mr8 mb8 mt8" (click)="showAppraiseBx(data.id)" *ngIf="data.state.value == 'close' && !data.wxdegree">评价</button>
2170 2165
                           </td>
2171 2166
                         </tr>
2172 2167
                       </tbody>

+ 13 - 9
src/app/views/hushijiandan/hushijiandan.component.ts

@@ -3628,14 +3628,16 @@ export class HushijiandanComponent implements OnInit {
3628 3628
   bxlbLoading = false;
3629 3629
   getBxlb(idx, isInitState = false) {
3630 3630
     // 获取事件状态
3631
-    let postData = { type: "list", key: "wxincident_state" };
3631
+    let postData = { type: "list", key: "incident_status" };
3632 3632
     this.iLoading = true;
3633 3633
     this.mainService.getDictionaryByITSM(postData).subscribe((data: any) => {
3634 3634
       this.iLoading = false;
3635 3635
       if (data.status == 200) {
3636
-        this.incidentStateList = data.data || [];
3636
+        let incidentStateList = data.data || [];
3637
+        incidentStateList.unshift({id: 0, name: '全部', value: 0});
3638
+        this.incidentStateList = incidentStateList;
3637 3639
         if(isInitState){
3638
-          let valueObj2 = this.incidentStateList.find(v => v.value == 2);
3640
+          let valueObj2 = this.incidentStateList.find(v => v.value == 0);
3639 3641
           this.incidentStateId = valueObj2 ? valueObj2.id : undefined;
3640 3642
         }
3641 3643
 
@@ -3647,17 +3649,19 @@ export class HushijiandanComponent implements OnInit {
3647 3649
         this.bxlbLoading = true;
3648 3650
         this.mainService
3649 3651
           .listWxIncident({
3650
-            deptId: current.user.dept.id,
3651
-            // assignee: current.user.account,
3652
-            state: this.incidentStateId ? this.incidentStateId : undefined,
3653 3652
             idx: this.bxlbPageIndex - 1,
3654 3653
             sum: this.bxlbPageSize,
3654
+            incident: {
3655
+              // assignee: current.user.account,
3656
+              state: this.incidentStateId ? { id: this.incidentStateId } : undefined,
3657
+              department: { pcode: current.user.dept.pcode },
3658
+            }
3655 3659
           })
3656 3660
           .subscribe((data: any) => {
3657 3661
             this.bxlbLoading = false;
3658
-            this.bxlbList = data.data || [];
3659
-            this.bxlbListLength = data.resultCount || 0;
3660
-            this.processing = data.resultCount || 0;
3662
+            this.bxlbList = data.list || [];
3663
+            this.bxlbListLength = data.totalNum || 0;
3664
+            this.processing = data.totalNum || 0;
3661 3665
           });
3662 3666
       }
3663 3667
     });