diff --git a/src/views/user/Mynotes.vue b/src/views/user/Mynotes.vue index 91bb2ce9..5c5f3539 100644 --- a/src/views/user/Mynotes.vue +++ b/src/views/user/Mynotes.vue @@ -22,7 +22,7 @@ Word - +
@@ -34,7 +34,7 @@ type="daterange" start-placeholder="开始" end-placeholder="结束"> - + 全部课程 @@ -44,12 +44,12 @@ - 发布时间 + 修改时间 - 点赞次数 + 点赞次数 @@ -84,7 +84,7 @@ 删除 - + 编辑
@@ -202,7 +202,7 @@ export default { contentType:null, limit:1, }, - + uploadFileUrl: process.env.VUE_APP_BASE_API + '/xboe/sys/xuploader/file/upload', text:'', importDialogVisible:false, @@ -234,7 +234,7 @@ export default { orderpiss:true, Filtertime:[], } - + }, mounted(){ @@ -261,7 +261,7 @@ export default { } else { apiNote.exportExcel(ids).then(res=>{ const link = document.createElement('a');// 创建a标签 - let blob = new Blob([res],{type: 'application/vnd.ms-excel;charset=UTF-8'}); // 设置文件类型 + let blob = new Blob([res],{type: 'application/vnd.ms-excel;charset=UTF-8'}); // 设置文件类型 link.style.display = "none"; link.href = URL.createObjectURL(blob); // 创建URL link.setAttribute("download", "我的笔记.xls"); @@ -275,11 +275,11 @@ export default { if(this.noteFile.courseName == '') { this.$message.warning('请填写标题!'); return - } + } if(this.noteFile.filePath == '') { this.$message.warning('您还没有上传文件!'); return - } + } this.noteFile.contentType = this.upNoteFile.contentType; if(this.upNoteFile.content.length > 0) { this.noteFile.filePath = this.upNoteFile.content.join(); @@ -357,14 +357,14 @@ export default { this.$message({ type: 'info', message: '已取消删除' - }); + }); }); }, couresitem(item){ this.courseId = item.courseId; this.noteData(this.num) }, - + allcoures(){ apiNote.course().then(res=>{ this.couresna = res.result @@ -383,9 +383,9 @@ export default { this.noteData(this.num) }, handleClose(done) { - - + + }, edit(item){ this.$router.push({ path: `/user/Noteedit?id=${item.id}` }); @@ -412,7 +412,7 @@ export default { this.datalist = res.result.list; this.count = res.result.count; } - + }) }, @@ -463,7 +463,7 @@ export default { font-size: 16px; color: #666666; font-weight: 400; - + } } } @@ -473,7 +473,7 @@ export default { .el-input--medium .el-input__inner{ height: 40px; line-height: 40px; -} +} .el-dropdown-menu--medium .el-dropdown-menu__item{ width: 100% !important; // height: 30px !important; @@ -490,7 +490,7 @@ export default { li{ text-align: center; } - + } .el-popper{ margin-top: 5px; @@ -573,7 +573,7 @@ export default { font-size: 12px; font-weight: 400; color: #6E7B84 !important; - + } .note-all{ width: 100%; @@ -598,7 +598,7 @@ export default { margin-right: 23px; } } - + } } .tabcontent{ @@ -674,4 +674,4 @@ export default { } } } - \ No newline at end of file +