党建大屏

This commit is contained in:
yanran200730
2022-05-05 18:00:11 +08:00
parent 6f14126a2e
commit a0c2bf8f67
8 changed files with 102 additions and 7 deletions

View File

@@ -64,8 +64,8 @@
<div style="width: 100%; height: 100%">
<AiDvBackground
:theme="dashboard.theme"
v-if="dashboard.backgroundImage.length"
:src="dashboard.backgroundImage[0].url">
v-if="dashboard.backgroundImage.length || dashboard.theme === '1'"
:src="dashboard.theme === '1' ? 'https://cdn.cunwuyun.cn/dvcp/dv/img/dj-bg.png' : dashboard.backgroundImage[0].url">
</AiDvBackground>
<vue-draggable-resizable
:w="item.width"
@@ -404,7 +404,7 @@
}],
images: [],
summaryList: ['summary0', 'summary1', 'summary2', 'summary3', 'summary4', 'summary5', 'summary7', 'summary9', 'summary10'],
borderList: ['border0', 'border1', 'border2', 'border3', 'border4']
borderList: ['border0', 'border1', 'border2', 'border3', 'border4', 'border5']
}
},
@@ -608,7 +608,7 @@
this.$set(this.componentList[index], 'height', h)
if (type.indexOf('Chart') > -1) {
this.$refs[`chart${index}`][0].watchResize()
// this.$refs[`chart${index}`][0].watchResize()
}
},