Commit fc2b1ce8 authored by lizhichao's avatar lizhichao

课程类型改为培训计划

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