|
@ -10,12 +10,6 @@ |
|
|
<div class="main-content"> |
|
|
<div class="main-content"> |
|
|
<div class="content-list"> |
|
|
<div class="content-list"> |
|
|
<h4 class="arc-title">文件名称</h4> |
|
|
<h4 class="arc-title">文件名称</h4> |
|
|
<!-- <ul v-if="allFileTables.length!==0" class="file-list"> |
|
|
|
|
|
<li v-for="(item,index) in allFileTables" :key="index" :class="{'active-file': item.id == fileCurrent.id}" @click="selectFile(item)"> |
|
|
|
|
|
<span>{{ item.file_name }}</span> |
|
|
|
|
|
<i class="iconfont icon-attachment" /> |
|
|
|
|
|
</li> |
|
|
|
|
|
</ul> --> |
|
|
|
|
|
<div style="height: calc(100vh - 120px); overflow-y: scroll;"> |
|
|
<div style="height: calc(100vh - 120px); overflow-y: scroll;"> |
|
|
<el-tree |
|
|
<el-tree |
|
|
v-if="allFileTables.length!==0" |
|
|
v-if="allFileTables.length!==0" |
|
@ -60,18 +54,18 @@ |
|
|
<span>档案档号:</span> |
|
|
<span>档案档号:</span> |
|
|
{{ |
|
|
{{ |
|
|
(currentReportInfo.categoryLevel === 2 || (currentReportInfo.categoryLevel === 3 && reportData.subset.length === 0)) |
|
|
(currentReportInfo.categoryLevel === 2 || (currentReportInfo.categoryLevel === 3 && reportData.subset.length === 0)) |
|
|
? reportData.parent?.archivesNo ?? '' |
|
|
|
|
|
|
|
|
? (reportData.parent && reportData.parent.archivesNo) || '' |
|
|
: (currentReportInfo.categoryLevel === 3 && reportData.subset.length !== 0) |
|
|
: (currentReportInfo.categoryLevel === 3 && reportData.subset.length !== 0) |
|
|
? getArchivesSubet(currentReportInfo.archivesId)?.archivesNo ?? '' |
|
|
|
|
|
|
|
|
? (getArchivesSubet(currentReportInfo.archivesId) && getArchivesSubet(currentReportInfo.archivesId).archivesNo) || '' |
|
|
: '' |
|
|
: '' |
|
|
}} |
|
|
}} |
|
|
</li> |
|
|
</li> |
|
|
<li><span>档案题名:</span> |
|
|
<li><span>档案题名:</span> |
|
|
{{ |
|
|
{{ |
|
|
(currentReportInfo.categoryLevel === 2 || (currentReportInfo.categoryLevel === 3 && reportData.subset.length === 0)) |
|
|
(currentReportInfo.categoryLevel === 2 || (currentReportInfo.categoryLevel === 3 && reportData.subset.length === 0)) |
|
|
? reportData.parent?.archivesName ?? '' |
|
|
|
|
|
|
|
|
? (reportData.parent && reportData.parent.archivesName) || '' |
|
|
: (currentReportInfo.categoryLevel === 3 && reportData.subset.length !== 0) |
|
|
: (currentReportInfo.categoryLevel === 3 && reportData.subset.length !== 0) |
|
|
? getArchivesSubet(currentReportInfo.archivesId)?.archivesName ?? '' |
|
|
|
|
|
|
|
|
? (getArchivesSubet(currentReportInfo.archivesId) && getArchivesSubet(currentReportInfo.archivesId).archivesName) || '' |
|
|
: '' |
|
|
: '' |
|
|
}} |
|
|
}} |
|
|
</li> |
|
|
</li> |
|
@ -90,7 +84,7 @@ |
|
|
<div v-if="currentReportInfo && currentReportInfo.categoryLevel === 3" class="report-table-all"> |
|
|
<div v-if="currentReportInfo && currentReportInfo.categoryLevel === 3" class="report-table-all"> |
|
|
<div class="report-checkItem"> |
|
|
<div class="report-checkItem"> |
|
|
<div class="report-title"><span>真实性检测</span></div> |
|
|
<div class="report-title"><span>真实性检测</span></div> |
|
|
<el-table ref="table" class="fixed-table" :data="checkItemAllData.authenticity" style="width: 100%;"> |
|
|
|
|
|
|
|
|
<el-table class="fixed-table" :data="checkItemAllData.authenticity" style="width: 100%;"> |
|
|
<el-table-column type="index" label="序号" width="55" align="center" /> |
|
|
<el-table-column type="index" label="序号" width="55" align="center" /> |
|
|
<el-table-column :show-overflow-tooltip="true" prop="secondaryClassId" label="分类" min-width="150" /> |
|
|
<el-table-column :show-overflow-tooltip="true" prop="secondaryClassId" label="分类" min-width="150" /> |
|
|
<el-table-column :show-overflow-tooltip="true" prop="detectionCode" label="检测编号" min-width="100" /> |
|
|
<el-table-column :show-overflow-tooltip="true" prop="detectionCode" label="检测编号" min-width="100" /> |
|
@ -121,7 +115,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div class="report-checkItem"> |
|
|
<div class="report-checkItem"> |
|
|
<div class="report-title"><span>完整性检测</span></div> |
|
|
<div class="report-title"><span>完整性检测</span></div> |
|
|
<el-table ref="table" class="fixed-table" :data="checkItemAllData.integrity"> |
|
|
|
|
|
|
|
|
<el-table class="fixed-table" :data="checkItemAllData.integrity"> |
|
|
<el-table-column type="index" label="序号" width="55" align="center" /> |
|
|
<el-table-column type="index" label="序号" width="55" align="center" /> |
|
|
<el-table-column :show-overflow-tooltip="true" prop="secondaryClassId" label="分类" min-width="150" /> |
|
|
<el-table-column :show-overflow-tooltip="true" prop="secondaryClassId" label="分类" min-width="150" /> |
|
|
<el-table-column :show-overflow-tooltip="true" prop="detectionCode" label="检测编号" min-width="100" /> |
|
|
<el-table-column :show-overflow-tooltip="true" prop="detectionCode" label="检测编号" min-width="100" /> |
|
@ -152,7 +146,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div class="report-checkItem"> |
|
|
<div class="report-checkItem"> |
|
|
<div class="report-title"><span>可用性检测</span></div> |
|
|
<div class="report-title"><span>可用性检测</span></div> |
|
|
<el-table ref="table" class="fixed-table" :data="checkItemAllData.usability"> |
|
|
|
|
|
|
|
|
<el-table class="fixed-table" :data="checkItemAllData.usability"> |
|
|
<el-table-column type="index" label="序号" width="55" align="center" /> |
|
|
<el-table-column type="index" label="序号" width="55" align="center" /> |
|
|
<el-table-column :show-overflow-tooltip="true" prop="secondaryClassId" label="分类" min-width="150" /> |
|
|
<el-table-column :show-overflow-tooltip="true" prop="secondaryClassId" label="分类" min-width="150" /> |
|
|
<el-table-column :show-overflow-tooltip="true" prop="detectionCode" label="检测编号" min-width="100" /> |
|
|
<el-table-column :show-overflow-tooltip="true" prop="detectionCode" label="检测编号" min-width="100" /> |
|
@ -183,7 +177,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div class="report-checkItem"> |
|
|
<div class="report-checkItem"> |
|
|
<div class="report-title"><span>安全性检测</span></div> |
|
|
<div class="report-title"><span>安全性检测</span></div> |
|
|
<el-table ref="table" class="fixed-table" :data="checkItemAllData.safety"> |
|
|
|
|
|
|
|
|
<el-table class="fixed-table" :data="checkItemAllData.safety"> |
|
|
<el-table-column type="index" label="序号" width="55" align="center" /> |
|
|
<el-table-column type="index" label="序号" width="55" align="center" /> |
|
|
<el-table-column :show-overflow-tooltip="true" prop="secondaryClassId" label="分类" min-width="150" /> |
|
|
<el-table-column :show-overflow-tooltip="true" prop="secondaryClassId" label="分类" min-width="150" /> |
|
|
<el-table-column :show-overflow-tooltip="true" prop="detectionCode" label="检测编号" min-width="100" /> |
|
|
<el-table-column :show-overflow-tooltip="true" prop="detectionCode" label="检测编号" min-width="100" /> |
|
@ -252,19 +246,13 @@ export default { |
|
|
previewPrintBtnLabel: '预览结束,开始打印', |
|
|
previewPrintBtnLabel: '预览结束,开始打印', |
|
|
zIndex: 20002, // 预览窗口的z-index,默认是20002,最好比默认值更高 |
|
|
zIndex: 20002, // 预览窗口的z-index,默认是20002,最好比默认值更高 |
|
|
extraCss: '', // 打印可引入外部的一个css文件 |
|
|
extraCss: '', // 打印可引入外部的一个css文件 |
|
|
extraHead: '<meta http-equiv="Content-Language"content="zh-cn"/>,<style> #printArea { height: auto !important; } <style>', // 打印头部文字 |
|
|
|
|
|
|
|
|
extraHead: '<meta http-equiv="Content-Language" content="zh-cn" />,<style> #printArea { height: auto !important; } </style>', // 打印头部文字 |
|
|
previewBeforeOpenCallback() { console.log('正在加载预览窗口!') }, // 预览窗口打开之前的callback |
|
|
previewBeforeOpenCallback() { console.log('正在加载预览窗口!') }, // 预览窗口打开之前的callback |
|
|
previewOpenCallback() { console.log('已经加载完预览窗口,预览打开了!') }, // 预览窗口打开时的callback |
|
|
previewOpenCallback() { console.log('已经加载完预览窗口,预览打开了!') }, // 预览窗口打开时的callback |
|
|
beforeOpenCallback() { console.log('开始打印之前!') }, // 开始打印之前的callback |
|
|
beforeOpenCallback() { console.log('开始打印之前!') }, // 开始打印之前的callback |
|
|
openCallback() { console.log('执行打印了!') }, // 调用打印时的callback |
|
|
openCallback() { console.log('执行打印了!') }, // 调用打印时的callback |
|
|
closeCallback() { console.log('关闭了打印工具!') }, // 关闭打印的callback(无法区分确认or取消) |
|
|
closeCallback() { console.log('关闭了打印工具!') }, // 关闭打印的callback(无法区分确认or取消) |
|
|
clickMounted() { console.log('点击v-print绑定的按钮了!') }, |
|
|
clickMounted() { console.log('点击v-print绑定的按钮了!') }, |
|
|
// url: 'http://192.168.99.67:11100/downloadFile/category/AE8B188F0C0314F9BE31B8/82FBCAE96CBC9F50809838/7f3df862-f36d-4061-9c3e-e81556420742.pdf', // 打印指定的URL,确保同源策略相同 |
|
|
|
|
|
// asyncUrl (reslove) { |
|
|
|
|
|
// setTimeout(() => { |
|
|
|
|
|
// reslove('http://localhost:8080/') |
|
|
|
|
|
// }, 2000) |
|
|
|
|
|
// }, |
|
|
|
|
|
standard: '', |
|
|
standard: '', |
|
|
extarCss: '' |
|
|
extarCss: '' |
|
|
} |
|
|
} |
|
|