2023年11月1日 调整直播页(管理端)修复部分内容,
This commit is contained in:
parent
9ddb60a6d4
commit
44ec6a0c85
|
@ -79,12 +79,12 @@ export const searchFormSchema: FormSchema[] = [
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
label: "教学楼编号",
|
// label: "教学楼编号",
|
||||||
field: 'jxlId',
|
// field: 'jxlId',
|
||||||
component: 'Input',
|
// component: 'Input',
|
||||||
colProps: {span: 6},
|
// colProps: {span: 6},
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
label: "教学楼名称",
|
label: "教学楼名称",
|
||||||
field: 'jxlName',
|
field: 'jxlName',
|
||||||
|
|
|
@ -89,12 +89,12 @@ export const searchFormSchema: FormSchema[] = [
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
label: "教学楼编号",
|
// label: "教学楼编号",
|
||||||
field: 'jxlId',
|
// field: 'jxlId',
|
||||||
component: 'JInput',
|
// component: 'JInput',
|
||||||
colProps: {span: 6},
|
// colProps: {span: 6},
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
label: "教学楼名称",
|
label: "教学楼名称",
|
||||||
field: 'JInput',
|
field: 'JInput',
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="6">
|
<a-col :span="6">
|
||||||
<div class="numberBlob handleCss" @click="openDetail({ sfyx2: '0' })">
|
<div class="numberBlob handleCss" @click="openDetail({ sfyx2: '0' })">
|
||||||
<div class="numSpan orange" style="font-size: 24px;height: 50px;line-height: 50px;">{{ getSysConfig().flag5 == 0?'否':'是' }}</div>
|
<div class="numSpan orange" style="font-size: 24px;height: 50px;line-height: 50px;">{{ getSysConfig().flag5 == 0?'否': leftList.filter(x => x.sfyx == 0).length || 0}}</div>
|
||||||
<div class="numberName">
|
<div class="numberName">
|
||||||
<!-- <RiseOutlined class="orange"/> -->
|
<!-- <RiseOutlined class="orange"/> -->
|
||||||
开放听课
|
开放听课
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
<a-col :span="6">
|
<a-col :span="6">
|
||||||
<div class="numberBlob">
|
<div class="numberBlob">
|
||||||
<div v-if="!statusLogList.length" class="numSpan orange" style="font-size: 24px;height: 50px;line-height: 50px;">未检测</div>
|
<div v-if="!statusLogList.length" class="numSpan orange" style="font-size: 24px;height: 50px;line-height: 50px;">未检测</div>
|
||||||
<div v-else class="numSpan orange" style="font-size: 24px;height: 50px;line-height: 50px;">{{ statusLogList.filter(x => x.type != 'green' ).length }}</div>
|
<div v-else class="numSpan orange" style="font-size: 24px;height: 50px;line-height: 50px;">{{ statusLogList.filter(x => x.type != 'green' ).length || 0 }}</div>
|
||||||
<div class="numberName">
|
<div class="numberName">
|
||||||
<!-- <RiseOutlined class="orange"/> -->
|
<!-- <RiseOutlined class="orange"/> -->
|
||||||
设备异常
|
设备异常
|
||||||
|
@ -96,8 +96,7 @@
|
||||||
<div class="" style="padding: 1rem;">
|
<div class="" style="padding: 1rem;">
|
||||||
<a-row :gutter="[16,16]">
|
<a-row :gutter="[16,16]">
|
||||||
<a-col :span="6" v-for="(item,index) of cardList" :key="index">
|
<a-col :span="6" v-for="(item,index) of cardList" :key="index">
|
||||||
<!-- <a-card bordered hoverable @click="() => (currentCardIndex = index,searchReset())" :class="currentCardIndex == index?'active':''"> -->
|
<a-card bordered hoverable @click="() => (currentCardIndex = index,searchReset())" :class="currentCardIndex == index?'active':''">
|
||||||
<a-card bordered >
|
|
||||||
<template #title>
|
<template #title>
|
||||||
<div style="float: left;font-size: 15px;font-weight: 600;margin-bottom: 10px;">{{ item.jxlName }}</div>
|
<div style="float: left;font-size: 15px;font-weight: 600;margin-bottom: 10px;">{{ item.jxlName }}</div>
|
||||||
<div style="float: right"><a-button type="primary" @click="refreshLogsFn(item.jxlName)">设备检测</a-button></div>
|
<div style="float: right"><a-button type="primary" @click="refreshLogsFn(item.jxlName)">设备检测</a-button></div>
|
||||||
|
@ -105,7 +104,7 @@
|
||||||
<a-row style="margin-bottom: 10px;text-align: center;border-bottom: 1px #f0f0f0 solid ;padding-bottom: 10px;">
|
<a-row style="margin-bottom: 10px;text-align: center;border-bottom: 1px #f0f0f0 solid ;padding-bottom: 10px;">
|
||||||
<a-col :span="6" style="font-weight: 600;" @click="openDetail({ jxlName: item.jxlName})">{{ item.jsNum }}</a-col>
|
<a-col :span="6" style="font-weight: 600;" @click="openDetail({ jxlName: item.jxlName})">{{ item.jsNum }}</a-col>
|
||||||
<a-col :span="6" style="font-weight: 600;" @click="openDetail({ jxlName: item.jxlName, sfyx: '0'})">{{ item.child.length }}</a-col>
|
<a-col :span="6" style="font-weight: 600;" @click="openDetail({ jxlName: item.jxlName, sfyx: '0'})">{{ item.child.length }}</a-col>
|
||||||
<a-col :span="6" style="font-weight: 600;" @click="openDetail({ jxlName: item.jxlName})">{{ item.child.filter(x => x.allIsOnLine == 4).length || 0 }}</a-col>
|
<a-col :span="6" style="font-weight: 600;" @click="openDetail({ jxlName: item.jxlName})">{{ item.child.filter(x => x.sfyx == 0).length || 0 }}</a-col>
|
||||||
<a-col :span="6" style="font-weight: 600;" v-if="!statusLogList.length">未检测</a-col>
|
<a-col :span="6" style="font-weight: 600;" v-if="!statusLogList.length">未检测</a-col>
|
||||||
<a-col :span="6" style="font-weight: 600;" v-else>{{ statusLogList.filter(x => x.jxlName == item.jxlName && x.type != 'green' ).length }}</a-col>
|
<a-col :span="6" style="font-weight: 600;" v-else>{{ statusLogList.filter(x => x.jxlName == item.jxlName && x.type != 'green' ).length }}</a-col>
|
||||||
<a-col :span="6" @click="openDetail({ jxlName: item.jxlName})">总数</a-col>
|
<a-col :span="6" @click="openDetail({ jxlName: item.jxlName})">总数</a-col>
|
||||||
|
@ -724,7 +723,7 @@ function batchTingkeClose(){
|
||||||
}
|
}
|
||||||
|
|
||||||
function ylLiveNew(record) {
|
function ylLiveNew(record) {
|
||||||
let routeData = route.resolve({ path:'/site/liveRoom2',query:{ id: record.jsbh } });
|
let routeData = route.resolve({ path:'/site/liveRoom2',query:{ id: record.jsbh, ktId: record.nowIsClassId } });
|
||||||
window.open(routeData.href, '_blank');
|
window.open(routeData.href, '_blank');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -803,8 +802,8 @@ function tableChange(pagination) {
|
||||||
|
|
||||||
function filterDataSource() {
|
function filterDataSource() {
|
||||||
let dataSource:any = [];
|
let dataSource:any = [];
|
||||||
//let list = cardList.value[currentCardIndex.value]?.child??[];
|
let list = cardList.value[currentCardIndex.value]?.child??[];
|
||||||
let list = leftList.value??[];
|
// let list = leftList.value??[];
|
||||||
let qw = queryParam.value;
|
let qw = queryParam.value;
|
||||||
|
|
||||||
console.log('->',qw, qw.nowIsClass);
|
console.log('->',qw, qw.nowIsClass);
|
||||||
|
|
|
@ -11,22 +11,27 @@
|
||||||
<a-col :xs="{ span: 24 }" :sm="{ span: 19 }" :lg="{ span: 19 }">
|
<a-col :xs="{ span: 24 }" :sm="{ span: 19 }" :lg="{ span: 19 }">
|
||||||
<div>
|
<div>
|
||||||
<a-card class="videoCardMain" style="width:100%">
|
<a-card class="videoCardMain" style="width:100%">
|
||||||
<!-- <template #title>
|
<template #title>
|
||||||
|
<span v-if="ktangInfo && route.query.ktId">
|
||||||
<span class="" style="border-radius: 5px;">
|
<span class="" style="border-radius: 5px;">
|
||||||
{{ ktangInfo.kcmc || ' ' }}
|
{{ ktangInfo.kcmc || ' ' }}
|
||||||
</span>
|
</span>
|
||||||
<span style="margin-left: 10px;background: #1c84c6;color: #fff;padding: 3px;border-radius: 5px;font-size: 12px;" @click="() => tingKeZuJiAddModal.view({ ketangbiaoid: route.query.ktId })">填写评价表</span>
|
<!-- <span style="margin-left: 10px;background: #1c84c6;color: #fff;padding: 3px;border-radius: 5px;font-size: 12px;" @click="() => tingKeZuJiAddModal.view({ ketangbiaoid: route.query.ktId })">填写评价表</span> -->
|
||||||
<div style="font-size: .5rem;">
|
<div style="font-size: .5rem;">
|
||||||
{{ ktangInfo.zc || ' ' }}-{{ ktangInfo.skjs || ' ' }}
|
{{ ktangInfo.zc || ' ' }}-{{ ktangInfo.skjs || ' ' }}
|
||||||
</div>
|
</div>
|
||||||
</template> -->
|
</span>
|
||||||
<template #title>
|
<span v-else>
|
||||||
|
当前无课
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
<!-- <template #title>
|
||||||
<span class="" style="border-radius: 5px;">
|
<span class="" style="border-radius: 5px;">
|
||||||
{{ ((tableData[0])?.xq) || '' }}
|
{{ ((tableData[0])?.xq) || '' }}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template> -->
|
||||||
<div style="padding: 1rem;">
|
<div style="padding: 1rem;">
|
||||||
<!-- <div >{{ mainVideoCardBoxTitle || '' }}</div> -->
|
<div >{{ mainVideoCardBoxTitle || '' }}</div>
|
||||||
<bVideo ref="mainVideo" videoId="mainVideo" :videoOption="{ autoplay: true }" @load-end="mainVideoLoadEnd"/>
|
<bVideo ref="mainVideo" videoId="mainVideo" :videoOption="{ autoplay: true }" @load-end="mainVideoLoadEnd"/>
|
||||||
<!-- <div style="width: 100%;margin-top:10px;">
|
<!-- <div style="width: 100%;margin-top:10px;">
|
||||||
<a-textarea style="width: calc(100% - 7rem);height:120px;float: left;" v-model:value="model.notes" placeholder="您可以填写听课笔记"></a-textarea>
|
<a-textarea style="width: calc(100% - 7rem);height:120px;float: left;" v-model:value="model.notes" placeholder="您可以填写听课笔记"></a-textarea>
|
||||||
|
@ -152,7 +157,7 @@ onMounted(() => {
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
//getSuibi();
|
//getSuibi();
|
||||||
//getKcxx();
|
getKcxx();
|
||||||
isError.value = true;
|
isError.value = true;
|
||||||
}else{
|
}else{
|
||||||
isError.value = false;
|
isError.value = false;
|
||||||
|
@ -232,6 +237,11 @@ function getSuibi(){
|
||||||
function getKcxx(){
|
function getKcxx(){
|
||||||
//查询课程信息
|
//查询课程信息
|
||||||
//route.query.ktId
|
//route.query.ktId
|
||||||
|
if(!route.query.ktId){
|
||||||
|
ktangInfo.value = {};
|
||||||
|
kcCardBoxTitle.value = '当前无课';
|
||||||
|
return;
|
||||||
|
}
|
||||||
let param = {
|
let param = {
|
||||||
id: route.query.ktId
|
id: route.query.ktId
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue