From 585d90f0e3194d6b988a424036291921794678ab Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期三, 18 十二月 2024 14:28:12 +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