修改bug

This commit is contained in:
yangjun 2023-05-31 16:21:12 +08:00
parent de6e7c6415
commit ec63c5e045
14 changed files with 76 additions and 44 deletions

View File

@ -6,7 +6,8 @@
<a-row>
<a-col :span="6">
<a-form-item label="" style="padding: 10px;">
<JDictSelectTag placeholder="评课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf" @change="loadData" />
<!-- <JDictSelectTag placeholder="评课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf" @change="loadData" /> -->
<j-dict-select-tag placeholder="听课身份" v-model:value="queryParam.tksf" style="width: 100%;" dictCode="kc_tksfrzb,ZWMC,ZWMC,true group by ZWMC" @change="loadData"/>
</a-form-item>
</a-col>
<a-col :span="6">

View File

@ -9,7 +9,8 @@
<a-row :gutter="24">
<a-col :span="6">
<a-form-item label="">
<JDictSelectTag placeholder="听课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf"/>
<!-- <JDictSelectTag placeholder="听课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf"/> -->
<j-dict-select-tag placeholder="听课身份" v-model:value="queryParam.tksf" style="width: 100%;" dictCode="kc_tksfrzb,ZWMC,ZWMC,true group by ZWMC" />
</a-form-item>
</a-col>
<a-col :span="6">
@ -83,6 +84,7 @@
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
import { dateFormat } from '/@/utils/common/compUtils';
import viewModalPage from '/@/views/site/tingKeZuJi/components/viewModal.vue';
import { getSysConfig } from '/@/views/site/utils/index';
const queryParam = ref<any>({});
const toggleSearchStatus = ref<boolean>(false);
@ -129,9 +131,7 @@ const viewModal = ref();
//
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.startTime = dateFormat(getSysConfig().bxqkssj, format)
queryParam.value.endTime = dateFormat(new Date(), format)
});

View File

@ -6,7 +6,8 @@
<a-row :gutter="24">
<a-col :span="6">
<a-form-item label="">
<JDictSelectTag placeholder="听课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf"/>
<!-- <JDictSelectTag placeholder="听课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf"/> -->
<j-dict-select-tag placeholder="听课身份" v-model:value="queryParam.tksf" style="width: 100%;" dictCode="kc_tksfrzb,ZWMC,ZWMC,true group by ZWMC" />
</a-form-item>
</a-col>
<a-col :span="6">
@ -72,6 +73,7 @@
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './pktjb.api';
import { downloadFile } from '/@/utils/common/renderUtils';
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
import { getSysConfig } from '/@/views/site/utils/index';
const queryParam = ref<any>({});
const toggleSearchStatus = ref<boolean>(false);
@ -116,9 +118,7 @@
//
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.startTime = dateFormat(getSysConfig().bxqkssj, format)
queryParam.value.endTime = dateFormat(new Date(), format)
});
/**

View File

@ -6,7 +6,8 @@
<a-row>
<a-col :span="5">
<a-form-item label="" style="padding: 10px;">
<JDictSelectTag placeholder="评课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf" @change="loadData" />
<!-- <JDictSelectTag placeholder="评课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf" @change="loadData" /> -->
<j-dict-select-tag placeholder="听课身份" v-model:value="queryParam.tksf" style="width: 100%;" dictCode="kc_tksfrzb,ZWMC,ZWMC,true group by ZWMC" @change="loadData"/>
</a-form-item>
</a-col>
<a-col :span="5">

View File

@ -25,13 +25,11 @@ export const columns = <JVxeColumn[]>([
{
title: '开课单位',
align: "left",
width: '100px',
key: 'kkdw'
},
{
title: '课程性质',
align: "left",
width: '105px',
key: 'kcxz_dictText'
},
// {

View File

@ -5,7 +5,8 @@
<a-row :gutter="24">
<a-col :span="6">
<a-form-item label="">
<JDictSelectTag placeholder="听课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf"/>
<!-- <JDictSelectTag placeholder="听课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf"/> -->
<j-dict-select-tag placeholder="听课身份" v-model:value="queryParam.tksf" style="width: 100%;" dictCode="kc_tksfrzb,ZWMC,ZWMC,true group by ZWMC" />
</a-form-item>
</a-col>
<a-col :span="6">
@ -76,6 +77,7 @@
import { downloadFile } from '/@/utils/common/renderUtils';
import KcTingkeModal from './components/KcTingkeModal.vue'
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
import { getSysConfig } from '/@/views/site/utils/index';
const queryParam = ref<any>({});
const toggleSearchStatus = ref<boolean>(false);
@ -120,9 +122,9 @@
//
onMounted(() => {
const format = 'yyyy-MM-dd';
const startTime = new Date();
startTime.setTime(startTime.getTime()-60000*60*24*7)
queryParam.value.startTime = dateFormat(startTime, format)
// const startTime = new Date();
// startTime.setTime(startTime.getTime()-60000*60*24*7)
queryParam.value.startTime = dateFormat(getSysConfig().bxqkssj, format)
queryParam.value.endTime = dateFormat(new Date(), format)
});
/**

View File

@ -5,7 +5,8 @@
<a-row :gutter="24">
<a-col :span="3">
<a-form-item label="">
<JDictSelectTag placeholder="听课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf"/>
<!-- <JDictSelectTag placeholder="听课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf"/> -->
<j-dict-select-tag placeholder="听课身份" v-model:value="queryParam.tksf" style="width: 100%;" dictCode="kc_tksfrzb,ZWMC,ZWMC,true group by ZWMC" />
</a-form-item>
</a-col>
<a-col :span="4">
@ -66,6 +67,7 @@
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './kkdw.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);
@ -111,9 +113,9 @@
//
onMounted(() => {
const format = 'yyyy-MM-dd';
const startTime = new Date();
startTime.setTime(startTime.getTime()-60000*60*24*7)
queryParam.value.startTime = dateFormat(startTime, format)
// const startTime = new Date();
// startTime.setTime(startTime.getTime()-60000*60*24*7)
queryParam.value.startTime = dateFormat(getSysConfig().bxqkssj, format)
queryParam.value.endTime = dateFormat(new Date(), format)
});

View File

@ -6,7 +6,8 @@
<a-row>
<a-col :span="6">
<a-form-item label="" style="padding: 10px;">
<JDictSelectTag placeholder="听课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf" @change="loadData" />
<!-- <JDictSelectTag placeholder="听课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf" @change="loadData" /> -->
<j-dict-select-tag placeholder="听课身份" v-model:value="queryParam.tksf" style="width: 100%;" dictCode="kc_tksfrzb,ZWMC,ZWMC,true group by ZWMC" @change="loadData"/>
</a-form-item>
</a-col>
<a-col :span="6">

View File

@ -6,7 +6,8 @@
<a-row :gutter="24">
<a-col :span="3">
<a-form-item label="">
<JDictSelectTag placeholder="听课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf"/>
<!-- <JDictSelectTag placeholder="听课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf"/> -->
<j-dict-select-tag placeholder="听课身份" v-model:value="queryParam.tksf" style="width: 100%;" dictCode="kc_tksfrzb,ZWMC,ZWMC,true group by ZWMC" />
</a-form-item>
</a-col>
<a-col :span="4">
@ -62,6 +63,7 @@
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './tkmx.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);
@ -107,9 +109,7 @@
//
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.startTime = dateFormat(getSysConfig().bxqkssj, format)
queryParam.value.endTime = dateFormat(new Date(), format)
});

View File

@ -6,7 +6,8 @@
<a-row>
<a-col :span="5">
<a-form-item label="" style="padding: 10px;">
<JDictSelectTag placeholder="听课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf" @change="loadData" />
<!-- <JDictSelectTag placeholder="听课身份" v-model:value="queryParam.tksf" dictCode="kc_tksf" @change="loadData" /> -->
<j-dict-select-tag placeholder="听课身份" v-model:value="queryParam.tksf" style="width: 100%;" dictCode="kc_tksfrzb,ZWMC,ZWMC,true group by ZWMC" @change="loadData"/>
</a-form-item>
</a-col>
<a-col :span="5">

View File

@ -4,22 +4,48 @@
<div id="topDiv" v-show="props.showRightButton">
<a-row >
<a-col :xs="{ span: 0 }" :sm="{ span: 24 }" :lg="{ span: 24 }">
<div class="topButton" @click="toTop">
<div class="topButton" @click="toTop" style="float: right;">
<ArrowUpOutlined/>
</div>
</a-col>
<a-col :xs="{ span: 0 }" :sm="{ span: 24 }" :lg="{ span: 24 }">
<div class="topYiJianFanKui" @click="funYjfk">
<div class="topYiJianFanKui" @click="funYjfk" style="float: right;">
意见反馈
</div>
</a-col>
<div style="line-height: 1rem;width: 100%;">&nbsp;</div>
<div style="line-height: 3rem;padding-top: 0.5rem;font-size: .7rem;" class="topLinkTextEllipsis"><a class="abox" @click="toDom('tkzjDom')">听课足迹</a></div>
<div style="line-height: 3rem;padding-top: 0.5rem;font-size: .7rem;" class="topLinkTextEllipsis"><a class="abox" @click="toDom('rkjcDom')">任课教程</a></div>
<div style="line-height: 3rem;padding-top: 0.5rem;font-size: .7rem;" class="topLinkTextEllipsis"><a class="abox" @click="toDom('yykcDom')">预约课程</a></div>
<div style="line-height: 3rem;padding-top: 0.5rem;font-size: .7rem;" class="topLinkTextEllipsis"><a class="abox" @click="toDom('jcgkkDom')">精彩公开课</a></div>
<div style="line-height: 3rem;padding-top: 0.5rem;font-size: .7rem;" class="topLinkTextEllipsis"><a class="abox" @click="toDom('kxstkktDom')">可线上听课课堂</a></div>
<div style="line-height: 3rem;padding-top: 0.5rem;font-size: .7rem;" class="topLinkTextEllipsis"><a class="abox" @click="toDom('jrkclbDom')">今日课程列表</a></div>
<a-col :xs="{ span: 0 }" :sm="{ span: 24 }" :lg="{ span: 24 }">
<a-menu style="margin-top: 20px;" :selectable="false">
<a-menu-item key="1">
<a class="abox" @click="toDom('tkzjDom')">听课足迹</a>
</a-menu-item>
<a-menu-item key="2">
<a class="abox" @click="toDom('rkjcDom')">任教课程</a>
</a-menu-item>
<a-menu-item key="3">
<a class="abox" @click="toDom('yykcDom')">预约课程</a>
</a-menu-item>
<a-menu-item key="4">
<a class="abox" @click="toDom('jcgkkDom')">&nbsp;&nbsp;&nbsp;&nbsp;</a>
</a-menu-item>
<a-menu-item key="5">
<a class="abox" @click="toDom('kxstkktDom')">线上听课</a>
</a-menu-item>
<a-menu-item key="6">
<a class="abox" @click="toDom('jrkclbDom')">今日课程</a>
</a-menu-item>
</a-menu>
<!-- <div style="background-color: #fff;">
<div>&nbsp;</div>
<div class="topLinkTextEllipsis"><a class="abox" @click="toDom('tkzjDom')">听课足迹</a></div>
<div class="topLinkTextEllipsis"><a class="abox" @click="toDom('rkjcDom')">任教课程</a></div>
<div class="topLinkTextEllipsis"><a class="abox" @click="toDom('yykcDom')">预约课程</a></div>
<div class="topLinkTextEllipsis"><a class="abox" @click="toDom('jcgkkDom')">&nbsp;&nbsp;&nbsp;&nbsp;</a></div>
<div class="topLinkTextEllipsis"><a class="abox" @click="toDom('kxstkktDom')">线上听课</a></div>
<div class="topLinkTextEllipsis"><a class="abox" @click="toDom('jrkclbDom')">今日课程</a></div>
</div> -->
</a-col>
</a-row>
</div>
<span class="topTitle" >
@ -125,7 +151,7 @@ function toIndex(){
right: 1rem;
top: 5rem;
z-index: 1;
width: 4rem;
width: 100px;
.topButton {
background: #c2c2c2;
margin-bottom: 2rem;
@ -142,6 +168,7 @@ function toIndex(){
line-height: 2.1rem;
}
.topLinkTextEllipsis {
line-height: 18px;
overflow:hidden;
white-space: nowrap;
text-overflow: ellipsis;
@ -150,11 +177,11 @@ function toIndex(){
.abox {
//border-radius: 50%;
//background: #1c84c6;
padding: 0.5rem 0.5rem 0.5rem 0;
//color: #fff;
//order: dotted red;
border: dotted #1c84c6;
color: black;
// padding: 0.5rem 0.5rem 0.5rem 0;
// border: dotted #1c84c6;
// color: black;
}
}

View File

@ -14,7 +14,7 @@
<tongZhiGongGaoPage/>
<!-- 听课足迹 -->
<tingKeZuJiPage v-if="getUserSf()=='T'"/>
<!-- 教程 -->
<!-- 教程 -->
<renKeJiaoChengPage v-if="getUserSf()=='T'"/>
<!-- 预约课程 -->
<yuYueKeChengPage ref="yykcModeal" @orther-load="yykcLoad" v-if="getUserSf()=='T'"/>

View File

@ -201,6 +201,6 @@ const saveOrUpdate = (params, isUpdate) => {
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;margin-left: 20px;
background-color: #1c84c6;font-weight: 600;border-radius: 5px;line-height: 23px;
}
</style>

View File

@ -34,7 +34,7 @@
</div>
</a-col>
<a-col :span="24">
<div style="margin-top:20px;">
<div style="margin-top:20px;text-align:center;">
<a-button type="primary" class="itemYyButton" @click="tingKeZuJiAddModal.view({ ketangbiaoid: item.id })">评价</a-button>
<a-button type="primary" class="itemBaoCuoButton" @click="funQxyy(item)">取消预约</a-button>
</div>
@ -184,15 +184,14 @@ defineExpose({
}
.itemYyButton {
background-color: #1c84c6;
float: left;
font-weight: 600;
border-radius: 5px;
}
.itemBaoCuoButton {
background-color: #1c84c6;
float: right;
font-weight: 600;
border-radius: 5px;
margin-left: 15px;
}