修改bug,添加新版同行评价表
This commit is contained in:
parent
0dbee9ae18
commit
0c08cc27cb
|
@ -161,7 +161,6 @@ watch(
|
|||
(param, oldParam) => {
|
||||
if (JSON.stringify(param) != JSON.stringify(oldParam)) {
|
||||
nextTick(() => {
|
||||
console.log(`🚀 ~ props.isGetBiz:`, props.isGetBiz, bindProps.value.disabled, loadBiz);
|
||||
if (props.isGetBiz && !bindProps.value.disabled) {
|
||||
//非被禁用状态,查询
|
||||
nextTick(() => {
|
||||
|
@ -644,8 +643,8 @@ function uploadFn(customRequestData) {
|
|||
|
||||
|
||||
console.log("🚀 ~ uploadFn ~ fileSize:", fileSize)
|
||||
if(fileSize>1024*1024*20){
|
||||
let jjj = {success:false,code:0,message:'文件大小不能超过200M,请重新上传',result:null,timestamp:new Date().getTime()}
|
||||
if(fileSize>1024*1024*150){
|
||||
let jjj = {success:false,code:0,message:'文件大小不能超过1500M,请重新上传',result:null,timestamp:new Date().getTime()}
|
||||
setTimeout(() => {
|
||||
onError(jjj, jjj, file);
|
||||
}, 1000);
|
||||
|
|
|
@ -385,6 +385,186 @@ export const columns: BasicColumn[] = [
|
|||
align: "center",
|
||||
dataIndex: 'col76'
|
||||
},
|
||||
{
|
||||
title: '1.坚持立德树人,秉持共育两代师表理念,积极落实有理想信念、 有道德情操、有扎实学识、有仁爱之心的“ 四有好老师 ”培养目标 要求。',
|
||||
align: "center",
|
||||
dataIndex: 'col78113'
|
||||
},
|
||||
{
|
||||
title: '2.坚持学术强师理念,全面掌握所教学科必需的专业知识与教学知 识,做学生锤炼品格、学习知识、创新思维、奉献祖国的引路人, 具备对所教课程进行高质量创新性教学设计、实施、评价、反思和 研究的能力。',
|
||||
align: "center",
|
||||
dataIndex: 'col79'
|
||||
},
|
||||
{
|
||||
title: '3.尊重学生的权利、地位和人格,注重培养学生爱国情怀、创新精 神和健康人格,促进学生全面发展、终身学习。',
|
||||
align: "center",
|
||||
dataIndex: 'col80'
|
||||
},
|
||||
{
|
||||
title: '4.把握学生身心发展规律和学习特点,了解学生学习基础,激发学 生学习动力,重视引导学生自主发展,为把学生培养成底蕴深厚、 专业扎实、教书育人能力过硬的卓越人才奠定坚实基础。',
|
||||
align: "center",
|
||||
dataIndex: 'col81'
|
||||
},
|
||||
{
|
||||
title: '5.熟悉所教学科的知识体系、历史脉络、思想方法、科际联系和发 展前沿,认识所教学科在课程体系中的地位及其与培养目标的关 系,并将课程理解有效转化为教学观念、内容和行为。',
|
||||
align: "center",
|
||||
dataIndex: 'col82'
|
||||
},
|
||||
{
|
||||
title: '6.熟悉所教课程的内容体系、教育价值、发展历程,有效融入中华 优秀文化、渗透课程思政,坚持教书和育人相统一、言传和身教 相统一、潜心问道和关注社会相统一、学术自由和学术规范相统一。',
|
||||
align: "center",
|
||||
dataIndex: 'col83'
|
||||
},
|
||||
{
|
||||
title: '7.认识课堂是教书育人、开展教学活动的专业场域,课堂活动对培 养学生理论素养、实践能力、创新精神具有独特价值,能够科学、 灵活、适切地选择和运用课堂组织形式。',
|
||||
align: "center",
|
||||
dataIndex: 'col84'
|
||||
},
|
||||
{
|
||||
title: '8.理解课堂教学是教与学活动的有机统一,了解课堂的构成要素、 组织类型、活动方式和基本特点,掌握所教课程的教学规律、教学 方法和评价手段。',
|
||||
align: "center",
|
||||
dataIndex: 'col85'
|
||||
},
|
||||
{
|
||||
title: '9.严慈相济,乐于与学生交流,关心学生身心健康,热心为学生成 长提供专业支持,促进学生自由而全面的发展。',
|
||||
align: "center",
|
||||
dataIndex: 'col86'
|
||||
},
|
||||
{
|
||||
title: '10.尊重学生个体差异,了解学生合理学习需求,关注学生思想情 感,善于发现学生的闪光点,对学生发展抱有积极期待。',
|
||||
align: "center",
|
||||
dataIndex: 'col87'
|
||||
},
|
||||
{
|
||||
title: '11.坚持正确的政治方向与价值导向,为党育人,为国育才,依法 执教,理解教师是学生学习的促进者和成长的引路人,自觉履行立 德树人使命。',
|
||||
align: "center",
|
||||
dataIndex: 'col88'
|
||||
},
|
||||
{
|
||||
title: '12.理解教学是教师的立身之本,教研是教师的强教之基,潜心教 学,发展教学学术,自觉遵守教学纪律,认真践行教学规范,保证 有质量的教学。',
|
||||
align: "center",
|
||||
dataIndex: 'col89'
|
||||
},
|
||||
{
|
||||
title: '13.重视师德师风修养,思想积极向上,热爱教育事业,为人师表, 具有正确的教育观、教师观、学生观。',
|
||||
align: "center",
|
||||
dataIndex: 'col90'
|
||||
},
|
||||
{
|
||||
title: '14.追求教学艺术境界,教学语言规范准确、富有逻辑性,教态自 然,举止文明,仪表得体,有亲和力,情绪饱满,热忱投入。',
|
||||
align: "center",
|
||||
dataIndex: 'col91'
|
||||
},
|
||||
{
|
||||
title: '15.立足创新人才培养目标,深入研究课程大纲,针对学生已有经 验和基础,确定教学目标、重难点,形成教学方案。',
|
||||
align: "center",
|
||||
dataIndex: 'col92'
|
||||
},
|
||||
{
|
||||
title: '16.合理规划教学环节和时间,恰当选择教学方法,积极推动人工 智能、智慧学习环境等新技术与学科课程融合,形成线上与线下教 学有机结合、深度融通的自主、合作、探究学习模式。',
|
||||
align: "center",
|
||||
dataIndex: 'col93'
|
||||
},
|
||||
{
|
||||
title: '17.开发和利用具有交互性、情境化的课程资源和教学案例,创设 良好的教学情境,科学选择学习评价方式,合理安排课后学习任务。',
|
||||
align: "center",
|
||||
dataIndex: 'col94'
|
||||
},
|
||||
{
|
||||
title: '18.清晰阐释课程内容,准确把握教学重难点,恰当解读学科本源 性思想和方法,适时融入课程领域发展新成果。',
|
||||
align: "center",
|
||||
dataIndex: 'col95'
|
||||
},
|
||||
{
|
||||
title: '19.创造性地生成教学过程,鼓励学生在实践探究中发现问题、提 出问题、解决问题,激发学生的好奇心、想象力与创新思维,培养 学生的创新能力。',
|
||||
align: "center",
|
||||
dataIndex: 'col96'
|
||||
},
|
||||
{
|
||||
title: '20.把握课堂教学节奏和进度,根据课堂情境和学生表现适时调整 教学方式,展现教学机智。',
|
||||
align: "center",
|
||||
dataIndex: 'col97'
|
||||
},
|
||||
{
|
||||
title: '21.落实教学评一体化,运用多种评价方式, 了解学生学习状态, 有效评估学生学习效果,及时给予反馈和有针对性的指导。',
|
||||
align: "center",
|
||||
dataIndex: 'col98'
|
||||
},
|
||||
{
|
||||
title: '22.掌握所学课程的基础知识、基本原理、基本思想等核心内容。',
|
||||
align: "center",
|
||||
dataIndex: 'col99'
|
||||
},
|
||||
{
|
||||
title: '23.理解课程的知识结构、思想体系,了解所学知识的发展脉络与 前沿动态,形成学科理解力。',
|
||||
align: "center",
|
||||
dataIndex: 'col100'
|
||||
},
|
||||
{
|
||||
title: '24.掌握所学知识的运用情境、策略和方法, 了解所学课程与其它 课程的关联,理解课程知识在当代社会发展中的意义和价值,形成 学科转化力。',
|
||||
align: "center",
|
||||
dataIndex: 'col101'
|
||||
},
|
||||
{
|
||||
title: '25.掌握所学课程的基本专业技能,运用所学知识与方法分析、解 决实际问题,在新情境中发展实践迁移力。',
|
||||
align: "center",
|
||||
dataIndex: 'col102'
|
||||
},
|
||||
{
|
||||
title: '26.具有大胆质疑、敢于创新的精神,对课程知识及其应用进行批 判性思考,形成反思研究力。',
|
||||
align: "center",
|
||||
dataIndex: 'col103'
|
||||
},
|
||||
{
|
||||
title: '27.能在观察和思考中发现学科与实践问题,基于证据和逻辑发表 自己的观点和见解,提出问题解决方案。',
|
||||
align: "center",
|
||||
dataIndex: 'col104'
|
||||
},
|
||||
{
|
||||
title: '28.具有理想信念、责任担当与家国情怀,形成服务国家、奉献社 会的专业品质。',
|
||||
align: "center",
|
||||
dataIndex: 'col105'
|
||||
},
|
||||
{
|
||||
title: '29.体会课程学习的挑战与乐趣,珍惜学习机会,规划学习过程, 养成自主学习习惯,达成课程学习的各项预设目标,发展学习力。',
|
||||
align: "center",
|
||||
dataIndex: 'col106'
|
||||
},
|
||||
{
|
||||
title: '30.凸显课程培根铸魂、启智润心的育人价值,培养德智体美劳全 面发展的高素质专业化创新型人才。改革教学方式方法,展现开拓 创新能力,体现教学创造性。',
|
||||
align: "center",
|
||||
dataIndex: 'col107'
|
||||
},
|
||||
{
|
||||
title: '31.准确把握学科本质属性,尊重学科学习规律,体现具有中国特 色、中国风格、中国气派的学科体系、学术体系和话语体系。',
|
||||
align: "center",
|
||||
dataIndex: 'col108'
|
||||
},
|
||||
{
|
||||
title: '32.吸纳学科教研新成果,融入学科相关的新理念、新知识、新技 术,关注学科交叉融合、协同创新的发展趋势。',
|
||||
align: "center",
|
||||
dataIndex: 'col109'
|
||||
},
|
||||
{
|
||||
title: '33.教学设计和教学实施渗透革新意识,积极探索新时代教育教学。',
|
||||
align: "center",
|
||||
dataIndex: 'col110'
|
||||
},
|
||||
{
|
||||
title: '34.教学理念、教学方法等呈现个性风貌,善于引导学生传承中华 师道,涵养教育情怀,成为学生为学、为事、为人的示范,体现教 书育人、言传身教相统一的教学艺术性。',
|
||||
align: "center",
|
||||
dataIndex: 'col111'
|
||||
},
|
||||
{
|
||||
title: '总分',
|
||||
align: "center",
|
||||
dataIndex: 'col112'
|
||||
},
|
||||
{
|
||||
title: '优点或建议',
|
||||
align: "center",
|
||||
dataIndex: 'col113'
|
||||
},
|
||||
];
|
||||
|
||||
//查询数据
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
<a-form-item label="评价类型">
|
||||
<j-dict-select-tag
|
||||
placeholder="请选择评价类型" v-model:value="queryParam.col15"
|
||||
:options="[{ value: '一般听课表', label: '一般听课表'}, { value: '线上听课表', label: '线上听课表'},{ value: '同行评价表', label: '同行评价表'},{ value: '老版评价表', label: '老版评价表'},{ value: '思政评价表', label: '思政评价表'}]"
|
||||
:options="[{ value: '一般听课表', label: '一般听课表'}, { value: '线上听课表', label: '线上听课表'},{ value: '同行评价表', label: '同行评价表'},{ value: '老版评价表', label: '老版评价表'},{ value: '思政评价表', label: '思政评价表'},{ value: '新版同行评价表', label: '新版同行评价表'}]"
|
||||
/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
|
|
@ -157,7 +157,6 @@ function toIndex(){
|
|||
if(roleList){
|
||||
for(var i=0;i<roleList.length;i++){
|
||||
var roleCode = roleList[i].roleCode
|
||||
console.log(`🚀 ~ onMounted ~ roleCode:`, roleCode)
|
||||
if(roleCode == 'admin' || roleCode == 'jwms'){
|
||||
sfxx.value = "1";
|
||||
}
|
||||
|
|
|
@ -152,7 +152,6 @@ onMounted(() => {
|
|||
if (roleList) {
|
||||
for (var i = 0; i < roleList.length; i++) {
|
||||
var roleCode = roleList[i].roleCode;
|
||||
console.log(`🚀 ~ onMounted ~ roleCode:`, roleCode);
|
||||
if (roleCode == 'admin' || roleCode == 'jwms') {
|
||||
sfxx.value = '1';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<a-card class="rowGutter" id="ktsbDom">
|
||||
<template #title>
|
||||
<span class="titleName">听课笔记</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/tkjlb.docx',target: '_self',fileName:'东北师范大学听课记录表.docx'})">一般听课评价表</a></span>
|
||||
<span class="titleDownload"><a @click="downloadByUrl({url:'/downPath/jxzlpjb.docx',target: '_self',fileName:'东北师范大学本科课堂教学质量评价表(同行专家用)'})">同行听课评价表</a></span>
|
||||
<span class="titleDownload"><a @click="downloadByUrl({url:'/downPath/szkcpjb.docx',target: '_self',fileName:'东北师范大学政课评价表'})">思政课评价表</a></span>
|
||||
<span class="titleDownload"><a @click="downloadByUrl({url:'/downPath/tkpjb.docx',target: '_self',fileName:'线上教学听课评价表-新.docx'})">线上课评价表</a></span>
|
||||
|
@ -12,7 +12,7 @@
|
|||
<span>登录后教师可以预约课程,听课完成后可以对课程进行评价,评价有助于快速完成本学期的听课任务</span>
|
||||
</template>
|
||||
<span class="helpClass">?</span>
|
||||
</a-tooltip></span>
|
||||
</a-tooltip></span> -->
|
||||
<span style="float:right;">
|
||||
<a style="padding-right: 0.5rem;" @click="addTkbj()">新增笔记</a>
|
||||
<RouterLink to="/site/ktsbMore">查看更多</RouterLink>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
</a-row>
|
||||
</div>
|
||||
</a-card>
|
||||
<!-- <a-card>
|
||||
<a-card>
|
||||
<div>
|
||||
<span style="float: left; line-height: 30px; font-size: 18px; font-weight: bold">教学大纲:</span>
|
||||
<span style="width: 300px; float: left">
|
||||
|
@ -118,7 +118,7 @@
|
|||
<span style="float: left">往届学生评价</span>
|
||||
</div>
|
||||
<studentPjjgTeaList :queryParam="{ pageSize: 3, ...tkzjParam, kcbh: '' }" style="max-height: 106px" />
|
||||
</a-card> -->
|
||||
</a-card>
|
||||
</div>
|
||||
<div v-if="!showYl">
|
||||
<div>
|
||||
|
@ -154,6 +154,7 @@ import { useGlobSetting } from '/@/hooks/setting';
|
|||
import studentZyxxModal from '/@/views/site/studentWdkc/studentZyxxModal.vue';
|
||||
import JEditor from '/@/components/Form/src/jeecg/components/JEditor.vue';
|
||||
import studentZyxx from '/@/views/site/studentWdkc/studentZyxx.vue';
|
||||
import { encryptByBase64 } from '/@/utils/cipher';
|
||||
|
||||
const globSetting = useGlobSetting();
|
||||
const baseApiUrl = globSetting.domainUrl;
|
||||
|
@ -279,23 +280,30 @@ async function handleDelete(record) {
|
|||
}
|
||||
|
||||
function openPdf(record) {
|
||||
if (record.pdfPath) {
|
||||
var url2 = getFileAccessHttpUrl(record.pdfPath);
|
||||
let url = baseApiUrl + '/generic/web/viewer.html?file=' + encodeURIComponent(url2);
|
||||
window.open(url, '_blank');
|
||||
} else {
|
||||
createMessage.warning('暂无文件或文件上传中');
|
||||
}
|
||||
var file = baseApiUrl + "/"+record.filePath;
|
||||
console.log('🤬', file);
|
||||
window.open('https://jxdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
|
||||
|
||||
// if (record.pdfPath) {
|
||||
// var url2 = getFileAccessHttpUrl(record.pdfPath);
|
||||
// let url = baseApiUrl + '/generic/web/viewer.html?file=' + encodeURIComponent(url2);
|
||||
// window.open(url, '_blank');
|
||||
// } else {
|
||||
// createMessage.warning('暂无文件或文件上传中');
|
||||
// }
|
||||
}
|
||||
|
||||
function openJxrlPdf(record) {
|
||||
if (record.jxrlPdfPath) {
|
||||
var url2 = getFileAccessHttpUrl(record.jxrlPdfPath);
|
||||
let url = baseApiUrl + '/generic/web/viewer.html?file=' + encodeURIComponent(url2);
|
||||
window.open(url, '_blank');
|
||||
} else {
|
||||
createMessage.warning('暂无文件或文件上传中');
|
||||
}
|
||||
var file = baseApiUrl + "/"+record.filePath;
|
||||
console.log('🤬', file);
|
||||
window.open('https://jxdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
|
||||
// if (record.jxrlPdfPath) {
|
||||
// var url2 = getFileAccessHttpUrl(record.jxrlPdfPath);
|
||||
// let url = baseApiUrl + '/generic/web/viewer.html?file=' + encodeURIComponent(url2);
|
||||
// window.open(url, '_blank');
|
||||
// } else {
|
||||
// createMessage.warning('暂无文件或文件上传中');
|
||||
// }
|
||||
}
|
||||
|
||||
//常见问题回调刷新
|
||||
|
|
|
@ -21,12 +21,6 @@
|
|||
</template>
|
||||
<span >课程简介</span>
|
||||
</a-menu-item >
|
||||
<!-- <a-menu-item key="sub2">
|
||||
<template #icon>
|
||||
<SettingOutlined />
|
||||
</template>
|
||||
<span @click="getGzt('jxdg')">教学大纲</span>
|
||||
</a-menu-item > -->
|
||||
<a-menu-item key="sub3" @click="getGzt('dqzy')">
|
||||
<template #icon>
|
||||
<SnippetsOutlined />
|
||||
|
@ -50,13 +44,24 @@
|
|||
<span>课程资源</span>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub7" @click="getGzt('khcl')">
|
||||
<BlockOutlined />
|
||||
<Icon icon="ant-design:import-outlined" />
|
||||
<span>上传考核材料</span>
|
||||
</a-menu-item>
|
||||
<!-- <a-menu-item key="sub8">
|
||||
<BlockOutlined />
|
||||
<span @click="gotoPageByName('jiaoXueDanYuanNeiRong')">教学单元</span>
|
||||
<a-menu-item key="sub8" @click="gotoPageByName('jiaoXueDanYuanNeiRong')">
|
||||
<Icon icon="ant-design:fund-projection-screen-outlined" />
|
||||
<span >教学单元</span>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub9" @click="getGzt('tlq')">
|
||||
<Icon icon="ant-design:aliwangwang-outlined" />
|
||||
<span >讨论区</span>
|
||||
</a-menu-item>
|
||||
<!-- <a-menu-item key="sub10">
|
||||
<template #icon>
|
||||
<SettingOutlined />
|
||||
</template>
|
||||
<span @click="getGzt('jxdg')">教学大纲</span>
|
||||
</a-menu-item > -->
|
||||
<!--
|
||||
<a-menu-item key="sub9">
|
||||
<BlockOutlined />
|
||||
<span @click="getGzt('dcwj')">问卷调查</span>
|
||||
|
@ -65,10 +70,6 @@
|
|||
<BlockOutlined />
|
||||
<span @click="getGzt('yiykzyk')">教学资源库</span>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub11">
|
||||
<BlockOutlined />
|
||||
<span @click="getGzt('tlq')">讨论区</span>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="sub12">
|
||||
<BlockOutlined />
|
||||
<span @click="getGzt('gongju')">AI识别出勤率</span>
|
||||
|
|
|
@ -21,12 +21,6 @@
|
|||
</template>
|
||||
<span>课程简介</span>
|
||||
</a-menu-item>
|
||||
<!-- <a-menu-item key="sub3">
|
||||
<template #icon>
|
||||
<SettingOutlined />
|
||||
</template>
|
||||
<span @click="getGzt('jxdg')">教学大纲</span>
|
||||
</a-menu-item> -->
|
||||
<a-menu-item key="sub4" @click="getGzt('dqzy')">
|
||||
<template #icon>
|
||||
<SnippetsOutlined />
|
||||
|
@ -51,6 +45,20 @@
|
|||
</template>
|
||||
<span>课程资源</span>
|
||||
</a-menu-item>
|
||||
|
||||
<a-menu-item key="sub9" @click="getGzt('stuJiaoXueDanYuanNeiRong')">
|
||||
<template #icon>
|
||||
<Icon icon="ant-design:fund-projection-screen-outlined" />
|
||||
</template>
|
||||
<span>教学单元</span>
|
||||
</a-menu-item>
|
||||
|
||||
<a-menu-item key="sub10">
|
||||
<template #icon>
|
||||
<Icon icon="ant-design:aliwangwang-outlined" />
|
||||
</template>
|
||||
<span @click="getGzt('tlq')">讨论区</span>
|
||||
</a-menu-item>
|
||||
</a-menu>
|
||||
</a-col>
|
||||
<a-col :lg="0" :xs="{ span: 24 }" style="text-align: right;">
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
</a-row>
|
||||
</div>
|
||||
</a-card>
|
||||
<!-- <a-card>
|
||||
<a-card>
|
||||
<div>
|
||||
<span style="float: left;line-height: 30px; font-size: 18px; font-weight: bold;">教学大纲:</span>
|
||||
<span style="width:300px;float: left;margin-top: 3px;">
|
||||
|
@ -60,7 +60,7 @@
|
|||
</a-col>
|
||||
</a-row>
|
||||
</a-card>
|
||||
<a-card>
|
||||
<!-- <a-card>
|
||||
<div style="line-height: 30px; font-size: 18px; font-weight: bold;width:100%;">
|
||||
<span style="float: left;">往届学生评价</span>
|
||||
</div>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
</a-col>
|
||||
<a-col :span="12" style="text-align: center" v-if="szkc != '1'">
|
||||
<a-button type="primary" class="wenZiJiaCu" style="font-size: 18px; height: 45px"
|
||||
><RouterLink target="_blank" :to="{ path: '/site/qaAddPageThpjb', query: { type: 4, ktId } }">同行评价表</RouterLink></a-button
|
||||
><RouterLink target="_blank" :to="{ path: '/site/qaAddPageThpjb', query: { type: 6, ktId } }">同行评价表</RouterLink></a-button
|
||||
>
|
||||
</a-col>
|
||||
<a-col :span="24" v-if="szkc == '1'" style="text-align: center">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div id="siteMain">
|
||||
<div id="maxSite">
|
||||
<a-layout style="height: calc(100vh - 30px)">
|
||||
<a-layout >
|
||||
<headerPage/>
|
||||
<div style="margin-top:10px;background:#fff;">
|
||||
<div style="padding: 20px;width: 98%;">
|
||||
|
@ -18,7 +18,12 @@
|
|||
</div>
|
||||
<div style="width:98%;" v-for="(item,index) in dataSource">
|
||||
<a-comment style="padding: 20px;">
|
||||
<template #author>{{item.studentName}}</template>
|
||||
<template #avatar>
|
||||
<a-avatar :src="'/resource/img/kc/moren.png'" style="background-color: #c4bfbf;"/>
|
||||
</template>
|
||||
<template #author>
|
||||
{{item.studentName}}
|
||||
</template>
|
||||
<template #datetime>
|
||||
<span>{{item.createTime}}</span>
|
||||
</template>
|
||||
|
@ -36,6 +41,9 @@
|
|||
</a-comment>
|
||||
<a-divider style="border-color: #7cb305" dashed />
|
||||
</div>
|
||||
<div>
|
||||
<a-pagination v-model="current" :total="total" @change="handlePageChange" :pageSize="pageSize" style="text-align: right;"/>
|
||||
</div>
|
||||
<div style="padding: 40px;background: #fafafa">
|
||||
<a-row>
|
||||
<a-col :span="24">
|
||||
|
@ -88,7 +96,7 @@ dayjs.extend(relativeTime);
|
|||
const current = ref<number>(0);
|
||||
const total = ref<number>(0);
|
||||
const pageNo = ref<number>(0);
|
||||
const pageSize = ref<number>(50);
|
||||
const pageSize = ref<number>(10);
|
||||
const APagination = Pagination;
|
||||
const AComment = Comment;
|
||||
const { currentRoute } = useRouter();
|
||||
|
@ -121,6 +129,7 @@ dayjs.extend(relativeTime);
|
|||
|
||||
//新增翻页
|
||||
function handlePageChange(page: number) {
|
||||
current.value = page;
|
||||
loadData(page);
|
||||
}
|
||||
|
||||
|
@ -131,10 +140,12 @@ dayjs.extend(relativeTime);
|
|||
});
|
||||
}
|
||||
function loadData(arg){
|
||||
defHttp.get({ url: '/zyTlqContent/zyTlqContent/list', params: { mainId:id+"",column:'createTime',order:'desc' } }).then((res) => {
|
||||
defHttp.get({ url: '/zyTlqContent/zyTlqContent/list', params: { mainId:id+"",column:'createTime',order:'desc',pageNo:current.value,pageSize : pageSize.value } }).then((res) => {
|
||||
console.log(`🚀 ~ defHttp.get ~ res:`, res)
|
||||
dataSource.value = res.records;
|
||||
total.value = res.total;
|
||||
pageNo.value = res.pages;
|
||||
current.value = res.current;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue