|
@@ -101,9 +101,15 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="title" label="标题" min-width="200">
|
|
<el-table-column prop="title" label="标题" min-width="200">
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
- <el-link :href="scope.row.articleUrl" target="_blank" :underline="false">
|
|
|
|
- {{ scope.row.title }}
|
|
|
|
- </el-link>
|
|
|
|
|
|
+ <div>
|
|
|
|
+ <div v-if="scope.row.wxArticleIcon" style="width: 50px;height: 50px;background:#ede8e8;">
|
|
|
|
+ <img style="width: 100%;height:100%;object-fit: contain;" :src="getDownloadPath(scope.row.wxArticleIcon)" ></img>
|
|
|
|
+ </div>
|
|
|
|
+ <el-link :href="scope.row.articleUrl" target="_blank" :underline="false">
|
|
|
|
+ {{ scope.row.title }}
|
|
|
|
+ </el-link>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="sourceName" label="来源名称" width="150"></el-table-column>
|
|
<el-table-column prop="sourceName" label="来源名称" width="150"></el-table-column>
|
|
@@ -316,6 +322,15 @@ const showSelectedNews = ref(false)
|
|
const selectedReportId = ref<number | null>(null)
|
|
const selectedReportId = ref<number | null>(null)
|
|
const newsTableRef = ref<TableInstance>()
|
|
const newsTableRef = ref<TableInstance>()
|
|
|
|
|
|
|
|
+//获取下载地址
|
|
|
|
+const getDownloadPath = (guid: string) => {
|
|
|
|
+ if (!guid) {
|
|
|
|
+ return ''
|
|
|
|
+ }
|
|
|
|
+ return `/api/fileManager/downloadFile?fileId=${guid}`
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
// Search form
|
|
// Search form
|
|
const searchForm = reactive({
|
|
const searchForm = reactive({
|
|
beginTime: '',
|
|
beginTime: '',
|