修改预警管理头部名字

This commit is contained in:
龙运模 2025-07-29 15:17:35 +08:00
parent 1eff12a454
commit 0496907995
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<el-container class="mainBox mainBoxHeaderNoBorder"> <el-container class="mainBox mainBoxHeaderNoBorder">
<el-header class="header"> <el-header class="header">
<div class="left-panel"> <div class="left-panel">
<scImport ref="scImport" :size="size" type="51" :httpDisabled="httpDisabled" title="批量导入排除清单" @parentParams="importUpload" @importSuccess="importSuccess"> <scImport ref="scImport" :size="size" type="51" :httpDisabled="httpDisabled" title="批量导入指定预警清单" @parentParams="importUpload" @importSuccess="importSuccess">
<template #header> <template #header>
<el-button v-auth="'warningExcludeImport'" type="primary" :size="size" plain @click="importFile" style="margin-right: 12px;">批量导入</el-button> <el-button v-auth="'warningExcludeImport'" type="primary" :size="size" plain @click="importFile" style="margin-right: 12px;">批量导入</el-button>
</template> </template>
@ -212,7 +212,7 @@ export default {
const blob = new Blob([res]); const blob = new Blob([res]);
const text = new Date().getTime(); const text = new Date().getTime();
const eLink = document.createElement('a'); const eLink = document.createElement('a');
eLink.download = "排除清单导入模版_"+text+'.xlsx'; eLink.download = "指定预警清单导入模版_"+text+'.xlsx';
eLink.style.display = 'none'; eLink.style.display = 'none';
eLink.href = URL.createObjectURL(blob); eLink.href = URL.createObjectURL(blob);
document.body.appendChild(eLink); document.body.appendChild(eLink);

View File

@ -5,7 +5,7 @@
<list v-if="tabsTrue == 'list'"></list> <list v-if="tabsTrue == 'list'"></list>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="排除清单" name="exclude"> <el-tab-pane label="指定预警清单" name="exclude">
<exclude v-if="tabsTrue == 'exclude'"></exclude> <exclude v-if="tabsTrue == 'exclude'"></exclude>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>