2024年2月26日 修改问题(智慧教室)
This commit is contained in:
parent
e1532bd541
commit
c95ca45540
|
@ -30,9 +30,9 @@
|
||||||
<div v-html="text"></div>
|
<div v-html="text"></div>
|
||||||
</template>
|
</template>
|
||||||
<!--省市区字段回显插槽-->
|
<!--省市区字段回显插槽-->
|
||||||
<template #pcaSlot="{text}">
|
<!-- <template #pcaSlot="{text}">
|
||||||
{{ getAreaTextByCode(text) }}
|
{{ getAreaTextByCode(text) }}
|
||||||
</template>
|
</template> -->
|
||||||
<template #fileSlot="{text}">
|
<template #fileSlot="{text}">
|
||||||
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
|
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
|
||||||
<a-button v-else :ghost="true" type="primary" preIcon="ant-design:download-outlined" size="small" @click="downloadFile(text)">下载</a-button>
|
<a-button v-else :ghost="true" type="primary" preIcon="ant-design:download-outlined" size="small" @click="downloadFile(text)">下载</a-button>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
<!-- -<i class="fa-sharp fa-solid fa-user"></i>- -->
|
<!-- -<i class="fa-sharp fa-solid fa-user"></i>- -->
|
||||||
<a-row class="" :gutter="[16,16]">
|
<a-row class="" :gutter="[16,16]">
|
||||||
<a-col :span="6">
|
<a-col :span="6">
|
||||||
<div class="numberBlob handleCss" @click="openDetail({ zbgn: undefined })">
|
<div class="numberBlob handleCss" @click="openJxlDetail({ })">
|
||||||
<div class="numSpan">{{ allClassNum }}</div>
|
<div class="numSpan">{{ allClassNum }}</div>
|
||||||
<div class="numberName">
|
<div class="numberName">
|
||||||
<!-- <StockOutlined class="blue"/> -->
|
<!-- <StockOutlined class="blue"/> -->
|
||||||
|
@ -35,8 +35,10 @@
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="6">
|
<a-col :span="6">
|
||||||
<div class="numberBlob handleCss" @click="openDetail({ sfyx: '0' })">
|
<div class="numberBlob handleCss" @click="openDetail({ onLineClassType: ['green', 'yellow'] })">
|
||||||
<div class="numSpan orange">{{ getSysConfig().flag5 == 0?'否': leftList.filter(x => x.sfyx == 0).length || 0}}</div>
|
<!-- <div class="numberBlob handleCss" @click="openDetail({ sfyx: '0' })"> -->
|
||||||
|
<!-- <div class="numSpan orange">{{ getSysConfig().flag5 == 0?'否': leftList.filter(x => x.sfyx == 0).length || 0}}</div> -->
|
||||||
|
<div class="numSpan orange">{{ getSysConfig().flag5 == 0?'否': leftList.filter(x => ['green', 'yellow'].indexOf(x.onLineClassType) != -1).length || 0}}</div>
|
||||||
<div class="numberName">
|
<div class="numberName">
|
||||||
<!-- <RiseOutlined class="orange"/> -->
|
<!-- <RiseOutlined class="orange"/> -->
|
||||||
开放听课
|
开放听课
|
||||||
|
@ -498,6 +500,7 @@
|
||||||
<showAllLive ref="showAllLiveRef" :currentItem="currentItem" :isShowAllLive="isShowAllLive"/>
|
<showAllLive ref="showAllLiveRef" :currentItem="currentItem" :isShowAllLive="isShowAllLive"/>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<indexDetail ref="indexDetailRef" :leftList="leftList" @reload="loadData"/>
|
<indexDetail ref="indexDetailRef" :leftList="leftList" @reload="loadData"/>
|
||||||
|
<indexJxlDetail ref="indexJxlDetailRef" @reload="loadData"/>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup name="zhihuijiaoshiIndexPage">
|
<script lang="ts" setup name="zhihuijiaoshiIndexPage">
|
||||||
import { defHttp } from '/@/utils/http/axios';
|
import { defHttp } from '/@/utils/http/axios';
|
||||||
|
@ -507,17 +510,21 @@ import videojs from "video.js";
|
||||||
import { useMessage } from '/@/hooks/web/useMessage';
|
import { useMessage } from '/@/hooks/web/useMessage';
|
||||||
import showAllLive from './showAllLive.vue';
|
import showAllLive from './showAllLive.vue';
|
||||||
import indexDetail from './indexDetail.vue';
|
import indexDetail from './indexDetail.vue';
|
||||||
|
import indexJxlDetail from './indexJxlDetail.vue';
|
||||||
import { execAvyApi, getAvyCtrlLiveOpenOrCloseUrl } from "/@/views/site/utils/index";
|
import { execAvyApi, getAvyCtrlLiveOpenOrCloseUrl } from "/@/views/site/utils/index";
|
||||||
import { JInput } from '/@/components/Form';
|
import { JInput } from '/@/components/Form';
|
||||||
import { resumeJob, pauseJob } from '/@/views/monitor/quartz/quartz.api';
|
import { resumeJob, pauseJob } from '/@/views/monitor/quartz/quartz.api';
|
||||||
import { useRouter } from 'vue-router';
|
import { useRouter } from 'vue-router';
|
||||||
import { getSysConfig } from '/@/views/site/utils/index';
|
import { getSysConfig } from '/@/views/site/utils/index';
|
||||||
|
import { list as jiaoshirongliangList } from './KcJiaoshirongliang.api';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// const _document:any = window.document;
|
// const _document:any = window.document;
|
||||||
|
|
||||||
const showAllLiveRef = ref();
|
const showAllLiveRef = ref();
|
||||||
const indexDetailRef = ref();
|
const indexDetailRef = ref();
|
||||||
|
const indexJxlDetailRef = ref();
|
||||||
|
|
||||||
const leftList:Ref<any> = ref([]);
|
const leftList:Ref<any> = ref([]);
|
||||||
const cardList:Ref<any> = ref([]);
|
const cardList:Ref<any> = ref([]);
|
||||||
|
@ -789,13 +796,14 @@ function loadData(){
|
||||||
}
|
}
|
||||||
|
|
||||||
function openDetail(param){
|
function openDetail(param){
|
||||||
console.log(`🚀 -----------------------------------------------------------------------🚀`);
|
|
||||||
console.log(`🚀 ~ file: index.vue:501 ~ openDetail ~ indexDetailRef:`, indexDetailRef, param);
|
|
||||||
console.log(`🚀 -----------------------------------------------------------------------🚀`);
|
|
||||||
indexDetailRef.value.open(param);
|
indexDetailRef.value.open(param);
|
||||||
// indexDetailRef.value.changeQueryParam(param);
|
// indexDetailRef.value.changeQueryParam(param);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function openJxlDetail(param){
|
||||||
|
indexJxlDetailRef.value.open(param);
|
||||||
|
}
|
||||||
|
|
||||||
function jxlNameFilterOptionFn(input: string, option: any){
|
function jxlNameFilterOptionFn(input: string, option: any){
|
||||||
console.log(input, option);
|
console.log(input, option);
|
||||||
|
|
||||||
|
@ -804,7 +812,11 @@ function jxlNameFilterOptionFn(input: string, option: any){
|
||||||
}
|
}
|
||||||
|
|
||||||
function getJsjbxxList(){
|
function getJsjbxxList(){
|
||||||
jsjbxxList({ pageSize: -1, changshang: '奥威亚',...queryParam.value }).then(res => {
|
// jsjbxxList({ pageSize: -1, changshang: '奥威亚',...queryParam.value }).then(res => {
|
||||||
|
// let list = (res?.records) ?? [];
|
||||||
|
// allClassNum.value = list.length;
|
||||||
|
// });
|
||||||
|
jiaoshirongliangList({ pageSize: -1 }).then(res => {
|
||||||
let list = (res?.records) ?? [];
|
let list = (res?.records) ?? [];
|
||||||
allClassNum.value = list.length;
|
allClassNum.value = list.length;
|
||||||
});
|
});
|
||||||
|
@ -1076,8 +1088,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);
|
||||||
|
|
Loading…
Reference in New Issue