Эх сурвалжийг харах

课程引入历史,只有新增可以

liyanbo 4 сар өмнө
parent
commit
c6c5fbaf9c

+ 1 - 1
src/views/bjdx/coursetype/CourseTypeForm.vue

@@ -22,7 +22,7 @@
           @change="handleParentChange"
         />
       </el-form-item>
-      <el-form-item label="引入历史课程" prop="historyCourseTypeId">
+      <el-form-item label="引入历史课程" prop="historyCourseTypeId" v-if="formType === 'create'">
         <el-button type="primary" size="small" style="margin-right: 10px"
                    title="仅年级类型可以引入历史课程"
                    :disabled="formData.ctParentId === 0"