|
@@ -12,7 +12,12 @@
|
|
|
|
|
|
<div class="flex items-center">
|
|
|
<optionSelect @optionClick="optionClick" />
|
|
|
-
|
|
|
+ </div>
|
|
|
+ <div class="w-270px searchBtn" @click="handleSearch">
|
|
|
+ <el-input v-model="searchVal" class="w-50 mt-2 h-auto" placeholder="请输入搜索内容" />
|
|
|
+ <div class="w-26px h-26px rounded searchBtnIcon">
|
|
|
+ <img src="/images/searchBtnIcon.png" alt="">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="flex justify-between mt-4 exportBtn">
|
|
|
<div>
|
|
@@ -56,22 +61,26 @@
|
|
|
<!-- dialog -->
|
|
|
<el-dialog v-model="dialogTableVisible" title="校三率一分" style="width: 90%;">
|
|
|
<el-table :data="tableData" style="width: 100%;">
|
|
|
- <el-table-column prop="xx" label="学校" show-overflow-tooltip width="200" />
|
|
|
- <el-table-column prop="bj" label="班级" width="120" />
|
|
|
- <el-table-column prop="pm" label="排名" />
|
|
|
- <el-table-column prop="pjf" label="平均分" />
|
|
|
- <el-table-column prop="ykrs" label="应考人数" />
|
|
|
- <el-table-column prop="skrs" label="实考人数" />
|
|
|
- <el-table-column prop="zgf" label="最高分" />
|
|
|
- <el-table-column prop="yxrs" label="优秀人数" />
|
|
|
- <el-table-column prop="yxl" label="优秀率" />
|
|
|
- <el-table-column prop="jgrs" label="及格人数" />
|
|
|
- <el-table-column prop="jgl" label="及格率" />
|
|
|
- <el-table-column prop="dfrs" label="低分人数" />
|
|
|
- <el-table-column prop="dfl" label="低分率" />
|
|
|
- <el-table-column prop="nd" label="难度" />
|
|
|
- <el-table-column prop="qfd" label="区分度" />
|
|
|
- <el-table-column prop="bzc" label="标椎差" />
|
|
|
+ <el-table-column prop="xx" label="学校" show-overflow-tooltip />
|
|
|
+ <el-table-column prop="ksrs" label="考试人数"/>
|
|
|
+ <el-table-column prop="skrs" label="实考人数"/>
|
|
|
+ <el-table-column prop="zgf" label="最高分"/>
|
|
|
+ <el-table-column prop="pjf" label="平均分"/>
|
|
|
+ <el-table-column prop="pjfpm" label="平均分排名"/>
|
|
|
+ <el-table-column prop="pjfdf" label="平均分(得分)"/>
|
|
|
+ <el-table-column prop="yxl" label="优秀率"/>
|
|
|
+ <el-table-column prop="yxlpm" label="优秀率排名"/>
|
|
|
+ <el-table-column prop="yxldf" label="优秀率得分(30%)"/>
|
|
|
+ <el-table-column prop="jgl" label="及格率"/>
|
|
|
+ <el-table-column prop="jglpm" label="及格率排名"/>
|
|
|
+ <el-table-column prop="jgldf" label="及格率得分(30%)"/>
|
|
|
+ <el-table-column prop="dfrs" label="低分人数"/>
|
|
|
+ <el-table-column prop="dfl" label="低分率"/>
|
|
|
+ <el-table-column prop="zdf" label="总得分(100)"/>
|
|
|
+ <el-table-column prop="zpm" label="总排名"/>
|
|
|
+ <el-table-column prop="nd" label="难度"/>
|
|
|
+ <el-table-column prop="qfd" label="区分度"/>
|
|
|
+ <el-table-column prop="bzc" label="标准差 "/>
|
|
|
</el-table>
|
|
|
<template #footer>
|
|
|
<span class="dialog-footer">
|
|
@@ -107,13 +116,17 @@ const parentClick = (val) => {
|
|
|
ykjId.value = route.params.ykj_id;
|
|
|
}
|
|
|
|
|
|
+const searchVal = ref();
|
|
|
+
|
|
|
+
|
|
|
const tableData = ref([]);
|
|
|
+const totalPage = ref();
|
|
|
+const pageNum = ref(0);
|
|
|
ykjId.value = route.params.ykj_id;
|
|
|
|
|
|
onMounted(() => {
|
|
|
initData()
|
|
|
})
|
|
|
-const totalPage = ref();
|
|
|
|
|
|
const school_id = ref("");
|
|
|
const grade_id = ref("");
|
|
@@ -124,7 +137,11 @@ const initData =() => {
|
|
|
school_id:school_id.value,
|
|
|
cm_id: grade_id.value,
|
|
|
xueke_id: xueke_id.value,
|
|
|
- jh_id:route.params.ykj_id
|
|
|
+ jh_id: route.params.ykj_id,
|
|
|
+ yscjd_rkjs: user.value.user_id,
|
|
|
+ keyword:searchVal.value,
|
|
|
+ page: pageNum.value,
|
|
|
+ limit:10,
|
|
|
}
|
|
|
cjfx_slyf_list(transObj)
|
|
|
.then(res => {
|
|
@@ -147,11 +164,16 @@ const optionClick = (val: any, marke: any) => {
|
|
|
}
|
|
|
initData();
|
|
|
}
|
|
|
-
|
|
|
+//搜索
|
|
|
+const handleSearch = () => {
|
|
|
+ initData();
|
|
|
+}
|
|
|
//重置
|
|
|
const restBtn = () => {
|
|
|
- normal_teacher = "";
|
|
|
-
|
|
|
+ school_id.value = '';
|
|
|
+ grade_id.value ='';
|
|
|
+ xueke_id.value = '';
|
|
|
+ initData();
|
|
|
}
|
|
|
//导出
|
|
|
const exportBtn = () => {
|
|
@@ -160,7 +182,6 @@ const exportBtn = () => {
|
|
|
window.open(fullUrl,'_blank')
|
|
|
}
|
|
|
|
|
|
-
|
|
|
//弹出框
|
|
|
const dialogTableVisible = ref(false)
|
|
|
const openDialog = () => {
|
|
@@ -171,6 +192,9 @@ const openDialog = () => {
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
+::v-deep .el-input__wrapper{
|
|
|
+ height:40px;
|
|
|
+}
|
|
|
::v-deep .el-sub-menu__title {
|
|
|
background: #003eee;
|
|
|
color: #fff;
|
|
@@ -235,4 +259,23 @@ const openDialog = () => {
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
+.searchBtn{
|
|
|
+ position:relative;
|
|
|
+}
|
|
|
+.searchBtnIcon{
|
|
|
+ background-color: #0040EE;
|
|
|
+ position:absolute;
|
|
|
+ right:2%;
|
|
|
+ top:50%;
|
|
|
+ z-index:12;
|
|
|
+ transform: translate(0,-9px);
|
|
|
+ text-align:center;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
+.searchBtnIcon img{
|
|
|
+ width:60%;
|
|
|
+ height:60%;
|
|
|
+ display:inline-block;
|
|
|
+}
|
|
|
+
|
|
|
</style>
|