guarantee-lsq %!s(int64=2) %!d(string=hai) anos
pai
achega
b174afc111
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/views/repair/application-form/modules/ReportUpForm.vue

+ 2 - 0
src/views/repair/application-form/modules/ReportUpForm.vue

@@ -129,6 +129,7 @@ export default {
         queryType = 2
       }
       this.model = record
+      this.roleType = record.roleType
       const params = { roleType: record.roleType, deptId: record.repairDeptId, queryType: queryType }
       this.getUsers(params)
       const { form: { setFieldsValue } } = this
@@ -166,6 +167,7 @@ export default {
           }
         }
         this.model.remark = values.remark
+        this.model.roleType = this.roleType // 上报人角色类型 3 工程师
         reportRepair(this.model).then(() => {
           this.$message.info('操作成功')
           if (this.model.reportHandleType === 2) {