Просмотр исходного кода

代码提交:
1021
项目登记审批通过添加审批通过时间和审批人
自检类型管理和浏览审批类型管理父级节点数据筛选修改

sunruiqi 2 лет назад
Родитель
Сommit
65f923d7e5

+ 1 - 1
src/views/modules/program/configuration/proofreadType/BrowseTypeForm.vue

@@ -20,7 +20,7 @@
                       label: 'name',         // 显示名称
                       children: 'children'    // 子级字段名
                     }"
-                url="/proofread/type/treeData"
+                url="/proofread/type/treeData?type=2"
                 :value="inputForm.parentId"
                 :clearable="true"
                 :accordion="true"

+ 1 - 1
src/views/modules/program/configuration/proofreadType/TypeForm.vue

@@ -20,7 +20,7 @@
                       label: 'name',         // 显示名称
                       children: 'children'    // 子级字段名
                     }"
-                url="/proofread/type/treeData"
+                url="/proofread/type/treeData?type=1"
                 :value="inputForm.parentId"
                 :clearable="true"
                 :accordion="true"

+ 13 - 0
src/views/modules/program/registered/RegisItemForm.vue

@@ -746,6 +746,8 @@
           links: [], // 联系人列表
           members: [], // 成员列表
           files: [], // 附件信息
+          agreeTime: '', // 审批通过时间
+          agreeUserId: '', // 审批人
 
           contactList: [], // 被评估企业对接联系人
           equityList: [], // 产权持有人联系人
@@ -774,6 +776,10 @@
         },
         set (val) {
           this.businessId = val
+        },
+        userId () {
+          this.create = JSON.parse(localStorage.getItem('user')).id
+          return JSON.parse(localStorage.getItem('user')).id
         }
       }
     },
@@ -864,6 +870,8 @@
           links: [], // 联系人列表
           members: [], // 成员列表
           files: [], // 附件信息
+          agreeTime: '', // 审批通过时间
+          agreeUserId: '', // 审批人
 
           contactList: [], // 被评估企业对接联系人
           equityList: [], // 产权持有人联系人
@@ -968,6 +976,9 @@
         } else if (status === 'agree') {
           // 审核同意
           this.inputForm.status = '5'
+          this.inputForm.agreeTime = new Date()
+          console.log('项目登记审批通过获取当前登录人id', this.userId)
+          this.inputForm.agreeUserId = this.userId
         }
         this.inputForm.links = []
         if (!this.commonJS.isEmpty(this.inputForm.clientList)) {
@@ -1143,6 +1154,8 @@
           links: [], // 联系人列表
           members: [], // 成员列表
           files: [], // 附件信息
+          agreeTime: '', // 审批通过时间
+          agreeUserId: '', // 审批人
 
           contactList: [], // 被评估企业对接联系人
           equityList: [], // 产权持有人联系人