From 81c81ad6899496bbb46a59c815503f1f90bc4718 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Fri, 03 Jul 2026 10:43:15 +0800
Subject: [PATCH] 中科大支线-修改
---
src/views/onlineEducation/people/index.vue | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/views/onlineEducation/people/index.vue b/src/views/onlineEducation/people/index.vue
index 2fa825f..5ee6cc9 100644
--- a/src/views/onlineEducation/people/index.vue
+++ b/src/views/onlineEducation/people/index.vue
@@ -130,10 +130,12 @@
const openDialog = (type, value) => {
if(type == 'add' && data.isAdmin){
- ElMessage.warning('监管部门请联系企业创建企业学员')
- }else if(userType.value !== 3 && (type == 'add' || type == 'edit')) {
- ElMessage.warning(' 只有车间级用户才能新增和编辑')
- } else{
+ ElMessage.warning('监管学院请联系单位创建单位学员')
+ }
+ // else if(userType.value !== 3 && (type == 'add' || type == 'edit')) {
+ // ElMessage.warning(' 只有实验室级用户才能新增和编辑')
+ // }
+ else{
dialogRef.value.openDialog(type, value);
}
--
Gitblit v1.9.2