添加学生评教结果功能
This commit is contained in:
parent
29f113c066
commit
2279660094
|
@ -60,6 +60,15 @@ const site: AppRouteModule = {
|
|||
title: '评价结果',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'xspjjgore',
|
||||
name: 'xspjjgore',
|
||||
component: () => import('/@/views/site/pjjgPage/studentPjjgMoreList.vue'),
|
||||
meta: {
|
||||
// affix: true,
|
||||
title: '学生评教结果',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'gkkMore',
|
||||
name: 'gkkMore',
|
||||
|
|
|
@ -32,11 +32,11 @@ export function formatAddDate(date,days){
|
|||
var year = dates.getFullYear()
|
||||
var month = dates.getMonth()+1
|
||||
var day = dates.getDate()
|
||||
if(month<9)
|
||||
if(month<=9)
|
||||
{
|
||||
month="0"+month
|
||||
}
|
||||
if(day<9)
|
||||
if(day<=9)
|
||||
{
|
||||
day="0"+day
|
||||
}
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
<a-spin :spinning="confirmLoading">
|
||||
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<a-row>
|
||||
<a-col :span="24">
|
||||
<!-- <a-col :span="24">
|
||||
<a-form-item label="教师姓名" v-bind="validateInfos.teacherName">
|
||||
<a-input v-model:value="formData.teacherName" placeholder="请输入教师姓名" :disabled="disabled" @change="handleTeacherNameChange"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-col> -->
|
||||
<a-col :span="24">
|
||||
<a-form-item label="微信openid" v-bind="validateInfos.openid">
|
||||
<a-form-item label="教师工号" v-bind="validateInfos.openid">
|
||||
<a-input v-model:value="formData.openid" placeholder="请输入微信openid" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
@ -19,7 +19,7 @@
|
|||
</a-col> -->
|
||||
<a-col :span="24">
|
||||
<a-form-item label="推送内容" v-bind="validateInfos.ytkcs">
|
||||
<a-input v-model:value="formData.ytkcs" placeholder="请输入推送内容,最大20个字" :disabled="disabled"></a-input>
|
||||
<a-textarea v-model:value="formData.ytkcs" placeholder="请输入推送内容,最大20个字" :disabled="disabled"></a-textarea>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<!-- <a-col :span="24">
|
||||
|
@ -56,7 +56,7 @@
|
|||
const emit = defineEmits(['register', 'ok']);
|
||||
const formData = reactive<Record<string, any>>({
|
||||
id: '',
|
||||
teacherName: '',
|
||||
// teacherName: '',
|
||||
// xqxn: '',
|
||||
ytkcs: '',
|
||||
// sjtkcs: '',
|
||||
|
@ -69,9 +69,9 @@
|
|||
const confirmLoading = ref<boolean>(false);
|
||||
//表单验证
|
||||
const validatorRules = {
|
||||
teacherName: [{ required: true, message: '请输入教师姓名!'},],
|
||||
// teacherName: [{ required: true, message: '请输入教师姓名!'},],
|
||||
openid: [{ required: true, message: '请输入微信openid!'},],
|
||||
ytkcs: [{ required: true, message: '请输入应听课次数!'},],
|
||||
ytkcs: [{ required: true, message: '请输入推送内容!'},],
|
||||
// sjtkcs: [{ required: true, message: '请输入实际听课次数!'},],
|
||||
};
|
||||
const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: true });
|
||||
|
|
|
@ -0,0 +1,72 @@
|
|||
import { defHttp } from '/@/utils/http/axios';
|
||||
import { useMessage } from "/@/hooks/web/useMessage";
|
||||
|
||||
const { createConfirm } = useMessage();
|
||||
|
||||
enum Api {
|
||||
list = '/kcXsktjxmydcp/kcXsktjxmydcp/list',
|
||||
save='/kcXsktjxmydcp/kcXsktjxmydcp/add',
|
||||
edit='/kcXsktjxmydcp/kcXsktjxmydcp/edit',
|
||||
deleteOne = '/kcXsktjxmydcp/kcXsktjxmydcp/delete',
|
||||
deleteBatch = '/kcXsktjxmydcp/kcXsktjxmydcp/deleteBatch',
|
||||
importExcel = '/kcXsktjxmydcp/kcXsktjxmydcp/importExcel',
|
||||
exportXls = '/kcXsktjxmydcp/kcXsktjxmydcp/exportXls',
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出api
|
||||
* @param params
|
||||
*/
|
||||
export const getExportUrl = Api.exportXls;
|
||||
|
||||
/**
|
||||
* 导入api
|
||||
*/
|
||||
export const getImportUrl = Api.importExcel;
|
||||
|
||||
/**
|
||||
* 列表接口
|
||||
* @param params
|
||||
*/
|
||||
export const list = (params) => defHttp.get({ url: Api.list, params });
|
||||
|
||||
/**
|
||||
* 删除单个
|
||||
* @param params
|
||||
* @param handleSuccess
|
||||
*/
|
||||
export const deleteOne = (params,handleSuccess) => {
|
||||
return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => {
|
||||
handleSuccess();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
* @param params
|
||||
* @param handleSuccess
|
||||
*/
|
||||
export const batchDelete = (params, handleSuccess) => {
|
||||
createConfirm({
|
||||
iconType: 'warning',
|
||||
title: '确认删除',
|
||||
content: '是否删除选中数据',
|
||||
okText: '确认',
|
||||
cancelText: '取消',
|
||||
onOk: () => {
|
||||
return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => {
|
||||
handleSuccess();
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存或者更新
|
||||
* @param params
|
||||
* @param isUpdate
|
||||
*/
|
||||
export const saveOrUpdate = (params, isUpdate) => {
|
||||
let url = isUpdate ? Api.edit : Api.save;
|
||||
return defHttp.post({ url: url, params }, { isTransformResponse: false });
|
||||
}
|
|
@ -0,0 +1,282 @@
|
|||
import {BasicColumn} from '/@/components/Table';
|
||||
import {FormSchema} from '/@/components/Table';
|
||||
import { rules} from '/@/utils/helper/validator';
|
||||
import { render } from '/@/utils/common/renderUtils';
|
||||
//列表数据
|
||||
export const columns: BasicColumn[] = [
|
||||
{
|
||||
title: '开课通知单号',
|
||||
align: "center",
|
||||
dataIndex: 'kktzdh'
|
||||
},
|
||||
{
|
||||
title: '课程编号',
|
||||
align: "center",
|
||||
dataIndex: 'kcbh'
|
||||
},
|
||||
{
|
||||
title: '课程名称',
|
||||
align: "center",
|
||||
dataIndex: 'kcmc'
|
||||
},
|
||||
{
|
||||
title: '教工号',
|
||||
align: "center",
|
||||
dataIndex: 'jgh'
|
||||
},
|
||||
{
|
||||
title: '授课教师',
|
||||
align: "center",
|
||||
dataIndex: 'skjs'
|
||||
},
|
||||
{
|
||||
title: '开课单位',
|
||||
align: "center",
|
||||
dataIndex: 'kkdw'
|
||||
},
|
||||
{
|
||||
title: '实验学时',
|
||||
align: "center",
|
||||
dataIndex: 'sxxs'
|
||||
},
|
||||
{
|
||||
title: '实践学时',
|
||||
align: "center",
|
||||
dataIndex: 'sjxs'
|
||||
},
|
||||
{
|
||||
title: '讲座学时',
|
||||
align: "center",
|
||||
dataIndex: 'jzxs'
|
||||
},
|
||||
{
|
||||
title: '讲课学时',
|
||||
align: "center",
|
||||
dataIndex: 'jkxs'
|
||||
},
|
||||
{
|
||||
title: '学生人数',
|
||||
align: "center",
|
||||
dataIndex: 'xsrs'
|
||||
},
|
||||
{
|
||||
title: '样本总数',
|
||||
align: "center",
|
||||
dataIndex: 'ybzs'
|
||||
},
|
||||
{
|
||||
title: '参评率(%)',
|
||||
align: "center",
|
||||
dataIndex: 'cpl'
|
||||
},
|
||||
{
|
||||
title: '有效数',
|
||||
align: "center",
|
||||
dataIndex: 'yxs'
|
||||
},
|
||||
{
|
||||
title: '综合评价',
|
||||
align: "center",
|
||||
dataIndex: 'zhpj'
|
||||
},
|
||||
{
|
||||
title: '重视学生的成长引领,关心学生的学习需求,乐于与学生交流。',
|
||||
align: "center",
|
||||
dataIndex: 'col1'
|
||||
},
|
||||
{
|
||||
title: '上课准备充分。课堂教学秩序良好。作业布置合理,反馈及时。',
|
||||
align: "center",
|
||||
dataIndex: 'col2'
|
||||
},
|
||||
{
|
||||
title: '教学目标明确,重点突出,逻辑性强',
|
||||
align: "center",
|
||||
dataIndex: 'col3'
|
||||
},
|
||||
{
|
||||
title: '教学内容清晰易懂,体现适当的深度、广度和前沿性。',
|
||||
align: "center",
|
||||
dataIndex: 'col4'
|
||||
},
|
||||
{
|
||||
title: '教学方法合理。教学媒体得当,课程资源丰富。',
|
||||
align: "center",
|
||||
dataIndex: 'col5'
|
||||
},
|
||||
{
|
||||
title: '教师知识渊博,教学水平高,教学特色鲜明,教学有吸引力。',
|
||||
align: "center",
|
||||
dataIndex: 'col6'
|
||||
},
|
||||
{
|
||||
title: '教学语言规范、准确,情绪饱满,热忱投入,为人师表',
|
||||
align: "center",
|
||||
dataIndex: 'col7'
|
||||
},
|
||||
{
|
||||
title: '教学中启发学生思考,引导自主学习,激发学习动力,鼓励创新探索。',
|
||||
align: "center",
|
||||
dataIndex: 'col8'
|
||||
},
|
||||
{
|
||||
title: '掌握了所学课程的基础知识和基本理论,能用所学知识解决实际问题。',
|
||||
align: "center",
|
||||
dataIndex: 'col9'
|
||||
},
|
||||
{
|
||||
title: '体会到本门课程学习的乐趣和挑战,理解课程内容的意义与价值。',
|
||||
align: "center",
|
||||
dataIndex: 'col10'
|
||||
},
|
||||
{
|
||||
title: '学年学期',
|
||||
align: "center",
|
||||
dataIndex: 'xnxq'
|
||||
},
|
||||
];
|
||||
|
||||
//查询数据
|
||||
export const searchFormSchema: FormSchema[] = [
|
||||
];
|
||||
|
||||
//表单数据
|
||||
export const formSchema: FormSchema[] = [
|
||||
{
|
||||
label: '开课通知单号',
|
||||
field: 'kktzdh',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '课程编号',
|
||||
field: 'kcbh',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '课程名称',
|
||||
field: 'kcmc',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '教工号',
|
||||
field: 'jgh',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '授课教师',
|
||||
field: 'skjs',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '开课单位',
|
||||
field: 'kkdw',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '实验学时',
|
||||
field: 'sxxs',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '实践学时',
|
||||
field: 'sjxs',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '讲座学时',
|
||||
field: 'jzxs',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '讲课学时',
|
||||
field: 'jkxs',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '学生人数',
|
||||
field: 'xsrs',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '样本总数',
|
||||
field: 'ybzs',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '参评率(%)',
|
||||
field: 'cpl',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '有效数',
|
||||
field: 'yxs',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '综合评价',
|
||||
field: 'zhpj',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '重视学生的成长引领,关心学生的学习需求,乐于与学生交流。',
|
||||
field: 'col1',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '上课准备充分。课堂教学秩序良好。作业布置合理,反馈及时。',
|
||||
field: 'col2',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '教学目标明确,重点突出,逻辑性强',
|
||||
field: 'col3',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '教学内容清晰易懂,体现适当的深度、广度和前沿性。',
|
||||
field: 'col4',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '教学方法合理。教学媒体得当,课程资源丰富。',
|
||||
field: 'col5',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '教师知识渊博,教学水平高,教学特色鲜明,教学有吸引力。',
|
||||
field: 'col6',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '教学语言规范、准确,情绪饱满,热忱投入,为人师表',
|
||||
field: 'col7',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '教学中启发学生思考,引导自主学习,激发学习动力,鼓励创新探索。',
|
||||
field: 'col8',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '掌握了所学课程的基础知识和基本理论,能用所学知识解决实际问题。',
|
||||
field: 'col9',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '体会到本门课程学习的乐趣和挑战,理解课程内容的意义与价值。',
|
||||
field: 'col10',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
label: '学年学期',
|
||||
field: 'xnxq',
|
||||
component: 'Input',
|
||||
},
|
||||
// TODO 主键隐藏字段,目前写死为ID
|
||||
{
|
||||
label: '',
|
||||
field: 'id',
|
||||
component: 'Input',
|
||||
show: false,
|
||||
},
|
||||
];
|
|
@ -0,0 +1,245 @@
|
|||
<template>
|
||||
<div>
|
||||
<!--查询区域-->
|
||||
<div class="jeecg-basic-table-form-container">
|
||||
<a-form @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol">
|
||||
<a-row :gutter="24">
|
||||
<a-col :lg="8">
|
||||
<a-form-item label="学期学年">
|
||||
<j-dict-select-tag ref="xqDictTag" placeholder="请选择学年学期" v-model:value="queryParam.xnxq" dictCode="kc_xqxn_history,title,title,true order by start_time desc"/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="8">
|
||||
<a-form-item label="课程名称">
|
||||
<j-input placeholder="请填写课程名称" v-model:value="queryParam.kcmc" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="8">
|
||||
<a-form-item label="授课教师">
|
||||
<j-input placeholder="请填写授课教师" v-model:value="queryParam.skjs" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="8">
|
||||
<a-form-item label="开课单位">
|
||||
<j-input placeholder="请填写开课单位" v-model:value="queryParam.kkdw" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||
<span style="float: left; overflow: hidden" class="table-page-search-submitButtons">
|
||||
<a-col :lg="6">
|
||||
<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-col>
|
||||
</span>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-form>
|
||||
</div>
|
||||
<!--引用表格-->
|
||||
<BasicTable @register="registerTable" :rowSelection="rowSelection">
|
||||
<!--插槽:table标题-->
|
||||
<template #tableTitle>
|
||||
<a-button type="primary" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button>
|
||||
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
||||
<j-upload-button type="primary" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
||||
<a-dropdown v-if="selectedRowKeys.length > 0">
|
||||
<template #overlay>
|
||||
<a-menu>
|
||||
<a-menu-item key="1" @click="batchHandleDelete">
|
||||
<Icon icon="ant-design:delete-outlined"></Icon>
|
||||
删除
|
||||
</a-menu-item>
|
||||
</a-menu>
|
||||
</template>
|
||||
<a-button>批量操作
|
||||
<Icon icon="mdi:chevron-down"></Icon>
|
||||
</a-button>
|
||||
</a-dropdown>
|
||||
</template>
|
||||
<!--操作栏-->
|
||||
<template #action="{ record }">
|
||||
<TableAction :actions="getTableAction(record)" :dropDownActions="getDropDownAction(record)"/>
|
||||
</template>
|
||||
<!--字段回显插槽-->
|
||||
<template #htmlSlot="{text}">
|
||||
<div v-html="text"></div>
|
||||
</template>
|
||||
<!--省市区字段回显插槽-->
|
||||
<!--<template #pcaSlot="{text}">
|
||||
{{ getAreaTextByCode(text) }}
|
||||
</template>-->
|
||||
<template #fileSlot="{text}">
|
||||
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
|
||||
<a-button v-else :ghost="true" type="primary" preIcon="ant-design:download-outlined" size="small" @click="downloadFile(text)">下载</a-button>
|
||||
</template>
|
||||
</BasicTable>
|
||||
<!-- 表单区域 -->
|
||||
<KcXsktjxmydcpModal ref="registerModal" @success="handleSuccess"></KcXsktjxmydcpModal>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" name="kcXsktjxmydcp-kcXsktjxmydcp" setup>
|
||||
import { ref, reactive } from 'vue';
|
||||
import { BasicTable, useTable, TableAction } from '/@/components/Table';
|
||||
import { useListPage } from '/@/hooks/system/useListPage';
|
||||
import { columns } from './KcXsktjxmydcp.data';
|
||||
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './KcXsktjxmydcp.api';
|
||||
import { downloadFile } from '/@/utils/common/renderUtils';
|
||||
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
|
||||
import { JInput } from '/@/components/Form';
|
||||
import KcXsktjxmydcpModal from './components/KcXsktjxmydcpModal.vue'
|
||||
|
||||
const queryParam = ref<any>({});
|
||||
const toggleSearchStatus = ref<boolean>(false);
|
||||
const registerModal = ref();
|
||||
//注册table数据
|
||||
const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
|
||||
tableProps: {
|
||||
title: '学生课堂教学满意度测评',
|
||||
api: list,
|
||||
columns,
|
||||
canResize:false,
|
||||
useSearchForm: false,
|
||||
actionColumn: {
|
||||
width: 120,
|
||||
fixed: 'right',
|
||||
},
|
||||
beforeFetch: (params) => {
|
||||
params.column = '',params.order = '';//新生成的默认不带排序
|
||||
return Object.assign(params, queryParam.value);
|
||||
},
|
||||
},
|
||||
exportConfig: {
|
||||
name: "学生课堂教学满意度测评",
|
||||
url: getExportUrl,
|
||||
},
|
||||
importConfig: {
|
||||
url: getImportUrl,
|
||||
success: handleSuccess
|
||||
},
|
||||
});
|
||||
const [registerTable, { reload, collapseAll, updateTableDataRecord, findTableDataRecord, getDataSource }, { rowSelection, selectedRowKeys }] = tableContext;
|
||||
const labelCol = reactive({
|
||||
xs: { span: 24 },
|
||||
sm: { span: 7 },
|
||||
});
|
||||
const wrapperCol = reactive({
|
||||
xs: { span: 24 },
|
||||
sm: { span: 16 },
|
||||
});
|
||||
|
||||
/**
|
||||
* 新增事件
|
||||
*/
|
||||
function handleAdd() {
|
||||
registerModal.value.disableSubmit = false;
|
||||
registerModal.value.add();
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑事件
|
||||
*/
|
||||
function handleEdit(record: Recordable) {
|
||||
registerModal.value.disableSubmit = false;
|
||||
registerModal.value.edit(record);
|
||||
}
|
||||
|
||||
/**
|
||||
* 详情
|
||||
*/
|
||||
function handleDetail(record: Recordable) {
|
||||
registerModal.value.disableSubmit = true;
|
||||
registerModal.value.edit(record);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除事件
|
||||
*/
|
||||
async function handleDelete(record) {
|
||||
await deleteOne({ id: record.id }, handleSuccess);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除事件
|
||||
*/
|
||||
async function batchHandleDelete() {
|
||||
await batchDelete({ ids: selectedRowKeys.value }, handleSuccess);
|
||||
}
|
||||
|
||||
/**
|
||||
* 成功回调
|
||||
*/
|
||||
function handleSuccess() {
|
||||
(selectedRowKeys.value = []) && reload();
|
||||
}
|
||||
|
||||
/**
|
||||
* 操作栏
|
||||
*/
|
||||
function getTableAction(record) {
|
||||
return [
|
||||
{
|
||||
label: '编辑',
|
||||
onClick: handleEdit.bind(null, record),
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* 下拉操作栏
|
||||
*/
|
||||
function getDropDownAction(record) {
|
||||
return [
|
||||
{
|
||||
label: '详情',
|
||||
onClick: handleDetail.bind(null, record),
|
||||
}, {
|
||||
label: '删除',
|
||||
popConfirm: {
|
||||
title: '是否确认删除',
|
||||
confirm: handleDelete.bind(null, record),
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询
|
||||
*/
|
||||
function searchQuery() {
|
||||
reload();
|
||||
}
|
||||
|
||||
/**
|
||||
* 重置
|
||||
*/
|
||||
function searchReset() {
|
||||
queryParam.value = {};
|
||||
selectedRowKeys.value = [];
|
||||
//刷新数据
|
||||
reload();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.jeecg-basic-table-form-container {
|
||||
.table-page-search-submitButtons {
|
||||
display: block;
|
||||
margin-bottom: 24px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.query-group-cust{
|
||||
width: calc(50% - 15px);
|
||||
min-width: 100px !important;
|
||||
}
|
||||
.query-group-split-cust{
|
||||
width: 30px;
|
||||
display: inline-block;
|
||||
text-align: center
|
||||
}
|
||||
}
|
||||
</style>
|
|
@ -0,0 +1,205 @@
|
|||
<template>
|
||||
<a-spin :spinning="confirmLoading">
|
||||
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<a-row>
|
||||
<a-col :span="24" style="text-align: center">
|
||||
<div style="font-size: 20px;font-weight: bold;">{{formData.kcmc}}</div>
|
||||
<div style="line-height: 40px;">
|
||||
<span>{{formData.jgh}} - </span>
|
||||
<span>{{formData.skjs}} - </span>
|
||||
<span>{{formData.kkdw}} - </span>
|
||||
<span>{{formData.xnxq}}</span>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<template #cover>
|
||||
<span style="font-size: 16px;font-weight: bold;margin: 30px 0 0 30px;">学时信息</span>
|
||||
</template>
|
||||
<a-row>
|
||||
<a-col :span="6" class="xsxxClass">实验学时:{{formData.sxxs}}</a-col>
|
||||
<a-col :span="6" class="xsxxClass">实践学时:{{formData.sjxs}}</a-col>
|
||||
<a-col :span="6" class="xsxxClass">讲座学时:{{formData.jzxs}}</a-col>
|
||||
<a-col :span="6" class="xsxxClass">综合评价:{{formData.zhpj}}</a-col>
|
||||
|
||||
<a-col :span="6" class="xsxxClass">学生人数:{{formData.xsrs}}</a-col>
|
||||
<a-col :span="6" class="xsxxClass">样本总数:{{formData.ybzs}}</a-col>
|
||||
<a-col :span="6" class="xsxxClass">参评率:{{formData.cpl}}%</a-col>
|
||||
<a-col :span="6" class="xsxxClass">有效数:{{formData.yxs}}</a-col>
|
||||
<!-- <a-col :span="6">讲课学时:{{formData.jkxs}}</a-col> -->
|
||||
</a-row>
|
||||
</a-card>
|
||||
</a-col>
|
||||
<a-col :span="24" style="margin-top: 10px;">
|
||||
<a-card >
|
||||
<template #cover>
|
||||
<span style="font-size: 16px;font-weight: bold;margin: 30px 0 0 30px;">评价指标平均分</span>
|
||||
</template>
|
||||
<a-row>
|
||||
<a-col :span="24"><span class="pjzbClass"><Icon icon="ant-design:caret-right-outlined" />重视学生的成长引领,关心学生的学习需求,乐于与学生交流:{{formData.col1}}</span></a-col>
|
||||
<a-col :span="24"><span class="pjzbClass"><Icon icon="ant-design:caret-right-outlined" />上课准备充分。课堂教学秩序良好。作业布置合理,反馈及时:{{formData.col2}}</span></a-col>
|
||||
<a-col :span="24"><span class="pjzbClass"><Icon icon="ant-design:caret-right-outlined" />教学目标明确,重点突出,逻辑性强:{{formData.col3}}</span></a-col>
|
||||
<a-col :span="24"><span class="pjzbClass"><Icon icon="ant-design:caret-right-outlined" />教学内容清晰易懂,体现适当的深度、广度和前沿性:{{formData.col4}}</span></a-col>
|
||||
<a-col :span="24"><span class="pjzbClass"><Icon icon="ant-design:caret-right-outlined" />教学方法合理。教学媒体得当,课程资源丰富:{{formData.col5}}</span></a-col>
|
||||
<a-col :span="24"><span class="pjzbClass"><Icon icon="ant-design:caret-right-outlined" />教师知识渊博,教学水平高,教学特色鲜明,教学有吸引力:{{formData.col6}}</span></a-col>
|
||||
<a-col :span="24"><span class="pjzbClass"><Icon icon="ant-design:caret-right-outlined" />教学语言规范、准确,情绪饱满,热忱投入,为人师表:{{formData.col7}}</span></a-col>
|
||||
<a-col :span="24"><span class="pjzbClass"><Icon icon="ant-design:caret-right-outlined" />教学中启发学生思考,引导自主学习,激发学习动力,鼓励创新探索:{{formData.col8}}</span></a-col>
|
||||
<a-col :span="24"><span class="pjzbClass"><Icon icon="ant-design:caret-right-outlined" />掌握了所学课程的基础知识和基本理论,能用所学知识解决实际问题:{{formData.col9}}</span></a-col>
|
||||
<a-col :span="24"><span class="pjzbClass"><Icon icon="ant-design:caret-right-outlined" />体会到本门课程学习的乐趣和挑战,理解课程内容的意义与价值:{{formData.col10}}</span></a-col>
|
||||
</a-row>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-form>
|
||||
</a-spin>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ref, reactive, defineExpose, nextTick, defineProps, computed, onMounted } from 'vue';
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
import { useMessage } from '/@/hooks/web/useMessage';
|
||||
import { getValueType } from '/@/utils';
|
||||
import { saveOrUpdate } from '../KcXsktjxmydcp.api';
|
||||
import { Form } from 'ant-design-vue';
|
||||
import { Icon } from '/@/components/Icon';
|
||||
|
||||
const props = defineProps({
|
||||
formDisabled: { type: Boolean, default: false },
|
||||
formData: { type: Object, default: ()=>{} },
|
||||
formBpm: { type: Boolean, default: true }
|
||||
});
|
||||
const formRef = ref();
|
||||
const useForm = Form.useForm;
|
||||
const emit = defineEmits(['register', 'ok']);
|
||||
const formData = reactive<Record<string, any>>({
|
||||
id: '',
|
||||
kktzdh: '',
|
||||
kcbh: '',
|
||||
kcmc: '',
|
||||
jgh: '',
|
||||
skjs: '',
|
||||
kkdw: '',
|
||||
sxxs: '',
|
||||
sjxs: '',
|
||||
jzxs: '',
|
||||
jkxs: '',
|
||||
xsrs: '',
|
||||
ybzs: '',
|
||||
cpl: '',
|
||||
yxs: '',
|
||||
zhpj: '',
|
||||
col1: '',
|
||||
col2: '',
|
||||
col3: '',
|
||||
col4: '',
|
||||
col5: '',
|
||||
col6: '',
|
||||
col7: '',
|
||||
col8: '',
|
||||
col9: '',
|
||||
col10: '',
|
||||
xnxq: '',
|
||||
});
|
||||
const { createMessage } = useMessage();
|
||||
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } });
|
||||
const wrapperCol = ref<any>({ xs: { span: 24 }, sm: { span: 16 } });
|
||||
const labelCol2 = ref<any>({ xs: { span: 24 }, sm: { span: 20 } });
|
||||
const wrapperCol2 = ref<any>({ xs: { span: 24 }, sm: { span: 4 } });
|
||||
const confirmLoading = ref<boolean>(false);
|
||||
//表单验证
|
||||
const validatorRules = {
|
||||
};
|
||||
const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: true });
|
||||
|
||||
// 表单禁用
|
||||
const disabled = computed(()=>{
|
||||
if(props.formBpm === true){
|
||||
if(props.formData.disabled === false){
|
||||
return false;
|
||||
}else{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return props.formDisabled;
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*/
|
||||
function add() {
|
||||
edit({});
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*/
|
||||
function edit(record) {
|
||||
nextTick(() => {
|
||||
resetFields();
|
||||
//赋值
|
||||
Object.assign(formData, record);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 提交数据
|
||||
*/
|
||||
async function submitForm() {
|
||||
// 触发表单验证
|
||||
await validate();
|
||||
confirmLoading.value = true;
|
||||
const isUpdate = ref<boolean>(false);
|
||||
//时间格式化
|
||||
let model = formData;
|
||||
if (model.id) {
|
||||
isUpdate.value = true;
|
||||
}
|
||||
//循环数据
|
||||
for (let data in model) {
|
||||
//如果该数据是数组并且是字符串类型
|
||||
if (model[data] instanceof Array) {
|
||||
let valueType = getValueType(formRef.value.getProps, data);
|
||||
//如果是字符串类型的需要变成以逗号分割的字符串
|
||||
if (valueType === 'string') {
|
||||
model[data] = model[data].join(',');
|
||||
}
|
||||
}
|
||||
}
|
||||
await saveOrUpdate(model, isUpdate.value)
|
||||
.then((res) => {
|
||||
if (res.success) {
|
||||
createMessage.success(res.message);
|
||||
emit('ok');
|
||||
} else {
|
||||
createMessage.warning(res.message);
|
||||
}
|
||||
})
|
||||
.finally(() => {
|
||||
confirmLoading.value = false;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
defineExpose({
|
||||
add,
|
||||
edit,
|
||||
submitForm,
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.antd-modal-form {
|
||||
min-height: 500px !important;
|
||||
overflow-y: auto;
|
||||
padding: 24px 24px 24px 24px;
|
||||
}
|
||||
.xsxxClass{
|
||||
font-size: 16px;
|
||||
line-height: 40px;
|
||||
}
|
||||
.pjzbClass{
|
||||
font-size: 16px;
|
||||
line-height: 40px;
|
||||
}
|
||||
</style>
|
|
@ -0,0 +1,75 @@
|
|||
<template>
|
||||
<a-modal :title="title" :width="width" :visible="visible" @ok="handleOk" :okButtonProps="{ class: { 'jee-hidden': disableSubmit } }" @cancel="handleCancel" cancelText="关闭">
|
||||
<KcXsktjxmydcpDetailForm ref="registerForm" @ok="submitCallback" :formDisabled="disableSubmit" :formBpm="false"></KcXsktjxmydcpDetailForm>
|
||||
</a-modal>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ref, nextTick, defineExpose } from 'vue';
|
||||
import KcXsktjxmydcpDetailForm from './KcXsktjxmydcpDetailForm.vue'
|
||||
|
||||
const title = ref<string>('');
|
||||
const width = ref<string>('80%');
|
||||
const visible = ref<boolean>(false);
|
||||
const disableSubmit = ref<boolean>(false);
|
||||
const registerForm = ref();
|
||||
const emit = defineEmits(['register', 'success']);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*/
|
||||
function add() {
|
||||
title.value = '新增';
|
||||
visible.value = true;
|
||||
nextTick(() => {
|
||||
registerForm.value.add();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
* @param record
|
||||
*/
|
||||
function edit(record) {
|
||||
title.value = disableSubmit.value ? '详情' : '编辑';
|
||||
visible.value = true;
|
||||
nextTick(() => {
|
||||
registerForm.value.edit(record);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 确定按钮点击事件
|
||||
*/
|
||||
function handleOk() {
|
||||
registerForm.value.submitForm();
|
||||
}
|
||||
|
||||
/**
|
||||
* form保存回调事件
|
||||
*/
|
||||
function submitCallback() {
|
||||
handleCancel();
|
||||
emit('success');
|
||||
}
|
||||
|
||||
/**
|
||||
* 取消按钮回调事件
|
||||
*/
|
||||
function handleCancel() {
|
||||
visible.value = false;
|
||||
}
|
||||
|
||||
defineExpose({
|
||||
add,
|
||||
edit,
|
||||
disableSubmit,
|
||||
});
|
||||
</script>
|
||||
|
||||
<style>
|
||||
/**隐藏样式-modal确定按钮 */
|
||||
.jee-hidden {
|
||||
display: none !important;
|
||||
}
|
||||
</style>
|
|
@ -0,0 +1,277 @@
|
|||
<template>
|
||||
<a-spin :spinning="confirmLoading">
|
||||
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<a-row>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="开课通知单号" v-bind="validateInfos.kktzdh">
|
||||
<a-input v-model:value="formData.kktzdh" placeholder="请输入开课通知单号" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="课程编号" v-bind="validateInfos.kcbh">
|
||||
<a-input v-model:value="formData.kcbh" placeholder="请输入课程编号" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="课程名称" v-bind="validateInfos.kcmc">
|
||||
<a-input v-model:value="formData.kcmc" placeholder="请输入课程名称" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="教工号" v-bind="validateInfos.jgh">
|
||||
<a-input v-model:value="formData.jgh" placeholder="请输入教工号" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="授课教师" v-bind="validateInfos.skjs">
|
||||
<a-input v-model:value="formData.skjs" placeholder="请输入授课教师" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="开课单位" v-bind="validateInfos.kkdw">
|
||||
<a-input v-model:value="formData.kkdw" placeholder="请输入开课单位" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="实验学时" v-bind="validateInfos.sxxs">
|
||||
<a-input v-model:value="formData.sxxs" placeholder="请输入实验学时" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="实践学时" v-bind="validateInfos.sjxs">
|
||||
<a-input v-model:value="formData.sjxs" placeholder="请输入实践学时" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="讲座学时" v-bind="validateInfos.jzxs">
|
||||
<a-input v-model:value="formData.jzxs" placeholder="请输入讲座学时" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="讲课学时" v-bind="validateInfos.jkxs">
|
||||
<a-input v-model:value="formData.jkxs" placeholder="请输入讲课学时" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="学生人数" v-bind="validateInfos.xsrs">
|
||||
<a-input v-model:value="formData.xsrs" placeholder="请输入学生人数" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="样本总数" v-bind="validateInfos.ybzs">
|
||||
<a-input v-model:value="formData.ybzs" placeholder="请输入样本总数" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="参评率(%)" v-bind="validateInfos.cpl">
|
||||
<a-input v-model:value="formData.cpl" placeholder="请输入参评率(%)" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="有效数" v-bind="validateInfos.yxs">
|
||||
<a-input v-model:value="formData.yxs" placeholder="请输入有效数" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="综合评价" v-bind="validateInfos.zhpj">
|
||||
<a-input v-model:value="formData.zhpj" placeholder="请输入综合评价" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="重视学生的成长引领,关心学生的学习需求,乐于与学生交流。" v-bind="validateInfos.col1">
|
||||
<a-input v-model:value="formData.col1" placeholder="请输入重视学生的成长引领,关心学生的学习需求,乐于与学生交流。" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="上课准备充分。课堂教学秩序良好。作业布置合理,反馈及时。" v-bind="validateInfos.col2">
|
||||
<a-input v-model:value="formData.col2" placeholder="请输入上课准备充分。课堂教学秩序良好。作业布置合理,反馈及时。" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="教学目标明确,重点突出,逻辑性强" v-bind="validateInfos.col3">
|
||||
<a-input v-model:value="formData.col3" placeholder="请输入教学目标明确,重点突出,逻辑性强" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="教学内容清晰易懂,体现适当的深度、广度和前沿性。" v-bind="validateInfos.col4">
|
||||
<a-input v-model:value="formData.col4" placeholder="请输入教学内容清晰易懂,体现适当的深度、广度和前沿性。" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="教学方法合理。教学媒体得当,课程资源丰富。" v-bind="validateInfos.col5">
|
||||
<a-input v-model:value="formData.col5" placeholder="请输入教学方法合理。教学媒体得当,课程资源丰富。" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="教师知识渊博,教学水平高,教学特色鲜明,教学有吸引力。" v-bind="validateInfos.col6">
|
||||
<a-input v-model:value="formData.col6" placeholder="请输入教师知识渊博,教学水平高,教学特色鲜明,教学有吸引力。" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="教学语言规范、准确,情绪饱满,热忱投入,为人师表" v-bind="validateInfos.col7">
|
||||
<a-input v-model:value="formData.col7" placeholder="请输入教学语言规范、准确,情绪饱满,热忱投入,为人师表" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="教学中启发学生思考,引导自主学习,激发学习动力,鼓励创新探索。" v-bind="validateInfos.col8">
|
||||
<a-input v-model:value="formData.col8" placeholder="请输入教学中启发学生思考,引导自主学习,激发学习动力,鼓励创新探索。" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="掌握了所学课程的基础知识和基本理论,能用所学知识解决实际问题。" v-bind="validateInfos.col9">
|
||||
<a-input v-model:value="formData.col9" placeholder="请输入掌握了所学课程的基础知识和基本理论,能用所学知识解决实际问题。" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="体会到本门课程学习的乐趣和挑战,理解课程内容的意义与价值。" v-bind="validateInfos.col10">
|
||||
<a-input v-model:value="formData.col10" placeholder="请输入体会到本门课程学习的乐趣和挑战,理解课程内容的意义与价值。" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="学年学期" v-bind="validateInfos.xnxq">
|
||||
<a-input v-model:value="formData.xnxq" placeholder="请输入学年学期" :disabled="disabled"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-form>
|
||||
</a-spin>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ref, reactive, defineExpose, nextTick, defineProps, computed, onMounted } from 'vue';
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
import { useMessage } from '/@/hooks/web/useMessage';
|
||||
import { getValueType } from '/@/utils';
|
||||
import { saveOrUpdate } from '../KcXsktjxmydcp.api';
|
||||
import { Form } from 'ant-design-vue';
|
||||
|
||||
const props = defineProps({
|
||||
formDisabled: { type: Boolean, default: false },
|
||||
formData: { type: Object, default: ()=>{} },
|
||||
formBpm: { type: Boolean, default: true }
|
||||
});
|
||||
const formRef = ref();
|
||||
const useForm = Form.useForm;
|
||||
const emit = defineEmits(['register', 'ok']);
|
||||
const formData = reactive<Record<string, any>>({
|
||||
id: '',
|
||||
kktzdh: '',
|
||||
kcbh: '',
|
||||
kcmc: '',
|
||||
jgh: '',
|
||||
skjs: '',
|
||||
kkdw: '',
|
||||
sxxs: '',
|
||||
sjxs: '',
|
||||
jzxs: '',
|
||||
jkxs: '',
|
||||
xsrs: '',
|
||||
ybzs: '',
|
||||
cpl: '',
|
||||
yxs: '',
|
||||
zhpj: '',
|
||||
col1: '',
|
||||
col2: '',
|
||||
col3: '',
|
||||
col4: '',
|
||||
col5: '',
|
||||
col6: '',
|
||||
col7: '',
|
||||
col8: '',
|
||||
col9: '',
|
||||
col10: '',
|
||||
xnxq: '',
|
||||
});
|
||||
const { createMessage } = useMessage();
|
||||
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } });
|
||||
const wrapperCol = ref<any>({ xs: { span: 24 }, sm: { span: 16 } });
|
||||
const confirmLoading = ref<boolean>(false);
|
||||
//表单验证
|
||||
const validatorRules = {
|
||||
};
|
||||
const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: true });
|
||||
|
||||
// 表单禁用
|
||||
const disabled = computed(()=>{
|
||||
if(props.formBpm === true){
|
||||
if(props.formData.disabled === false){
|
||||
return false;
|
||||
}else{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return props.formDisabled;
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*/
|
||||
function add() {
|
||||
edit({});
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*/
|
||||
function edit(record) {
|
||||
nextTick(() => {
|
||||
resetFields();
|
||||
//赋值
|
||||
Object.assign(formData, record);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 提交数据
|
||||
*/
|
||||
async function submitForm() {
|
||||
// 触发表单验证
|
||||
await validate();
|
||||
confirmLoading.value = true;
|
||||
const isUpdate = ref<boolean>(false);
|
||||
//时间格式化
|
||||
let model = formData;
|
||||
if (model.id) {
|
||||
isUpdate.value = true;
|
||||
}
|
||||
//循环数据
|
||||
for (let data in model) {
|
||||
//如果该数据是数组并且是字符串类型
|
||||
if (model[data] instanceof Array) {
|
||||
let valueType = getValueType(formRef.value.getProps, data);
|
||||
//如果是字符串类型的需要变成以逗号分割的字符串
|
||||
if (valueType === 'string') {
|
||||
model[data] = model[data].join(',');
|
||||
}
|
||||
}
|
||||
}
|
||||
await saveOrUpdate(model, isUpdate.value)
|
||||
.then((res) => {
|
||||
if (res.success) {
|
||||
createMessage.success(res.message);
|
||||
emit('ok');
|
||||
} else {
|
||||
createMessage.warning(res.message);
|
||||
}
|
||||
})
|
||||
.finally(() => {
|
||||
confirmLoading.value = false;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
defineExpose({
|
||||
add,
|
||||
edit,
|
||||
submitForm,
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.antd-modal-form {
|
||||
min-height: 500px !important;
|
||||
overflow-y: auto;
|
||||
padding: 24px 24px 24px 24px;
|
||||
}
|
||||
</style>
|
|
@ -0,0 +1,75 @@
|
|||
<template>
|
||||
<a-modal :title="title" :width="width" :visible="visible" @ok="handleOk" :okButtonProps="{ class: { 'jee-hidden': disableSubmit } }" @cancel="handleCancel" cancelText="关闭">
|
||||
<KcXsktjxmydcpForm ref="registerForm" @ok="submitCallback" :formDisabled="disableSubmit" :formBpm="false"></KcXsktjxmydcpForm>
|
||||
</a-modal>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ref, nextTick, defineExpose } from 'vue';
|
||||
import KcXsktjxmydcpForm from './KcXsktjxmydcpForm.vue'
|
||||
|
||||
const title = ref<string>('');
|
||||
const width = ref<number>(800);
|
||||
const visible = ref<boolean>(false);
|
||||
const disableSubmit = ref<boolean>(false);
|
||||
const registerForm = ref();
|
||||
const emit = defineEmits(['register', 'success']);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*/
|
||||
function add() {
|
||||
title.value = '新增';
|
||||
visible.value = true;
|
||||
nextTick(() => {
|
||||
registerForm.value.add();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
* @param record
|
||||
*/
|
||||
function edit(record) {
|
||||
title.value = disableSubmit.value ? '详情' : '编辑';
|
||||
visible.value = true;
|
||||
nextTick(() => {
|
||||
registerForm.value.edit(record);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 确定按钮点击事件
|
||||
*/
|
||||
function handleOk() {
|
||||
registerForm.value.submitForm();
|
||||
}
|
||||
|
||||
/**
|
||||
* form保存回调事件
|
||||
*/
|
||||
function submitCallback() {
|
||||
handleCancel();
|
||||
emit('success');
|
||||
}
|
||||
|
||||
/**
|
||||
* 取消按钮回调事件
|
||||
*/
|
||||
function handleCancel() {
|
||||
visible.value = false;
|
||||
}
|
||||
|
||||
defineExpose({
|
||||
add,
|
||||
edit,
|
||||
disableSubmit,
|
||||
});
|
||||
</script>
|
||||
|
||||
<style>
|
||||
/**隐藏样式-modal确定按钮 */
|
||||
.jee-hidden {
|
||||
display: none !important;
|
||||
}
|
||||
</style>
|
|
@ -62,6 +62,8 @@
|
|||
<StudentJrkbPage v-if="getUserSf()=='S'"></StudentJrkbPage>
|
||||
<!-- 学生部分近六日课表 -->
|
||||
<StudentJlrkbPage v-if="getUserSf()=='S'"></StudentJlrkbPage>
|
||||
<!-- 我的课程 -->
|
||||
<studentWdkc v-if="getUserSf()=='S'"></studentWdkc>
|
||||
<!-- 页尾 -->
|
||||
<footerPage/>
|
||||
</a-layout>
|
||||
|
@ -94,6 +96,7 @@
|
|||
|
||||
import StudentJrkbPage from '/@/views/site/studentJrkb/index.vue';
|
||||
import StudentJlrkbPage from '/@/views/site/studentJlrkb/index.vue';
|
||||
import studentWdkc from '/@/views/site/studentWdkc/studentWdkc.vue';
|
||||
|
||||
import pjjgPage from '/@/views/site/pjjgPage/index.vue';
|
||||
|
||||
|
|
|
@ -2,15 +2,18 @@
|
|||
<a-row class="rowGutter" id="pjjgDom">
|
||||
<a-col :xs="{ span: 24 }" :sm="{ span: 24 }" :lg="{ span: 24 }" style="padding: 0 2px 0 0;">
|
||||
<a-card style="min-height: 222px;">
|
||||
<template #title>
|
||||
<span style="font-size: 24px;font-weight: bold;">评价结果</span>
|
||||
</template>
|
||||
<template #extra>
|
||||
<!-- <RouterLink target='_blank' to="/site/tingKeZuJiMore">查看更多</RouterLink> -->
|
||||
<a-tabs v-model:activeKey="activeKey">
|
||||
<a-tab-pane key="1" tab="评价结果" >
|
||||
<div style="width:100%;text-align: right;line-height:40px;">
|
||||
<a style="padding-right: 0.5rem;" @click="reloadTkzj()">刷新</a>
|
||||
<RouterLink to="/site/pjjgMore">查看更多</RouterLink>
|
||||
</template>
|
||||
</div>
|
||||
<list :queryParam="{ pageSize: 4, ...tkzjParam }" style="max-height: 106px;"/>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="2" tab="学生评教结果">
|
||||
<studentPjjgList :queryParam="{ pageSize: 4, ...tkzjParam }" style="max-height: 106px;"/>
|
||||
</a-tab-pane>
|
||||
</a-tabs>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
|
@ -18,10 +21,12 @@
|
|||
<script setup lang="ts">
|
||||
import { ref } from 'vue';
|
||||
import list from '/@/views/site/pjjgPage/list.vue';
|
||||
import studentPjjgList from '/@/views/site/pjjgPage/studentPjjgList.vue';
|
||||
import { nextTick } from 'vue';
|
||||
|
||||
const tkzjParam = ref({});
|
||||
const pkzjParam = ref({});
|
||||
const activeKey = ref('1');
|
||||
|
||||
function reloadTkzj(){
|
||||
console.log('1');
|
||||
|
@ -46,5 +51,16 @@ function reloadPkzj(){
|
|||
.wenZiJiaCu {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/deep/.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
|
||||
color: black;
|
||||
text-shadow: 0 0 0.25px currentcolor;
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
}
|
||||
/deep/.ant-tabs-tab-btn {
|
||||
color: black;
|
||||
text-shadow: 0 0 0.25px currentcolor;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
|
@ -0,0 +1,184 @@
|
|||
<template>
|
||||
|
||||
<div style="width:100%;text-align: right;line-height:40px;">
|
||||
<a style="padding-right: 0.5rem;" @click="init()">刷新</a>
|
||||
<RouterLink to="/site/xspjjgore">查看更多</RouterLink>
|
||||
</div>
|
||||
<a-list item-layout="horizontal" :data-source="list" :grid="{ gutter: 16, xs: 2, sm: 4, md: 4, lg: 4, xl: 4, xxl: 4, xxxl: 4 }">
|
||||
<template #renderItem="{ item }">
|
||||
<a-list-item>
|
||||
<div style="border: 2px #eef1f2 solid;">
|
||||
<div>
|
||||
<div style="width: 100%;height: 20px;background-color: #1c84c6;"></div>
|
||||
<div style="width:100%;white-space:normal; word-break:break-all;overflow:hidden;padding: 10px;height: 70px;font-weight: 600;font-size: 16px;">
|
||||
{{ item.kcmc }}
|
||||
</div>
|
||||
</div>
|
||||
<a-divider style="margin: 0px;color: #eef1f2;" />
|
||||
<div style="padding: 20px;font-weight: 600;">
|
||||
<a-row>
|
||||
<a-col :span="16">
|
||||
<div style="height: 38px;font-size: 16px;font-weight: 700;">{{ item.skjs }}</div>
|
||||
<div style="font-size: 14px;font-weight: 700;height: 50px;">{{ item.kkdw }}</div>
|
||||
</a-col>
|
||||
<a-col :span="8" style="text-align: center;height: 70px;">
|
||||
<div style="color: #1c84c6;font-size: 24px;font-weight: 600;">{{ item.xsrs }}</div>
|
||||
<div style="font-size: 14px;font-weight: 700;">学生人数</div>
|
||||
</a-col>
|
||||
|
||||
<a-col :span="24" style="margin-top:0px;font-weight: 700;">
|
||||
<div>样本总数:{{ item.ybzs }}</div>
|
||||
<div>参 评 率 :{{ item.cpl }}(%)</div>
|
||||
<div>有 效 数 :{{ item.yxs }}</div>
|
||||
<div>综合评价:{{ item.zhpj }}</div>
|
||||
</a-col>
|
||||
|
||||
<a-col :span="24">
|
||||
<a-row style="text-align: center;">
|
||||
<a-col :span="24">
|
||||
<a-button type="primary" class="bcClass" @click="openJspjPage(item)" >详情</a-button>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</a-list-item>
|
||||
</template>
|
||||
</a-list>
|
||||
<a-pagination v-model="current" :total="total" show-less-items @change="handlePageChange" v-if="props.flagPage" style="text-align: right;" :hideOnSinglePage="true"/>
|
||||
|
||||
<KcXsktjxmydcpDetailModal ref="KcXsktjxmydcpDetailModalPage"/>
|
||||
|
||||
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted, watch } from 'vue';
|
||||
import { TeamOutlined, FormOutlined } from '@ant-design/icons-vue';
|
||||
import { Pagination } from 'ant-design-vue';
|
||||
import { getUserId, getSysConfig } from '/@/views/site/utils/index';
|
||||
|
||||
import KcXsktjxmydcpDetailModal from '/@/views/kc/kcXsktjxmydcp/components/KcXsktjxmydcpDetailModal.vue';
|
||||
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
enum Api {
|
||||
list = '/kcXsktjxmydcp/kcXsktjxmydcp/groupByList'
|
||||
}
|
||||
|
||||
const KcXsktjxmydcpDetailModalPage = ref();
|
||||
|
||||
const current = ref<number>(0);
|
||||
const total = ref<number>(2);
|
||||
const loadingList = ref<boolean>(false);
|
||||
|
||||
const APagination = Pagination;
|
||||
const emit = defineEmits(['changeParam']);
|
||||
|
||||
const props = defineProps({
|
||||
queryParam: { type: Object, default: () => ({}) },
|
||||
flagPage: { type:Boolean,default:false}
|
||||
});
|
||||
|
||||
/**
|
||||
* 列表接口
|
||||
* @param params
|
||||
*/
|
||||
const listApi = (params) => defHttp.get({ url: Api.list, params });
|
||||
|
||||
const list = ref<any>([]);
|
||||
onMounted(() => {
|
||||
init();
|
||||
});
|
||||
|
||||
watch(
|
||||
() => props.queryParam,
|
||||
(v) => init(),
|
||||
{
|
||||
deep:true,
|
||||
immediate:true,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
function init() {
|
||||
console.log('init');
|
||||
loadingList.value = true
|
||||
listApi({ jgh: getUserId(), searchByNowXqxn: true, ...props.queryParam }).then(res => {
|
||||
list.value = res?.records ?? [];
|
||||
|
||||
total.value = res.total;
|
||||
current.value = res.current;
|
||||
list.value = res.records
|
||||
loadingList.value = false
|
||||
});
|
||||
}
|
||||
|
||||
function handlePageChange(record){
|
||||
emit('changeParam',record);
|
||||
// loadData();
|
||||
}
|
||||
/**
|
||||
* 转换时间由【0012】转成【00:12】
|
||||
* @param time 四个字符,时分,无分隔
|
||||
*/
|
||||
function formatTime(time: string) {
|
||||
if(!time) return '';
|
||||
let t_i_m_e = time.split('');
|
||||
return [t_i_m_e[0],t_i_m_e[1],':',t_i_m_e[2],t_i_m_e[3]].join('');
|
||||
}
|
||||
function onSearch() {
|
||||
init();
|
||||
}
|
||||
|
||||
//教师评价
|
||||
function openJspjPage(item) {
|
||||
KcXsktjxmydcpDetailModalPage.value.disableSubmit = true;
|
||||
KcXsktjxmydcpDetailModalPage.value.edit(item)
|
||||
}
|
||||
|
||||
defineExpose({
|
||||
onSearch
|
||||
});
|
||||
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.wenZiJuZhong {
|
||||
text-align: center;
|
||||
}
|
||||
.wenZiJiaCu {
|
||||
font-weight: 700;
|
||||
}
|
||||
.fs1d1r {
|
||||
font-size: 16px;
|
||||
min-height: 55.281px;
|
||||
}
|
||||
.hand {
|
||||
cursor:pointer;
|
||||
}
|
||||
.dateAndTime {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.yyyClass{
|
||||
background: #6cafda;font-weight: 600;color:#fff;border-radius: 5px;line-height: 23px;
|
||||
}
|
||||
.yyClass{
|
||||
background-color: #1c84c6;font-weight: 600;color:#fff;border-radius: 5px;line-height: 23px;
|
||||
}
|
||||
.bcClass{
|
||||
background-color: #1c84c6;font-weight: 600;border-radius: 5px;line-height: 23px;
|
||||
}
|
||||
|
||||
.itemDate {
|
||||
border-radius: 25px;
|
||||
background: #cccccc8c;
|
||||
width: 90%;
|
||||
margin-bottom: 0.5rem;
|
||||
text-align: center;
|
||||
margin: 0 auto .5rem;
|
||||
padding: 0.5rem;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
}
|
||||
</style>
|
|
@ -0,0 +1,244 @@
|
|||
<template>
|
||||
|
||||
<div id="siteMain">
|
||||
<div id="maxSite">
|
||||
<a-layout>
|
||||
<!-- 页头 -->
|
||||
<headerPage/>
|
||||
<!-- 主体部分 -->
|
||||
<a-layout-content style="background: #fff;min-height: 500px;">
|
||||
<div style="width:100%;line-height:40px;padding:10px">
|
||||
<a-row :gutter="[16,16]">
|
||||
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }">
|
||||
<j-input placeholder="请填写课程名称" v-model:value="queryParam.kcmc" style="width: 100%" />
|
||||
</a-col>
|
||||
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }">
|
||||
<a-button type="primary" @click="init">查询</a-button>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</div>
|
||||
<div style="padding: 10px;">
|
||||
<a-list item-layout="horizontal" :data-source="list" :grid="{ gutter: 16, xs: 2, sm: 4, md: 4, lg: 4, xl: 4, xxl: 4, xxxl: 4 }">
|
||||
<template #renderItem="{ item }">
|
||||
<a-list-item>
|
||||
<div style="border: 2px #eef1f2 solid;">
|
||||
<div>
|
||||
<div style="width: 100%;height: 20px;background-color: #1c84c6;"></div>
|
||||
<div style="width:100%;white-space:normal; word-break:break-all;overflow:hidden;padding: 10px;height: 70px;font-weight: 600;font-size: 16px;">
|
||||
{{ item.kcmc }}
|
||||
</div>
|
||||
</div>
|
||||
<a-divider style="margin: 0px;color: #eef1f2;" />
|
||||
<div style="padding: 20px;font-weight: 600;">
|
||||
<a-row>
|
||||
<a-col :span="16">
|
||||
<div style="height: 38px;font-size: 16px;font-weight: 700;">{{ item.skjs }}</div>
|
||||
<div style="font-size: 14px;font-weight: 700;height: 50px;">{{ item.kkdw }}</div>
|
||||
</a-col>
|
||||
<a-col :span="8" style="text-align: center;height: 70px;">
|
||||
<div style="color: #1c84c6;font-size: 24px;font-weight: 600;">{{ item.xsrs }}</div>
|
||||
<div style="font-size: 14px;font-weight: 700;">学生人数</div>
|
||||
</a-col>
|
||||
|
||||
<a-col :span="24" style="margin-top:0px;font-weight: 700;">
|
||||
<div>样本总数:{{ item.ybzs }}</div>
|
||||
<div>参 评 率 :{{ item.cpl }}(%)</div>
|
||||
<div>有 效 数 :{{ item.yxs }}</div>
|
||||
<div>综合评价:{{ item.zhpj }}</div>
|
||||
</a-col>
|
||||
|
||||
<a-col :span="24">
|
||||
<a-row style="text-align: center;">
|
||||
<a-col :span="24">
|
||||
<a-button type="primary" class="bcClass" @click="openJspjPage(item)" >详情</a-button>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</a-list-item>
|
||||
</template>
|
||||
</a-list>
|
||||
</div>
|
||||
<KcXsktjxmydcpDetailModal ref="KcXsktjxmydcpDetailModalPage"/>
|
||||
</a-layout-content>
|
||||
<!-- 页尾 -->
|
||||
<footerPage/>
|
||||
</a-layout>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted, watch } from 'vue';
|
||||
import { TeamOutlined, FormOutlined } from '@ant-design/icons-vue';
|
||||
import { Pagination } from 'ant-design-vue';
|
||||
import { getUserId, getSysConfig } from '/@/views/site/utils/index';
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
import { JInput } from '/@/components/Form';
|
||||
|
||||
import KcXsktjxmydcpDetailModal from '/@/views/kc/kcXsktjxmydcp/components/KcXsktjxmydcpDetailModal.vue';
|
||||
import headerPage from '/@/views/site/common/header.vue';
|
||||
import footerPage from '/@/views/site/common/footer.vue';
|
||||
|
||||
enum Api {
|
||||
list = '/kcXsktjxmydcp/kcXsktjxmydcp/groupByList'
|
||||
}
|
||||
|
||||
const KcXsktjxmydcpDetailModalPage = ref();
|
||||
|
||||
const current = ref<number>(0);
|
||||
const total = ref<number>(2);
|
||||
const loadingList = ref<boolean>(false);
|
||||
|
||||
const APagination = Pagination;
|
||||
const emit = defineEmits(['changeParam']);
|
||||
|
||||
const props = defineProps({
|
||||
queryParam: { type: Object, default: () => ({}) },
|
||||
flagPage: { type:Boolean,default:true}
|
||||
});
|
||||
|
||||
/**
|
||||
* 列表接口
|
||||
* @param params
|
||||
*/
|
||||
const listApi = (params) => defHttp.get({ url: Api.list, params });
|
||||
|
||||
const list = ref<any>([]);
|
||||
onMounted(() => {
|
||||
init();
|
||||
});
|
||||
|
||||
watch(
|
||||
() => props.queryParam,
|
||||
(v) => init(),
|
||||
{
|
||||
deep:true,
|
||||
immediate:true,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
function init() {
|
||||
console.log('init');
|
||||
loadingList.value = true
|
||||
listApi({ jgh: getUserId(), searchByNowXqxn: true, ...props.queryParam }).then(res => {
|
||||
list.value = res?.records ?? [];
|
||||
|
||||
total.value = res.total;
|
||||
current.value = res.current;
|
||||
list.value = res.records
|
||||
loadingList.value = false
|
||||
});
|
||||
}
|
||||
|
||||
function handlePageChange(record){
|
||||
emit('changeParam',record);
|
||||
// loadData();
|
||||
}
|
||||
/**
|
||||
* 转换时间由【0012】转成【00:12】
|
||||
* @param time 四个字符,时分,无分隔
|
||||
*/
|
||||
function formatTime(time: string) {
|
||||
if(!time) return '';
|
||||
let t_i_m_e = time.split('');
|
||||
return [t_i_m_e[0],t_i_m_e[1],':',t_i_m_e[2],t_i_m_e[3]].join('');
|
||||
}
|
||||
function onSearch() {
|
||||
init();
|
||||
}
|
||||
|
||||
//教师评价
|
||||
function openJspjPage(item) {
|
||||
KcXsktjxmydcpDetailModalPage.value.disableSubmit = true;
|
||||
KcXsktjxmydcpDetailModalPage.value.edit(item)
|
||||
}
|
||||
|
||||
defineExpose({
|
||||
onSearch
|
||||
});
|
||||
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.wenZiJuZhong {
|
||||
text-align: center;
|
||||
}
|
||||
.wenZiJiaCu {
|
||||
font-weight: 700;
|
||||
}
|
||||
.fs1d1r {
|
||||
font-size: 16px;
|
||||
min-height: 55.281px;
|
||||
}
|
||||
.hand {
|
||||
cursor:pointer;
|
||||
}
|
||||
.dateAndTime {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.yyyClass{
|
||||
background: #6cafda;font-weight: 600;color:#fff;border-radius: 5px;line-height: 23px;
|
||||
}
|
||||
.yyClass{
|
||||
background-color: #1c84c6;font-weight: 600;color:#fff;border-radius: 5px;line-height: 23px;
|
||||
}
|
||||
.bcClass{
|
||||
background-color: #1c84c6;font-weight: 600;border-radius: 5px;line-height: 23px;
|
||||
}
|
||||
|
||||
.itemDate {
|
||||
border-radius: 25px;
|
||||
background: #cccccc8c;
|
||||
width: 90%;
|
||||
margin-bottom: 0.5rem;
|
||||
text-align: center;
|
||||
margin: 0 auto .5rem;
|
||||
padding: 0.5rem;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
}
|
||||
#siteMain {
|
||||
// font-size: ;
|
||||
// height: 100%;
|
||||
background: #f3f3f4;
|
||||
#maxSite {
|
||||
//最大宽度
|
||||
max-width: 1170px;
|
||||
//居中
|
||||
margin: 0 auto;
|
||||
.rowGutter{
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.ant-layout-header {
|
||||
color: #fff;
|
||||
background: #1ab394;
|
||||
}
|
||||
.ant-layout-footer {
|
||||
line-height: 1.5;
|
||||
background: #FFF;
|
||||
}
|
||||
.ant-layout-sider {
|
||||
color: #fff;
|
||||
line-height: 120px;
|
||||
background: #3ba0e9;
|
||||
}
|
||||
.ant-layout-content {
|
||||
min-height: 120px;
|
||||
color: #000;
|
||||
line-height: 120px;
|
||||
background: #f3f3f4;
|
||||
}
|
||||
.dictBox :deep(.ant-select) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
|
@ -0,0 +1,30 @@
|
|||
<template>
|
||||
<div class="indexBackClass" >
|
||||
<div style="margin-top: 20px;">
|
||||
<span style="margin-left: 30px;font-size: 24px;font-weight: 600;">我的课程</span>
|
||||
</div>
|
||||
<div>
|
||||
<a-row>
|
||||
<a-col :span="24"></a-col>
|
||||
</a-row>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
import { ref, onMounted } from 'vue';
|
||||
import { getSysConfig } from '/@/views/site/utils/index';
|
||||
//进入就加载
|
||||
onMounted(() => {
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.indexBackClass{
|
||||
background: #fff;
|
||||
margin: 20px 0;
|
||||
}
|
||||
</style>
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<a-card class="rowGutter" id="yykcDom">
|
||||
<template #title>
|
||||
<span class="titleName">预约课程</span>
|
||||
<span class="titleName">我的预约</span>
|
||||
<span class="titleDownload"><a @click="downloadByUrl({url:'/downPath/tkpjb.docx',target: '_self',fileName:'线上教学听课评价表-新.docx'})">线上课堂评价表</a></span>
|
||||
<span class="titleDownload"><a @click="downloadByUrl({url:'/downPath/tkjlb.docx',target: '_self',fileName:'东北师范大学听课记录表.docx'})">听课记录表</a></span>
|
||||
<span class="titleDownload"><a @click="downloadByUrl({url:'/downPath/jxzlpjb.docx',target: '_self',fileName:'东北师范大学本科课堂教学质量评价表(同行专家用)'})">同行评价表</a></span>
|
||||
|
|
Loading…
Reference in New Issue