소스 검색

fix: 补充模板下载

xiaweibo 1 개월 전
부모
커밋
770f606f63
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/production-safety/safety-culture/accidentCaseManagement/accidentCaseManagement.vue

+ 2 - 2
src/views/production-safety/safety-culture/accidentCaseManagement/accidentCaseManagement.vue

@@ -75,7 +75,7 @@
       </div>
     </main>
     <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" />
   </div>
 </template>
@@ -191,7 +191,7 @@ const handleReset = () => {
 const batchImportVisible = ref(false);
 const { urlPrefix } = useGlobSetting();
 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 = () => {
   batchImportVisible.value = true;