2023年5月19日 修复问题
This commit is contained in:
parent
6137b6f833
commit
8e8440ba67
|
@ -55,6 +55,7 @@
|
|||
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './tpkqk.api';
|
||||
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
|
||||
import { dateFormat } from '/@/utils/common/compUtils';
|
||||
import { getSysConfig } from '/@/views/site/utils/index';
|
||||
|
||||
const queryParam = ref<any>({});
|
||||
const toggleSearchStatus = ref<boolean>(false);
|
||||
|
@ -99,19 +100,24 @@
|
|||
//进入就加载
|
||||
onMounted(() => {
|
||||
const format = 'yyyy-MM-dd';
|
||||
const startTime = new Date();
|
||||
startTime.setTime(startTime.getTime()-60000*60*24*7)
|
||||
queryParam.value.startTime = dateFormat(startTime, format)
|
||||
queryParam.value.endTime = dateFormat(new Date(), format)
|
||||
// const startTime = new Date();
|
||||
// startTime.setTime(startTime.getTime()-60000*60*24*7)
|
||||
|
||||
//使用系统配置
|
||||
// getSysConfig().bxqkssj;
|
||||
// getSysConfig().bxqjssj;
|
||||
|
||||
queryParam.value.startTime = dateFormat(getSysConfig().bxqkssj, format)
|
||||
queryParam.value.endTime = dateFormat(getSysConfig().bxqjssj, format)
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* 成功回调
|
||||
*/
|
||||
function handleSuccess() {
|
||||
(selectedRowKeys.value = []) && reload();
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 查询
|
||||
|
@ -119,7 +125,7 @@
|
|||
function searchQuery() {
|
||||
reload();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 重置
|
||||
*/
|
||||
|
@ -129,7 +135,7 @@
|
|||
//刷新数据
|
||||
reload();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
</a-col>
|
||||
<a-col :span="6">
|
||||
<a-form-item label="" style="padding: 10px;">
|
||||
<JDictSelectTag placeholder="课程性质" v-model:value="queryParam.kcxz" dictCode="kc_kcxz" @change="loadData"/>
|
||||
<JDictSelectTag placeholder="课程性质" v-model:value="queryParam.kcxz" dictCode="kcxz" @change="loadData"/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
|
@ -59,8 +59,8 @@ const list = (queryParam) => defHttp.get({ url: '/kcTingke/kcTingke/getIndexTpkz
|
|||
console.log(`🚀 ~ file: tkztj.vue:67 ~ list ~ barMultiData:`, barMultiData)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
</style>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<a-col :span="24" style="text-align: center;" v-show="listData.length==0"><strong style="font-size: 16px;margin-left: 20px;margin-top: 10px;">暂无数据</strong></a-col>
|
||||
<a-col :span="24" v-show="listData.length>0">
|
||||
<div style="height: 330px;overflow-y: auto;">
|
||||
<div style="font-size: 14px;margin-left: 20px;margin-top: 10px;line-height: 20px;" v-for="(item,index) in listData">
|
||||
<div style="font-size: 14px;margin-left: 20px;margin-top: 10px;line-height: 20px;" v-for="(item,index) in listData" :key="index">
|
||||
<div v-if="item.type == '1'">
|
||||
<i class="fas fa-users green" /> {{item.username}},听了 {{item.kkdw}} 的课程。
|
||||
<p style="font-size: 10px;"><i class="fas fa-history" /> {{item.tingketime}}</p>
|
||||
|
@ -18,14 +18,14 @@
|
|||
<a-divider style="margin:12px 0;"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div style="text-align: center;margin-top: 10px;" v-show="pageNo>0">
|
||||
<a @click="funMore">更多</a>
|
||||
</div>
|
||||
</a-col>
|
||||
|
||||
|
||||
</a-row>
|
||||
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<!-- -{{ item }}- -->
|
||||
<div class="wenZiJiaCu">
|
||||
<span v-if="item.score" style="color: #337ab7;" @click="viewModal.view(item)">已评分:{{ item.score }}分</span>
|
||||
<span v-else style="color: #337ab7;" @click="tingKeZuJiAddModal.view(item)"><FormOutlined/>填写评价</span>
|
||||
<span v-else style="color: #b77633;" @click="tingKeZuJiAddModal.view(item)"><FormOutlined/>填写评价</span>
|
||||
<span v-if="item.suibiNotes" style="padding-left: .5rem;color: #337ab7;">
|
||||
<a-popover title="听课笔记">
|
||||
<template #content>
|
||||
|
|
|
@ -2,6 +2,7 @@ import { defHttp } from '/@/utils/http/axios';
|
|||
import { useUserStore } from '/@/store/modules/user';
|
||||
import md5 from 'md5';
|
||||
import { useMessage } from '/@/hooks/web/useMessage';
|
||||
//import type { UserInfo, LoginInfo, SysConfigInfo } from '/#/store';
|
||||
|
||||
|
||||
/**
|
||||
|
@ -47,8 +48,9 @@ export const getUserInfo = () => {
|
|||
}
|
||||
|
||||
// export const getSysConfig = () => defHttp.get({ url: '/kcSysConfig/kcSysConfig/queryById', params:{id:'1'} })
|
||||
export const getSysConfig = ():any => {
|
||||
export const getSysConfig = (): any => {
|
||||
const { sysConfigInfo } = useUserStore();
|
||||
// let nul: SysConfigInfo = {};
|
||||
return sysConfigInfo??{};
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<template #title>
|
||||
<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/tkjlb.docx',target: '_self',fileName:'东北师范大学听课记录表.docx'})">听课记录表</a></span>
|
||||
<span class="titleDownload"><a @click="downloadByUrl({url:'/downPath/jxzlpjb.docx',target: '_self',fileName:'东北师范大学本科课堂教学质量评价表(同行专家用)'})">同行评价表</a></span>
|
||||
</template>
|
||||
<template #extra><RouterLink target='_blank' to="/site/yuyuekechengMore">查看更多</RouterLink></template>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<div style="padding: 20px">
|
||||
<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/tkjlb.docx',target: '_self',fileName:'东北师范大学听课记录表.docx'})">听课记录表</a></span>
|
||||
<span class="titleDownload"><a @click="downloadByUrl({url:'/downPath/jxzlpjb.docx',target: '_self',fileName:'东北师范大学本科课堂教学质量评价表(同行专家用)'})">同行评价表</a></span>
|
||||
</div>
|
||||
<a-divider class="itemDivider"/>
|
||||
|
|
Loading…
Reference in New Issue