Browse Source

课节目录

natasha 1 year ago
parent
commit
3f9e31c210

+ 1 - 1
src/views/content_manage/course_manage/CreateRecorded.vue

@@ -696,7 +696,7 @@ export default {
         this.loading = true
         let MethodName = "/CourseServer/Manager/LBCourseManager/GetLBCourseInfo";
         let data = {
-            id: this.id,
+            id: this.id?this.id:this.recordedId,
             is_contain_cs_item:'true'
         }
         getLogin(MethodName, data)

+ 13 - 0
src/views/organize_manage/CreateOrganize.vue

@@ -347,6 +347,7 @@ export default {
                         if (!valid) {
                             return false;
                         }else{
+                            // this.handleSetDefaultOrg()
                             this.editInfo()
                         }
                     });
@@ -499,6 +500,18 @@ export default {
         .catch(() => {
             this.loading = false
         });
+    },
+    // 设置默认机构
+    handleSetDefaultOrg(){
+        let MethodName = "/OrgServer/Manager/OrgManager/SetIsDefaultOrg";
+        let data = {
+            id: this.id,
+            is_default: 'true',
+        }
+        getLogin(MethodName, data)
+        .then((res) => {
+        
+        })
     }
   },
   //生命周期 - 创建完成(可以访问当前this实例)