|
|
@@ -166,6 +166,7 @@
|
|
|
:visible="batchImportVisible"
|
|
|
:importApiUrl="importApiUrl"
|
|
|
:templateUrl="templateUrl"
|
|
|
+ :show-template="true"
|
|
|
:templateName="'责任清单(非区域管理员)-批量导入模版'"
|
|
|
@close="() => (batchImportVisible = false)"
|
|
|
@update="handleUpdate"
|
|
|
@@ -222,7 +223,7 @@
|
|
|
const batchImportVisible = ref(false);
|
|
|
const { urlPrefix } = useGlobSetting();
|
|
|
const importApiUrl = ref(urlJoin(urlPrefix, '/areaCheckList/importArea?type=2'));
|
|
|
- const templateUrl = ref('');
|
|
|
+ const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/责任清单-非公共区域导入模版.xlsx');
|
|
|
|
|
|
const handleUpdate = () => {
|
|
|
batchImportVisible.value = false;
|