瀏覽代碼

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
   },