|
@@ -111,10 +111,9 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="center" label="内容" width="150px" prop="teachingContent" key="teachingContent">
|
|
<el-table-column align="center" label="内容" width="150px" prop="teachingContent" key="teachingContent">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <!-- v-model="form.eclass[scope.$index].courseCurrentPrice" -->
|
|
|
|
<el-form-item :prop="'timeTable.' + scope.$index + '.teachingContent'"
|
|
<el-form-item :prop="'timeTable.' + scope.$index + '.teachingContent'"
|
|
:rules="[{ required: true, message: '请输入内容' }]" style="margin-bottom: 0;">
|
|
:rules="[{ required: true, message: '请输入内容' }]" style="margin-bottom: 0;">
|
|
- <el-input v-model="scope.row.teachingContent" placeholder="请输入内容">
|
|
|
|
|
|
+ <el-input v-model="scope.row.teachingContent" placeholder="请输入内容" maxlength="25">
|
|
</el-input>
|
|
</el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</template>
|
|
</template>
|
|
@@ -123,8 +122,7 @@
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-form-item :prop="'timeTable.' + scope.$index + '.teachingPoint'"
|
|
<el-form-item :prop="'timeTable.' + scope.$index + '.teachingPoint'"
|
|
:rules="[{ required: true, message: '请输入技能/知识点掌握' }]" style="margin-bottom: 0;">
|
|
:rules="[{ required: true, message: '请输入技能/知识点掌握' }]" style="margin-bottom: 0;">
|
|
- <!-- v-model="scope.row.teachingPoint" -->
|
|
|
|
- <el-input v-model="form.timeTable[scope.$index].teachingPoint" placeholder="请输入技能/知识点掌握">
|
|
|
|
|
|
+ <el-input v-model="form.timeTable[scope.$index].teachingPoint" placeholder="请输入技能/知识点掌握" maxlength="25">
|
|
</el-input>
|
|
</el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</template>
|
|
</template>
|
|
@@ -527,10 +525,10 @@ export default {
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
countOnlineClassesUnitPrice() {
|
|
countOnlineClassesUnitPrice() {
|
|
- return this.form.onlineClassesNum * this.form.onlineClassesUnitPrice
|
|
|
|
|
|
+ return this.form.onlineClassesNum * this.form.onlineClassesUnitPrice || 0
|
|
},
|
|
},
|
|
countOfflineClassesUnitPrice() {
|
|
countOfflineClassesUnitPrice() {
|
|
- return this.form.onlineClassesNum * this.form.offlineClassesUnitPrice
|
|
|
|
|
|
+ return this.form.onlineClassesNum * this.form.offlineClassesUnitPrice || 0
|
|
},
|
|
},
|
|
}
|
|
}
|
|
};
|
|
};
|