1
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
教学时长:<span style="color:red">*</span>
|
教学时长:<span style="color:red">*</span>
|
||||||
</div>
|
</div>
|
||||||
<el-form-item label="" prop="days" label-width="0">
|
<el-form-item label="" prop="days" label-width="0">
|
||||||
<el-input type="number" v-model="ClassModelForm.days" :disabled="classModel.id"><template slot="append">天</template></el-input>
|
<el-input type="number" v-model="ClassModelForm.days" :disabled="classModel && classModel.id"><template slot="append">天</template></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<div style="margin:15px 0; font-size:14px; color:#606266">
|
<div style="margin:15px 0; font-size:14px; color:#606266">
|
||||||
课程设置: <span style="color:red">*</span>
|
课程设置: <span style="color:red">*</span>
|
||||||
@@ -228,7 +228,7 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
// console.log('激活了')
|
console.log('激活了',this.classModel)
|
||||||
if (this.classModel) {
|
if (this.classModel) {
|
||||||
console.log("编辑", this.classModel);
|
console.log("编辑", this.classModel);
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
@@ -255,7 +255,8 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
console.log("添加");
|
console.log("添加",this.ClassModelForm);
|
||||||
|
|
||||||
}
|
}
|
||||||
// this.getCourseList();
|
// this.getCourseList();
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user