seimin 3 lat temu
rodzic
commit
7919f4e3a1
1 zmienionych plików z 5 dodań i 4 usunięć
  1. 5 4
      src/views/repair.vue

+ 5 - 4
src/views/repair.vue

@@ -387,7 +387,8 @@ export default {
387 387
       var reqData = {
388 388
         verification: "true",
389 389
         loginUser: {
390
-          id: that.loginUser.id
390
+          id: that.loginUser.id,
391
+          account: that.loginUser.account
391 392
         },
392 393
         incident: JSON.parse(JSON.stringify(this.model))
393 394
       };
@@ -552,9 +553,9 @@ export default {
552 553
           ? this.loginUser.dept.phone
553 554
           : "";
554 555
       this.model.contacts = this.loginUser.name;
555
-      this.model.address=this.loginUser.houseNumber;
556
-      this.model.pcaValue[0]=this.loginUser.place.area.id;
557
-      this.model.pcaValue[1]=this.loginUser.place.id;
556
+      this.model.address = this.loginUser.houseNumber;
557
+      this.model.pcaValue[0] = this.loginUser.place.area.id;
558
+      this.model.pcaValue[1] = this.loginUser.place.id;
558 559
       this.model.deptId = this.loginUser.dept ? this.loginUser.dept.dept : "";
559 560
     }
560 561
   },