Compare commits

..

No commits in common. "16f696bd4f4c4a0fa19c871ad3c6bef7779e17cc" and "de8e05819779bb1c38ff8893f946f7a6e5b88fbf" have entirely different histories.

7 changed files with 9 additions and 22 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "aix-win", "name": "aix-win",
"version": "2.1.33", "version": "2.1.30",
"description": "", "description": "",
"main": "./out/main/index.js", "main": "./out/main/index.js",
"author": "上海交大重庆人工智能研究院", "author": "上海交大重庆人工智能研究院",

View File

@ -165,13 +165,11 @@ const chooseVedio = (item) => {
.list-content { .list-content {
border-radius: 8px; border-radius: 8px;
height: 90%; height: 90%;
display: flex;
flex-direction: column;
justify-content: space-between;
} }
.list-container { .list-container {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
height: 90%;
overflow-y: auto; overflow-y: auto;
} }
@ -192,9 +190,6 @@ const chooseVedio = (item) => {
// box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.15); // box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.15);
} }
.content-list{ .content-list{
height: 100%;
display: flex;
align-items: center
} }
.item-content { .item-content {

View File

@ -280,14 +280,14 @@ export default {
cookie, cookie,
fileType: item.fileType fileType: item.fileType
}) })
/*ipcRenderer.on('listen-file-change-on' + item.fileNewName, () => { ipcRenderer.on('listen-file-change-on' + item.fileNewName, () => {
items.async = 'on' items.async = 'on'
}) })
ipcRenderer.on('listen-file-change-success' + item.fileNewName, (e, { data, md5 }) => { ipcRenderer.on('listen-file-change-success' + item.fileNewName, (e, { data, md5 }) => {
items.fileSize = data.fileSize items.fileSize = data.fileSize
items.md5 = md5 items.md5 = md5
items.async = true items.async = true
})*/ })
} }
}) })
}) })

View File

@ -357,14 +357,14 @@ export default {
cookie, cookie,
fileType: item.fileType fileType: item.fileType
}) })
/*ipcRenderer.on('listen-file-change-on' + item.fileNewName, () => { ipcRenderer.on('listen-file-change-on' + item.fileNewName, () => {
items.async = 'on' items.async = 'on'
}) })
ipcRenderer.on('listen-file-change-success' + item.fileNewName, (e, { data, md5 }) => { ipcRenderer.on('listen-file-change-success' + item.fileNewName, (e, { data, md5 }) => {
items.fileSize = data.fileSize items.fileSize = data.fileSize
items.md5 = md5 items.md5 = md5
items.async = true items.async = true
})*/ })
} }
}) })
}) })

View File

@ -537,7 +537,7 @@ export default {
} }
}, },
clickChoose(value) { clickChoose(value) {
this.checkFileList = value ? this.currentSCFileList : [] this.checkFileList = value ? this.currentFileList : []
}, },
deleteTalk(item) { deleteTalk(item) {
let index = this.currentFileList.indexOf(item) let index = this.currentFileList.indexOf(item)

View File

@ -161,11 +161,7 @@ const delRow = (item) => {
} }
// //
const addLesson = ({ id, fileSize }) => { const addLesson = ({ id }) => {
if (fileSize>1024*1024*150) {
ElMessage.warning('文件超过150M暂停超过150M资源的下载请重新选择')
return
}
let data = { let data = {
id, id,
fileRoot: '备课', fileRoot: '备课',
@ -195,7 +191,7 @@ const handleRow = (item) => {
curRow.value = item curRow.value = item
isShow.value = true isShow.value = true
console.log(item,'item'); console.log(item,'item');
} }
</script> </script>

View File

@ -121,10 +121,6 @@ const handleRow = (item) => {
thirdPreview.value.init(item.itemId) thirdPreview.value.init(item.itemId)
} }
const openChapter = (item)=>{ const openChapter = (item)=>{
if (item.size>1024*1024*150) {
ElMessage.warning('文件超过150M暂停超过150M资源的下载请重新选择')
return
}
currentItem.value = item currentItem.value = item
// //
treelogRef.value.openDialog() treelogRef.value.openDialog()