bug和国学标签

This commit is contained in:
liqianyouyou
2024-04-02 21:36:37 +08:00
parent 537df5dfb5
commit ab2bb21c3a
7 changed files with 754 additions and 16 deletions

View File

@@ -11,26 +11,30 @@
</el-form>
<el-table :data="dataList" border v-loading="dataListLoading"
style="width: 100%;">
<el-table-column prop="title" header-align="center" align="center" label="视频名称">
</el-table-column>
<el-table-column prop="createTime" header-align="center" align="center" label="创建日期">
</el-table-column>
<el-table-column header-align="center" align="center" label="视频">
<el-table-column header-align="center" align="center" label="视频类型">
<template slot-scope="scope">
<img v-if="scope.row.imgUrl != ''" :src="scope.row.imgUrl" width="70" height="100" class="tableImg" />
<span v-if="scope.row.type != '0'">加密</span>
<span v-else>普通</span>
</template>
</el-table-column>
<el-table-column prop="content" header-align="center" align="center" label="内容">
<el-table-column prop="createTime" header-align="center" align="center" label="上传时间">
</el-table-column>
<el-table-column prop="video" header-align="center" align="center" label="视频">
<!-- <template slot-scope="scope">
<img v-if="scope.row.imgUrl != ''" :src="scope.row.imgUrl" width="70" height="100" class="tableImg" />
</template> -->
</el-table-column>
<!-- <el-table-column prop="content" header-align="center" align="center" label="内容">
</el-table-column> -->
<el-table-column fixed="right" header-align="center" align="center" width="250" label="操作">
<template slot-scope="scope">
<div>
<router-link :to="{path: 'course-courseVideo' , query:{ id : scope.row.id , pageIndex} }">
<!-- <router-link :to="{path: 'course-courseVideo' , query:{ id : scope.row.id , pageIndex} }">
<el-button type="text" size="small">视频管理</el-button>
</router-link>
</router-link> -->
<el-button type="text" size="small" @click="addOrUpdateHandle(scope.row)">修改</el-button>
<el-button type="text" size="small" @click="deleteHandle(scope.row.id)">删除</el-button>
</div>