2023年12月12日 修复问题
This commit is contained in:
parent
42c49d9d8c
commit
001f1ac4d5
|
@ -278,7 +278,7 @@ function createAxios(opt?: Partial<CreateAxiosOptions>) {
|
||||||
// authentication schemes,e.g: Bearer
|
// authentication schemes,e.g: Bearer
|
||||||
// authenticationScheme: 'Bearer',
|
// authenticationScheme: 'Bearer',
|
||||||
authenticationScheme: '',
|
authenticationScheme: '',
|
||||||
timeout: 20 * 1000,
|
timeout: 10 * 20 * 1000,
|
||||||
// 基础接口地址
|
// 基础接口地址
|
||||||
// baseURL: globSetting.apiUrl,
|
// baseURL: globSetting.apiUrl,
|
||||||
headers: { 'Content-Type': ContentTypeEnum.JSON },
|
headers: { 'Content-Type': ContentTypeEnum.JSON },
|
||||||
|
|
|
@ -124,7 +124,7 @@
|
||||||
import KcZwtksfInfoListModal from '/@/views/kc/kcZwtksfInfo/KcZwtksfInfoListModal.vue';
|
import KcZwtksfInfoListModal from '/@/views/kc/kcZwtksfInfo/KcZwtksfInfoListModal.vue';
|
||||||
import StaticConXyglyChartModal from '/@/views/kc/config/StaticCon/StaticConXyglyChartModal.vue';
|
import StaticConXyglyChartModal from '/@/views/kc/config/StaticCon/StaticConXyglyChartModal.vue';
|
||||||
import StaticConGlyChartModal from '/@/views/kc/config/StaticCon/StaticConGlyChartModal.vue';
|
import StaticConGlyChartModal from '/@/views/kc/config/StaticCon/StaticConGlyChartModal.vue';
|
||||||
|
import { useMessage } from '/@/hooks/web/useMessage';
|
||||||
|
|
||||||
const StaticCon = ref();
|
const StaticCon = ref();
|
||||||
const StaticConChart = ref();
|
const StaticConChart = ref();
|
||||||
|
@ -137,6 +137,7 @@
|
||||||
const roleList = computed(() => getUserInfo()?.roleList??[]);
|
const roleList = computed(() => getUserInfo()?.roleList??[]);
|
||||||
let listglyData = ref<any>([]);
|
let listglyData = ref<any>([]);
|
||||||
let listxyData = ref<any>([]);
|
let listxyData = ref<any>([]);
|
||||||
|
const { createMessage } = useMessage();
|
||||||
|
|
||||||
const tjlist = (queryParam) => defHttp.get({ url: '/config/kcExportConfigTpkwcqkjzglx/getTjlist', params:queryParam });
|
const tjlist = (queryParam) => defHttp.get({ url: '/config/kcExportConfigTpkwcqkjzglx/getTjlist', params:queryParam });
|
||||||
//进入就加载
|
//进入就加载
|
||||||
|
@ -235,7 +236,7 @@
|
||||||
* 成功回调
|
* 成功回调
|
||||||
*/
|
*/
|
||||||
function handleSuccess() {
|
function handleSuccess() {
|
||||||
(selectedRowKeys.value = []) && reload();
|
// (selectedRowKeys.value = []) && reload();
|
||||||
}
|
}
|
||||||
function onExport() {
|
function onExport() {
|
||||||
onExportWord();
|
onExportWord();
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
</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({})">
|
||||||
<div class="numSpan blue">{{ leftList.length }}</div>
|
<div class="numSpan blue">{{ leftList.length }}</div>
|
||||||
<div class="numberName">
|
<div class="numberName">
|
||||||
<!-- <RiseOutlined class="orange"/> -->
|
<!-- <RiseOutlined class="orange"/> -->
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
</div>
|
</div>
|
||||||
</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({ 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 => x.sfyx == 0).length || 0}}</div>
|
||||||
<div class="numberName">
|
<div class="numberName">
|
||||||
<!-- <RiseOutlined class="orange"/> -->
|
<!-- <RiseOutlined class="orange"/> -->
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="8">
|
<a-col :span="8">
|
||||||
<div class="numberBlob handleCss" @click="openDetail({ onLineClassType: 'green' })">
|
<div class="numberBlob handleCss" @click="openDetail({ nowIsClass: true, onLineClassType: ['green', 'yellow'] })">
|
||||||
<div class="numSpan blue">{{ (leftList.filter(x => x.nowIsClass && x?.child['教师近景']?.isOnLine).length || 0) }}</div>
|
<div class="numSpan blue">{{ (leftList.filter(x => x.nowIsClass && x?.child['教师近景']?.isOnLine).length || 0) }}</div>
|
||||||
<div class="numberName">
|
<div class="numberName">
|
||||||
<!-- <RiseOutlined class="orange"/> -->
|
<!-- <RiseOutlined class="orange"/> -->
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="8">
|
<a-col :span="8">
|
||||||
<div class="numberBlob handleCss" @click="openDetail({ onLineClassType: 'red' })">
|
<div class="numberBlob handleCss" @click="openDetail({ nowIsClass: true, onLineClassType: 'red' })">
|
||||||
<div class="numSpan orange">{{ (leftList.filter(x => x.nowIsClass && !x?.child['教师近景']?.isOnLine).length || 0) }}</div>
|
<div class="numSpan orange">{{ (leftList.filter(x => x.nowIsClass && !x?.child['教师近景']?.isOnLine).length || 0) }}</div>
|
||||||
<div class="numberName">
|
<div class="numberName">
|
||||||
<!-- <RiseOutlined class="orange"/> -->
|
<!-- <RiseOutlined class="orange"/> -->
|
||||||
|
@ -141,13 +141,13 @@
|
||||||
|
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row style="text-align: center;">
|
<a-row style="text-align: center;">
|
||||||
<a-col class="hover" :span="8" style="font-weight: 600;" @click="openDetail({ jxlName: item.jxlName, nowIsClass: true})"><span>{{ item.child.filter(x => x?.nowIsClass).length || 0}}</span></a-col>
|
<a-col class="hover" :span="8" style="font-weight: 600;" @click="openDetail({ jxlName: item.jxlName, nowIsClass: true })"><span>{{ item.child.filter(x => x?.nowIsClass).length || 0}}</span></a-col>
|
||||||
<a-col class="hover" :span="8" style="font-weight: 600;" @click="openDetail({ jxlName: item.jxlName, onLineClassType: 'green'})"><span>{{ item.child.filter(x => x?.nowIsClass && x?.child['教师近景']?.isOnLine).length || 0}}</span></a-col>
|
<a-col class="hover" :span="8" style="font-weight: 600;" @click="openDetail({ jxlName: item.jxlName, nowIsClass: true, onLineClassType: 'green' })"><span>{{ item.child.filter(x => x?.nowIsClass && x?.child['教师近景']?.isOnLine).length || 0}}</span></a-col>
|
||||||
<a-col class="hover" :span="8" style="font-weight: 600;" @click="openDetail({ jxlName: item.jxlName, onLineClassType: 'red'})"><span>{{ item.child.filter(x => x?.nowIsClass && !x?.child['教师近景']?.isOnLine).length || 0 }}</span></a-col>
|
<a-col class="hover" :span="8" style="font-weight: 600;" @click="openDetail({ jxlName: item.jxlName, nowIsClass: true, onLineClassType: 'red' })"><span>{{ item.child.filter(x => x?.nowIsClass && !x?.child['教师近景']?.isOnLine).length || 0 }}</span></a-col>
|
||||||
<!-- <a-col :span="8" style="font-weight: 600;" > </a-col> -->
|
<!-- <a-col :span="8" style="font-weight: 600;" > </a-col> -->
|
||||||
<a-col class="hover" :span="8" @click="openDetail({ jxlName: item.jxlName, nowIsClass: true})"><span>正在上课</span></a-col>
|
<a-col class="hover" :span="8" @click="openDetail({ jxlName: item.jxlName, nowIsClass: true })"><span>正在上课</span></a-col>
|
||||||
<a-col class="hover" :span="8" @click="openDetail({ jxlName: item.jxlName, onLineClassType: 'green'})"><span>正在直播</span></a-col>
|
<a-col class="hover" :span="8" @click="openDetail({ jxlName: item.jxlName, nowIsClass: true, onLineClassType: 'green' })"><span>正在直播</span></a-col>
|
||||||
<a-col class="hover" :span="8" @click="openDetail({ jxlName: item.jxlName, onLineClassType: 'red'})"><span>直播异常</span></a-col>
|
<a-col class="hover" :span="8" @click="openDetail({ jxlName: item.jxlName, nowIsClass: true, onLineClassType: 'red' })"><span>直播异常</span></a-col>
|
||||||
<!-- <a-col :span="8" > </a-col> -->
|
<!-- <a-col :span="8" > </a-col> -->
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-card>
|
</a-card>
|
||||||
|
@ -188,7 +188,7 @@
|
||||||
|
|
||||||
<a-table-column title="可直播" data-index="_">
|
<a-table-column title="可直播" data-index="_">
|
||||||
<template #default="{ record }">
|
<template #default="{ record }">
|
||||||
<span @click="openDetail({ jxlName: record.jxlName, sfyx: '0' })">
|
<span @click="openDetail({ jxlName: record.jxlName })">
|
||||||
{{ record.child.length }}
|
{{ record.child.length }}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
@ -196,7 +196,7 @@
|
||||||
|
|
||||||
<a-table-column title="开放听课" data-index="_">
|
<a-table-column title="开放听课" data-index="_">
|
||||||
<template #default="{ record }">
|
<template #default="{ record }">
|
||||||
<span @click="openDetail({ jxlName: record.jxlName })">
|
<span @click="openDetail({ jxlName: record.jxlName, sfyx: '0' })">
|
||||||
{{ record.child.filter(x => x.sfyx == 0).length || 0 }}
|
{{ record.child.filter(x => x.sfyx == 0).length || 0 }}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
@ -211,7 +211,7 @@
|
||||||
|
|
||||||
<a-table-column title="正在上课" data-index="_">
|
<a-table-column title="正在上课" data-index="_">
|
||||||
<template #default="{ record }">
|
<template #default="{ record }">
|
||||||
<span @click="openDetail({ jxlName: record.jxlName, nowIsClass: true})">
|
<span @click="openDetail({ jxlName: record.jxlName, nowIsClass: true })">
|
||||||
{{ record.child.filter(x => x?.nowIsClass).length || 0}}
|
{{ record.child.filter(x => x?.nowIsClass).length || 0}}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
@ -219,7 +219,7 @@
|
||||||
|
|
||||||
<a-table-column title="正在直播" data-index="_">
|
<a-table-column title="正在直播" data-index="_">
|
||||||
<template #default="{ record }">
|
<template #default="{ record }">
|
||||||
<span @click="openDetail({ jxlName: record.jxlName, onLineClassType: 'green'})">
|
<span @click="openDetail({ jxlName: record.jxlName, nowIsClass: true, onLineClassType: 'green' })">
|
||||||
{{ record.child.filter(x => x?.nowIsClass && x?.child['教师近景']?.isOnLine).length || 0}}
|
{{ record.child.filter(x => x?.nowIsClass && x?.child['教师近景']?.isOnLine).length || 0}}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
@ -227,7 +227,7 @@
|
||||||
|
|
||||||
<a-table-column title="直播异常" data-index="_">
|
<a-table-column title="直播异常" data-index="_">
|
||||||
<template #default="{ record }">
|
<template #default="{ record }">
|
||||||
<span @click="openDetail({ jxlName: record.jxlName, onLineClassType: 'red'})">
|
<span @click="openDetail({ jxlName: record.jxlName, nowIsClass: true, onLineClassType: 'red' })">
|
||||||
{{ record.child.filter(x => x?.nowIsClass && !x?.child['教师近景']?.isOnLine).length || 0 }}
|
{{ record.child.filter(x => x?.nowIsClass && !x?.child['教师近景']?.isOnLine).length || 0 }}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :lg="6">
|
<a-col :lg="6">
|
||||||
<a-form-item label="直播状态">
|
<a-form-item label="直播状态">
|
||||||
<a-select placeholder="请选择" v-model:value="queryParam.onLineClassType">
|
<a-select mode="multiple" placeholder="请选择" v-model:value="queryParam.onLineClassType">
|
||||||
<a-select-option :value="undefined">请选择</a-select-option>
|
<a-select-option :value="undefined">请选择</a-select-option>
|
||||||
<a-select-option value="green">正常</a-select-option>
|
<a-select-option value="green">正常</a-select-option>
|
||||||
<a-select-option value="yellow">部分正常</a-select-option>
|
<a-select-option value="yellow">部分正常</a-select-option>
|
||||||
|
@ -237,6 +237,11 @@ const ipagination = ref(
|
||||||
);
|
);
|
||||||
|
|
||||||
function open(param){
|
function open(param){
|
||||||
|
|
||||||
|
console.log(`🚀 -----------------------------------------------------🚀`);
|
||||||
|
console.log(`🚀 ~ file: indexDetail.vue:241 ~ open ~ param:`, param);
|
||||||
|
console.log(`🚀 -----------------------------------------------------🚀`);
|
||||||
|
|
||||||
changeQueryParam(param);
|
changeQueryParam(param);
|
||||||
isShowPage.value = true;
|
isShowPage.value = true;
|
||||||
}
|
}
|
||||||
|
@ -509,8 +514,16 @@ function filterDataSource() {
|
||||||
if(isReturn) isReturn = x.zbgn == qw.zbgn;
|
if(isReturn) isReturn = x.zbgn == qw.zbgn;
|
||||||
}
|
}
|
||||||
if(qw.onLineClassType){
|
if(qw.onLineClassType){
|
||||||
|
if(typeof qw.onLineClassType == 'object'){
|
||||||
|
let r = false;
|
||||||
|
qw.onLineClassType.forEach(v => {
|
||||||
|
if(!r) r = v == x.onLineClassType;
|
||||||
|
});
|
||||||
|
if(isReturn) isReturn = r;
|
||||||
|
}else{
|
||||||
if(isReturn) isReturn = x.onLineClassType == qw.onLineClassType;
|
if(isReturn) isReturn = x.onLineClassType == qw.onLineClassType;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if(qw.nowIsClass != undefined){
|
if(qw.nowIsClass != undefined){
|
||||||
if(qw.nowIsClass == true){
|
if(qw.nowIsClass == true){
|
||||||
if(isReturn) isReturn = x.nowIsClass == true;
|
if(isReturn) isReturn = x.nowIsClass == true;
|
||||||
|
|
Loading…
Reference in New Issue