|
@@ -75,7 +75,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</main>
|
|
</main>
|
|
|
<BatchImport v-if="batchImportVisible" :visible="batchImportVisible" :import-api-url="importApiUrl"
|
|
<BatchImport v-if="batchImportVisible" :visible="batchImportVisible" :import-api-url="importApiUrl"
|
|
|
- :template-url="templateUrl" template-name="下载模板" :show-template="false" @close="batchImportVisible = false"
|
|
|
|
|
|
|
+ :template-url="templateUrl" template-name="事故案例管理导入模版" :show-template="true" @close="batchImportVisible = false"
|
|
|
@update="handleUpdate" />
|
|
@update="handleUpdate" />
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
@@ -191,7 +191,7 @@ const handleReset = () => {
|
|
|
const batchImportVisible = ref(false);
|
|
const batchImportVisible = ref(false);
|
|
|
const { urlPrefix } = useGlobSetting();
|
|
const { urlPrefix } = useGlobSetting();
|
|
|
const importApiUrl = ref(urlJoin(urlPrefix, '/accidentCase/import'));
|
|
const importApiUrl = ref(urlJoin(urlPrefix, '/accidentCase/import'));
|
|
|
-const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/import-academy-file-template.xlsx');
|
|
|
|
|
|
|
+const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/事故案例导入模版.xlsx');
|
|
|
|
|
|
|
|
const handleImport = () => {
|
|
const handleImport = () => {
|
|
|
batchImportVisible.value = true;
|
|
batchImportVisible.value = true;
|