|
@@ -25,6 +25,14 @@ export class OrderManagementComponent implements OnInit {
|
25
|
25
|
});
|
26
|
26
|
this.initOrderType();
|
27
|
27
|
this.coopBtns = this.tool.initCoopBtns(this.route);
|
|
28
|
+ if (this.coopBtns.deleted) {
|
|
29
|
+ //是否显示已删除
|
|
30
|
+ this.checkOptionsOne.push({
|
|
31
|
+ label: "已删除",
|
|
32
|
+ value: "3",
|
|
33
|
+ checked: false,
|
|
34
|
+ });
|
|
35
|
+ }
|
28
|
36
|
this.getAllHos();
|
29
|
37
|
this.getGdStates();
|
30
|
38
|
}
|
|
@@ -190,6 +198,13 @@ export class OrderManagementComponent implements OnInit {
|
190
|
198
|
timeOut: that.checkOptionsOne[0].checked ? 1 : 0,
|
191
|
199
|
},
|
192
|
200
|
};
|
|
201
|
+ if (that.checkOptionsOne[3]) {
|
|
202
|
+ if (that.checkOptionsOne[3].checked) {
|
|
203
|
+ data.workOrder.deleteFlag = 1;
|
|
204
|
+ } else {
|
|
205
|
+ delete data.workOrder.deleteFlag;
|
|
206
|
+ }
|
|
207
|
+ }
|
193
|
208
|
if (that.association) {
|
194
|
209
|
data.workOrder.taskType = {
|
195
|
210
|
associationType: { id: that.association },
|