Commit fc2b1ce8 authored by lizhichao's avatar lizhichao

课程类型改为培训计划

parent 310730a9
......@@ -20,10 +20,10 @@
<el-input style="width: 500px" v-model="form.courseName"></el-input>
</el-form-item>
<el-form-item label="课程类型" prop="courseType">
<el-form-item label="培训计划" prop="courseType">
<el-select
v-model="form.courseType"
placeholder="请选择隐患等级"
placeholder="请选择培训计划"
clearable
size="small"
>
......@@ -117,7 +117,7 @@ export default {
courseConent: [
{ required: true, trigger: "blur", message: "课程内容不能为空" },
],
video: [{ required: true, trigger: "blue", message: "视频不能为空" }],
// video: [{ required: true, trigger: "blue", message: "视频不能为空" }],
enclosure: [
{ required: true, trigger: "blur", message: "附件不能为空" },
],
......
......@@ -6,10 +6,10 @@
:inline="true"
label-width="68px"
>
<el-form-item label="课件类别" prop="courseType">
<el-form-item label="培训计划" prop="courseType">
<el-select
v-model="queryParams.courseType"
placeholder="请选择课程类型"
placeholder="请选择培训计划"
clearable
size="small"
>
......@@ -21,7 +21,7 @@
/>
</el-select>
</el-form-item>
<el-form-item label="名称" prop="courseName">
<el-form-item label="课程名称" prop="courseName">
<el-input
v-model="queryParams.courseName"
placeholder="请输入课程名称"
......@@ -81,7 +81,7 @@
</div>
</template>
</el-table-column> -->
<el-table-column label="课程类别" align="center" prop="courseType">
<el-table-column label="培训计划" align="center" prop="courseType">
<template v-slot="scope">
<div>
{{
......@@ -195,7 +195,7 @@ import {
issue,
deleteLesson,
} from "@/api/educationPlanExam/lessonsProgram.js";
// 获取课程类型
// 获取培训计划
import { getPlanList } from "@/api/educationPlanExam/trainingProgram";
import { mapGetters, mapMutations } from "vuex";
......@@ -275,13 +275,13 @@ export default {
},
/** 新增按钮操作 */
handleAdd() {
this.$refs.Dia.title = "新增课程";
this.$refs.Dia.title = "新增培训课程";
this.componentsNum = 1;
this.courseId = null;
this.dilogFlag = true;
},
changeLesson(courseId) {
this.$refs.Dia.title = "修改课程";
this.$refs.Dia.title = "修改培训课程";
this.componentsNum = 1;
this.courseId = courseId;
this.dilogFlag = true;
......
......@@ -21,7 +21,7 @@
</div>
<div class="bt flex fz14 border-bottom">
<div class="a">课程类型</div>
<div class="a">培训计划</div>
<div class="b">
<div>{{ lessonTypeName }}</div>
</div>
......
......@@ -25,7 +25,7 @@
</div>
<div class="middle flex">
<div>
<div class="top">参与培训人员</div>
<div class="top">参与培训人员({{personnelOptions.length}})</div>
<div class="bottom">
<el-checkbox-group class="" v-model="infoData.postIds">
<el-checkbox
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment