合并后

This commit is contained in:
@fawn-nine
2024-08-29 15:33:20 +08:00
3 changed files with 8538 additions and 11657 deletions

20190
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -357,6 +357,7 @@ export default {
// 表单提交
dataFormSubmit() {
this.$refs["dataForm"].validate(valid => {
console.log('this.dataForm.questions',this.dataForm.questions)
if (valid) {
this.$http({
url: this.$http.adornUrl(
@@ -377,7 +378,7 @@ export default {
sort: this.dataForm.sort,
isAudition: this.dataForm.isAudition,
videoList:this.video_audio_url,
questions: this.dataForm.questions
questions: this.dataForm.questions ? this.dataForm.questions : ''
})
}).then(({ data }) => {
if (data && data.code === 0) {

View File

@@ -41,7 +41,7 @@
教学时长:<span style="color:red">*</span>
</div>
<el-form-item label="" prop="days" label-width="0">
<el-input type="number" v-model="ClassModelForm.days" :disabled="classModel && classModel.id"><template slot="append"></template></el-input>
<el-input type="number" v-model="ClassModelForm.days" :disabled="classModel && classModel.id ? true : false"><template slot="append"></template></el-input>
</el-form-item>
<div style="margin:15px 0; font-size:14px; color:#606266">
平时分模块:<span style="color:red">*</span>