2023年10月19日 新增日志
This commit is contained in:
parent
4ade9addde
commit
8536c6e561
|
@ -166,7 +166,7 @@ enum Api {
|
||||||
*/
|
*/
|
||||||
const list = (params) => defHttp.get({ url: Api.list, params });
|
const list = (params) => defHttp.get({ url: Api.list, params });
|
||||||
const updateAllLive = (params) => defHttp.get({ url: Api.updateAllLive, params });
|
const updateAllLive = (params) => defHttp.get({ url: Api.updateAllLive, params });
|
||||||
const changeAvyLiveApi = (params) => defHttp.get({ url: Api.changeAvyLiveApi, params });
|
const changeAvyLiveApi = (params) => defHttp.get({ url: Api.changeAvyLiveApi, params,timeout: 90000 });
|
||||||
|
|
||||||
const shangXianQuartz = ref<any>({});
|
const shangXianQuartz = ref<any>({});
|
||||||
|
|
||||||
|
|
|
@ -120,7 +120,8 @@ enum Api {
|
||||||
querySuibi = '/kc/kcKetangSuibi/list',
|
querySuibi = '/kc/kcKetangSuibi/list',
|
||||||
addSuibi = '/kc/kcKetangSuibi/add',
|
addSuibi = '/kc/kcKetangSuibi/add',
|
||||||
// editSuibi = '/kc/kcKetangSuibi/edit'
|
// editSuibi = '/kc/kcKetangSuibi/edit'
|
||||||
getKtangInfo = '/ktgl/kcKetangbiao/queryById'
|
getKtangInfo = '/ktgl/kcKetangbiao/queryById',
|
||||||
|
savePlayLog = '/jiaoshi/kcZhihuijiaoshiAccessLog/savePlayLog'
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -131,6 +132,7 @@ const list = (params) => defHttp.get({ url: Api.list, params });
|
||||||
const querySuibi = (params) => defHttp.get({ url: Api.querySuibi, params });
|
const querySuibi = (params) => defHttp.get({ url: Api.querySuibi, params });
|
||||||
const addSuibi = (params) => defHttp.post({ url: Api.addSuibi, params });
|
const addSuibi = (params) => defHttp.post({ url: Api.addSuibi, params });
|
||||||
const getKtangInfo = (params) => defHttp.get({ url: Api.getKtangInfo, params });
|
const getKtangInfo = (params) => defHttp.get({ url: Api.getKtangInfo, params });
|
||||||
|
const savePlayLog = (params) => defHttp.post({ url: Api.savePlayLog, params, }, { isTransformResponse: false });
|
||||||
// const editSuibi = (params) => defHttp.post({ url: Api.editSuibi, params });
|
// const editSuibi = (params) => defHttp.post({ url: Api.editSuibi, params });
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
@ -142,12 +144,17 @@ onMounted(() => {
|
||||||
tableData.value = list;
|
tableData.value = list;
|
||||||
tableData.value.forEach(x => x.isShow = true);//默认展开
|
tableData.value.forEach(x => x.isShow = true);//默认展开
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
changeLive(tableData.value[0]);
|
if(tableData.value[0]){
|
||||||
|
changeLive(tableData.value[0]);
|
||||||
|
}
|
||||||
|
savePlayLogFn(tableData.value[0]);
|
||||||
tableData.value.forEach(x => x.isShow = false);//关闭
|
tableData.value.forEach(x => x.isShow = false);//关闭
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
getSuibi();
|
getSuibi();
|
||||||
getKcxx();
|
getKcxx();
|
||||||
|
//记录播放日志
|
||||||
|
|
||||||
isError.value = true;
|
isError.value = true;
|
||||||
}else{
|
}else{
|
||||||
isError.value = false;
|
isError.value = false;
|
||||||
|
@ -236,6 +243,9 @@ function getKcxx(){
|
||||||
kcCardBoxTitle.value = res.kcmc;
|
kcCardBoxTitle.value = res.kcmc;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
function savePlayLogFn(item){
|
||||||
|
savePlayLog({ playUrl: item.pullUrl, jxlId: item.jxlId, jxlName: item.jxlName, jsbh: route.query.id, jsmc: item.jsmc, ketangbiaoId: route.query.ktId,ketangbiaoName: ktangInfo.value.kcmc })
|
||||||
|
}
|
||||||
|
|
||||||
function saveSuibi(){
|
function saveSuibi(){
|
||||||
//addSuibi editSuibi
|
//addSuibi editSuibi
|
||||||
|
|
Loading…
Reference in New Issue