2023年5月18日 修改问题
This commit is contained in:
parent
e7d6963b8c
commit
8d2f03acb1
|
@ -37,6 +37,20 @@
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</a-table-column>
|
</a-table-column>
|
||||||
|
<a-table-column title="当前是否有课" align="center" data-index="nowIsClass">
|
||||||
|
<template #default="{ record }">
|
||||||
|
<span :class="record?.nowIsClass?'green':'red'">
|
||||||
|
<i class="fas fa-circle"/>
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</a-table-column>
|
||||||
|
<a-table-column title="下一节是否有课" align="center" data-index="nextIsClass">
|
||||||
|
<template #default="{ record }">
|
||||||
|
<span :class="record?.nextIsClass?'green':'red'">
|
||||||
|
<i class="fas fa-circle"/>
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</a-table-column>
|
||||||
<a-table-column title="课堂上线" align="center" data-index="sfyx">
|
<a-table-column title="课堂上线" align="center" data-index="sfyx">
|
||||||
<template #default="{ text }">
|
<template #default="{ text }">
|
||||||
<span :class="text == 0?'green':'red'">
|
<span :class="text == 0?'green':'red'">
|
||||||
|
@ -212,7 +226,7 @@ function changeLive(record, isEnable){
|
||||||
// createMessage.error("操作失败!");
|
// createMessage.error("操作失败!");
|
||||||
// loading.value = false;
|
// loading.value = false;
|
||||||
// });
|
// });
|
||||||
changeAvyLiveApi({ ids:ids.join(','), type: isEnable?1:0 }).then(res => {
|
changeAvyLiveApi({ ids:ids.join(','), type: isEnable?1:0 }).then(res => {
|
||||||
loadData();
|
loadData();
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
|
|
|
@ -12,10 +12,13 @@
|
||||||
<div>
|
<div>
|
||||||
<a-card class="videoCardMain" style="width:100%">
|
<a-card class="videoCardMain" style="width:100%">
|
||||||
<template #title>
|
<template #title>
|
||||||
<span class="" style="background: #23c6c8;color:#fff; padding: 0.3rem;border-radius: 5px;">
|
<span class="" style="border-radius: 5px;">
|
||||||
{{ kcCardBoxTitle || ' ' }}
|
{{ ktangInfo.kcmc || ' ' }}
|
||||||
</span>
|
</span>
|
||||||
<span style="margin-left: 10px;background: #1c84c6;color: #fff;padding: 0.3rem;border-radius: 5px;" @click="() => tingKeZuJiAddModal.view({ ketangbiaoid: route.query.ktId })">填写评价表</span>
|
<span style="margin-left: 10px;background: #1c84c6;color: #fff;padding: 0.3rem;border-radius: 5px;" @click="() => tingKeZuJiAddModal.view({ ketangbiaoid: route.query.ktId })">填写评价表</span>
|
||||||
|
<div style="font-size: .5rem;">
|
||||||
|
{{ ktangInfo.zc || ' ' }}-{{ ktangInfo.skjs || ' ' }}
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div style="padding: 1rem;">
|
<div style="padding: 1rem;">
|
||||||
<div >{{ mainVideoCardBoxTitle || '' }}</div>
|
<div >{{ mainVideoCardBoxTitle || '' }}</div>
|
||||||
|
@ -85,6 +88,7 @@ const bVideoRefs = ref<any>([]);
|
||||||
const tingKeZuJiAddModal = ref<any>({});
|
const tingKeZuJiAddModal = ref<any>({});
|
||||||
const curentPlayerVideo = ref<any>({});
|
const curentPlayerVideo = ref<any>({});
|
||||||
const kcCardBoxTitle = ref<any>('');
|
const kcCardBoxTitle = ref<any>('');
|
||||||
|
const ktangInfo = ref<any>({});
|
||||||
const mainVideoCardBoxTitle = ref<any>('');
|
const mainVideoCardBoxTitle = ref<any>('');
|
||||||
const tableData = ref<Recordable>([])
|
const tableData = ref<Recordable>([])
|
||||||
const isError = ref(false);
|
const isError = ref(false);
|
||||||
|
@ -192,7 +196,8 @@ function getKcxx(){
|
||||||
id: route.query.ktId
|
id: route.query.ktId
|
||||||
}
|
}
|
||||||
getKtangInfo(param).then(res => {
|
getKtangInfo(param).then(res => {
|
||||||
// console.log(res);
|
console.log(res);
|
||||||
|
ktangInfo.value = res;
|
||||||
kcCardBoxTitle.value = res.kcmc;
|
kcCardBoxTitle.value = res.kcmc;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue