修改bug

This commit is contained in:
yangjun 2024-05-24 09:42:02 +08:00
parent d844d6b7c1
commit e7be1efbb7
7 changed files with 31 additions and 17 deletions

View File

@ -12,8 +12,8 @@
{{funSj(item.rq)}} {{item.kssj}}-{{item.jssj}}
</div>
<div>
<!-- <a href="javascript:void(0)" @click="funGkk(item.jslj)"> -->
<a href="javascript:void(0)">
<a href="javascript:void(0)" @click="funGkk(item.jslj)">
<!-- <a href="javascript:void(0)"> -->
<div>
<span style="position: absolute;top: 4rem;border-radius: 0 10px 10px 0;background: #1ab394;color: #FFF;padding: 3px 10px 3px 5px;z-index: 2;" v-if="item.dqztpx == 1">{{item.dqzt}}</span>
<span style="position: absolute;top: 4rem;border-radius: 0 10px 10px 0;background: #1c84c6;color: #FFF;padding: 3px 10px 3px 5px;z-index: 2;" v-if="item.dqztpx == 2">{{item.dqzt}}</span>
@ -27,13 +27,13 @@
</div>
</a>
<div style="padding: 10px 1rem 1rem;background: #f3f3f3;">
<a href="javascript:void(0)" >
<!-- <a href="javascript:void(0)" > -->
<!-- <a href="javascript:void(0)" @click="funGkk(item.jslj)"> -->
<div class="ggkTitle ggkCcxs" :title="item.hxr +`·`+item.hxrlb">{{item.hxr}} · {{item.hxrlb}}</div>
<div class="ggkTwoTitle ggkCcxs" :title="item.zc +`·`+item.xy">{{item.zc}} {{item.xy}}</div>
<div class="ggkThreeTitle ggkCcxs">{{item.ktzt}}</div>
<div class="ggkFourTitle">{{item.logcount}}人听课</div>
</a>
<!-- </a> -->
<!-- -{{ item.kclj }}-{{item.sfxs}}-{{ item.jslj }} -->
<div v-if="(item.dqztpx=='1'||item.dqztpx=='2')&&item.kclj!=null"><a-button type="primary" class="ggkButton" target="_blank" :href="item.kclj" @click="jrkt(item)">进入课堂</a-button></div>
<div v-else><a-button type="primary" class="ggkButton" target="_blank" :href="item.kclj" @click="jrkt(item)" >直播回放</a-button></div>

View File

@ -1,5 +1,5 @@
<template>
<a-card>
<div>
<a-row>
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 8 }" :key="index" v-for="(item, index) in allList" >
<div class="ketangCard ketangCardcol" >
@ -14,7 +14,7 @@
</div>
</a-col>
</a-row>
</a-card>
</div>
</template>
<script lang="ts" setup>

View File

@ -158,7 +158,7 @@ const baseApiUrl = globSetting.domainUrl;
}
//
function getKcjsJxdg(){
defHttp.get({ url: '/zyJxdg/zyJxdg/getKcjsJxdg', params: { rwbh:rwbh} }).then((res) => {
defHttp.get({ url: '/zyJxdg/zyJxdg/getKcjsJxdg', params: { rwbh:rwbh,xqxn:xqxn} }).then((res) => {
console.log(`🚀 1111111111111~ getKcjsJxdg ~ res:`, res)
if(res){
jxdgInfo.value = res;

View File

@ -6,9 +6,9 @@
<span style="margin-left: 10px;"><a href="javascript:void(0);" @click="openKecheng(null)">全部课程</a></span>
</template>
<!-- <template #extra></template> -->
<div class="cardBody">
<a-row>
<!-- <div class="cardBody"> -->
<dqxqkc/>
<!-- <a-row>
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 8 }" :key="index" v-for="(item, index) in allList" :hidden="currentPageSize * 3 <= index" class="">
<div class="ketangCard ketangCardcol" >
@ -32,8 +32,8 @@
<a v-if="currentPageSize != 1" style="float: right;" @click="closePage">收起</a>
</a-col>
</a-row>
<a hidden @click="initData">刷新</a>
</div>
<a hidden @click="initData">刷新</a> -->
<!-- </div> -->
</a-card>
<baseModal ref="registerForm"/>
</template>
@ -45,6 +45,7 @@ import { addTingKeLog, getUserId } from '/@/views/site/utils';
import { onMounted } from 'vue';
import { useRouter } from 'vue-router'
import { getUserSf,getSysConfig } from '/@/views/site/utils/index';
import dqxqkc from '/@/views/site/renKeJiaoCheng/checkKecheng/dqxqkc.vue';
onMounted(() => {
initData();

View File

@ -3,7 +3,7 @@
<div style="margin-top: 20px;">
<span style="margin-left: 30px;font-size: 24px;font-weight: 600;">我的课程</span>
</div>
<div>
<div style="min-height:200px;">
<a-row>
<a-col :xs="{ span: 24 }" :sm="{ span: 12 }" :lg="{ span: 6 }" style="padding: 0 10px;margin-bottom: 10px;" v-for="(item,index2) in dataSource" :key="index2">
<div style="border: 2px #eef1f2 solid;">
@ -27,6 +27,9 @@
</div>
</div>
</a-col>
<a-col :span="24" v-show="dataSource.length == 0">
<a-empty/>
</a-col>
</a-row>
</div>
</div>

View File

@ -179,7 +179,7 @@ function openJxrlPdf(record){
}
//
function getKcjsJxdg(){
defHttp.get({ url: '/zyJxdg/zyJxdg/getKcjsJxdg', params: { rwbh:rwbh} }).then((res) => {
defHttp.get({ url: '/zyJxdg/zyJxdg/getKcjsJxdg', params: { rwbh:rwbh,xqxn:xqxn} }).then((res) => {
// console.log(`🚀 1111111111111~ getKcjsJxdg ~ res:`, res)
if(res){
jxdgInfo.value = res;

View File

@ -160,9 +160,19 @@
return;
}
ZyInfoStudentModalPage.value.disableSubmit = false;
var param = {id:record.stuId,zyfj:record.filePath}
ZyInfoStudentModalPage.value.edit(param);
createConfirm({
iconType: 'warning',
title: '确认上传',
content: '是否确认上传作业',
okText: '确认',
cancelText: '取消',
onOk: () => {
ZyInfoStudentModalPage.value.disableSubmit = false;
var param = {id:record.stuId,zyfj:record.filePath}
ZyInfoStudentModalPage.value.edit(param);
}
});
}
//