From 9b0cdc49f16ff49e050ed161da9a8ce9207da97f Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Sat, 12 Oct 2024 13:28:10 +0800
Subject: [PATCH] 修改
---
src/views/onlineEducation/courseSupervision/index.vue | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/views/onlineEducation/courseSupervision/index.vue b/src/views/onlineEducation/courseSupervision/index.vue
index b82f0b0..4065841 100644
--- a/src/views/onlineEducation/courseSupervision/index.vue
+++ b/src/views/onlineEducation/courseSupervision/index.vue
@@ -47,7 +47,7 @@
<el-table-column label="最近修改时间" align="center" prop="updateTime" width="100" />
<el-table-column label="审核状态" align="center" prop="" >
<template #default="scope">
- <span>{{scope.row.state == 0 ? '待审核' :scope.row.state == 1 ? '审核通过' :scope.row.state == 2 ? '审核驳回' : '待审核' }}</span>
+ <span>{{scope.row.status == 1 ? '待审核' :scope.row.status == 2 ? '审核通过' :scope.row.status == 3 ? '审核驳回' : '' }}</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
@@ -59,7 +59,7 @@
@click="handleViewCourse(scope.row,'')"
>详情</el-button>
<el-button
- v-if="scope.row.state == 0"
+ v-if="scope.row.status == 1"
size="mini"
type="text"
style="color: #1890ff"
@@ -120,7 +120,6 @@
return {
...item,
courseNum: item.outline ? item.outline.length : '',
- state: 0 // 假数据后期删掉
}
})
this.total = res.total
--
Gitblit v1.9.2