From bc8ab182b49bf80de706c70e0247e8253b84fdcf Mon Sep 17 00:00:00 2001 From: wyx Date: Mon, 9 Jan 2023 15:36:40 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=E8=AF=BE=E7=A8=8B?= =?UTF-8?q?=E5=BA=93-=E9=9D=A2=E6=8E=88=E5=88=97=E8=A1=A8=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=EF=BC=9B=E5=A2=9E=E5=8A=A0=E7=AE=A1=E7=90=86=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E5=AD=A6=E5=91=98=E6=90=9C=E7=B4=A2=E9=87=8D=E7=BD=AE?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E6=94=B9=E7=8A=B6=E6=80=81=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/courselibrary/CoursewareManage.vue | 51 +++++++++++++++++--- 1 file changed, 44 insertions(+), 7 deletions(-) diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index f66675fc..ffc44aff 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -93,10 +93,10 @@
- +
新建课程
@@ -1099,6 +1099,10 @@
搜索
+
+ +
重置
+
@@ -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; + } + } } } }