From 7f0a49e2b7225c2f661288ff054be8e50a521ce8 Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Wed, 23 Aug 2023 01:19:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AF=84=E4=BB=B7=E9=87=8F?= =?UTF-8?q?=E8=A1=A8=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../KcEvaluationsStat.api.ts | 72 ++ .../KcEvaluationsStat.data.ts | 643 ++++++++++++++++++ .../KcEvaluationsStatList.vue | 273 ++++++++ .../components/KcEvaluationsStatForm.vue | 457 +++++++++++++ .../components/KcEvaluationsStatModal.vue | 75 ++ 5 files changed, 1520 insertions(+) create mode 100644 src/views/kc/kcEvaluationsStat/KcEvaluationsStat.api.ts create mode 100644 src/views/kc/kcEvaluationsStat/KcEvaluationsStat.data.ts create mode 100644 src/views/kc/kcEvaluationsStat/KcEvaluationsStatList.vue create mode 100644 src/views/kc/kcEvaluationsStat/components/KcEvaluationsStatForm.vue create mode 100644 src/views/kc/kcEvaluationsStat/components/KcEvaluationsStatModal.vue diff --git a/src/views/kc/kcEvaluationsStat/KcEvaluationsStat.api.ts b/src/views/kc/kcEvaluationsStat/KcEvaluationsStat.api.ts new file mode 100644 index 0000000..ca02795 --- /dev/null +++ b/src/views/kc/kcEvaluationsStat/KcEvaluationsStat.api.ts @@ -0,0 +1,72 @@ +import { defHttp } from '/@/utils/http/axios'; +import { useMessage } from "/@/hooks/web/useMessage"; + +const { createConfirm } = useMessage(); + +enum Api { + list = '/kcEvaluationsStat/kcEvaluationsStat/list', + save='/kcEvaluationsStat/kcEvaluationsStat/add', + edit='/kcEvaluationsStat/kcEvaluationsStat/edit', + deleteOne = '/kcEvaluationsStat/kcEvaluationsStat/delete', + deleteBatch = '/kcEvaluationsStat/kcEvaluationsStat/deleteBatch', + importExcel = '/kcEvaluationsStat/kcEvaluationsStat/importExcel', + exportXls = '/kcEvaluationsStat/kcEvaluationsStat/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 }); +} diff --git a/src/views/kc/kcEvaluationsStat/KcEvaluationsStat.data.ts b/src/views/kc/kcEvaluationsStat/KcEvaluationsStat.data.ts new file mode 100644 index 0000000..96286fb --- /dev/null +++ b/src/views/kc/kcEvaluationsStat/KcEvaluationsStat.data.ts @@ -0,0 +1,643 @@ +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: 'col01' + }, + { + title: '课程名称', + align: "center", + dataIndex: 'col02' + }, + { + title: '开课单位', + align: "center", + dataIndex: 'col03' + }, + { + title: '授课教师', + align: "center", + dataIndex: 'col04' + }, + { + title: '授课教师工号', + align: "center", + dataIndex: 'col05' + }, + { + title: '授课日期', + align: "center", + dataIndex: 'col06' + }, + { + title: '授课时间', + align: "center", + dataIndex: 'col07' + }, + { + title: '授课节次', + align: "center", + dataIndex: 'col08' + }, + { + title: '授课地点', + align: "center", + dataIndex: 'col09' + }, + { + title: '听课教师单位', + align: "center", + dataIndex: 'col10' + }, + { + title: '听课教师工号', + align: "center", + dataIndex: 'col11' + }, + { + title: '听课教师姓名', + align: "center", + dataIndex: 'col12' + }, + { + title: '听课身份', + align: "center", + dataIndex: 'col13' + }, + { + title: '听课评价结果(5分制)', + align: "center", + dataIndex: 'col14' + }, + { + title: '评价量表类型', + align: "center", + dataIndex: 'col15' + }, + { + title: '数据来源', + align: "center", + dataIndex: 'col16' + }, + { + title: '讲课有热情,精神饱满,能调动学生情绪,课堂气氛活跃', + align: "center", + dataIndex: 'col1726' + }, + { + title: '教学目标明确,内容丰富,重点突出,言语表达清楚。', + align: "center", + dataIndex: 'col18' + }, + { + title: '授课有启发性,能给予学生思考、联想、创造的启迪', + align: "center", + dataIndex: 'col19' + }, + { + title: '能有效利用各种教学媒体,课件或板书使用效果好', + align: "center", + dataIndex: 'col20' + }, + { + title: '仪表得体,按时上下课,严格要求学生', + align: "center", + dataIndex: 'col21' + }, + { + title: '无迟到、早退、旷课现象', + align: "center", + dataIndex: 'col22' + }, + { + title: '课堂教学秩序好,无喧闹、打瞌睡、发短信、玩手机等现象', + align: "center", + dataIndex: 'col23' + }, + { + title: '上课认真听讲、积极思考、主动与老师交流互动', + align: "center", + dataIndex: 'col24' + }, + { + title: '课堂教学总体印象评价', + align: "center", + dataIndex: 'col25' + }, + { + title: '请填写对课堂内容以及其他方面的具体意见或建议', + align: "center", + dataIndex: 'col26' + }, + { + title: '1.具有教育理想、敬业精神和教学追求,热爱学生、学科和教学工作。', + align: "center", + dataIndex: 'col2745' + }, + { + title: '2.掌握所教学科必需的专业与教学知识。具备所教学科的教学设计、实施、评价、反思和研究能力。', + align: "center", + dataIndex: 'col28' + }, + { + title: '3.把握学生身心发展规律与特点,尊重学生主体性与差异性。', + align: "center", + dataIndex: 'col29' + }, + { + title: '4.立德树人,为人师表,语言规范,情绪饱满,思想积极向上', + align: "center", + dataIndex: 'col30' + }, + { + title: '5.执行教学计划,遵守教学纪律,严谨从教', + align: "center", + dataIndex: 'col31' + }, + { + title: '6.系统规划和设计教学活动,合理确定教学目标和教学内容的重难点,选择合适的教学方法、教学媒体和教学形式', + align: "center", + dataIndex: 'col32' + }, + { + title: '7.清晰讲解课程内容,恰当解释知识中蕴含的本源性思想和学科方法,适时引导学生关注课程领域发展新动态。', + align: "center", + dataIndex: 'col33' + }, + { + title: '8.启发学生思考,鼓励学生发现、提出问题,恰当给予回应和引导。', + align: "center", + dataIndex: 'col34' + }, + { + title: '9.监控教学过程,富有教学机智,教学体现生成性。', + align: "center", + dataIndex: 'col35' + }, + { + title: '10.运用多元评价方式,了解学习状况,诊断学习问题,及时反馈', + align: "center", + dataIndex: 'col36' + }, + { + title: '11.学习认真积极,踊跃参与课堂活动,体会课程学习的挑战与乐趣,感悟课程的意义与价值。', + align: "center", + dataIndex: 'col37' + }, + { + title: '12.掌握所学课程的基本概念与原理,理解课程的知识结构与思想体系,了解所学知识的运用情境、策略和方法。', + align: "center", + dataIndex: 'col38' + }, + { + title: '13.遵循教学一般规律,具有鲜明的创新意识和个性风貌。', + align: "center", + dataIndex: 'col39' + }, + { + title: '14.尊重学科本质属性,凸显学科育人价值,注重培养学科核心素养。', + align: "center", + dataIndex: 'col40' + }, + { + title: '15.课堂教学蕴含理性美,具有教学魅力,体现教学艺术性。', + align: "center", + dataIndex: 'col41' + }, + { + title: '16.你对该课程的总体评价情况,5分是满分,您给打几分?', + align: "center", + dataIndex: 'col42' + }, + { + title: '17.您认为该课堂值得肯定的方面', + align: "center", + dataIndex: 'col43' + }, + { + title: '18.您认为该课堂需要改进的方面', + align: "center", + dataIndex: 'col44' + }, + { + title: '19.其它建议', + align: "center", + dataIndex: 'col45' + }, + { + title: '1.声音和画面情况', + align: "center", + dataIndex: 'col4655' + }, + { + title: '2.ppt等课件情况', + align: "center", + dataIndex: 'col47' + }, + { + title: '3.教师出镜情况', + align: "center", + dataIndex: 'col48' + }, + { + title: '4.以下那些描述符合本节课的教学实际情况(多选)', + align: "center", + dataIndex: 'col49' + }, + { + title: '5.学生出席情况', + align: "center", + dataIndex: 'col50' + }, + { + title: '6.学生参与课堂活动情况', + align: "center", + dataIndex: 'col51' + }, + { + title: '7.如果让您给本节课打分,5分是满分,您给打几分?', + align: "center", + dataIndex: 'col52' + }, + { + title: '8.您认为该课堂值得肯定的方面', + align: "center", + dataIndex: 'col53' + }, + { + title: '9.您认为该课堂需要改进的方面', + align: "center", + dataIndex: 'col54' + }, + { + title: '10.其它建议', + align: "center", + dataIndex: 'col55' + }, +]; + +//查询数据 +export const searchFormSchema: FormSchema[] = [ + { + label: "学期", + field: 'col01', + component: 'Input', + colProps: {span: 6}, + }, + { + label: "课程名称", + field: 'col02', + component: 'Input', + colProps: {span: 6}, + }, + { + label: "授课教师", + field: 'col04', + component: 'Input', + colProps: {span: 6}, + }, + { + label: "授课教师工号", + field: 'col05', + component: 'Input', + colProps: {span: 6}, + }, + { + label: "授课日期", + field: 'col06', + component: 'Input', + colProps: {span: 6}, + }, + { + label: "授课时间", + field: 'col07', + component: 'Input', + colProps: {span: 6}, + }, + { + label: "授课地点", + field: 'col09', + component: 'Input', + colProps: {span: 6}, + }, + { + label: "听课教师单位", + field: 'col10', + component: 'Input', + colProps: {span: 6}, + }, + { + label: "听课教师工号", + field: 'col11', + component: 'Input', + colProps: {span: 6}, + }, + { + label: "听课教师姓名", + field: 'col12', + component: 'Input', + colProps: {span: 6}, + }, + { + label: "数据来源", + field: 'col16', + component: 'Input', + colProps: {span: 6}, + }, +]; + +//表单数据 +export const formSchema: FormSchema[] = [ + { + label: '主键', + field: 'col00', + component: 'Input', + }, + { + label: '学期', + field: 'col01', + component: 'Input', + }, + { + label: '课程名称', + field: 'col02', + component: 'Input', + }, + { + label: '开课单位', + field: 'col03', + component: 'Input', + }, + { + label: '授课教师', + field: 'col04', + component: 'Input', + }, + { + label: '授课教师工号', + field: 'col05', + component: 'Input', + }, + { + label: '授课日期', + field: 'col06', + component: 'Input', + }, + { + label: '授课时间', + field: 'col07', + component: 'Input', + }, + { + label: '授课节次', + field: 'col08', + component: 'Input', + }, + { + label: '授课地点', + field: 'col09', + component: 'Input', + }, + { + label: '听课教师单位', + field: 'col10', + component: 'Input', + }, + { + label: '听课教师工号', + field: 'col11', + component: 'Input', + }, + { + label: '听课教师姓名', + field: 'col12', + component: 'Input', + }, + { + label: '听课身份', + field: 'col13', + component: 'Input', + }, + { + label: '听课评价结果(5分制)', + field: 'col14', + component: 'Input', + }, + { + label: '评价量表类型', + field: 'col15', + component: 'Input', + }, + { + label: '数据来源', + field: 'col16', + component: 'Input', + }, + { + label: '讲课有热情,精神饱满,能调动学生情绪,课堂气氛活跃', + field: 'col1726', + component: 'Input', + }, + { + label: '教学目标明确,内容丰富,重点突出,言语表达清楚。', + field: 'col18', + component: 'Input', + }, + { + label: '授课有启发性,能给予学生思考、联想、创造的启迪', + field: 'col19', + component: 'Input', + }, + { + label: '能有效利用各种教学媒体,课件或板书使用效果好', + field: 'col20', + component: 'Input', + }, + { + label: '仪表得体,按时上下课,严格要求学生', + field: 'col21', + component: 'Input', + }, + { + label: '无迟到、早退、旷课现象', + field: 'col22', + component: 'Input', + }, + { + label: '课堂教学秩序好,无喧闹、打瞌睡、发短信、玩手机等现象', + field: 'col23', + component: 'Input', + }, + { + label: '上课认真听讲、积极思考、主动与老师交流互动', + field: 'col24', + component: 'Input', + }, + { + label: '课堂教学总体印象评价', + field: 'col25', + component: 'Input', + }, + { + label: '请填写对课堂内容以及其他方面的具体意见或建议', + field: 'col26', + component: 'Input', + }, + { + label: '1.具有教育理想、敬业精神和教学追求,热爱学生、学科和教学工作。', + field: 'col2745', + component: 'Input', + }, + { + label: '2.掌握所教学科必需的专业与教学知识。具备所教学科的教学设计、实施、评价、反思和研究能力。', + field: 'col28', + component: 'Input', + }, + { + label: '3.把握学生身心发展规律与特点,尊重学生主体性与差异性。', + field: 'col29', + component: 'Input', + }, + { + label: '4.立德树人,为人师表,语言规范,情绪饱满,思想积极向上', + field: 'col30', + component: 'Input', + }, + { + label: '5.执行教学计划,遵守教学纪律,严谨从教', + field: 'col31', + component: 'Input', + }, + { + label: '6.系统规划和设计教学活动,合理确定教学目标和教学内容的重难点,选择合适的教学方法、教学媒体和教学形式', + field: 'col32', + component: 'Input', + }, + { + label: '7.清晰讲解课程内容,恰当解释知识中蕴含的本源性思想和学科方法,适时引导学生关注课程领域发展新动态。', + field: 'col33', + component: 'Input', + }, + { + label: '8.启发学生思考,鼓励学生发现、提出问题,恰当给予回应和引导。', + field: 'col34', + component: 'Input', + }, + { + label: '9.监控教学过程,富有教学机智,教学体现生成性。', + field: 'col35', + component: 'Input', + }, + { + label: '10.运用多元评价方式,了解学习状况,诊断学习问题,及时反馈', + field: 'col36', + component: 'Input', + }, + { + label: '11.学习认真积极,踊跃参与课堂活动,体会课程学习的挑战与乐趣,感悟课程的意义与价值。', + field: 'col37', + component: 'Input', + }, + { + label: '12.掌握所学课程的基本概念与原理,理解课程的知识结构与思想体系,了解所学知识的运用情境、策略和方法。', + field: 'col38', + component: 'Input', + }, + { + label: '13.遵循教学一般规律,具有鲜明的创新意识和个性风貌。', + field: 'col39', + component: 'Input', + }, + { + label: '14.尊重学科本质属性,凸显学科育人价值,注重培养学科核心素养。', + field: 'col40', + component: 'Input', + }, + { + label: '15.课堂教学蕴含理性美,具有教学魅力,体现教学艺术性。', + field: 'col41', + component: 'Input', + }, + { + label: '16.你对该课程的总体评价情况,5分是满分,您给打几分?', + field: 'col42', + component: 'Input', + }, + { + label: '17.您认为该课堂值得肯定的方面', + field: 'col43', + component: 'Input', + }, + { + label: '18.您认为该课堂需要改进的方面', + field: 'col44', + component: 'Input', + }, + { + label: '19.其它建议', + field: 'col45', + component: 'Input', + }, + { + label: '1.声音和画面情况', + field: 'col4655', + component: 'Input', + }, + { + label: '2.ppt等课件情况', + field: 'col47', + component: 'Input', + }, + { + label: '3.教师出镜情况', + field: 'col48', + component: 'Input', + }, + { + label: '4.以下那些描述符合本节课的教学实际情况(多选)', + field: 'col49', + component: 'Input', + }, + { + label: '5.学生出席情况', + field: 'col50', + component: 'Input', + }, + { + label: '6.学生参与课堂活动情况', + field: 'col51', + component: 'Input', + }, + { + label: '7.如果让您给本节课打分,5分是满分,您给打几分?', + field: 'col52', + component: 'Input', + }, + { + label: '8.您认为该课堂值得肯定的方面', + field: 'col53', + component: 'Input', + }, + { + label: '9.您认为该课堂需要改进的方面', + field: 'col54', + component: 'Input', + }, + { + label: '10.其它建议', + field: 'col55', + component: 'Input', + }, + // TODO 主键隐藏字段,目前写死为ID + { + label: '', + field: 'id', + component: 'Input', + show: false, + }, +]; diff --git a/src/views/kc/kcEvaluationsStat/KcEvaluationsStatList.vue b/src/views/kc/kcEvaluationsStat/KcEvaluationsStatList.vue new file mode 100644 index 0000000..c3253ef --- /dev/null +++ b/src/views/kc/kcEvaluationsStat/KcEvaluationsStatList.vue @@ -0,0 +1,273 @@ + + + + + diff --git a/src/views/kc/kcEvaluationsStat/components/KcEvaluationsStatForm.vue b/src/views/kc/kcEvaluationsStat/components/KcEvaluationsStatForm.vue new file mode 100644 index 0000000..f81a69f --- /dev/null +++ b/src/views/kc/kcEvaluationsStat/components/KcEvaluationsStatForm.vue @@ -0,0 +1,457 @@ + + + + + diff --git a/src/views/kc/kcEvaluationsStat/components/KcEvaluationsStatModal.vue b/src/views/kc/kcEvaluationsStat/components/KcEvaluationsStatModal.vue new file mode 100644 index 0000000..5b50487 --- /dev/null +++ b/src/views/kc/kcEvaluationsStat/components/KcEvaluationsStatModal.vue @@ -0,0 +1,75 @@ + + + + +