2024年1月7日 新增其他教室查询
This commit is contained in:
parent
aaa9568b4d
commit
7187158a71
|
@ -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;
|
||||
|
|
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue