xuhuajiao
8 months ago
8 changed files with 309 additions and 43 deletions
-
21src/api/collect/collect.js
-
20src/api/system/remoteConnection.js
-
5src/router/routers.js
-
21src/utils/upload.js
-
5src/views/collectReorganizi/batchConnection/index.vue
-
128src/views/collectReorganizi/batchConnection/module/form.vue
-
8src/views/collectReorganizi/collectionLibrary/module/fourTestInfo/index.vue
-
100src/views/fourTestReport/index.vue
@ -0,0 +1,100 @@ |
|||
<template> |
|||
<div class="preview-wrapper"> |
|||
<div class="collect-header" style="justify-content: flex-start; border-top: none; "> |
|||
<h4 class="is-file" style="flex:none;">四性检测报告</h4> |
|||
<span style="font-size: 12px; flex: 1; line-height: 42px;">所属文件:{{ parentArchiveNo }}</span> |
|||
</div> |
|||
<div class="main-content"> |
|||
<div class="content-list"> |
|||
<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> |
|||
<el-empty v-else :image-size="100" /> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: 'FourTestReport', |
|||
components: { |
|||
}, |
|||
data() { |
|||
return { |
|||
parentArchiveNo: null, |
|||
allFileTables: [], |
|||
fileCurrent: null |
|||
} |
|||
}, |
|||
created() { |
|||
}, |
|||
mounted() { |
|||
if (this.$route.query.archiveNo) { |
|||
this.parentArchiveNo = this.$route.query.archiveNo |
|||
} |
|||
}, |
|||
methods: { |
|||
|
|||
} |
|||
} |
|||
</script> |
|||
<style lang="scss" scoped> |
|||
.preview-wrapper{ |
|||
background-color: #f6f8fc; |
|||
.collect-header{ |
|||
background-color: #fff; |
|||
border-bottom: 1px solid #edeff3; |
|||
} |
|||
} |
|||
.main-content{ |
|||
display: flex; |
|||
justify-content: space-between; |
|||
width: calc(100%); |
|||
height: calc(100vh - 75px); |
|||
background-color: #fff; |
|||
|
|||
.content-list{ |
|||
width: 300px; |
|||
.arc-title{ |
|||
height: 48px; |
|||
line-height: 48px; |
|||
text-align: center; |
|||
font-size: 16px; |
|||
color: #0c0e1e; |
|||
background-color: #f3f5f8; |
|||
} |
|||
.file-list{ |
|||
height: calc(100% - 48px); |
|||
padding: 10px 0; |
|||
font-size: 12px; |
|||
overflow: hidden; |
|||
overflow-y: scroll; |
|||
li{ |
|||
display: flex; |
|||
justify-content: space-between; |
|||
padding: 0 10px 0 20px; |
|||
line-height: 26px; |
|||
margin-bottom: 4px; |
|||
cursor:default; |
|||
&.active-file{ |
|||
background-color: #e8f2ff; |
|||
color: #0c0e1e; |
|||
} |
|||
& span{ |
|||
display: block; |
|||
margin-right: 4px; |
|||
} |
|||
&:hover{ |
|||
background-color: #e8f2ff; |
|||
color: #0c0e1e; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
</style> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue