|
@@ -65,7 +65,7 @@
|
|
|
</li>
|
|
|
</draggable>
|
|
|
|
|
|
- <div class="report-content-box" id="report-content-box">
|
|
|
+ <div class="report-content-box" id="report-content-box" :style="{backgroundColor:bgColor}">
|
|
|
<div class="html-head-img-box">
|
|
|
<div class="opt-btn-box" style="display: none;">
|
|
|
<div class="del-btn" @click.stop="headImg=''"></div>
|
|
@@ -83,7 +83,6 @@
|
|
|
@add="handleParentAdd"
|
|
|
@remove="handleParentRemove"
|
|
|
:move="handleParentMove"
|
|
|
- :style="{backgroundColor:bgColor}"
|
|
|
>
|
|
|
<div
|
|
|
:class="[
|
|
@@ -492,6 +491,7 @@ export default {
|
|
|
handlePreviewReport(){
|
|
|
const htmlStr=document.getElementById('report-content-box').outerHTML;
|
|
|
sessionStorage.setItem('smartReportContent', htmlStr);
|
|
|
+ sessionStorage.setItem('smartReportContentBg', this.bgColor);
|
|
|
let { href } = this.$router.resolve({
|
|
|
path: '/smartReportDetail',
|
|
|
query:{
|