From ba5374383bbf3ecabf6f50f7aac34916d9f745e0 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期六, 14 九月 2024 14:48:04 +0800
Subject: [PATCH] bug修改

---
 src/views/onlineEducation/people/index.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/views/onlineEducation/people/index.vue b/src/views/onlineEducation/people/index.vue
index 2fa825f..91ccbc4 100644
--- a/src/views/onlineEducation/people/index.vue
+++ b/src/views/onlineEducation/people/index.vue
@@ -131,9 +131,11 @@
 const openDialog = (type, value) => {
   if(type == 'add' && data.isAdmin){
     ElMessage.warning('监管部门请联系企业创建企业学员')
-  }else if(userType.value !== 3 && (type == 'add' || type == 'edit')) {
-    ElMessage.warning(' 只有车间级用户才能新增和编辑')
-  } else{
+  }
+  // else if(userType.value !== 3 && (type == 'add' || type == 'edit')) {
+  //   ElMessage.warning(' 只有车间级用户才能新增和编辑')
+  // }
+  else{
     dialogRef.value.openDialog(type, value);
   }
 

--
Gitblit v1.9.2