|
@@ -223,6 +223,16 @@
|
|
|
label-width="80px;"
|
|
|
:inline="true"
|
|
|
>
|
|
|
+ <el-form-item label="课程开始时间" prop="coursesStartDate">
|
|
|
+ <el-date-picker
|
|
|
+ v-model.trim="expireForm.coursesStartDate"
|
|
|
+ style="width: 200px !important"
|
|
|
+ type="date"
|
|
|
+ :picker-options="bigin"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ placeholder="选择日期"
|
|
|
+ ></el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="课程结束时间" prop="coursesExpireDate">
|
|
|
<el-date-picker
|
|
|
v-model.trim="expireForm.coursesExpireDate"
|
|
@@ -699,6 +709,7 @@ export default {
|
|
|
startTime: null,
|
|
|
expireForm: {
|
|
|
coursesExpireDate: null,
|
|
|
+ coursesStartDate:null,
|
|
|
tempCoursesExpireDate: null,
|
|
|
},
|
|
|
expireRules: {
|
|
@@ -790,6 +801,10 @@ export default {
|
|
|
this.practiceId = this.$route.query.id;
|
|
|
this.userId = this.$route.query.userId;
|
|
|
this.courseType = this.$route.query.type;
|
|
|
+ this.timers =
|
|
|
+ this.$route.query.coursesStartDate.substring(0, 10) +
|
|
|
+ "至" +
|
|
|
+ this.$route.query.coursesExpireDate.substring(0, 10);
|
|
|
// 获取乐团主管
|
|
|
findEducationUsers().then((res) => {
|
|
|
if (res.code == 200) {
|
|
@@ -876,10 +891,7 @@ export default {
|
|
|
0,
|
|
|
10
|
|
|
);
|
|
|
- this.timers =
|
|
|
- this.courseData[0].coursesStartDate.substring(0, 10) +
|
|
|
- "至" +
|
|
|
- this.courseData[0].coursesExpireDate.substring(0, 10);
|
|
|
+
|
|
|
|
|
|
let originalStartDate = this.courseData[0].coursesStartDate
|
|
|
? new Date(this.courseData[0].coursesStartDate)
|