张雄 3 years ago
parent 393348f66b
commit 9c5ab91a08

@ -93,6 +93,7 @@ export default {
},
created() {
this.getTime();
this.sTimeType = this.getCommTime.sTimeType || 34; //
},
mounted() {
this.intDt = self.setInterval(() => {

@ -46,7 +46,7 @@
<span class="s2">{{ week }}</span>
<img class="m1" src="../../assets/images/Index/ic_ry.png" />
<span class="s3">{{getUser.UserName}}</span>
<a-dropdown placement="bottomRight">
<a-dropdown placement="bottomRight" v-if="this.getToken">
<a class="ant-dropdown-link">
<a-icon type="down" />
</a>
@ -59,6 +59,7 @@
</a-menu-item>
</a-menu>
</a-dropdown>
<a @click="goLogin" class="s4" v-if="!this.getToken"></a>
</div>
</div>
</template>
@ -257,6 +258,12 @@ export default {
color: #ffffff;
margin-left: 8px;
}
.s4 {
display: inline-block;
font-size: 16px;
color: #ffffff;
margin-right: 8px;
}
.m1 {
display: inline-block;
margin-left: 60px;

@ -42,7 +42,7 @@
<span class="s2">{{ week }}</span>
<img class="m1" src="../../assets/images/Index/ic_ry.png"/>
<span class="s3">{{getUser.UserName}}</span>
<a-dropdown placement="bottomRight">
<a-dropdown placement="bottomRight" v-if="this.getToken">
<a class="ant-dropdown-link">
<a-icon type="down" />
</a>
@ -55,6 +55,7 @@
</a-menu-item>
</a-menu>
</a-dropdown>
<a @click="goLogin" class="s4" v-if="!this.getToken"></a>
</div>
</div>
</template>
@ -228,6 +229,12 @@ export default {
color: #ffffff;
margin-left: 8px;
}
.s4 {
display: inline-block;
font-size: 16px;
color: #ffffff;
margin-right: 8px;
}
.m1 {
display: inline-block;
margin-left: 60px;

@ -39,7 +39,7 @@
</template>
<script>
import { getUserBrand, getUserSeriesName } from "@/api/comm";
import { getUserBrand,getUserSeriesName} from "@/api/comm";
export default {
name: "iSwitchBrand",
props: {
@ -155,6 +155,7 @@ export default {
let data = res.data || [];
this.models = data;
this.chooseModel = this.models[0];
this.setModel(this.chooseModel);
});
},
//

@ -78,18 +78,19 @@ export default {
pagination: {
current: 1,
total: 0,
pageSize: 20,
pageSize: 6,
"show-total": (total) => `${total}`,
},
columns: [
{
title: "事件类型",
width: 120,
dataIndex: "events_type",
key: "events_type",
},
{
title: "事件标题",
width: 230,
width: 630,
dataIndex: "events_title",
ellipsis: true,
key: "events_title",
@ -107,16 +108,18 @@ export default {
{
title: "开始时间",
dataIndex: "minSourcetime",
width: 160,
width: 240,
key: "minSourcetime",
},
{
title: "文章篇数(篇)",
width: 120,
dataIndex: "events_count",
key: "events_count",
},
{
title: "传播周期(天)",
width: 120,
dataIndex: "days",
key: "days",
},

@ -84,10 +84,7 @@ export default {
})
this.chooseBrand = row;
});
this.getUserSeriesName(this.brandname);
//
this.chooseBrand = this.brandname;
this.chooseModel = this.modelName;
//this.getUserSeriesName(this.brandname);
},
data() {
return {

@ -1,3 +1,8 @@
.dv-scroll-board .header{
height: 3rem;
align-items: center;
}
.dv-scroll-board .header .header-item {
color: #3373CC;
font-weight: bold;

@ -132,8 +132,9 @@ export default {
.wtc-inner {
width: 100%;
height: calc(100% - 48px);
margin-left: -24px;
display: flex;
justify-content: flex-start;
justify-content: center;
align-items: center;
}
}

@ -69,7 +69,7 @@ export default {
headerBGC: "rgba(16,33,59)",
oddRowBGC: "#173b6d",
evenRowBGC: "rgba(69, 149, 244, 0)",
columnWidth: [440, 120, 120],
columnWidth: [550,80,100,80],
rowNum: 6,
header: ["事件列表", "影响力", "时间", "关联车型"],
data: arr,

@ -13,7 +13,7 @@
<div class="mec-inner">
<div class="dd1">
<v-label-div title="媒体解读" :showLine="false" :eStyle="{'border-style': 'none'}"></v-label-div>
<dv-scroll-board :config="config" :style="{ width: '100%', height: '23rem' }" />
<dv-scroll-board :config="config" :style="{ width: '100%', height: '24.7rem' }" />
</div>
<div class="dd1">
<v-label-div title="词云" :showLine="false" :eStyle="{'border-style': 'none'}">

@ -36,7 +36,7 @@ export default {
token: "",
ssBrand: "",
iPageIndex: 1,
iPageSize: 20,
iPageSize: 6,
},
total: 0,
tbData: [],
@ -45,7 +45,7 @@ export default {
title: "事件列表",
dataIndex: "events_title",
key: "events_title",
width: 200,
width: 260,
scopedSlots: { customRender: "events_title" },
ellipsis: true,
},
@ -58,13 +58,14 @@ export default {
title: "时间",
dataIndex: "maxSourcetime",
key: "maxSourcetime",
width: 160,
width: 120,
},
{
title: "关联品牌",
dataIndex: "events_brand",
scopedSlots: { customRender: "events_brand" },
key: "events_brand",
width: 90,
},
],
};
@ -133,7 +134,7 @@ export default {
}
}
/deep/ .ant-table-body {
height: 432px;
height: 480px;
overflow: auto;
}
</style>

@ -61,7 +61,7 @@
<a-input v-model="execlForm.sFileName" disabled placeholder="请输入文件名称"></a-input>
</a-form-item>
<a-form-item label="导出格式">
<span style="color: #63aecc; font-size: 14px">xlsz</span>
<span style="color: #63aecc; font-size: 14px">xlsx</span>
</a-form-item>
<a-form-item label="导出字段" :wrapper-col="{ span: 21 }">
<a-checkbox-group v-model="checkedIds" :options="plainOptions4" @change="fileTypeChange" />

@ -118,7 +118,11 @@ export default {
// 导出弹框
handlerExport() {
this.getToExcelField(this.form.sType, this.form.token).then(() => {
this.execlForm.sFileName = this.form.sBrand + this.form.sSeriesName + '事件洞察' + this.getDatetimeSs();
if(!this.form.sBrand && !this.form.sSeriesName) {
this.execlForm.sFileName = "事件数据" + this.getDatetimeSs();
} else {
this.execlForm.sFileName = this.form.sBrand + this.form.sSeriesName + this.getDatetimeSs();
}
this.execlForm.sCheckedIds = this.tableAll ? '' : this.secIds.toString();
this.execlForm.iNum = this.tableAll ? this.totalNum : this.secIds.length;
this.modalObj.visible = true;

@ -125,8 +125,9 @@ export default {
.bd-inner {
width: 100%;
height: calc(100% - 48px);
margin-left: -24px;
display: flex;
justify-content: flex-start;
justify-content: center;
align-items: center;
}
}

@ -111,8 +111,9 @@ export default {
.wtc-inner {
width: 100%;
height: calc(100% - 48px);
margin-left: -24px;
display: flex;
justify-content: flex-start;
justify-content: center;
align-items: center;
}
}

@ -37,7 +37,7 @@ export default {
token: "",
ssBrand: "",
iPageIndex: 1,
iPageSize: 20,
iPageSize: 6,
sSeriesName: "",
},
total: 0,
@ -47,7 +47,7 @@ export default {
title: "事件列表",
dataIndex: "events_title",
key: "events_title",
width: 200,
width: 260,
scopedSlots: { customRender: "events_title" },
ellipsis: true,
},
@ -60,13 +60,14 @@ export default {
title: "时间",
dataIndex: "maxSourcetime",
key: "maxSourcetime",
width: 160,
width: 120,
},
{
title: "关联品牌",
dataIndex: "events_brand",
scopedSlots: { customRender: "events_brand" },
key: "events_brand",
width: 90,
},
],
};

Loading…
Cancel
Save