소스 검색

BUG修复

seimin 3 년 전
부모
커밋
7919f4e3a1
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 5 4
      src/views/repair.vue

+ 5 - 4
src/views/repair.vue

@@ -387,7 +387,8 @@ export default {
387
       var reqData = {
387
       var reqData = {
388
         verification: "true",
388
         verification: "true",
389
         loginUser: {
389
         loginUser: {
390
-          id: that.loginUser.id
390
+          id: that.loginUser.id,
391
+          account: that.loginUser.account
391
         },
392
         },
392
         incident: JSON.parse(JSON.stringify(this.model))
393
         incident: JSON.parse(JSON.stringify(this.model))
393
       };
394
       };
@@ -552,9 +553,9 @@ export default {
552
           ? this.loginUser.dept.phone
553
           ? this.loginUser.dept.phone
553
           : "";
554
           : "";
554
       this.model.contacts = this.loginUser.name;
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
       this.model.deptId = this.loginUser.dept ? this.loginUser.dept.dept : "";
559
       this.model.deptId = this.loginUser.dept ? this.loginUser.dept.dept : "";
559
     }
560
     }
560
   },
561
   },