zhouwx
2024-10-12 9b0cdc49f16ff49e050ed161da9a8ce9207da97f
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