408249787@qq.com 1 dag geleden
bovenliggende
commit
16b8071a55
2 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  1. 2 0
      pages/middle/middle.vue
  2. 2 0
      pages/repair-add/repair-add.vue

+ 2 - 0
pages/middle/middle.vue

@@ -492,6 +492,8 @@ export default {
                 repairErrorTypeId: this.form.repairErrorTypeId || null,
                 limitDate: this.form.limitDate || null,
                 limitHours: this.form.limitHours || null,
+                // 与 PC 端 BaseForm 一致:提交当前登录人部门
+                deptId: this.userInfo ? this.userInfo.deptId : null,
                 applicationFileList: this.imagesList
             }
             console.log(params)

+ 2 - 0
pages/repair-add/repair-add.vue

@@ -466,6 +466,8 @@ export default {
                 repairErrorTypeId: this.form.repairErrorTypeId || null,
                 limitDate: this.form.limitDate || null,
                 limitHours: this.form.limitHours || null,
+                // 与 PC 端 BaseForm 一致:提交当前登录人部门
+                deptId: this.userInfo ? this.userInfo.deptId : null,
                 applicationFileList: this.imagesList
             }
             // this.form.photo = a.join(',');