【修改】修改下载参数
This commit is contained in:
@@ -97,8 +97,16 @@
|
||||
</el-row>
|
||||
</div>
|
||||
<el-row class="tag-btn">
|
||||
<el-button @click="permissionApp">权限申请</el-button>
|
||||
|
||||
<el-button @click="permissionApp">权限申请</el-button>
|
||||
|
||||
<div class="tag-right">
|
||||
<el-button @click="">时间</el-button>
|
||||
<el-button @click="">点击量</el-button>
|
||||
<el-button @click="">下载量</el-button>
|
||||
</div>
|
||||
</el-row>
|
||||
|
||||
<div class="table">
|
||||
<el-row>
|
||||
<el-col :span="4" class="treeList ">
|
||||
@@ -172,16 +180,30 @@
|
||||
<!-- </div>-->
|
||||
</template>
|
||||
</vxe-column>
|
||||
<vxe-column show-overflow show-header-overflow field="year" title="摘要"></vxe-column>
|
||||
|
||||
<vxe-column show-overflow show-header-overflow field="year" title="报告年份"></vxe-column>
|
||||
<vxe-column show-overflow show-header-overflow field="keyContent" title="关键字">
|
||||
<template #default="{ row }">
|
||||
{{ getKeyContent(row.keyContent) }}
|
||||
<vxe-column show-overflow show-header-overflow field="year" title="报告评级">
|
||||
<template #default="{row}">
|
||||
<el-rate
|
||||
v-model="value"
|
||||
disabled
|
||||
show-score
|
||||
text-color="#ff9900"
|
||||
score-template="{value}">
|
||||
</el-rate>
|
||||
</template>
|
||||
</vxe-column>
|
||||
<vxe-column show-overflow show-header-overflow field="year" title="点赞数"></vxe-column>
|
||||
<vxe-column show-overflow show-header-overflow field="year" title="点击率"></vxe-column>
|
||||
<vxe-column show-overflow show-header-overflow field="year" title="下载量"></vxe-column>
|
||||
<vxe-column show-overflow show-header-overflow field="year" title="上传人"></vxe-column>
|
||||
<vxe-column show-overflow show-header-overflow title="操作" width="200" fixed="right">
|
||||
<template #default="{ row }">
|
||||
<el-button type="text" @click="previewRow(row)">预览</el-button>
|
||||
<el-button type="text" v-if="isAdmin || row.power == 2 || !row.power " @click="downloadRow(row)">下载</el-button>
|
||||
<el-button type="text" v-if="" @click="permissionApp(row)">申请权限</el-button>
|
||||
|
||||
</template>
|
||||
</vxe-column>
|
||||
|
||||
@@ -229,6 +251,7 @@ export default {
|
||||
name: 'ReportList',
|
||||
data() {
|
||||
return {
|
||||
value:3.7,
|
||||
watermarkText: '', // 水印
|
||||
fullscreen: false,
|
||||
q: {
|
||||
@@ -459,7 +482,7 @@ export default {
|
||||
// cancelButtonText: '取消',
|
||||
// type: 'warning'
|
||||
// }).then(() => {
|
||||
this.$api.report.reportDownload({fileId: row.fileId}).then(res => {
|
||||
this.$api.report.reportDownload({fileId: row.fileId,repostId:row.id}).then(res => {
|
||||
downloadFile(res)
|
||||
})
|
||||
// })
|
||||
@@ -528,7 +551,11 @@ export default {
|
||||
}
|
||||
|
||||
.tag-btn {
|
||||
|
||||
padding: 18px 13px 11px;
|
||||
.tag-right{
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
.tag-search {
|
||||
|
||||
Reference in New Issue
Block a user