全部提交

This commit is contained in:
liqianyouyou
2024-03-27 23:30:49 +08:00
parent 8b57a99914
commit 0e4b8cd484
8 changed files with 1199 additions and 148 deletions

View File

@@ -1,12 +1,12 @@
<template>
<div class="mod-config">
<el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
<el-form-item label="课程目录名称">
<!-- <el-form-item label="课程目录名称">
<el-input v-model="query.keywords" placeholder="课程目录名称" clearable></el-input>
</el-form-item>
</el-form-item> -->
<el-form-item>
<el-button @click="pageIndex = 1;getDataList()">查询</el-button>
<el-button v-if="isAuth('book:book:save')" type="primary" @click="addOrUpdateHandle()">新增</el-button>
<el-button type="primary" @click="addOrUpdateHandle()">新增</el-button>
</el-form-item>
</el-form>
<el-table :data="dataList" border v-loading="dataListLoading"
@@ -21,7 +21,7 @@
<template slot-scope="scope">
<div>
<router-link :to="{path: 'book-bookchapter' , query:{ id : scope.row.id , pageIndex} }">
<router-link :to="{path: 'course-courseChapter' , query:{ id : scope.row.id ,courseid: courseid, pageIndex} }">
<el-button type="text" size="small">章节管理</el-button>
</router-link>
<el-button type="text" size="small" @click="addOrUpdateHandle(scope.row)">修改</el-button>