|
@@ -183,6 +183,7 @@ export class FuwutaiComponent implements OnInit {
|
183
|
183
|
});
|
184
|
184
|
}
|
185
|
185
|
allUnassignedOrders = "";
|
|
186
|
+ b2Loading = false;
|
186
|
187
|
getUnassignedBuilding2() {
|
187
|
188
|
if (this.user.user.scope) {
|
188
|
189
|
this.user.user.scope.typeIds = this.user.user.scope.typeIds || [];
|
|
@@ -206,9 +207,11 @@ export class FuwutaiComponent implements OnInit {
|
206
|
207
|
idx: 0,
|
207
|
208
|
sum: 9999,
|
208
|
209
|
};
|
|
210
|
+ this.b2Loading = true;
|
209
|
211
|
this.mainService
|
210
|
212
|
.getFetchDataList("ser", "workOrder", postData)
|
211
|
213
|
.subscribe((result) => {
|
|
214
|
+ this.b2Loading = false;
|
212
|
215
|
if (result.status == 200) {
|
213
|
216
|
this.allUnassignedOrders = result.list
|
214
|
217
|
.map((item) => item.id)
|