Browse Source

点赞、评论行为权限修改

SanHQin 3 months ago
parent
commit
1afc6f544b

+ 4 - 4
src/components/easy2/studyStudent.vue

@@ -19033,7 +19033,7 @@ export default {
             });
             this.selectSWorks();
             this.selectStudent();
-            if(this.tType!=0){
+            if(this.tType!=2){
             this.insertMemorandum(
               `对<span class="variable">${sName}</span>的作业进行<span class="btn">点赞</span>`
             );
@@ -19249,7 +19249,7 @@ export default {
                 this.commentText = "";
                 this.selectSWorks();
                 this.selectStudent();
-                if(this.tType!=0){
+                if(this.tType!=2){
                 this.insertMemorandum(
                   `对<span class="variable">${detail.sName}</span>的作业进行<span class="btn">评论</span>`
                 );
@@ -19292,7 +19292,7 @@ export default {
           this.dialogVisibleScore = false;
           this.selectSWorks();
           this.selectStudent();
-          if(this.tType!=0){
+          if(this.tType!=2){
           this.insertMemorandum(
             `对<span class="variable">${sName}</span>的作业进行<span class="btn">评分</span>`
           );
@@ -22224,7 +22224,7 @@ export default {
           this.pzConText = "";
           this.addPzDialog = false;
           this.selectPz();
-          if(this.tType!=0){
+          if(this.tType!=2){
           this.insertMemorandum(
             `使用<span class="btn">评论</span>功能,添加评论`
           );

+ 4 - 4
src/components/easy3/studyStudent.vue

@@ -14686,7 +14686,7 @@ export default {
             });
             this.selectSWorks();
             this.selectStudent();
-            if(this.tType!=0){
+            if(this.tType!=2){
 						this.insertMemorandum(`对<span class="variable">${sName}</span>的作业进行<span class="btn">点赞</span>`)
             }
           })
@@ -14881,7 +14881,7 @@ export default {
                 this.commentText = "";
                 this.selectSWorks();
                 this.selectStudent();
-                if(this.tType!=0){
+                if(this.tType!=2){
 								this.insertMemorandum(`对<span class="variable">${detail.sName}</span>的作业进行<span class="btn">评论</span>`)
                 }
               })
@@ -14922,7 +14922,7 @@ export default {
           this.dialogVisibleScore = false;
           this.selectSWorks();
           this.selectStudent();
-          if(this.tType!=0){
+          if(this.tType!=2){
 					this.insertMemorandum(`对<span class="variable">${sName}</span>的作业进行<span class="btn">评分</span>`)
           }
         })
@@ -17676,7 +17676,7 @@ export default {
           this.pzConText = "";
           this.addPzDialog = false;
           this.selectPz();
-          if(this.tType!=0){
+          if(this.tType!=2){
 					this.insertMemorandum(`使用<span class="btn">评论</span>功能,添加评论`)
           }
         })

+ 3 - 3
src/components/studyStudent.vue

@@ -14661,7 +14661,7 @@ export default {
             });
             this.selectSWorks();
             this.selectStudent();
-            if(this.tType!=0){
+            if(this.tType==1){
 						this.insertMemorandum(`对<span class="variable">${sName}</span>的作业进行<span class="btn">点赞</span>`)
             }
           })
@@ -14856,7 +14856,7 @@ export default {
                 this.commentText = "";
                 this.selectSWorks();
                 this.selectStudent();
-                if(this.tType!=0){
+                if(this.tType!=2){
                   this.insertMemorandum(`对<span class="variable">${detail.sName}</span>的作业进行<span class="btn">评论</span>`)
                 }
               })
@@ -17663,7 +17663,7 @@ export default {
           this.pzConText = "";
           this.addPzDialog = false;
           this.selectPz();
-          if(this.tType!=0){
+          if(this.tType!=2){
 					this.insertMemorandum(`使用<span class="btn">评论</span>功能,添加评论`)
           }
         })

+ 4 - 4
src/components/studySutdentClass/studyStudent.vue

@@ -18540,7 +18540,7 @@ export default {
             });
             this.selectSWorks();
             this.selectStudent();
-            if(this.tType!=0){
+            if(this.tType!=2){
 						this.insertMemorandum(`对<span class="variable">${sName}</span>的作业进行<span class="btn">点赞</span>`)
             }
           })
@@ -18735,7 +18735,7 @@ export default {
                 this.commentText = "";
                 this.selectSWorks();
                 this.selectStudent();
-                if(this.tType!=0){
+                if(this.tType!=2){
 								this.insertMemorandum(`对<span class="variable">${detail.sName}</span>的作业进行<span class="btn">评论</span>`)
                 }
               })
@@ -18776,7 +18776,7 @@ export default {
           this.dialogVisibleScore = false;
           this.selectSWorks();
           this.selectStudent();
-          if(this.tType!=0){
+          if(this.tType!=2){
 					this.insertMemorandum(`对<span class="variable">${sName}</span>的作业进行<span class="btn">评分</span>`)
           }
         })
@@ -21651,7 +21651,7 @@ export default {
           this.pzConText = "";
           this.addPzDialog = false;
           this.selectPz();
-          if(this.tType!=0){
+          if(this.tType!=2){
 					this.insertMemorandum(`使用<span class="btn">评论</span>功能,添加评论`)
           }
         })