Quellcode durchsuchen

代码提交:
1022
审批通过审批人id记录修改

sunruiqi vor 2 Jahren
Ursprung
Commit
a5e2a85b9e
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      src/views/modules/program/registered/RegisItemForm.vue

+ 2 - 2
src/views/modules/program/registered/RegisItemForm.vue

@@ -977,8 +977,8 @@
           // 审核同意
           this.inputForm.status = '5'
           this.inputForm.agreeTime = new Date()
-          console.log('项目登记审批通过获取当前登录人id', this.userId)
-          this.inputForm.agreeUserId = this.userId
+          let userId = JSON.parse(localStorage.getItem('user')).id
+          this.inputForm.agreeUserId = userId
         }
         this.inputForm.links = []
         if (!this.commonJS.isEmpty(this.inputForm.clientList)) {