2024-01-04 09:02:38 +08:00
|
|
|
<template>
|
|
|
|
<layout-card>
|
|
|
|
<el-descriptions :column="2" border>
|
|
|
|
<el-descriptions-item label="证书名称">
|
|
|
|
{{ data.info.NAME }}
|
|
|
|
</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="证书有效期">
|
|
|
|
{{ data.info.VALIDITYTIME }}
|
|
|
|
</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="证书编号">
|
|
|
|
{{ data.info.NUMBER }}
|
|
|
|
</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="备注">
|
|
|
|
{{ data.info.DESCR }}
|
|
|
|
</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="证书图片">
|
|
|
|
<img
|
|
|
|
v-viewer
|
|
|
|
v-for="item in data.info.file"
|
|
|
|
:key="item.FILEPATH"
|
|
|
|
:src="item.url"
|
|
|
|
width="100"
|
|
|
|
height="100"
|
|
|
|
class="ml"
|
|
|
|
/>
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions>
|
|
|
|
</layout-card>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
import LayoutCard from "@/components/card/index.vue";
|
2024-01-04 09:26:49 +08:00
|
|
|
import { getIndustryQualificationsView } from "@/request/enterprise_management.js";
|
2024-01-04 09:02:38 +08:00
|
|
|
import { reactive } from "vue";
|
|
|
|
import { useRoute } from "vue-router";
|
|
|
|
import { addingPrefixToFile } from "@/assets/js/utils.js";
|
|
|
|
|
|
|
|
const route = useRoute();
|
|
|
|
const { QUALIFICATIONS_ID } = route.query;
|
|
|
|
const data = reactive({
|
|
|
|
info: {},
|
|
|
|
});
|
|
|
|
const fnGetData = async () => {
|
|
|
|
const resData = await getIndustryQualificationsView({ QUALIFICATIONS_ID });
|
|
|
|
data.info = resData.pd;
|
|
|
|
data.info.file = addingPrefixToFile(resData.hImgs);
|
|
|
|
};
|
|
|
|
fnGetData();
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped></style>
|