Merge remote-tracking branch 'origin/dev' into dev

dev
WenShiJun 2024-03-30 17:42:42 +08:00
commit 287ca601e4
16 changed files with 237 additions and 71 deletions

View File

@ -4,7 +4,7 @@
<el-form <el-form
:model="searchForm" :model="searchForm"
label-width="80px" label-width="80px"
@submit.prevent="fnResetPagination" @submit.prevent="fnResetPaginationTransfer"
> >
<el-row> <el-row>
<el-col :span="4"> <el-col :span="4">
@ -25,11 +25,14 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="获取时间" prop="DATES"> <el-form-item label="获取时间" prop="dates">
<el-date-picker <el-date-picker
v-model="searchForm.DATES" v-model="searchForm.dates"
type="daterange" type="daterange"
range-separator="至" range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD" value-format="YYYY-MM-DD"
/> />
</el-form-item> </el-form-item>
@ -49,7 +52,7 @@
<el-col :span="6"> <el-col :span="6">
<el-form-item label-width="10px"> <el-form-item label-width="10px">
<el-button type="primary" native-type="submit"> 搜索 </el-button> <el-button type="primary" native-type="submit"> 搜索 </el-button>
<el-button native-type="reset" @click="fnResetPagination"> <el-button native-type="reset" @click="fnResetPaginationTransfer">
重置 重置
</el-button> </el-button>
</el-form-item> </el-form-item>
@ -61,7 +64,7 @@
<layout-table <layout-table
v-model:pagination="pagination" v-model:pagination="pagination"
:data="list" :data="list"
@get-data="fnGetData" @get-data="fnGetDataTransfer"
> >
<el-table-column label="序号" width="60"> <el-table-column label="序号" width="60">
<template #default="{ $index }"> <template #default="{ $index }">
@ -138,6 +141,18 @@ const statusList = [
]; ];
const { list, pagination, searchForm, fnGetData, fnResetPagination } = const { list, pagination, searchForm, fnGetData, fnResetPagination } =
useListData(getPdffileList); useListData(getPdffileList);
const fnGetDataTransfer = () => {
fnGetData({
STARTTIME: searchForm.value.dates?.[0],
ENDTIME: searchForm.value.dates?.[1],
});
};
const fnResetPaginationTransfer = () => {
fnResetPagination({
STARTTIME: searchForm.value.dates?.[0],
ENDTIME: searchForm.value.dates?.[1],
});
};
const fnHandleDownload = (filePath) => { const fnHandleDownload = (filePath) => {
window.open(FILE_URL + filePath); window.open(FILE_URL + filePath);
}; };

View File

@ -413,18 +413,18 @@
<td>{{ data.classInfo.USER_ID_CARD }}</td> <td>{{ data.classInfo.USER_ID_CARD }}</td>
<td>学历</td> <td>学历</td>
<td>{{ data.classInfo.DEGREE_OF_EDUCATION_NAME }}</td> <td>{{ data.classInfo.DEGREE_OF_EDUCATION_NAME }}</td>
<td>专业</td> <td>毕业院校及专业</td>
<td>{{ data.classInfo.MAJOR }}</td> <td>{{ data.classInfo.UNIVERSITY }}</td>
</tr> </tr>
<tr> <tr>
<td>职务/职称</td> <td>职务/职称</td>
<td>{{ data.classInfo.DUTIES }}</td> <td>{{ data.classInfo.DUTIES_NAME }}</td>
<td>部门</td> <td>部门</td>
<td>{{ data.classInfo.DEPARTMENT_NAME }}</td> <td>{{ data.classInfo.DEPARTMENT_NAME }}</td>
<td>工种</td> <td>工种</td>
<td>{{ data.classInfo.POST_NAME }}</td> <td>{{ data.classInfo.POST_NAME }}</td>
<td>行业类别</td> <td>行业类别</td>
<td>{{ data.classInfo.INDUSTRY_ALL_NAME }}</td> <td>{{ data.classInfo.CORP_TYPE_NAME }}</td>
<td>联系电话</td> <td>联系电话</td>
<td>{{ data.classInfo.PHONE }}</td> <td>{{ data.classInfo.PHONE }}</td>
</tr> </tr>

View File

@ -36,8 +36,8 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="状态" prop="STATUS"> <el-form-item label="状态" prop="STATE">
<el-select v-model="searchForm.STATUS"> <el-select v-model="searchForm.STATE">
<el-option <el-option
v-for="item in statusList" v-for="item in statusList"
:key="item.ID" :key="item.ID"
@ -167,7 +167,7 @@ import {
} from "@/request/training_archive_management.js"; } from "@/request/training_archive_management.js";
import { useRoute, useRouter } from "vue-router"; import { useRoute, useRouter } from "vue-router";
import ClassFileExport from "@/views/archives_management/user/components/class_file_export.vue"; import ClassFileExport from "@/views/archives_management/user/components/class_file_export.vue";
import { ElMessage } from "element-plus"; import { ElMessage, ElMessageBox } from "element-plus";
const route = useRoute(); const route = useRoute();
const router = useRouter(); const router = useRouter();
@ -213,21 +213,20 @@ const fnExport = () => {
const fnSubmit = async (checkArchivesList) => { const fnSubmit = async (checkArchivesList) => {
const selectionData = tableRef.value.getSelectionRows(); const selectionData = tableRef.value.getSelectionRows();
let cnt = 0; let cnt = 0;
if (checkArchivesList.indexOf("人员登记表") !== -1) {
selectionData.forEach((item) => { selectionData.forEach((item) => {
if ( if (
!( !(
item.STATE === "6" || item.STATE === "6" ||
(item.EXAMINATION === "1" && (item.EXAMINATION === 1 &&
parseInt(item.STAGEEXAMSCORE) > -1 && parseInt(item.STAGEEXAMSCORE) > -1 &&
parseInt(item.STUDYSTATE) !== "5") || parseInt(item.STUDYSTATE) !== 5) ||
(item.EXAMINATION === 0 && parseInt(item.STUDYSTATE) > 1) (item.EXAMINATION === 0 && parseInt(item.STUDYSTATE) > 1)
) )
) { ) {
cnt = cnt + 1; cnt = cnt + 1; //
} }
}); });
}
if (cnt === selectionData.length) { if (cnt === selectionData.length) {
ElMessage.warning("所选中的内容不符合导出条件"); ElMessage.warning("所选中的内容不符合导出条件");
} else { } else {
@ -245,6 +244,11 @@ const fnSubmit = async (checkArchivesList) => {
curriculum: JSON.stringify(curriculum), curriculum: JSON.stringify(curriculum),
checkArchivesList, checkArchivesList,
}); });
await ElMessageBox.confirm(
"导出后请前往档案下载中下载该档案!",
"温馨提示",
{ type: "info" }
);
} }
}; };
</script> </script>

View File

@ -58,18 +58,6 @@
</div> </div>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24">
<el-form-item prop="certificate">
<span>3是否下载培训证明</span>
<div class="ml-20">
<el-switch
v-model="form.certificate"
active-text="是"
inactive-text="否"
/>
</div>
</el-form-item>
</el-col>
</el-form> </el-form>
<template #footer> <template #footer>
<el-button @click="fnClose"></el-button> <el-button @click="fnClose"></el-button>
@ -131,9 +119,6 @@ const fnSubmit = async () => {
if (form.value.register) { if (form.value.register) {
form.value.checkArchivesList.push({ sort: 50, label: "人员登记表" }); form.value.checkArchivesList.push({ sort: 50, label: "人员登记表" });
} }
if (form.value.certificate) {
form.value.checkArchivesList.push({ sort: 60, label: "培训证明" });
}
if (form.value.checkArchivesList.length === 0) { if (form.value.checkArchivesList.length === 0) {
ElMessage.warning("请选择要导出的项"); ElMessage.warning("请选择要导出的项");
return; return;

View File

@ -33,18 +33,18 @@
<td style="width: 200px"> <td style="width: 200px">
{{ data.evaluationDialogForm.DEGREE_OF_EDUCATION }} {{ data.evaluationDialogForm.DEGREE_OF_EDUCATION }}
</td> </td>
<td style="width: 60px">专业</td> <td style="width: 60px">毕业院校及专业</td>
<td>{{ data.evaluationDialogForm.MAJOR }}</td> <td>{{ data.evaluationDialogForm.UNIVERSITY }}</td>
</tr> </tr>
<tr> <tr>
<td>职务/职称</td> <td>职务/职称</td>
<td>{{ data.evaluationDialogForm.DUTIES }}</td> <td>{{ data.evaluationDialogForm.DUTIES_NAME }}</td>
<td>部门</td> <td>部门</td>
<td>{{ data.evaluationDialogForm.DEPARTMENT_NAME }}</td> <td>{{ data.evaluationDialogForm.DEPARTMENT_NAME }}</td>
<td>工种</td> <td>工种</td>
<td>{{ data.evaluationDialogForm.POST_NAME }}</td> <td>{{ data.evaluationDialogForm.POST_NAME }}</td>
<td>行业类别</td> <td>行业类别</td>
<td>{{ data.evaluationDialogForm.INDUSTRY_ALL_NAME }}</td> <td>{{ data.evaluationDialogForm.CORP_TYPE_NAME }}</td>
<td>联系电话</td> <td>联系电话</td>
<td>{{ data.evaluationDialogForm.PHONE }}</td> <td>{{ data.evaluationDialogForm.PHONE }}</td>
</tr> </tr>

View File

@ -8,7 +8,7 @@
> >
<el-row> <el-row>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="姓名" prop="STUDENTNAME"> <el-form-item label="姓名" prop="NAME">
<el-input v-model="searchForm.NAME" placeholder="请输入姓名" /> <el-input v-model="searchForm.NAME" placeholder="请输入姓名" />
</el-form-item> </el-form-item>
</el-col> </el-col>

View File

@ -213,10 +213,10 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="培训行业类型" prop="TRAINTYPE"> <el-form-item label="培训行业类型" prop="INDUSTRY_TYPE">
<layout-learning-train-type <layout-industry-type
v-model="data.form.TRAINTYPE" ref="industryTypeRef"
type="trainingType" v-model="data.form.INDUSTRY_TYPE"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -475,6 +475,7 @@ const router = useRouter();
const formRef = ref(null); const formRef = ref(null);
const territoryCascaderRef = ref(null); const territoryCascaderRef = ref(null);
const industryCascaderRef = ref(null); const industryCascaderRef = ref(null);
const industryTypeRef = ref(null);
const economicTypeCascaderRef = ref(null); const economicTypeCascaderRef = ref(null);
const rules = { const rules = {
CORP_NAME: [{ required: true, message: "企业名称不能为空", trigger: "blur" }], CORP_NAME: [{ required: true, message: "企业名称不能为空", trigger: "blur" }],
@ -516,7 +517,7 @@ const rules = {
message: "请输入正确的手机号码", message: "请输入正确的手机号码",
}, },
], ],
TRAINTYPE: [ INDUSTRY_TYPE: [
{ required: true, message: "培训行业类型不能为空", trigger: "blur" }, { required: true, message: "培训行业类型不能为空", trigger: "blur" },
], ],
bus_images: [ bus_images: [
@ -582,7 +583,7 @@ const data = reactive({
SUBORDINATION: "", SUBORDINATION: "",
SCALE: "", SCALE: "",
SCALE_TYPE: "", SCALE_TYPE: "",
TRAINTYPE: "", INDUSTRY_TYPE: "",
USERS_NUM: "", USERS_NUM: "",
FOURTYPE: "", FOURTYPE: "",
four_images: [], four_images: [],
@ -621,6 +622,7 @@ const fnGetData = async () => {
data.form.four_images = addingPrefixToFile(resData.fourImgs); data.form.four_images = addingPrefixToFile(resData.fourImgs);
data.form.OLDFOURTYPE = resData.pd.FOURTYPE; data.form.OLDFOURTYPE = resData.pd.FOURTYPE;
data.form.FOURTYPE = resData.pd.FOURTYPE || 1; data.form.FOURTYPE = resData.pd.FOURTYPE || 1;
data.form.INDUSTRY_TYPE = resData.pd.INDUSTRY_TYPE.split(",").at(-1);
}; };
fnGetData(); fnGetData();
const enterpriseStatus = await layoutFnGetEnterpriseStatus(); const enterpriseStatus = await layoutFnGetEnterpriseStatus();
@ -652,6 +654,7 @@ const fnSubmit = debounce(
data.form.CORP_TYPE3 = data.form.INDUSTRYALL[2] || ""; data.form.CORP_TYPE3 = data.form.INDUSTRYALL[2] || "";
data.form.CORP_TYPE4 = data.form.INDUSTRYALL[3] || ""; data.form.CORP_TYPE4 = data.form.INDUSTRYALL[3] || "";
data.form.CORP_TYPE_NAME = industryCascaderRef.value.getCheckedNodes(); data.form.CORP_TYPE_NAME = industryCascaderRef.value.getCheckedNodes();
data.form.INDUSTRY_NAME = industryTypeRef.value.getCheckedNodes();
const formData = new FormData(); const formData = new FormData();
Object.keys(data.form).forEach((key) => { Object.keys(data.form).forEach((key) => {
formData.append(key, data.form[key]); formData.append(key, data.form[key]);

View File

@ -76,7 +76,7 @@
<template v-if="data.info.SCALE_TYPE === 1"></template> <template v-if="data.info.SCALE_TYPE === 1"></template>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="培训行业类型"> <el-descriptions-item label="培训行业类型">
{{ data.info.TRAINTYPE_NAME }} {{ data.info.INDUSTRY_NAME }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="企业可新建用户数量"> <el-descriptions-item label="企业可新建用户数量">
{{ data.info.USERS_NUM }} {{ data.info.USERS_NUM }}

View File

@ -350,7 +350,7 @@
<el-col :span="9"> <el-col :span="9">
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="有效期限(身份证)" prop="dates"> <el-form-item label="有效期限(身份证)" prop="dates1">
<el-date-picker <el-date-picker
v-model="data.form.ID_CARD_VALIDITY" v-model="data.form.ID_CARD_VALIDITY"
type="daterange" type="daterange"
@ -450,7 +450,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="有效期限" prop="dates"> <el-form-item label="有效期限" prop="dates2">
<el-date-picker <el-date-picker
v-model="data.form.DRIVER_LICENSE_VALIDITY" v-model="data.form.DRIVER_LICENSE_VALIDITY"
type="daterange" type="daterange"
@ -559,7 +559,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="有效期限" prop="dates"> <el-form-item label="有效期限" prop="dates3">
<el-date-picker <el-date-picker
v-model="data.form.QUALIFICATION_CERTIFICATE_VALIDITY" v-model="data.form.QUALIFICATION_CERTIFICATE_VALIDITY"
type="daterange" type="daterange"
@ -779,6 +779,146 @@ const rules = {
periodStr: [ periodStr: [
{ required: true, message: "请选择完整的排班类型", trigger: "change" }, { required: true, message: "请选择完整的排班类型", trigger: "change" },
], ],
ID_CARD_FRONT: [
{
required: true,
message: "请上传身份证(正面)",
trigger: "blur",
},
],
ID_CARD_BACK: [
{
required: true,
message: "请上传身份证(反面)",
trigger: "blur",
},
],
dates1: [
{
required: true,
message: "请选择有效期限(身份证)",
trigger: "change",
},
],
ID_CARD_ADDRESS: [
{
required: true,
message: "住址不能为空",
trigger: "change",
},
],
ID_CARD_ORGAN: [
{
required: true,
message: "签发机关不能为空",
trigger: "change",
},
],
DRIVER_LICENSE: [
{
required: true,
message: "驾驶证不能为空",
trigger: "change",
},
],
DRIVER_LICENSE_NO: [
{
required: true,
message: "证号不能为空",
trigger: "change",
},
],
DRIVING_MODEL_ARR: [
{
required: true,
message: "准驾车型不能为空",
trigger: "change",
},
],
DRIVING_NATIONALITY: [
{
required: true,
message: "国籍不能为空",
trigger: "change",
},
],
DRIVER_LICENSE_ISSUE_DATE: [
{
required: true,
message: "初次领证日期不能为空",
trigger: "change",
},
],
dates2: [
{
required: true,
message: "请选择有效期限",
trigger: "change",
},
],
DRIVER_LICENSE_ORGAN: [
{
required: true,
message: "签发机关不能为空",
trigger: "blur",
},
],
QUALIFICATION_CERTIFICATE: [
{
required: true,
message: "从业资格证照片不能为空",
trigger: "change",
},
],
QUALIFICATION_CERTIFICATE_NATIONALITY: [
{
required: true,
message: "国籍不能为空",
trigger: "change",
},
],
QUALIFICATION_CERTIFICATE_NO: [
{
required: true,
message: "证号不能为空",
trigger: "change",
},
],
QUALIFICATION_CERTIFICATE_ARR: [
{
required: true,
message: "准驾车型不能为空",
trigger: "change",
},
],
QUALIFICATION_CERTIFICATE_ISSUE_DATE: [
{
required: true,
message: "初次领证日期不能为空",
trigger: "change",
},
],
dates3: [
{
required: true,
message: "请选择有效期限",
trigger: "change",
},
],
QUALIFICATION_CERTIFICATE_ORGAN: [
{
required: true,
message: "签发机关不能为空",
trigger: "blur",
},
],
faceFile: [
{
required: true,
message: "人员认证照片不能为空",
trigger: "blur",
},
],
}; };
const formRef = ref(null); const formRef = ref(null);
const data = reactive({ const data = reactive({

View File

@ -260,6 +260,7 @@ const form = ref({
ENGINE_NUMBER: "", ENGINE_NUMBER: "",
VEHICLE_MODEL: "", VEHICLE_MODEL: "",
TRANSACTION_DATE: "", TRANSACTION_DATE: "",
FREIGHTTRAILER_ID: "",
VEHICLE: { VEHICLE: {
VEHICLEOWNER: "", VEHICLEOWNER: "",
VEHICLEOWNER_NUMBER: "", VEHICLEOWNER_NUMBER: "",
@ -287,6 +288,7 @@ const fnEditVehicleModel = async () => {
} else if (form.value.SCRAP_VEHICLEMODEL === "货运挂车") { } else if (form.value.SCRAP_VEHICLEMODEL === "货运挂车") {
form.value.ALLVEHICLE = getAllFrailerList.varList; form.value.ALLVEHICLE = getAllFrailerList.varList;
form.value.FREIGHTVEHICLELIST = form.value.ALLVEHICLE; form.value.FREIGHTVEHICLELIST = form.value.ALLVEHICLE;
console.log();
} }
}; };
const info = ref({}); const info = ref({});
@ -334,6 +336,8 @@ const fnGetVehicleInfo = async () => {
form.value.FREIGHTVEHICLELIST[i].PLATE_NUMBER === form.value.FREIGHTVEHICLELIST[i].PLATE_NUMBER ===
form.value.SCRAP_VEHICLE form.value.SCRAP_VEHICLE
) { ) {
form.value.FREIGHTTRAILER_ID =
form.value.FREIGHTVEHICLELIST[i].FREIGHTTRAILER_ID
form.value.VEHICLE.VEHICLEOWNER = form.value.VEHICLE.VEHICLEOWNER =
form.value.FREIGHTVEHICLELIST[i].CAR_OWNERS; form.value.FREIGHTVEHICLELIST[i].CAR_OWNERS;
form.value.VEHICLE.VEHICLEOWNER_NUMBER = form.value.VEHICLE.VEHICLEOWNER_NUMBER =
@ -389,6 +393,7 @@ const fnSubmit = debounce(
1000, 1000,
async () => { async () => {
await useFormValidate(formRef); await useFormValidate(formRef);
console.log("form.value",form.value);
await setScrapManageAdd({ ...form.value }); await setScrapManageAdd({ ...form.value });
ElMessage.success("提交成功"); ElMessage.success("提交成功");
router.back(); router.back();

View File

@ -29,7 +29,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="培训类型" prop="TRAINTYPE"> <el-form-item label="培训类型" prop="TRAINTYPE">
<layout-learning-train-type <layout-
ref="trainingTypeRef" ref="trainingTypeRef"
v-model="data.form.TRAINTYPE" v-model="data.form.TRAINTYPE"
type="trainingType" type="trainingType"

View File

@ -379,4 +379,22 @@ const fnSubmit = debounce(
flex: 1; flex: 1;
} }
} }
:deep {
.el-radio-group {
width: 100%;
justify-content: space-between;
flex-wrap: wrap;
}
.el-radio-group .el-radio {
width: 25%;
margin-right: 0;
height: auto;
min-height: 30px;
}
.el-radio__input.is-disabled + span.el-radio__label {
white-space: break-spaces;
word-break: break-all;
line-height: 20px;
}
}
</style> </style>

View File

@ -69,7 +69,7 @@
prop="EXAMNAME" prop="EXAMNAME"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column label="上传时间" prop="CREATTIME" width="150" /> <el-table-column label="创建时间" prop="CREATTIME" width="150" />
<el-table-column label="满分" prop="EXAMSCORE" width="150" /> <el-table-column label="满分" prop="EXAMSCORE" width="150" />
<el-table-column label="合格分数" prop="PASSSCORE" width="150" /> <el-table-column label="合格分数" prop="PASSSCORE" width="150" />
<el-table-column label="试卷类型" width="150"> <el-table-column label="试卷类型" width="150">

View File

@ -60,7 +60,7 @@
<layout-learning-train-type <layout-learning-train-type
v-model="searchForm.TRAINLEVEL" v-model="searchForm.TRAINLEVEL"
type="trainingLevel" type="trainingLevel"
:search-value="searchForm.TRAINTYPE" :search-value="searchForm.POSTTYPE"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -91,7 +91,7 @@
prop="CURRICULUMNAME" prop="CURRICULUMNAME"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column label="上传时间" prop="CREATTIME" width="150" /> <el-table-column label="创建时间" prop="CREATTIME" width="150" />
<el-table-column label="行业类型"> <el-table-column label="行业类型">
<template #default="{ row }"> <template #default="{ row }">
{{ row.INDUSTRY_END_NAME || row.INDUSTRY_ALL_NAME }} {{ row.INDUSTRY_END_NAME || row.INDUSTRY_ALL_NAME }}

View File

@ -8,7 +8,7 @@
> >
<el-row> <el-row>
<el-col :span="5"> <el-col :span="5">
<el-form-item label="课名称" prop="KEYWORDS"> <el-form-item label="课名称" prop="KEYWORDS">
<el-input v-model="searchForm.KEYWORDS" /> <el-input v-model="searchForm.KEYWORDS" />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -65,7 +65,7 @@
prop="COURSEWARENAME" prop="COURSEWARENAME"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column label="上传时间" prop="CREATTIME" width="150" /> <el-table-column label="创建时间" prop="CREATTIME" width="150" />
<el-table-column label="行业类型" prop="INDUSTRY_END_NAME" /> <el-table-column label="行业类型" prop="INDUSTRY_END_NAME" />
<el-table-column label="培训类型" prop="TRAININGTYPE_NAME" /> <el-table-column label="培训类型" prop="TRAININGTYPE_NAME" />
<el-table-column label="岗位类型" prop="POSTTYPE_NAME" /> <el-table-column label="岗位类型" prop="POSTTYPE_NAME" />

View File

@ -6,7 +6,7 @@
{{ data.info.COURSEWARENAME }} {{ data.info.COURSEWARENAME }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="培训类型"> <el-descriptions-item label="培训类型">
{{ data.info.TYPENAME }} {{ data.info.TRAININGTYPE_NAME }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="讲师名称"> <el-descriptions-item label="讲师名称">
{{ data.info.SPEAKERNAME }} {{ data.info.SPEAKERNAME }}
@ -18,13 +18,9 @@
</el-button> </el-button>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="课件截图"> <el-descriptions-item label="课件截图">
<img <viewer v-if="data.info.VIDEOCAPTURE">
v-viewer <img :src="data.info.VIDEOCAPTURE" alt="" width="100" height="100" />
:src="data.info.VIDEOCAPTURE" </viewer>
alt=""
width="100"
height="100"
/>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="课件描述"> <el-descriptions-item label="课件描述">
{{ data.info.COURSEWAREINTRODUCE }} {{ data.info.COURSEWAREINTRODUCE }}