qianlishi 3 years ago
commit 07332967e5

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

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

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

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

@ -44,7 +44,7 @@
<el-row :gutter="20">
<el-col v-for="item in list" :key="item.id" :span="6">
<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">
<header>{{ item.reportName }}</header>
<footer>
@ -90,6 +90,7 @@ export default {
data() {
return {
list: [],
rules: {},
totalCount: 0,
totalPage: 0,
params: {

Loading…
Cancel
Save