qianlishi 3 years ago
commit 07332967e5

@ -35,8 +35,6 @@ public class ReportDashboardDto extends GaeaBaseDTO implements Serializable {
/** 背景图片 */ /** 背景图片 */
private String backgroundImage; private String backgroundImage;
private String previewImage;
/** 工作台中的辅助线 */ /** 工作台中的辅助线 */
private String presetLine; private String presetLine;

@ -35,9 +35,6 @@ public class ReportDashboard extends GaeaBaseEntity {
@ApiModelProperty(value = "背景图片") @ApiModelProperty(value = "背景图片")
private String backgroundImage; private String backgroundImage;
@ApiModelProperty(value = "列表缩略图")
private String previewImage;
@ApiModelProperty(value = "工作台中的辅助线") @ApiModelProperty(value = "工作台中的辅助线")
private String presetLine; private String presetLine;

@ -41,4 +41,7 @@ public class ReportDto extends GaeaBaseDTO implements Serializable {
/** 数据总计 */ /** 数据总计 */
private long total; private long total;
/** 报表缩略图 */
private String reportImage;
} }

@ -33,6 +33,9 @@ public class Report extends GaeaBaseEntity {
@ApiModelProperty(value = "报表类型") @ApiModelProperty(value = "报表类型")
private String reportType; private String reportType;
@ApiModelProperty(value = "报表缩略图")
private String reportImage;
@ApiModelProperty(value = "0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG") @ApiModelProperty(value = "0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG")
private Integer enableFlag; private Integer enableFlag;

@ -44,7 +44,7 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col v-for="item in list" :key="item.id" :span="6"> <el-col v-for="item in list" :key="item.id" :span="6">
<div class="bg"> <div class="bg">
<img class="bg-img" src="../../../assets/images/charts.jpg" alt="" /> <img class="bg-img" :src="item.reportImage == null ? require('../../../assets/images/charts.jpg') : item.reportImage" alt="" />
<div class="content"> <div class="content">
<header>{{ item.reportName }}</header> <header>{{ item.reportName }}</header>
<footer> <footer>
@ -90,6 +90,7 @@ export default {
data() { data() {
return { return {
list: [], list: [],
rules: {},
totalCount: 0, totalCount: 0,
totalPage: 0, totalPage: 0,
params: { params: {

Loading…
Cancel
Save