diff --git a/src/api/system/user.js b/src/api/system/user.js
index ddcc76f7..ff3723f1 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -76,6 +76,13 @@ const updateDynamic=function (dynamic){
return ajax.get('/xboe/sys/user/update-dynamic?dynamic='+dynamic);
}
+/**
+ * 二次查询 签名和动态
+ * */
+const findSignDynamic=function (id){
+ return ajax.get('/xboe/sys/user/findSign-dynamic='+id);
+}
+
export default{
list,
searchLoginName,
@@ -84,5 +91,6 @@ export default{
findByName,
detail,
updateSign,
- updateDynamic
+ updateDynamic,
+ findSignDynamic
}
diff --git a/src/components/Course/myNote.vue b/src/components/Course/myNote.vue
index 11e05027..b7cb362d 100644
--- a/src/components/Course/myNote.vue
+++ b/src/components/Course/myNote.vue
@@ -26,7 +26,7 @@
{{note.sysCreateTime}}
- {{note.openType == 1?'公开':'私密'}}
+ {{note.openType == 9?'公开':'私密'}}
@@ -227,6 +227,7 @@ export default {
// }
},
saveNote() {
+ let that = this;
if (this.mynoteData.content == '') {
this.$message({ type: 'info', message: '您还没有书写笔记!', offset: 50 });
return;
@@ -240,15 +241,15 @@ export default {
this.inAnimation = true;
this.isEdit = false;
setTimeout(() => {
- this.getMyNote();
- this.mynoteData = {
+ that.getMyNote();
+ that.mynoteData = {
type: 1, //我发布的是1 我导入的是2
content: '',
playTime: '',
// courseId: '',// 课程id
// contentId: '',//课程内容id
// courseName: '',// 课程名称
- openType: 1,// 1表不公开 9表完全公开
+ openType: 9,// 1表不公开 9表完全公开
};
}, 2000)
}
@@ -262,19 +263,19 @@ export default {
if(this.mynoteData.openType != 9){
return
}
- setTimeout(() => {
+ setTimeout(() => {
localStorage.setItem("NOTE_TEXT", '');
// clearInterval(this.autoSave);
- this.getMyNote();
- this.notetabType(2);
- this.mynoteData = {
+ that.getMyNote();
+ that.notetabType(2);
+ that.mynoteData = {
type: 1, //我发布的是1 我导入的是2
content: '',
playTime: '',
// courseId: '',// 课程id
// contentId: '',//课程内容id
// courseName: '',// 课程名称
- openType: 1,// 1表不公开 9表完全公开
+ openType: 9,// 1表不公开 9表完全公开
};
}, 2000)
diff --git a/src/views/user/Mynotes.vue b/src/views/user/Mynotes.vue
index c505bfba..ed68aa81 100644
--- a/src/views/user/Mynotes.vue
+++ b/src/views/user/Mynotes.vue
@@ -71,15 +71,19 @@
{{ item.sysUpdateTime }}
- {{ item.content }}
-
![]()
+
{{ item.content }}
+
+
+
+
+