From da05b26e60136f91fda4be7f960ed0eb2b16bfab Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Mon, 11 Nov 2024 09:18:04 +0800
Subject: [PATCH] 配置
---
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