|
@@ -8,12 +8,12 @@
|
|
|
<header>
|
|
<header>
|
|
|
<div style="position: relative">
|
|
<div style="position: relative">
|
|
|
<el-button type="primary" class="search-table-container--button" @click="handleCreate"> 添加 </el-button>
|
|
<el-button type="primary" class="search-table-container--button" @click="handleCreate"> 添加 </el-button>
|
|
|
- <!-- <el-button plain class="search-table-container--button" @click="handleImport">
|
|
|
|
|
|
|
+ <el-button plain class="search-table-container--button" @click="handleImport">
|
|
|
导入
|
|
导入
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button plain class="search-table-container--button" @click="handleDownload">
|
|
<el-button plain class="search-table-container--button" @click="handleDownload">
|
|
|
导出
|
|
导出
|
|
|
- </el-button> -->
|
|
|
|
|
|
|
+ </el-button>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="act-search">
|
|
<div class="act-search">
|
|
@@ -180,7 +180,7 @@
|
|
|
// 批量导入
|
|
// 批量导入
|
|
|
const batchImportVisible = ref(false);
|
|
const batchImportVisible = ref(false);
|
|
|
const { urlPrefix } = useGlobSetting();
|
|
const { urlPrefix } = useGlobSetting();
|
|
|
- const importApiUrl = ref(urlJoin(urlPrefix, '/inventory/importInventory'));
|
|
|
|
|
|
|
+ const importApiUrl = ref(urlJoin(urlPrefix, '/inventory/exportInventory'));
|
|
|
const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/import-inventory-template.xlsx');
|
|
const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/import-inventory-template.xlsx');
|
|
|
|
|
|
|
|
const handleImport = () => {
|
|
const handleImport = () => {
|