|
|
|
@ -116,11 +116,11 @@ export default {
|
|
|
|
|
// 导出弹框
|
|
|
|
|
handlerExport() {
|
|
|
|
|
this.getToExcelField(this.form.sType, this.form.token).then(() => {
|
|
|
|
|
if(this.secIds.length===0 || this.secIds.length===1){
|
|
|
|
|
this.execlForm.sFileName = '事件洞察-' + this.getDatetimeSs();
|
|
|
|
|
} else {
|
|
|
|
|
this.execlForm.sFileName = this.form.sBrand + '-' + this.form.sSeriesName + '事件洞察-' + this.getDatetimeSs();
|
|
|
|
|
}
|
|
|
|
|
// if(this.secIds.length===0 || this.secIds.length===1){
|
|
|
|
|
// 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;
|
|
|
|
|