lyc-dev #306

Merged
lyc merged 2 commits from lyc-dev into main 2024-10-10 16:01:03 +08:00
1 changed files with 19 additions and 13 deletions
Showing only changes of commit 7d457782cc - Show all commits

View File

@ -14,7 +14,13 @@
<el-scrollbar height="360px">
<ul>
<!--资源-->
<li class="item flex" v-for="item in resourceList" :key="item.id">
<template v-for="item in resourceList" :key="item.id">
<!--
apt pptx 暂时不显示
2024-10-10
-->
<li class="item flex" v-if="item.fileFlag != 'apt' && item.fileSuffix != 'pptx' && item.fileSuffix != 'ppt'">
<div class="item-left flex" >
<FileImage :size="50" :file-name="item.fileShowName" />
<div class="item-info flex">
@ -27,6 +33,7 @@
</div>
<el-button color="#349d44" @click="openFileLink(item)">推送</el-button>
</li>
</template>
<!--作业-->
<li class="item flex" v-for="item in dataList" :key="item.id">
<div class="item-left flex">
@ -176,6 +183,7 @@ const getResource = () => {
querySearch.pageSize = 500
getSmarttalkPage(querySearch).then(res => {
console.log('资源=====》',res.rows)
resourceList.value = res.rows
})
@ -217,8 +225,6 @@ onMounted(async () => {
curNode.data = sessionStore.get('subject.curNode')
getHomework()
getResource()
})
</script>