|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
<div v-if="sfxk == 0">
|
|
|
|
|
<div style="text-align: center">
|
|
|
|
|
<img src="../../../assets/images/Course-selection.png" style="margin-top:200px; width:600px" />
|
|
|
|
|
<div style="color:#606266; font-weight: 700; font-size: 20; margin-top:20px">您还没有选课,请先选择课程</div>
|
|
|
|
|
<div style="color:#606266; font-weight: 700; font-size: 20px; margin-top:20px">您还没有选课,请先选择课程</div>
|
|
|
|
|
<a-button type="primary" style="margin-left: 10px; margin-top: 10px" @click="handleXuanke">选课</a-button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -13,20 +13,20 @@
|
|
|
|
|
<a-form ref="formRef" @keyup.enter.native="searchQuery2" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol" class="query-criteria">
|
|
|
|
|
<a-row :gutter="24">
|
|
|
|
|
<a-col :lg="6">
|
|
|
|
|
<a-form-item name="zjxnxq">
|
|
|
|
|
<template #label><span title="学年学期">学年学期</span></template>
|
|
|
|
|
<j-dict-select-tag placeholder="请选择学年学期" v-model:value="queryParam2.zjxnxq" :dictCode="`v_xqxn,xqxn,xqxn`" allow-clear />
|
|
|
|
|
<a-form-item name="xn">
|
|
|
|
|
<template #label><span title="学年" class="xn-title">学年</span></template>
|
|
|
|
|
<j-dict-select-tag placeholder="请选择学年" v-model:value="queryParam2.xn" :dictCode="`v_xn,xn,xn`" allow-clear />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<!-- <a-col :lg="6">
|
|
|
|
|
<a-col :lg="6">
|
|
|
|
|
<a-form-item name="xqmc">
|
|
|
|
|
<template #label><span title="学期">学期</span></template>
|
|
|
|
|
<template #label><span title="学期" class="xn-title">学期</span></template>
|
|
|
|
|
<j-dict-select-tag placeholder="请选择学期" v-model:value="queryParam2.xqmc" dictCode="cjxq" allow-clear />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col> -->
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :lg="6">
|
|
|
|
|
<a-form-item name="kkyxmc">
|
|
|
|
|
<template #label><span title="开课单位名称">开课单位名称</span></template>
|
|
|
|
|
<template #label><span title="开课单位名称" class="xn-title">开课单位名称</span></template>
|
|
|
|
|
<j-dict-select-tag
|
|
|
|
|
placeholder="请选择开课单位名称"
|
|
|
|
|
v-model:value="queryParam2.kkyxmc"
|
|
|
|
@ -37,7 +37,7 @@
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :lg="6">
|
|
|
|
|
<a-form-item name="zhunaye">
|
|
|
|
|
<template #label><span title="所属专业">所属专业</span></template>
|
|
|
|
|
<template #label><span title="所属专业" class="xn-title">所属专业</span></template>
|
|
|
|
|
<j-dict-select-tag
|
|
|
|
|
placeholder="请选择所属专业"
|
|
|
|
|
v-model:value="queryParam2.zhuanye"
|
|
|
|
@ -47,14 +47,14 @@
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :lg="6">
|
|
|
|
|
<a-form-item name="teaxm">
|
|
|
|
|
<template #label><span title="任课教师">任课教师</span></template>
|
|
|
|
|
<a-form-item name="kcmc">
|
|
|
|
|
<template #label><span title="任课教师" class="xn-title">任课教师</span></template>
|
|
|
|
|
<j-input placeholder="请输入任课教师" v-model:value="queryParam2.teaxm" allow-clear></j-input>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :lg="6">
|
|
|
|
|
<a-form-item name="zhicheng">
|
|
|
|
|
<template #label><span title="职称">职称</span></template>
|
|
|
|
|
<template #label><span title="职称" class="xn-title">职称</span></template>
|
|
|
|
|
<j-dict-select-tag
|
|
|
|
|
placeholder="请选择职称"
|
|
|
|
|
v-model:value="queryParam2.zhicheng"
|
|
|
|
@ -63,7 +63,7 @@
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="18" style="text-align: right">
|
|
|
|
|
<a-col :span="12" style="text-align: right">
|
|
|
|
|
<a-button type="primary" preIcon="ant-design:search-outlined" @click="searchQuery2">查询</a-button>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
@ -79,7 +79,7 @@
|
|
|
|
|
>
|
|
|
|
|
<template #bodyCell="{ column, record }">
|
|
|
|
|
<template v-if="column.dataIndex === 'action'">
|
|
|
|
|
<a @click="handleQueren(record)">选择</a>
|
|
|
|
|
<a @click="handleQueren(record)">确认</a>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
</a-table>
|
|
|
|
@ -87,7 +87,7 @@
|
|
|
|
|
<a-table :columns="columns2" :data-source="checkData" :pagination="false">
|
|
|
|
|
<template #bodyCell="{ column, record }">
|
|
|
|
|
<template v-if="column.dataIndex === 'action'">
|
|
|
|
|
<a @click="handleDel(record)">移除</a>
|
|
|
|
|
<a @click="handleDel(record)">删除</a>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
</a-table>
|
|
|
|
@ -96,7 +96,7 @@
|
|
|
|
|
<a-button type="primary" style="margin-left: 10px; margin-top: 10px" @click="handleFanhui">返回</a-button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 学生成绩 -->
|
|
|
|
|
<!-- 成绩单 -->
|
|
|
|
|
<div v-show="sfxk == 2">
|
|
|
|
|
<CjdForm ref="cjdFormModal" @callback="init"></CjdForm>
|
|
|
|
|
</div>
|
|
|
|
@ -118,15 +118,35 @@
|
|
|
|
|
<div class="jeecg-basic-table-form-container">
|
|
|
|
|
<a-form ref="formRef" @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol" class="query-criteria">
|
|
|
|
|
<a-row :gutter="24">
|
|
|
|
|
<!-- <a-col :span="24" style="text-align: right;margin-bottom: 20px;">
|
|
|
|
|
模板下载:
|
|
|
|
|
<a-popover placement="topRight" type="primary">
|
|
|
|
|
<template #content>
|
|
|
|
|
<a-button type="primary" style="margin-left: 10px;margin-top: 10px" @click="textDown('a1','课堂教学评价表')">课堂教学评价表</a-button>
|
|
|
|
|
<a-button type="primary" style="margin-left: 10px;margin-top: 10px" @click="textDown('a2','试卷评价表')">试卷评价表</a-button>
|
|
|
|
|
<a-button type="primary" style="margin-left: 10px;margin-top: 10px" @click="textDown('a3','本科毕业论文(设计)评价表')">本科毕业论文(设计)评价表</a-button>
|
|
|
|
|
</template>
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>专家用评价表</span>
|
|
|
|
|
</template>
|
|
|
|
|
<a-button>专家用评价表</a-button>
|
|
|
|
|
</a-popover>
|
|
|
|
|
</a-col> -->
|
|
|
|
|
<a-col :lg="6">
|
|
|
|
|
<a-form-item name="zjxnxq">
|
|
|
|
|
<template #label><span title="学年学期">学年学期</span></template>
|
|
|
|
|
<j-dict-select-tag placeholder="请选择学年学期" v-model:value="queryParam.zjxnxq" :dictCode="`v_xqxn,xqxn,xqxn`" allow-clear />
|
|
|
|
|
<a-form-item name="xn">
|
|
|
|
|
<template #label><span title="学年" class="xn-title">学年</span></template>
|
|
|
|
|
<j-dict-select-tag placeholder="请选择学年" v-model:value="queryParam.xn" :dictCode="`v_xn,xn,xn`" allow-clear />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :lg="6">
|
|
|
|
|
<a-form-item name="xqmc">
|
|
|
|
|
<template #label><span title="学期" class="xn-title">学期</span></template>
|
|
|
|
|
<j-dict-select-tag placeholder="请选择学期" v-model:value="queryParam.xqmc" dictCode="cjxq" allow-clear />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :lg="6">
|
|
|
|
|
<a-form-item name="kkyxmc">
|
|
|
|
|
<template #label><span title="开课单位名称">开课单位名称</span></template>
|
|
|
|
|
<template #label><span title="开课单位名称" class="xn-title">开课单位名称</span></template>
|
|
|
|
|
<j-dict-select-tag
|
|
|
|
|
placeholder="请选择开课单位名称"
|
|
|
|
|
v-model:value="queryParam.kkyxmc"
|
|
|
|
@ -137,7 +157,7 @@
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :lg="6">
|
|
|
|
|
<a-form-item name="zhunaye">
|
|
|
|
|
<template #label><span title="所属专业">所属专业</span></template>
|
|
|
|
|
<template #label><span title="所属专业" class="xn-title">所属专业</span></template>
|
|
|
|
|
<j-dict-select-tag
|
|
|
|
|
placeholder="请选择所属专业"
|
|
|
|
|
v-model:value="queryParam.zhuanye"
|
|
|
|
@ -148,13 +168,13 @@
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :lg="6">
|
|
|
|
|
<a-form-item name="kcmc">
|
|
|
|
|
<template #label><span title="任课教师">任课教师</span></template>
|
|
|
|
|
<template #label><span title="任课教师" class="xn-title">任课教师</span></template>
|
|
|
|
|
<j-input placeholder="请输入任课教师" v-model:value="queryParam.teaxm" allow-clear></j-input>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :lg="6">
|
|
|
|
|
<a-form-item name="zhicheng">
|
|
|
|
|
<template #label><span title="职称">职称</span></template>
|
|
|
|
|
<template #label><span title="职称" class="xn-title">职称</span></template>
|
|
|
|
|
<j-dict-select-tag
|
|
|
|
|
placeholder="请选择职称"
|
|
|
|
|
v-model:value="queryParam.zhicheng"
|
|
|
|
@ -170,17 +190,17 @@
|
|
|
|
|
<j-input placeholder="请输入课程名称" v-model:value="queryParam.kcmc" allow-clear ></j-input>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col> -->
|
|
|
|
|
<a-col :span="18" style="text-align: right">
|
|
|
|
|
<a-col :span="12" style="text-align: right">
|
|
|
|
|
<a-button type="primary" preIcon="ant-design:search-outlined" @click="searchQuery">查询</a-button>
|
|
|
|
|
<a-button type="primary" preIcon="ant-design:reload-outlined" @click="searchReset" style="margin-left: 8px">重置</a-button>
|
|
|
|
|
<!-- <a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls" style="margin-left: 8px"> 导出</a-button> -->
|
|
|
|
|
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls" style="margin-left: 8px"> 导出</a-button>
|
|
|
|
|
<a-button type="primary" preIcon="ant-design:export-outlined" @click="handleXuanke" style="margin-left: 8px"> 选课</a-button>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
</a-form>
|
|
|
|
|
</div>
|
|
|
|
|
<!--引用表格-->
|
|
|
|
|
<BasicTable @register="registerTable">
|
|
|
|
|
<BasicTable @register="registerTable" class="table-style">
|
|
|
|
|
<!--操作栏-->
|
|
|
|
|
<template #action="{ record }">
|
|
|
|
|
<TableAction :actions="getTableAction(record)" />
|
|
|
|
@ -280,7 +300,7 @@ const paginationProp = ref<any>({
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
pageNo: 1,
|
|
|
|
|
});
|
|
|
|
|
//学生成绩
|
|
|
|
|
//成绩单
|
|
|
|
|
function handleCjd(record) {
|
|
|
|
|
sfxk.value = 2;
|
|
|
|
|
cjdFormModal.value.init(record);
|
|
|
|
@ -386,7 +406,7 @@ function handleSuccess() {
|
|
|
|
|
function getTableAction(record) {
|
|
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
label: '学生成绩',
|
|
|
|
|
label: '成绩单',
|
|
|
|
|
onClick: handleCjd.bind(null, record),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -481,7 +501,7 @@ onMounted(() => {
|
|
|
|
|
border-radius:4px;
|
|
|
|
|
}
|
|
|
|
|
.query-criteria:hover{
|
|
|
|
|
border:1px solid #e8ecf4;
|
|
|
|
|
border:1px solid #c5d8ff;
|
|
|
|
|
box-shadow: 2px 2px 10px 2px #e8ecf4;
|
|
|
|
|
border-radius:4px;
|
|
|
|
|
}
|
|
|
|
@ -496,4 +516,8 @@ onMounted(() => {
|
|
|
|
|
box-shadow: 2px 2px 10px 2px #e8ecf4;
|
|
|
|
|
border-radius:4px;
|
|
|
|
|
}
|
|
|
|
|
.xn-title{
|
|
|
|
|
font-size:16px;
|
|
|
|
|
font-weight:700;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|