mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 20:36:43 +08:00
修改
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
:default-active="activeMenu"
|
:default-active="activeMenu"
|
||||||
router
|
router
|
||||||
active-text-color="#3379FB"
|
active-text-color="#3379FB"
|
||||||
:default-openeds="['manageTodo','manageFinish','teacherTodo','teacherFinish','myqa','notice','mystudy', 'course', 'exam', 'u001', 'u002', 'u003', 'u004','mylecnotes']"
|
:default-openeds="['manageTodo','manageFinish','teacherTodo','teacherFinish','myqa','notice','mystudy', 'course', 'exam', 'u001', 'u002', 'u003', 'u004','mylecnotes','mycaseRecord']"
|
||||||
class="el-menu-vertical"
|
class="el-menu-vertical"
|
||||||
@open="handleOpen"
|
@open="handleOpen"
|
||||||
@close="handleClose"
|
@close="handleClose"
|
||||||
@@ -179,6 +179,10 @@
|
|||||||
<el-menu-item index="/need/mylecnotes">
|
<el-menu-item index="/need/mylecnotes">
|
||||||
<!-- <i class="el-icon-menu"></i> -->
|
<!-- <i class="el-icon-menu"></i> -->
|
||||||
<span slot="title" class="textl">我的授课记录</span>
|
<span slot="title" class="textl">我的授课记录</span>
|
||||||
|
</el-menu-item>
|
||||||
|
<el-menu-item index="/need/mycaseRecord">
|
||||||
|
<!-- <i class="el-icon-menu"></i> -->
|
||||||
|
<span slot="title" class="textl">我的案例记录</span>
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
<!--
|
<!--
|
||||||
<el-menu-item index="u0032">
|
<el-menu-item index="u0032">
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ export const pages=[
|
|||||||
{title:'已回答问题',path:'qafinish',component:'qa/TeacherList',hidden:false},
|
{title:'已回答问题',path:'qafinish',component:'qa/TeacherList',hidden:false},
|
||||||
{title:'我开发课程',path:'course',component:'course/TeacherList',hidden:false},
|
{title:'我开发课程',path:'course',component:'course/TeacherList',hidden:false},
|
||||||
{title:'我的授课记录',path:'mylecnotes',component:'course/Mylecnotes',hidden:false},
|
{title:'我的授课记录',path:'mylecnotes',component:'course/Mylecnotes',hidden:false},
|
||||||
|
{title:'我的案例记录',path:'mycaseRecord',component:'course/MycaseRecord',hidden:false},
|
||||||
{title:'待审核的课程',path:'waitaudit',component:'course/WaitAudit',hidden:true},
|
{title:'待审核的课程',path:'waitaudit',component:'course/WaitAudit',hidden:true},
|
||||||
{title:'已审核的课程',path:'waitaudited',component:'course/WaitAudited',hidden:true},
|
{title:'已审核的课程',path:'waitaudited',component:'course/WaitAudited',hidden:true},
|
||||||
]},
|
]},
|
||||||
|
|||||||
@@ -19,6 +19,8 @@
|
|||||||
<el-button @click="getData(1)" icon="el-icon-search" type="primary" >搜索</el-button>
|
<el-button @click="getData(1)" icon="el-icon-search" type="primary" >搜索</el-button>
|
||||||
<!-- <el-button @click="showRecords()" icon="el-icon-tickets" type="info" >推荐记录</el-button> -->
|
<!-- <el-button @click="showRecords()" icon="el-icon-tickets" type="info" >推荐记录</el-button> -->
|
||||||
<el-button icon="el-icon-refresh-right" type="primary" @click="reset">重置</el-button>
|
<el-button icon="el-icon-refresh-right" type="primary" @click="reset">重置</el-button>
|
||||||
|
<el-checkbox style="margin-left:10px" v-model="queryObj.excellent" @change="getData()">只查看我上传的</el-checkbox>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -121,7 +123,8 @@ export default {
|
|||||||
queryObj: {
|
queryObj: {
|
||||||
pageIndex:1,
|
pageIndex:1,
|
||||||
pageSize:10,
|
pageSize:10,
|
||||||
isTop:''
|
isTop:'',
|
||||||
|
excellent:false,
|
||||||
}, //查询对象
|
}, //查询对象
|
||||||
caseList: [], //案例列表
|
caseList: [], //案例列表
|
||||||
count:0,
|
count:0,
|
||||||
@@ -159,6 +162,10 @@ export default {
|
|||||||
this.getData();
|
this.getData();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// getSearch(){
|
||||||
|
// this.queryObj.excellent = !this.queryObj.excellent;
|
||||||
|
// this.getData();
|
||||||
|
// },
|
||||||
cancal(item){
|
cancal(item){
|
||||||
this.$confirm('是否取消该案例为优秀案例?', '提示', {
|
this.$confirm('是否取消该案例为优秀案例?', '提示', {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
@@ -222,6 +229,7 @@ export default {
|
|||||||
this.queryObj.isTop = '';
|
this.queryObj.isTop = '';
|
||||||
this.queryObj.keyWord = '';
|
this.queryObj.keyWord = '';
|
||||||
this.queryObj.pageIndex = 1;
|
this.queryObj.pageIndex = 1;
|
||||||
|
this.queryObj.excellent = null;
|
||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
//获取案例列表数据
|
//获取案例列表数据
|
||||||
|
|||||||
115
src/views/course/MycaseRecord.vue
Normal file
115
src/views/course/MycaseRecord.vue
Normal file
@@ -0,0 +1,115 @@
|
|||||||
|
<template>
|
||||||
|
<div style="padding: 12px 32px 10px 12px;">
|
||||||
|
<div style="display: flex;justify-content: flex-start;">
|
||||||
|
<div style="margin-left:10px"><el-input placeholder="名称关键字" clearable></el-input></div>
|
||||||
|
<div style="padding-left: 10px;"><el-button type="primary" icon="el-icon-search">搜索</el-button></div>
|
||||||
|
<div style="padding: 0px 5px;"><el-button icon="el-icon-refresh-right" type="primary" >重置</el-button></div>
|
||||||
|
<div style="padding: 0px 5px;"><el-button icon="el-icon-refresh-right" type="primary" >导出</el-button></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="margin-top:20px;">
|
||||||
|
<el-table :data="pageData" border stripe>
|
||||||
|
<el-table-column
|
||||||
|
label="案例名称"
|
||||||
|
prop="time"
|
||||||
|
width="200px">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
label="状态"
|
||||||
|
prop="courseName"
|
||||||
|
width="100px">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
label="审批完成时间"
|
||||||
|
prop="sysType"
|
||||||
|
width="200px">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
label="公开范围"
|
||||||
|
prop="status"
|
||||||
|
width="100px">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
label="浏览量"
|
||||||
|
prop="courseUser"
|
||||||
|
></el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
label="点赞量"
|
||||||
|
prop="auditTime"
|
||||||
|
width="100px"
|
||||||
|
></el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
label="分享量"
|
||||||
|
prop="auditRemark"
|
||||||
|
width="100px"
|
||||||
|
></el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
label="收藏量"
|
||||||
|
width="100px"
|
||||||
|
prop="studynum"
|
||||||
|
></el-table-column>
|
||||||
|
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import aipCase from '../../api/modules/cases.js';
|
||||||
|
import { mapGetters,mapActions } from 'vuex';
|
||||||
|
export default {
|
||||||
|
computed: {
|
||||||
|
...mapGetters(['userInfo']),
|
||||||
|
},
|
||||||
|
data(){
|
||||||
|
return {
|
||||||
|
caseData:{
|
||||||
|
pageIndex:1,
|
||||||
|
pageSize:10,
|
||||||
|
},
|
||||||
|
pageData:[{
|
||||||
|
time:'2022-10-30 13:00:00',
|
||||||
|
courseName:'时间管理',
|
||||||
|
sysType:'核心能力大楼培训',
|
||||||
|
status:'管理者课程',
|
||||||
|
courseUser:'管理者进阶-腾飞班K1',
|
||||||
|
auditTime:'产品经理路径管理',
|
||||||
|
auditRemark:'35',
|
||||||
|
studynum:'120',
|
||||||
|
pf:'4.5',
|
||||||
|
cz:'导出学员信息'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
time:'2022-10-30 13:00:00',
|
||||||
|
courseName:'时间管理',
|
||||||
|
sysType:'核心能力大楼培训',
|
||||||
|
status:'管理者课程',
|
||||||
|
courseUser:'管理者进阶-腾飞班K1',
|
||||||
|
auditTime:'产品经理路径管理',
|
||||||
|
auditRemark:'35',
|
||||||
|
studynum:'120',
|
||||||
|
pf:'4.5',
|
||||||
|
cz:'导出学员信息'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted(){
|
||||||
|
// this.getcaseData();
|
||||||
|
},
|
||||||
|
methods:{
|
||||||
|
getcaseData(){
|
||||||
|
aipCase.mylist(this.caseData).then(res =>{
|
||||||
|
// console.log(res);
|
||||||
|
})
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.Export{
|
||||||
|
display: flex;
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user