lyc-dev #306
|
@ -14,7 +14,12 @@
|
||||||
<el-scrollbar height="360px">
|
<el-scrollbar height="360px">
|
||||||
<ul>
|
<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" >
|
<div class="item-left flex" >
|
||||||
<FileImage :size="50" :file-name="item.fileShowName" />
|
<FileImage :size="50" :file-name="item.fileShowName" />
|
||||||
<div class="item-info flex">
|
<div class="item-info flex">
|
||||||
|
@ -27,6 +32,7 @@
|
||||||
</div>
|
</div>
|
||||||
<el-button color="#349d44" @click="openFileLink(item)">推送</el-button>
|
<el-button color="#349d44" @click="openFileLink(item)">推送</el-button>
|
||||||
</li>
|
</li>
|
||||||
|
</template>
|
||||||
<!--作业-->
|
<!--作业-->
|
||||||
<li class="item flex" v-for="item in dataList" :key="item.id">
|
<li class="item flex" v-for="item in dataList" :key="item.id">
|
||||||
<div class="item-left flex">
|
<div class="item-left flex">
|
||||||
|
@ -170,7 +176,6 @@ const openFileLink = async (item) =>{
|
||||||
// 获取资源数据
|
// 获取资源数据
|
||||||
const getResource = () => {
|
const getResource = () => {
|
||||||
let querySearch = toRaw(toolStore.curSubjectNode).querySearch
|
let querySearch = toRaw(toolStore.curSubjectNode).querySearch
|
||||||
|
|
||||||
querySearch.orderByColumn = 'uploadTime'
|
querySearch.orderByColumn = 'uploadTime'
|
||||||
querySearch.isAsc = 'desc'
|
querySearch.isAsc = 'desc'
|
||||||
querySearch.pageSize = 500
|
querySearch.pageSize = 500
|
||||||
|
@ -217,8 +222,6 @@ onMounted(async () => {
|
||||||
curNode.data = sessionStore.get('subject.curNode')
|
curNode.data = sessionStore.get('subject.curNode')
|
||||||
getHomework()
|
getHomework()
|
||||||
getResource()
|
getResource()
|
||||||
|
|
||||||
|
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue