forked from integrated_whb/integrated_whb_vue
教育培训
parent
4a5dcf8b1f
commit
2efc75601a
|
@ -370,7 +370,7 @@ const fnGetData = async () => {
|
||||||
if (!CURRICULUM_ID) return;
|
if (!CURRICULUM_ID) return;
|
||||||
const resData = await getCourseManagementView({ CURRICULUM_ID });
|
const resData = await getCourseManagementView({ CURRICULUM_ID });
|
||||||
data.form = resData.pd;
|
data.form = resData.pd;
|
||||||
data.chapterList = [...resData.chapterList];
|
data.chapterList = resData.chapterList;
|
||||||
};
|
};
|
||||||
fnGetData();
|
fnGetData();
|
||||||
const fnPreview = async (VIDEOCOURSEWARE_ID, VIDEOFILES) => {
|
const fnPreview = async (VIDEOCOURSEWARE_ID, VIDEOFILES) => {
|
||||||
|
@ -482,7 +482,7 @@ const fnAddCoursewareConfirm = (value) => {
|
||||||
value.VIDEOCOURSEWARE_ID;
|
value.VIDEOCOURSEWARE_ID;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
data.chapterList = [...value];
|
data.chapterList = value;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const fnSubmit = debounce(
|
const fnSubmit = debounce(
|
||||||
|
|
|
@ -62,11 +62,7 @@
|
||||||
<el-table-column prop="TRAININGTYPE_NAME" label="课件类型" />
|
<el-table-column prop="TRAININGTYPE_NAME" label="课件类型" />
|
||||||
<el-table-column prop="TEACHERNAME" label="讲师" width="150" />
|
<el-table-column prop="TEACHERNAME" label="讲师" width="150" />
|
||||||
<el-table-column prop="CLASSHOUR" label="课件学时" width="100" />
|
<el-table-column prop="CLASSHOUR" label="课件学时" width="100" />
|
||||||
<el-table-column prop="RELATEDTERMNAME" label="相关词条">
|
<el-table-column prop="RELATEDTERMNAME" label="相关词条" />
|
||||||
<template #default="{ row }">
|
|
||||||
{{ row.VIDEOCOURSEWARE_ID }}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
</layout-table>
|
</layout-table>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col v-if="type === 'multiple'" :span="8">
|
<el-col v-if="type === 'multiple'" :span="8">
|
||||||
|
@ -261,6 +257,7 @@ import { CaretBottom, VideoCamera } from "@element-plus/icons-vue";
|
||||||
import LayoutVideo from "@/components/video/index.vue";
|
import LayoutVideo from "@/components/video/index.vue";
|
||||||
import { ElMessage, ElMessageBox } from "element-plus";
|
import { ElMessage, ElMessageBox } from "element-plus";
|
||||||
import { debounce } from "throttle-debounce";
|
import { debounce } from "throttle-debounce";
|
||||||
|
import { cloneDeep } from "lodash-es";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
visible: {
|
visible: {
|
||||||
|
@ -298,7 +295,6 @@ const { list, searchForm, pagination, fnGetData, tableRef, fnResetPagination } =
|
||||||
STATE: "0",
|
STATE: "0",
|
||||||
ISCOMPLETE: "1",
|
ISCOMPLETE: "1",
|
||||||
},
|
},
|
||||||
immediate: false,
|
|
||||||
});
|
});
|
||||||
let currentValue = {};
|
let currentValue = {};
|
||||||
const data = reactive({
|
const data = reactive({
|
||||||
|
@ -316,269 +312,9 @@ watch(
|
||||||
() => props.visible,
|
() => props.visible,
|
||||||
() => {
|
() => {
|
||||||
if (props.visible) {
|
if (props.visible) {
|
||||||
list.value = [
|
|
||||||
{
|
|
||||||
COURSEWAREINTRODUCE: "有秒差",
|
|
||||||
OPERATTIME: "2024-02-27 14:16:03",
|
|
||||||
TEACHERNAME: "张迪",
|
|
||||||
VIDEOCOURSEWARE_ID: "ee87b97b7cd64508bf0228c30740c363",
|
|
||||||
ISDELETE: 0,
|
|
||||||
QUESTIONCOUNT: 0,
|
|
||||||
VIDEOFILES: "d0523eabd53771ee80441777b3ce0102",
|
|
||||||
POSTTYPE: "",
|
|
||||||
STATE: "0",
|
|
||||||
SPEAKER: "012af2449ff247e1bf8749a4f4db5b5a",
|
|
||||||
CORPINFO_ID: "",
|
|
||||||
TRAINTYPE: "",
|
|
||||||
ISCOMPLETE: "1",
|
|
||||||
COURSEWARENAME: "视频时长课件",
|
|
||||||
CLASSHOUR: 0.3,
|
|
||||||
VIDEOTIME: "785.05",
|
|
||||||
OPERATOR: "admin",
|
|
||||||
CREATOR: "admin",
|
|
||||||
SOURCE: "1",
|
|
||||||
LIMIT_TIME: "自建课件",
|
|
||||||
VIDEOCAPTURE: "",
|
|
||||||
INDUSTRY_ALL_NAME: "",
|
|
||||||
CREATTIME: "2024-02-27 14:16:03",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
COURSEWAREINTRODUCE: "11",
|
|
||||||
OPERATTIME: "2024-01-18 19:40:24",
|
|
||||||
TEACHERNAME: "张迪",
|
|
||||||
VIDEOCOURSEWARE_ID: "551a8869e9c0438b9c76532ee36fe3a7",
|
|
||||||
ISDELETE: 0,
|
|
||||||
QUESTIONCOUNT: 30,
|
|
||||||
VIDEOFILES: "50646463b5f671ee9e0f16b5feac0102",
|
|
||||||
POSTTYPE: "",
|
|
||||||
STATE: "0",
|
|
||||||
SPEAKER: "012af2449ff247e1bf8749a4f4db5b5a",
|
|
||||||
CORPINFO_ID: "",
|
|
||||||
TRAINTYPE: "",
|
|
||||||
ISCOMPLETE: "1",
|
|
||||||
COURSEWARENAME: "0118-1",
|
|
||||||
CLASSHOUR: 0,
|
|
||||||
VIDEOTIME: "40.536",
|
|
||||||
OPERATOR: "admin",
|
|
||||||
CREATOR: "admin",
|
|
||||||
SOURCE: "1",
|
|
||||||
LIMIT_TIME: "自建课件",
|
|
||||||
VIDEOCAPTURE: "",
|
|
||||||
INDUSTRY_ALL_NAME: "",
|
|
||||||
CREATTIME: "2024-01-18 19:40:24",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
POSTTYPE_NAME: "三级教育培训",
|
|
||||||
COURSEWAREINTRODUCE: "1111",
|
|
||||||
TEACHERNAME: "张迪",
|
|
||||||
ISDELETE: 0,
|
|
||||||
QUESTIONCOUNT: 6,
|
|
||||||
VIDEOFILES: "004e87faa93b71ee9f661777b3de0102",
|
|
||||||
POSTTYPE: "d302da12d8724faaa24e5008adab8ce8",
|
|
||||||
STATE: "0",
|
|
||||||
SPEAKER: "012af2449ff247e1bf8749a4f4db5b5a",
|
|
||||||
TRAININGTYPE_NAME: "全员培训",
|
|
||||||
INDUSTRY_END_NAME: "道路运输业",
|
|
||||||
CREATOR: "admin",
|
|
||||||
LIMIT_TIME: "自建课件",
|
|
||||||
INDUSTRY_ALL_NAME: "道路运输业",
|
|
||||||
OPERATTIME: "2024-01-02 14:55:57",
|
|
||||||
VIDEOCOURSEWARE_ID: "cd455a17ff164e369c4a0bd45f88a6e6",
|
|
||||||
CORPINFO_ID: "",
|
|
||||||
TRAINTYPE: "6128172b7a1144c98cc196044281f66c",
|
|
||||||
ISCOMPLETE: "1",
|
|
||||||
COURSEWARENAME: "51秒视频",
|
|
||||||
CLASSHOUR: 0,
|
|
||||||
VIDEOTIME: "51.714",
|
|
||||||
OPERATOR: "admin",
|
|
||||||
SOURCE: "1",
|
|
||||||
VIDEOCAPTURE: "",
|
|
||||||
CREATTIME: "2024-01-02 14:55:57",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
COURSEWAREINTRODUCE:
|
|
||||||
"术语;产品分类;应急喷淋器;洗眼器;洗眼/洗脸器;复合式装置 ;补充装置;标识和说明\n",
|
|
||||||
OPERATTIME: "2023-12-21 14:13:45",
|
|
||||||
TEACHERNAME: "李娜",
|
|
||||||
VIDEOCOURSEWARE_ID: "a6e69f682a7e409b890912c2dfaf028f",
|
|
||||||
ISDELETE: 0,
|
|
||||||
QUESTIONCOUNT: 15,
|
|
||||||
VIDEOFILES: "c9b18910c7ca71ed87e734b6fdcb0102",
|
|
||||||
STATE: "0",
|
|
||||||
SPEAKER: "abc501710070444f8a6cca7f4682bcdc",
|
|
||||||
CURRICULUM_ID_REMOTE: "cf9a1f623cd74a9682243ccd9c958275",
|
|
||||||
ISCOMPLETE: "1",
|
|
||||||
COURSEWARENAME: "眼面部防护 应急喷淋和洗眼设备 第1部分:技术要求",
|
|
||||||
CLASSHOUR: 1,
|
|
||||||
VIDEOTIME: "2615.89",
|
|
||||||
OPERATOR: "联安众超管",
|
|
||||||
CREATOR: "admin",
|
|
||||||
SOURCE: "2",
|
|
||||||
LIMIT_TIME: "2026-04-30",
|
|
||||||
VIDEOCOURSEWARE_ID_REMOTE: "64e06f64e20b4ed1ab3b5a0dcdae3bb1",
|
|
||||||
CREATTIME: "2023-04-18 09:08:07",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
COURSEWAREINTRODUCE: "包装装潢印刷;其他印刷品印刷;出版物印刷",
|
|
||||||
OPERATTIME: "2023-12-21 10:41:55",
|
|
||||||
TEACHERNAME: "侯彩侠",
|
|
||||||
VIDEOCOURSEWARE_ID: "77d5ac0920c14f07a918e0923e68dced",
|
|
||||||
ISDELETE: 0,
|
|
||||||
QUESTIONCOUNT: 10,
|
|
||||||
VIDEOFILES: "93a42690cfa771edab9316b5feac0102",
|
|
||||||
STATE: "0",
|
|
||||||
SPEAKER: "474f287cf08d491ba3bd53a81aec4eaa",
|
|
||||||
CURRICULUM_ID_REMOTE: "8226ea7cdd9c4231be3a02a00815ef7a",
|
|
||||||
ISCOMPLETE: "1",
|
|
||||||
COURSEWARENAME: "包装装潢及其他印刷业车间级安全生产培训",
|
|
||||||
CLASSHOUR: 1.2,
|
|
||||||
VIDEOTIME: "3214.08",
|
|
||||||
OPERATOR: "admin",
|
|
||||||
CREATOR: "联安众超管",
|
|
||||||
SOURCE: "2",
|
|
||||||
LIMIT_TIME: "2026-04-30",
|
|
||||||
VIDEOCOURSEWARE_ID_REMOTE: "7a5090ef80824568a57f6aedb4e71871",
|
|
||||||
CREATTIME: "2023-05-23 08:15:09",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
POSTTYPE_NAME: "职业健康管理人员",
|
|
||||||
COURSEWAREINTRODUCE: "123",
|
|
||||||
TEACHERNAME: "马博",
|
|
||||||
ISDELETE: 0,
|
|
||||||
QUESTIONCOUNT: 0,
|
|
||||||
VIDEOFILES: "33151180883f71ee828d34b6fdcb0102",
|
|
||||||
POSTTYPE: "79042228778146d9bb7f0547b48a7b14",
|
|
||||||
STATE: "0",
|
|
||||||
SPEAKER: "08122e584d53442d8f57417a8bd129c7",
|
|
||||||
TRAININGTYPE_NAME: "职业健康",
|
|
||||||
INDUSTRY_END_NAME: "公路旅客运输",
|
|
||||||
CREATOR: "admin",
|
|
||||||
LIMIT_TIME: "自建课件",
|
|
||||||
INDUSTRY_ALL_NAME: "道路运输业-公路旅客运输",
|
|
||||||
OPERATTIME: "2023-11-21 15:25:52",
|
|
||||||
VIDEOCOURSEWARE_ID: "38d87d7908d945418e89e27ec77c28ad",
|
|
||||||
CORPINFO_ID: "",
|
|
||||||
TRAINTYPE: "c70bf859512241579a8a30fc5d1ae153",
|
|
||||||
ISCOMPLETE: "1",
|
|
||||||
COURSEWARENAME: "测试视频(此视频无法播放)",
|
|
||||||
CLASSHOUR: 0,
|
|
||||||
VIDEOTIME: "5.033",
|
|
||||||
OPERATOR: "admin",
|
|
||||||
SOURCE: "1",
|
|
||||||
VIDEOCAPTURE: "",
|
|
||||||
CREATTIME: "2023-11-21 15:25:52",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
COURSEWAREINTRODUCE:
|
|
||||||
"51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件",
|
|
||||||
OPERATTIME: "2023-10-17 16:58:51",
|
|
||||||
TEACHERNAME: "张迪",
|
|
||||||
VIDEOCOURSEWARE_ID: "2f8ae0ce434541848a571e5ecc0a44f8",
|
|
||||||
ISDELETE: 0,
|
|
||||||
QUESTIONCOUNT: 0,
|
|
||||||
VIDEOFILES: "63eef6706ccb71eebfd10666a2ec0102",
|
|
||||||
POSTTYPE: "",
|
|
||||||
STATE: "0",
|
|
||||||
SPEAKER: "012af2449ff247e1bf8749a4f4db5b5a",
|
|
||||||
CORPINFO_ID: "",
|
|
||||||
TRAINTYPE: "",
|
|
||||||
ISCOMPLETE: "1",
|
|
||||||
COURSEWARENAME:
|
|
||||||
"51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件51秒课件",
|
|
||||||
CLASSHOUR: 0,
|
|
||||||
VIDEOTIME: "51.714",
|
|
||||||
OPERATOR: "admin",
|
|
||||||
CREATOR: "admin",
|
|
||||||
SOURCE: "1",
|
|
||||||
LIMIT_TIME: "自建课件",
|
|
||||||
VIDEOCAPTURE: "",
|
|
||||||
INDUSTRY_ALL_NAME: "",
|
|
||||||
CREATTIME: "2023-10-17 16:58:51",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
POSTTYPE_NAME: "三级教育培训",
|
|
||||||
COURSEWAREINTRODUCE: "1分30秒视频测试",
|
|
||||||
TEACHERNAME: "刘敬英",
|
|
||||||
ISDELETE: 0,
|
|
||||||
QUESTIONCOUNT: 0,
|
|
||||||
VIDEOFILES: "aa2664b0670e71ee825d1777b3ce0102",
|
|
||||||
POSTTYPE: "d302da12d8724faaa24e5008adab8ce8",
|
|
||||||
STATE: "0",
|
|
||||||
SPEAKER: "01ea51f0b07a402b8a7785111bc79be7",
|
|
||||||
TRAININGTYPE_NAME: "全员培训",
|
|
||||||
INDUSTRY_END_NAME: "道路运输业",
|
|
||||||
CREATOR: "admin",
|
|
||||||
LIMIT_TIME: "自建课件",
|
|
||||||
INDUSTRY_ALL_NAME: "道路运输业",
|
|
||||||
OPERATTIME: "2023-10-17 15:24:36",
|
|
||||||
VIDEOCOURSEWARE_ID: "19f3f065b67e4242906155a3eafc86ef",
|
|
||||||
CORPINFO_ID: "",
|
|
||||||
TRAINTYPE: "6128172b7a1144c98cc196044281f66c",
|
|
||||||
ISCOMPLETE: "1",
|
|
||||||
COURSEWARENAME: "1分30秒视频测试",
|
|
||||||
CLASSHOUR: 0,
|
|
||||||
VIDEOTIME: "88.542",
|
|
||||||
OPERATOR: "admin",
|
|
||||||
SOURCE: "1",
|
|
||||||
VIDEOCAPTURE: "",
|
|
||||||
CREATTIME: "2023-10-10 09:45:20",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
COURSEWAREINTRODUCE: "30秒视频",
|
|
||||||
OPERATTIME: "2023-10-10 09:47:34",
|
|
||||||
TEACHERNAME: "高静",
|
|
||||||
VIDEOCOURSEWARE_ID: "5ec4aeec7178426caaac1cd5c4165858",
|
|
||||||
ISDELETE: 0,
|
|
||||||
QUESTIONCOUNT: 0,
|
|
||||||
VIDEOFILES: "fa09e6a0670e71eebc35752281fd0102",
|
|
||||||
POSTTYPE: "",
|
|
||||||
STATE: "0",
|
|
||||||
SPEAKER: "0a2324c8ffe74152b7ed2bbdb5c35dda",
|
|
||||||
CORPINFO_ID: "",
|
|
||||||
TRAINTYPE: "",
|
|
||||||
ISCOMPLETE: "1",
|
|
||||||
COURSEWARENAME: "30秒视频",
|
|
||||||
CLASSHOUR: 0,
|
|
||||||
VIDEOTIME: "31.0",
|
|
||||||
OPERATOR: "admin",
|
|
||||||
CREATOR: "admin",
|
|
||||||
SOURCE: "1",
|
|
||||||
LIMIT_TIME: "自建课件",
|
|
||||||
VIDEOCAPTURE: "",
|
|
||||||
INDUSTRY_ALL_NAME: "",
|
|
||||||
CREATTIME: "2023-10-10 09:47:34",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
COURSEWAREINTRODUCE: "1分钟视频",
|
|
||||||
TEACHERNAME: "张迪",
|
|
||||||
ISDELETE: 0,
|
|
||||||
QUESTIONCOUNT: 0,
|
|
||||||
VIDEOFILES: "0513fe70664f71ee834c1776b3ce0102",
|
|
||||||
POSTTYPE: "",
|
|
||||||
STATE: "0",
|
|
||||||
SPEAKER: "012af2449ff247e1bf8749a4f4db5b5a",
|
|
||||||
TRAININGTYPE_NAME: "全员培训",
|
|
||||||
INDUSTRY_END_NAME: "选矿厂",
|
|
||||||
CREATOR: "admin",
|
|
||||||
LIMIT_TIME: "自建课件",
|
|
||||||
INDUSTRY_ALL_NAME: "高危行业-金属非金属矿山-选矿厂",
|
|
||||||
OPERATTIME: "2023-10-09 10:53:28",
|
|
||||||
VIDEOCOURSEWARE_ID: "5c097d1b383042728eb99fb6e5c982d3",
|
|
||||||
CORPINFO_ID: "",
|
|
||||||
TRAINTYPE: "6128172b7a1144c98cc196044281f66c",
|
|
||||||
ISCOMPLETE: "1",
|
|
||||||
COURSEWARENAME: "1分钟课件",
|
|
||||||
CLASSHOUR: 0,
|
|
||||||
VIDEOTIME: "54.547",
|
|
||||||
OPERATOR: "admin",
|
|
||||||
SOURCE: "1",
|
|
||||||
VIDEOCAPTURE: "",
|
|
||||||
CREATTIME: "2023-10-09 10:53:28",
|
|
||||||
},
|
|
||||||
];
|
|
||||||
data.CATALOGUELEVEL = props.catalogueLevel;
|
data.CATALOGUELEVEL = props.catalogueLevel;
|
||||||
data.chapterList = [...props.chapterList];
|
data.chapterList = cloneDeep(props.chapterList);
|
||||||
data.chapterIds = [...props.chapterIds];
|
data.chapterIds = cloneDeep(props.chapterIds);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
@ -694,7 +430,7 @@ const fnConfirm = debounce(
|
||||||
1000,
|
1000,
|
||||||
() => {
|
() => {
|
||||||
const value = props.type === "radio" ? currentValue : data.chapterList;
|
const value = props.type === "radio" ? currentValue : data.chapterList;
|
||||||
emits("confirm", value);
|
emits("confirm", cloneDeep(value));
|
||||||
fnClose();
|
fnClose();
|
||||||
},
|
},
|
||||||
{ atBegin: true }
|
{ atBegin: true }
|
||||||
|
|
Loading…
Reference in New Issue