合并后
This commit is contained in:
20190
package-lock.json
generated
20190
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -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) {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user