From 91270e42d9bb50a020cf39275b4f63bf9591e9de Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 25 Oct 2021 10:30:53 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/zhba_enterprises

---
 src/views/trainingRegistration/index.vue |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/views/trainingRegistration/index.vue b/src/views/trainingRegistration/index.vue
index b65e5dc..2630d6d 100644
--- a/src/views/trainingRegistration/index.vue
+++ b/src/views/trainingRegistration/index.vue
@@ -605,6 +605,11 @@
          return;
       }
 
+      if (that.userInfo.role_name == "培训公司管理员") {
+        //如果是培训公司管理员
+        row["trainingUnitId"] = that.userInfo.dept_id;
+      }
+
       row['number'] = (row.serialEnd-row.serialStart)+1;
       //创建人
       row['creator'] = this.userInfo.Id;

--
Gitblit v1.9.3