lex %!s(int64=2) %!d(string=hai) anos
pai
achega
24564eacc7
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      src/views/liveClassManager/createLiveClass.vue

+ 4 - 4
src/views/liveClassManager/createLiveClass.vue

@@ -135,8 +135,7 @@
             <template slot-scope="scope">
               <el-form-item :prop="'timeTable.' + scope.$index + '.teachingContent'"
                 :rules="[{ required: true, message: '请输入内容' }]" style="margin-bottom: 0;">
-                <el-input v-model="scope.row.teachingContent" placeholder="请输入内容" maxlength="20"
-                  :disabled="type === 'update' && status === 2">
+                <el-input v-model="scope.row.teachingContent" placeholder="请输入内容" maxlength="20">
                 </el-input>
               </el-form-item>
             </template>
@@ -145,8 +144,7 @@
             <template slot-scope="scope">
               <el-form-item :prop="'timeTable.' + scope.$index + '.teachingPoint'"
                 :rules="[{ required: true, message: '请输入技能/知识点掌握' }]" style="margin-bottom: 0;">
-                <el-input v-model="form.timeTable[scope.$index].teachingPoint" placeholder="请输入技能/知识点掌握" maxlength="20"
-                  :disabled="type === 'update' && status === 2">
+                <el-input v-model="form.timeTable[scope.$index].teachingPoint" placeholder="请输入技能/知识点掌握" maxlength="20">
                 </el-input>
               </el-form-item>
             </template>
@@ -369,6 +367,7 @@ export default {
               startClassTimeStr: item.startClassTimeStr,
               endClassTimeStr: item.endClassTimeStr,
               teachMode: item.teachMode,
+              id: item.id,
               teachingContent: item.teachingContent,
               teachingPoint: item.teachingPoint
             });
@@ -612,6 +611,7 @@ export default {
               startClassTimeStr: item.startClassTimeStr,
               endClassTimeStr: item.endClassTimeStr,
               teachMode: "ONLINE",
+              id: item.id,
               singleClassMinutes: vipGroupApplyBaseInfo.singleClassMinutes,
               teachingContent: item.teachingContent,
               teachingPoint: item.teachingPoint