mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
feat:增加课程库-面授列表导出;增加管理界面学员搜索重置,修改状态判断
This commit is contained in:
@@ -93,10 +93,10 @@
|
||||
</div>
|
||||
<div class="btns">
|
||||
<!-- 2022-11-30注释 后面放开 -->
|
||||
<!-- <div class="btn btn3" @click="openMessage">
|
||||
<div class="btn btn3" @click="openMessage" style="margin-right:14px;">
|
||||
<div class="search"></div>
|
||||
<div class="btnText">导出</div>
|
||||
</div> -->
|
||||
</div>
|
||||
<div class="btn btn3" @click="of_hShow">
|
||||
<div class="search"></div>
|
||||
<div class="btnText">新建课程</div>
|
||||
@@ -1099,6 +1099,10 @@
|
||||
<div class="search"></div>
|
||||
<div class="btnText">搜索</div>
|
||||
</div>
|
||||
<div class="btn btn2" @click="reseatSearchTable3">
|
||||
<div class="search"></div>
|
||||
<div class="btnText">重置</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bm_table" style="margin-bottom: 20px">
|
||||
@@ -2307,7 +2311,6 @@ import {
|
||||
detail,
|
||||
detailPlan,
|
||||
handle,
|
||||
exportP,
|
||||
deletePlan,
|
||||
planList,
|
||||
editPlan,
|
||||
@@ -4136,6 +4139,14 @@ export default defineComponent({
|
||||
state.manageStuLoading = true;
|
||||
getCourseStudentList();
|
||||
};
|
||||
|
||||
const reseatSearchTable3 = () => {
|
||||
state.currentPage222 = 1;
|
||||
state.gl_inputV2 = "";
|
||||
state.gl_selectV2 = undefined;
|
||||
state.manageStuLoading = true;
|
||||
getCourseStudentList();
|
||||
}
|
||||
// const getTableDate33 = async () => {
|
||||
// let datas = state.tableData2;
|
||||
// let res = await listReview({
|
||||
@@ -4934,7 +4945,12 @@ export default defineComponent({
|
||||
);
|
||||
endTime = parseInt(new Date(state.projectTime[1].$d).getTime() / 1000);
|
||||
}
|
||||
exportP({
|
||||
|
||||
window.open(
|
||||
`${process.env.VUE_APP_PROXY_URL}admin/offcourse/export?pageNo=${state.currentPage1}&pageSize=${state.pageSize1}&auditStatus=${state.auditStatus?state.auditStatus:""}&categoryId=${state.categoryId?state.categoryId:""}&projectName=${state.projectName?state.projectName:""}&name=${state.name?state.name:""}&createName=${state.createName?state.createName:""}&endTime=${endTime?endTime:""}&beginTime=${startTime?startTime:""}`
|
||||
);
|
||||
|
||||
{/* exportP({
|
||||
pageNo: state.currentPage1,
|
||||
pageSize: state.pageSize1,
|
||||
auditStatus: state.auditStatus,
|
||||
@@ -4948,7 +4964,7 @@ export default defineComponent({
|
||||
if (res.data.code === 200) {
|
||||
message.success("导出成功");
|
||||
}
|
||||
});
|
||||
}); */}
|
||||
};
|
||||
//获取教师
|
||||
const getTea = async () => {
|
||||
@@ -5259,7 +5275,7 @@ export default defineComponent({
|
||||
console.log("开课管理学员搜索参数", {
|
||||
pageNo: state.currentPage222,
|
||||
pageSize: 10,
|
||||
status: state.gl_selectV2 ? state.gl_selectV2 : "",
|
||||
status: state.gl_selectV2,
|
||||
studentName: state.gl_inputV2,
|
||||
id: state.currentFaceId,
|
||||
});
|
||||
@@ -5267,7 +5283,7 @@ export default defineComponent({
|
||||
.GetCourseStudent({
|
||||
pageNo: state.currentPage222,
|
||||
pageSize: 10,
|
||||
status: state.gl_selectV2 ? state.gl_selectV2 : "",
|
||||
status: state.gl_selectV2,
|
||||
studentName: state.gl_inputV2,
|
||||
id: state.currentFaceId,
|
||||
})
|
||||
@@ -5511,6 +5527,7 @@ export default defineComponent({
|
||||
handleRestTable,
|
||||
handleSearchTable2,
|
||||
handleSearchTable3,
|
||||
reseatSearchTable3,
|
||||
handleGuan22,
|
||||
handleStart,
|
||||
handleCopyP,
|
||||
@@ -6879,6 +6896,26 @@ export default defineComponent({
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
|
||||
.btn2 {
|
||||
.search {
|
||||
width: 15px;
|
||||
height: 17px;
|
||||
background-image: url("@/assets/images/coursewareManage/reset1.png");
|
||||
}
|
||||
}
|
||||
|
||||
.btn2:hover {
|
||||
background: rgba(64, 158, 255, 1);
|
||||
|
||||
.search {
|
||||
background-image: url("@/assets/images/coursewareManage/reset0.png");
|
||||
}
|
||||
|
||||
.btnText {
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user