seimin 3 jaren geleden
bovenliggende
commit
aa0f619022
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2 0
      src/app/views/inspect-auto/inspect-auto.component.ts

+ 2 - 0
src/app/views/inspect-auto/inspect-auto.component.ts

@@ -105,6 +105,7 @@ export class InspectAutoComponent implements OnInit {
105
           result.list.forEach((item) => {
105
           result.list.forEach((item) => {
106
             if (item.extra1 === "1") {
106
             if (item.extra1 === "1") {
107
               //急查
107
               //急查
108
+              this.urgencyInspectNo = Boolean(item.autoDispatch);
108
               this.urgencyInspect = true;
109
               this.urgencyInspect = true;
109
               this.inspectType_u = this.inspectTypeList_u.some((v) => {
110
               this.inspectType_u = this.inspectTypeList_u.some((v) => {
110
                 if (v.id == item.typeId) {
111
                 if (v.id == item.typeId) {
@@ -129,6 +130,7 @@ export class InspectAutoComponent implements OnInit {
129
             }
130
             }
130
             if (item.extra1 === "0") {
131
             if (item.extra1 === "0") {
131
               //普查
132
               //普查
133
+              this.ordinaryInspectNo = Boolean(item.autoDispatch);
132
               this.ordinaryInspect = true;
134
               this.ordinaryInspect = true;
133
               this.inspectType_o = this.inspectTypeList_o.some((v) => {
135
               this.inspectType_o = this.inspectTypeList_o.some((v) => {
134
                 if (v.id == item.typeId) {
136
                 if (v.id == item.typeId) {