Compare commits
No commits in common. "4248fd45045b0532240fb71dc1c78c96e9894b5f" and "8f54d174397352ab044249e9db25fa99442408f9" have entirely different histories.
4248fd4504
...
8f54d17439
|
@ -9,7 +9,6 @@ export const asyncLocalFile = (item) => {
|
|||
if (isAsync === true) {
|
||||
item.async = 'on'
|
||||
if (type === 'down') {
|
||||
console.log(item)
|
||||
ipcRenderer.send('download-file-default', {
|
||||
url: item.fileFullPath,
|
||||
fileName: item.fileNewName
|
||||
|
|
|
@ -232,7 +232,7 @@ export default {
|
|||
},
|
||||
asyncAllFile() {
|
||||
this.isLoading = true
|
||||
return getSmarttalkPage({
|
||||
getSmarttalkPage({
|
||||
...this.uploadData,
|
||||
orderByColumn: 'uploadTime',
|
||||
isAsc: 'desc',
|
||||
|
@ -249,11 +249,9 @@ export default {
|
|||
await asyncLocalFile(item)
|
||||
}
|
||||
this.asyncAllFileVisiable = false
|
||||
return Promise.resolve()
|
||||
})
|
||||
.catch(() => {
|
||||
this.isLoading = false
|
||||
return Promise.resolve()
|
||||
})
|
||||
},
|
||||
async nodeClick(data) {
|
||||
|
@ -266,7 +264,7 @@ export default {
|
|||
this.uploadData.levelSecondId = cata[1]
|
||||
this.uploadData.levelThirdId = cata[2]
|
||||
this.uploadData.textbookId = data.textBook.curBookId
|
||||
await this.asyncAllFile()
|
||||
this.asyncAllFile()
|
||||
if (this.uploadData.levelSecondId) {
|
||||
// 获取作业列表所需ID
|
||||
const res = await this.getChapterId()
|
||||
|
@ -294,7 +292,7 @@ export default {
|
|||
getChapterId() {
|
||||
return listEntpcourse({ evalid: this.uploadData.levelSecondId, edituserid: this.userStore.userId, pageSize: 500 })
|
||||
},
|
||||
//
|
||||
//
|
||||
createTimer() {
|
||||
this.timerId = setInterval(() => {
|
||||
this.getHomeWorkList()
|
||||
|
|
|
@ -213,7 +213,6 @@ export default {
|
|||
> .btn {
|
||||
position: relative;
|
||||
display: flex;
|
||||
margin-top: 30px;
|
||||
> .upload {
|
||||
display: block;
|
||||
width: 60px;
|
||||
|
@ -223,6 +222,7 @@ export default {
|
|||
left: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
margin-top: 30px;
|
||||
}
|
||||
}
|
||||
.personal-authentica {
|
||||
|
|
Loading…
Reference in New Issue