|
@@ -242,17 +242,21 @@
|
|
|
v-model.trim="centerForm.onlineCourseNum"
|
|
|
@mousewheel.native.prevent
|
|
|
type="number"
|
|
|
- />
|
|
|
+ >
|
|
|
+ <template slot="append">节</template>
|
|
|
+ </el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item v-if="hasOffline" label="线下课数">
|
|
|
<el-input
|
|
|
v-model.trim="centerForm.offlineCourseNum"
|
|
|
@mousewheel.native.prevent
|
|
|
type="number"
|
|
|
- />
|
|
|
+ > <template slot="append">节</template>
|
|
|
+ </el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="待排课数">
|
|
|
- <el-input v-model.trim="allCourseCount" disabled />
|
|
|
+ <el-input v-model.trim="allCourseCount" disabled > <template slot="append">节</template>
|
|
|
+ </el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
|
v-if="hotType == 'GIVE_CLASS' && isGiveClass"
|
|
@@ -345,11 +349,13 @@
|
|
|
:inline="true"
|
|
|
>
|
|
|
<el-form-item v-if="hasOnline" label="线上课课酬">
|
|
|
- <el-input v-model.trim="rightForm.onlineCourse" :disabled="true" />
|
|
|
+ <el-input v-model.trim="rightForm.onlineCourse" :disabled="true" > <template slot="append">元/节</template>
|
|
|
+ </el-input>
|
|
|
<!-- || onlineSalary!='TEACHER_DEFAULT' salaryReadonlyFlag==0 -->
|
|
|
</el-form-item>
|
|
|
<el-form-item v-if="hasOffline" label="线下课课酬">
|
|
|
- <el-input v-model.trim="rightForm.offlineCourse" :disabled="true" />
|
|
|
+ <el-input v-model.trim="rightForm.offlineCourse" :disabled="true" > <template slot="append">元/节</template>
|
|
|
+ </el-input>
|
|
|
<!-- || offlineSalary!='TEACHER_DEFAULT' salaryReadonlyFlag==0 -->
|
|
|
</el-form-item>
|
|
|
<!-- <el-form-item v-if="hasOnline" label="线上课单价">
|
|
@@ -1444,7 +1450,7 @@ export default {
|
|
|
this.leftForm.section = "";
|
|
|
this.rightForm.offlineCourse = "";
|
|
|
this.rightForm.onlineCourse = "";
|
|
|
- this.leftForm.courseType = "";
|
|
|
+ // this.leftForm.courseType = "";
|
|
|
if (val) {
|
|
|
getTeachSchool({
|
|
|
userId: val,
|
|
@@ -1499,9 +1505,17 @@ export default {
|
|
|
// 老师 乐团主管 都要重置
|
|
|
this.studentList = [];
|
|
|
this.$set(this.leftForm, "students", []);
|
|
|
+ this.$set(this.leftForm, "teacher", '');
|
|
|
+ this.$set(this.leftForm, "educationalTeacherId", '');
|
|
|
+ this.$set(this.leftForm, "section", '');
|
|
|
+ this.$set(this.leftForm, "activeType", '');
|
|
|
+ this.$set(this.leftForm, "classTime", '');
|
|
|
+ this.$set(this.leftForm, "subject", '');
|
|
|
+
|
|
|
+
|
|
|
// this.leftForm.students = [];
|
|
|
- this.leftForm.teacherId = "";
|
|
|
- this.leftForm.educationalTeacherId = "";
|
|
|
+ // this.leftForm.teacherId = "";
|
|
|
+ // this.leftForm.educationalTeacherId = "";
|
|
|
this.courseTypeList = [];
|
|
|
if (this.leftForm.courseType) {
|
|
|
this.$set(this.leftForm, "courseType", null);
|