From d8e506a9e4fb55b693c7270f7174df0f66e4eae3 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期二, 30 九月 2025 10:24:35 +0800
Subject: [PATCH] 修改新增
---
src/views/work/onlineEducation/courseManage/index.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/views/work/onlineEducation/courseManage/index.vue b/src/views/work/onlineEducation/courseManage/index.vue
index b573590..b6a16a9 100644
--- a/src/views/work/onlineEducation/courseManage/index.vue
+++ b/src/views/work/onlineEducation/courseManage/index.vue
@@ -101,7 +101,7 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="240">
<template #default="scope">
- <div v-if="data.isAdmin">
+ <div v-if="data.isAdmin || data.userType == 6">
<div v-if="scope.row.state !== 3">
<el-button link type="primary" v-if="scope.row.state == 1" @click="openApprove(scope.row)">审核</el-button>
<el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
@@ -228,7 +228,8 @@
id: 3,
name: '审批不通过'
},
- ]
+ ],
+ userType: null
});
const { queryParams, total, dataList } = toRefs(data);
@@ -243,6 +244,7 @@
}
const userInfo = JSON.parse(Cookies.get('userInfo'))
console.log("userInfo",userInfo)
+ data.userType = userInfo.userType
if(userInfo.userType === 0){
data.isAdmin = true;
}else {
--
Gitblit v1.9.2