|
@@ -9,24 +9,10 @@
|
|
|
clearable
|
|
|
filterable
|
|
|
placeholder="课程类型">
|
|
|
- <el-option label="基础技能课"
|
|
|
- value="HIGH"></el-option>
|
|
|
- <el-option label="综合课"
|
|
|
- value="COMPREHENSIVE"></el-option>
|
|
|
- <el-option label="课堂课"
|
|
|
- value="CLASSROOM"></el-option>
|
|
|
- <el-option label="合奏课"
|
|
|
- value="MIX"></el-option>
|
|
|
- <el-option label="集训合奏课"
|
|
|
- value="TRAINING_MIX"></el-option>
|
|
|
- <el-option label="集训声部课"
|
|
|
- value="TRAINING_SINGLE"></el-option>
|
|
|
- <el-option label="声部课"
|
|
|
- value="SINGLE"></el-option>
|
|
|
- <el-option label="线上基础技能课"
|
|
|
- value="HIGH_ONLINE"></el-option>
|
|
|
- <el-option label="乐团网管课"
|
|
|
- value="MUSIC_NETWORK"></el-option>
|
|
|
+ <el-option v-for="(item, index) in courseArray"
|
|
|
+ :key="index"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
@@ -207,16 +193,6 @@
|
|
|
label-position="right"
|
|
|
label-width="120px"
|
|
|
:inline="true">
|
|
|
- <!-- <el-form-item label="课程类型" prop="type">
|
|
|
- <el-select v-model.trim="maskForm.type" clearable filterable>
|
|
|
- <el-option
|
|
|
- v-for="(item,index) in courseType"
|
|
|
- :key="index"
|
|
|
- :value="item.value"
|
|
|
- :label="item.label"
|
|
|
- ></el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>-->
|
|
|
<el-form-item label="主教老师"
|
|
|
prop="teacher">
|
|
|
<el-select v-model.trim="maskForm.teacher"
|
|
@@ -400,34 +376,6 @@
|
|
|
:page-sizes="rollCall.page_size"
|
|
|
@pagination="getCallName" />
|
|
|
</el-dialog>
|
|
|
- <el-dialog title="类型修改"
|
|
|
- width="400px"
|
|
|
- :visible.sync="typeVisible">
|
|
|
- <el-form :model="typeForm"
|
|
|
- ref="typeForm"
|
|
|
- :rules="typeRules"
|
|
|
- label-position="right"
|
|
|
- label-width="80px;"
|
|
|
- :inline="true">
|
|
|
- <el-form-item label="课程类型"
|
|
|
- prop="type">
|
|
|
- <el-select v-model.trim="typeForm.type"
|
|
|
- clearable
|
|
|
- filterable>
|
|
|
- <el-option v-for="(item,index) in courseType"
|
|
|
- :key="index"
|
|
|
- :value="item.value"
|
|
|
- :label="item.label"></el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-form>
|
|
|
- <div slot="footer"
|
|
|
- class="dialog-footer">
|
|
|
- <el-button @click="typeVisible = false">取 消</el-button>
|
|
|
- <el-button type="primary"
|
|
|
- @click="submitResetType">确定</el-button>
|
|
|
- </div>
|
|
|
- </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -450,7 +398,7 @@ import {
|
|
|
} from "@/api/buildTeam";
|
|
|
import { permission } from "@/utils/directivePage";
|
|
|
import { diffTimerFormMinute, addTimerFormMinute } from '@/utils/date'
|
|
|
-import { classTimeList } from "@/utils/searchArray";
|
|
|
+import { classTimeList,musicCourseType } from "@/utils/searchArray";
|
|
|
import { getSchool } from "@/api/systemManage"
|
|
|
import cleanDeep from 'clean-deep'
|
|
|
export default {
|
|
@@ -458,17 +406,7 @@ export default {
|
|
|
data () {
|
|
|
return {
|
|
|
classTimeList,
|
|
|
- courseType: [
|
|
|
- { value: "SINGLE", label: "声部课" },
|
|
|
- { value: "MIX", label: "合奏课" },
|
|
|
- { value: "TRAINING_SINGLE", label: "集训声部课" },
|
|
|
- { value: "TRAINING_MIX", label: "集训合奏课" },
|
|
|
- { value: "HIGH", label: "基础技能课" },
|
|
|
- { value: "COMPREHENSIVE", label: "综合课" },
|
|
|
- { value: "CLASSROOM", label: "课堂课" },
|
|
|
- // { value: "HIGH_ONLINE", label: "线上基础技能课" },
|
|
|
- // { value: "MUSIC_NETWORK", label: "乐团网管课" },
|
|
|
- ],
|
|
|
+ courseArray:musicCourseType,
|
|
|
typeVisible: false,
|
|
|
timerVisible: false,
|
|
|
courseVisible: false,
|