修改文字:发布时间 -> 修改时间

This commit is contained in:
weinan2087
2022-09-28 11:41:40 +08:00
parent 62890bd08a
commit 74aaa15c1a

View File

@@ -22,7 +22,7 @@
<el-dropdown-item command="2">Word</el-dropdown-item> <el-dropdown-item command="2">Word</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</div> </div>
</div> </div>
<div class="note-sift"> <div class="note-sift">
@@ -34,7 +34,7 @@
type="daterange" type="daterange"
start-placeholder="开始" start-placeholder="开始"
end-placeholder="结束"> end-placeholder="结束">
</el-date-picker> </el-date-picker>
<el-dropdown @command="handleCommand"> <el-dropdown @command="handleCommand">
<el-button> <el-button>
全部课程<i class="el-icon-arrow-down el-icon--right"></i> 全部课程<i class="el-icon-arrow-down el-icon--right"></i>
@@ -44,12 +44,12 @@
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
<el-button @click="publish" class="el-buttons"> <el-button @click="publish" class="el-buttons">
发布时间 修改时间
<i v-if="ordertime" class="el-icon-bottom"></i> <i v-if="ordertime" class="el-icon-bottom"></i>
<i v-else class="el-icon-upload2"></i> <i v-else class="el-icon-upload2"></i>
</el-button> </el-button>
<el-button @click="thumbs" class="el-buttons"> <el-button @click="thumbs" class="el-buttons">
点赞次数 点赞次数
<i v-if="orderpiss" class="el-icon-bottom"></i> <i v-if="orderpiss" class="el-icon-bottom"></i>
<i v-else class="el-icon-upload2"></i> <i v-else class="el-icon-upload2"></i>
</el-button> </el-button>
@@ -84,7 +84,7 @@
<interactBar v-if="item.type == 1" nodeWidth="60px" :readonly="true" :type="6" :data="item" :shares="false" :comments="false" :answers="true" :clickAnswer="true" :views="false"></interactBar> <interactBar v-if="item.type == 1" nodeWidth="60px" :readonly="true" :type="6" :data="item" :shares="false" :comments="false" :answers="true" :clickAnswer="true" :views="false"></interactBar>
<el-button @click="open(item)" style=" margin-right: 10px;" class="textbut" type="text"> <el-button @click="open(item)" style=" margin-right: 10px;" class="textbut" type="text">
<svg-icon icon-class="notedel" ></svg-icon>删除</el-button> <svg-icon icon-class="notedel" ></svg-icon>删除</el-button>
<el-button @click="edit(item)" class="textbut" type="text"> <el-button @click="edit(item)" class="textbut" type="text">
<svg-icon icon-class="noteedit" ></svg-icon> 编辑</el-button> <svg-icon icon-class="noteedit" ></svg-icon> 编辑</el-button>
</div> </div>
</div> </div>
@@ -202,7 +202,7 @@ export default {
contentType:null, contentType:null,
limit:1, limit:1,
}, },
uploadFileUrl: process.env.VUE_APP_BASE_API + '/xboe/sys/xuploader/file/upload', uploadFileUrl: process.env.VUE_APP_BASE_API + '/xboe/sys/xuploader/file/upload',
text:'', text:'',
importDialogVisible:false, importDialogVisible:false,
@@ -234,7 +234,7 @@ export default {
orderpiss:true, orderpiss:true,
Filtertime:[], Filtertime:[],
} }
}, },
mounted(){ mounted(){
@@ -261,7 +261,7 @@ export default {
} else { } else {
apiNote.exportExcel(ids).then(res=>{ apiNote.exportExcel(ids).then(res=>{
const link = document.createElement('a');// 创建a标签 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.style.display = "none";
link.href = URL.createObjectURL(blob); // 创建URL link.href = URL.createObjectURL(blob); // 创建URL
link.setAttribute("download", "我的笔记.xls"); link.setAttribute("download", "我的笔记.xls");
@@ -275,11 +275,11 @@ export default {
if(this.noteFile.courseName == '') { if(this.noteFile.courseName == '') {
this.$message.warning('请填写标题!'); this.$message.warning('请填写标题!');
return return
} }
if(this.noteFile.filePath == '') { if(this.noteFile.filePath == '') {
this.$message.warning('您还没有上传文件!'); this.$message.warning('您还没有上传文件!');
return return
} }
this.noteFile.contentType = this.upNoteFile.contentType; this.noteFile.contentType = this.upNoteFile.contentType;
if(this.upNoteFile.content.length > 0) { if(this.upNoteFile.content.length > 0) {
this.noteFile.filePath = this.upNoteFile.content.join(); this.noteFile.filePath = this.upNoteFile.content.join();
@@ -357,14 +357,14 @@ export default {
this.$message({ this.$message({
type: 'info', type: 'info',
message: '已取消删除' message: '已取消删除'
}); });
}); });
}, },
couresitem(item){ couresitem(item){
this.courseId = item.courseId; this.courseId = item.courseId;
this.noteData(this.num) this.noteData(this.num)
}, },
allcoures(){ allcoures(){
apiNote.course().then(res=>{ apiNote.course().then(res=>{
this.couresna = res.result this.couresna = res.result
@@ -383,9 +383,9 @@ export default {
this.noteData(this.num) this.noteData(this.num)
}, },
handleClose(done) { handleClose(done) {
}, },
edit(item){ edit(item){
this.$router.push({ path: `/user/Noteedit?id=${item.id}` }); this.$router.push({ path: `/user/Noteedit?id=${item.id}` });
@@ -412,7 +412,7 @@ export default {
this.datalist = res.result.list; this.datalist = res.result.list;
this.count = res.result.count; this.count = res.result.count;
} }
}) })
}, },
@@ -463,7 +463,7 @@ export default {
font-size: 16px; font-size: 16px;
color: #666666; color: #666666;
font-weight: 400; font-weight: 400;
} }
} }
} }
@@ -473,7 +473,7 @@ export default {
.el-input--medium .el-input__inner{ .el-input--medium .el-input__inner{
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
} }
.el-dropdown-menu--medium .el-dropdown-menu__item{ .el-dropdown-menu--medium .el-dropdown-menu__item{
width: 100% !important; width: 100% !important;
// height: 30px !important; // height: 30px !important;
@@ -490,7 +490,7 @@ export default {
li{ li{
text-align: center; text-align: center;
} }
} }
.el-popper{ .el-popper{
margin-top: 5px; margin-top: 5px;
@@ -573,7 +573,7 @@ export default {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: #6E7B84 !important; color: #6E7B84 !important;
} }
.note-all{ .note-all{
width: 100%; width: 100%;
@@ -598,7 +598,7 @@ export default {
margin-right: 23px; margin-right: 23px;
} }
} }
} }
} }
.tabcontent{ .tabcontent{
@@ -674,4 +674,4 @@ export default {
} }
} }
} }
</style> </style>