Explorar o código

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

sunruiqi %!s(int64=2) %!d(string=hai) anos
pai
achega
a5e2a85b9e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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)) {