2024年1月7日 新增其他教室查询

This commit is contained in:
bai 2024-01-07 20:41:22 +08:00
parent aaa9568b4d
commit 7187158a71
2 changed files with 14 additions and 9 deletions

View File

@ -71,13 +71,13 @@ export const transform: AxiosTransform = {
// 如果不希望中断当前请求请return数据否则直接抛出异常即可
let timeoutMsg = '';
switch (code) {
case ResultEnum.TIMEOUT:
timeoutMsg = t('sys.api.timeoutMessage');
//请求超时,不再退出登录。
// const userStore = useUserStoreWithOut();
// userStore.setToken(undefined);
// userStore.logout(true);
break;
// case ResultEnum.TIMEOUT:
// timeoutMsg = t('sys.api.timeoutMessage');
// //请求超时,不再退出登录。
// // const userStore = useUserStoreWithOut();
// // userStore.setToken(undefined);
// // userStore.logout(true);
// break;
default:
if (message) {
timeoutMsg = message;

View File

@ -672,7 +672,7 @@ function loadData(){
})
}
list({ pageSize: -1, changshang: '奥威亚',...queryParam.value }).then(res => {
list({ pageSize: -1, changshang: '奥威亚', queryNoZhiHuiJiaoShi: true, ...queryParam.value }).then(res => {
let list = (res?.records) ?? [];
//
let map = {};
@ -681,6 +681,9 @@ function loadData(){
// x.nowIsClass = true //debug
x.zbgn = 0;
if(!x.xm){
x.zbgn = 1;
}
let item = map[x.jsmc];
x.isOnLine = false;
if(item){
@ -735,7 +738,9 @@ function loadData(){
Object.values(child).forEach(item => {
let x:any = item;
// if(x.pullUrl == 'https://kczx.nenu.edu.cn:9553/live_hls/yfjxl101s_lbzj.m3u8')
getListAction.push(liveIsExist(x));
if(x.pullUrl){
getListAction.push(liveIsExist(x));
}
});
});
Promise.all(getListAction).then(resList => {