Parcourir la source

fix: 补充模板下载

xiaweibo il y a 1 mois
Parent
commit
1ba602e8f5
16 fichiers modifiés avec 48 ajouts et 48 suppressions
  1. 3 3
      src/views/production-safety/hiddenTroubleInvestigationAndGovernance/areaCheckPlanManagement/areaCheckPlanManagement.vue
  2. 3 3
      src/views/production-safety/hiddenTroubleInvestigationAndGovernance/employeeReportHiddenTroubleManagement/employeeReportHiddenTroubleManagement.vue
  3. 3 3
      src/views/production-safety/hiddenTroubleInvestigationAndGovernance/hiddenTroubleAccountManagement/hiddenTroubleAccountManagement.vue
  4. 3 3
      src/views/production-safety/hiddenTroubleInvestigationAndGovernance/hiddenTroubleCategoryManagement/hiddenTroubleCategoryManagement.vue
  5. 3 3
      src/views/production-safety/hiddenTroubleInvestigationAndGovernance/hiddenTroubleReviewManagement/hiddenTroubleReviewManagement.vue
  6. 3 3
      src/views/production-safety/productionSafetySystem/collegeFileManagement/collegeFileManagement.vue
  7. 3 3
      src/views/production-safety/productionSafetySystem/doubleSystemManagement/doubleSystemManagement.vue
  8. 3 3
      src/views/production-safety/productionSafetySystem/lawManagement/lawManagement.vue
  9. 3 3
      src/views/production-safety/productionSafetySystem/safetyOrganizationSystemManagement/safetyOrganizationSystemManagement.vue
  10. 3 3
      src/views/production-safety/productionSafetySystem/safetyStandardizationSystemManagement/safetyStandardizationSystemManagement.vue
  11. 3 3
      src/views/production-safety/productionSafetySystem/safetySystemConstructionWorkPlanManagement/safetySystemConstructionWorkPlanManagement.vue
  12. 3 3
      src/views/production-safety/productionSafetySystem/safetyTraining/safetyTraining.vue
  13. 3 3
      src/views/production-safety/risk-identification-and-control/labor-products-manage/list.vue
  14. 3 3
      src/views/production-safety/risk-identification-and-control/labor-products-requisition-manage/list.vue
  15. 3 3
      src/views/production-safety/safetyTrainingAndEducation/educationTrainingPlanManagement/educationTrainingPlanManagement.vue
  16. 3 3
      src/views/production-safety/safetyTrainingAndEducation/employeeTrainingRecordCardManagement/employeeTrainingRecordCardManagement.vue

+ 3 - 3
src/views/production-safety/hiddenTroubleInvestigationAndGovernance/areaCheckPlanManagement/areaCheckPlanManagement.vue

@@ -272,8 +272,8 @@
       :visible="batchImportVisible"
       :import-api-url="importApiUrl"
       :template-url="templateUrl"
-      template-name="下载模板"
-      :show-template="false"
+      template-name="区域检查计划导入模版"
+      :show-template="true"
       @close="batchImportVisible = false"
       @update="handleUpdate"
     />
@@ -673,7 +673,7 @@
   const { urlPrefix } = useGlobSetting();
   // /productionSafety/academyFile/import
   const importApiUrl = ref(urlJoin(urlPrefix, '/areaCheckPlanManageAdmin/importAreaCheckPlan'));
-  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;

+ 3 - 3
src/views/production-safety/hiddenTroubleInvestigationAndGovernance/employeeReportHiddenTroubleManagement/employeeReportHiddenTroubleManagement.vue

@@ -91,8 +91,8 @@
       :visible="batchImportVisible"
       :import-api-url="importApiUrl"
       :template-url="templateUrl"
-      template-name="下载模板"
-      :show-template="false"
+      template-name="员工上报导入模版"
+      :show-template="true"
       @close="batchImportVisible = false"
       @update="handleUpdate"
     />
@@ -214,7 +214,7 @@
   const batchImportVisible = ref(false);
   const { urlPrefix } = useGlobSetting();
   const importApiUrl = ref(urlJoin(urlPrefix, '/api/employeeHazardReport/importEmployeeHazardReport'));
-  const templateUrl = ref('');
+  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/员工上报导入模版.xlsx');
 
   const handleImport = () => {
     batchImportVisible.value = true;

+ 3 - 3
src/views/production-safety/hiddenTroubleInvestigationAndGovernance/hiddenTroubleAccountManagement/hiddenTroubleAccountManagement.vue

@@ -130,8 +130,8 @@
       :visible="batchImportVisible"
       :import-api-url="importApiUrl"
       :template-url="templateUrl"
-      template-name="下载模板"
-      :show-template="false"
+      template-name="隐患台账导入模版"
+      :show-template="true"
       @close="batchImportVisible = false"
       @update="handleUpdate"
     />
@@ -334,7 +334,7 @@
   const batchImportVisible = ref(false);
   const { urlPrefix } = useGlobSetting();
   const importApiUrl = ref(urlJoin(urlPrefix, '/productionHiddenDanger/importHiddenDanger'));
-  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/import-hidden-danger-template.xlsx');
+  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/隐患台账导入模版.xlsx');
 
   const handleImport = () => {
     batchImportVisible.value = true;

+ 3 - 3
src/views/production-safety/hiddenTroubleInvestigationAndGovernance/hiddenTroubleCategoryManagement/hiddenTroubleCategoryManagement.vue

@@ -93,8 +93,8 @@
       :visible="batchImportVisible"
       :import-api-url="importApiUrl"
       :template-url="templateUrl"
-      template-name="下载模板"
-      :show-template="false"
+      template-name="隐患类别导入模版"
+      :show-template="true"
       @close="batchImportVisible = false"
       @update="handleUpdate"
     />
@@ -204,7 +204,7 @@
   const batchImportVisible = ref(false);
   const { urlPrefix } = useGlobSetting();
   const importApiUrl = ref(urlJoin(urlPrefix, '/api/hazardCategory/importHazardCategory'));
-  const templateUrl = ref('');
+  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/隐患类别导入模版.xlsx');
 
   const handleImport = () => {
     batchImportVisible.value = true;

+ 3 - 3
src/views/production-safety/hiddenTroubleInvestigationAndGovernance/hiddenTroubleReviewManagement/hiddenTroubleReviewManagement.vue

@@ -93,8 +93,8 @@
       :visible="batchImportVisible"
       :import-api-url="importApiUrl"
       :template-url="templateUrl"
-      template-name="下载模板"
-      :show-template="false"
+      template-name="员工上报导入模版"
+      :show-template="true"
       @close="batchImportVisible = false"
       @update="handleUpdate"
     />
@@ -201,7 +201,7 @@
   const batchImportVisible = ref(false);
   const { urlPrefix } = useGlobSetting();
   const importApiUrl = ref(urlJoin(urlPrefix, '/api/employeeHazardReport/importEmployeeHazardReport'));
-  const templateUrl = ref('');
+  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/员工上报导入模版.xlsx');
 
   const handleImport = () => {
     batchImportVisible.value = true;

+ 3 - 3
src/views/production-safety/productionSafetySystem/collegeFileManagement/collegeFileManagement.vue

@@ -106,8 +106,8 @@
       :visible="batchImportVisible"
       :import-api-url="importApiUrl"
       :template-url="templateUrl"
-      template-name="下载模板"
-      :show-template="false"
+      template-name="院级文件导入模版"
+      :show-template="true"
       @close="batchImportVisible = false"
       @update="handleUpdate"
     />
@@ -235,7 +235,7 @@
   const { urlPrefix } = useGlobSetting();
   // /productionSafety/academyFile/import
   const importApiUrl = ref(urlJoin(urlPrefix, '/admin/prod/academyFile/importAcademyFile'));
-  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;

+ 3 - 3
src/views/production-safety/productionSafetySystem/doubleSystemManagement/doubleSystemManagement.vue

@@ -106,8 +106,8 @@
       :visible="batchImportVisible"
       :import-api-url="importApiUrl"
       :template-url="templateUrl"
-      template-name="下载模板"
-      :show-template="false"
+      template-name="双体系建设导入模版"
+      :show-template="true"
       @close="batchImportVisible = false"
       @update="handleUpdate"
     />
@@ -233,7 +233,7 @@
   const batchImportVisible = ref(false);
   const { urlPrefix } = useGlobSetting();
   const importApiUrl = ref(urlJoin(urlPrefix, '/admin/prod/dualSystem/importDualSystem'));
-  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/import-dual-system-template.xlsx');
+  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/双体系建设导入模版.xlsx');
 
   const handleImport = () => {
     batchImportVisible.value = true;

+ 3 - 3
src/views/production-safety/productionSafetySystem/lawManagement/lawManagement.vue

@@ -107,8 +107,8 @@
       :visible="batchImportVisible"
       :import-api-url="importApiUrl"
       :template-url="templateUrl"
-      template-name="下载模板"
-      :show-template="false"
+      template-name="法律法规导入模版"
+      :show-template="true"
       @close="batchImportVisible = false"
       @update="handleUpdate"
     />
@@ -234,7 +234,7 @@
   const batchImportVisible = ref(false);
   const { urlPrefix } = useGlobSetting();
   const importApiUrl = ref(urlJoin(urlPrefix, '/productionSafety/lawRegulation/import'));
-  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/import-law-regulation-template.xlsx');
+  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/法律法规导入模版.xlsx');
 
   const handleImport = () => {
     batchImportVisible.value = true;

+ 3 - 3
src/views/production-safety/productionSafetySystem/safetyOrganizationSystemManagement/safetyOrganizationSystemManagement.vue

@@ -151,8 +151,8 @@
       :visible="batchImportVisible"
       :import-api-url="importApiUrl"
       :template-url="templateUrl"
-      template-name="安全组织体系"
-      :show-template="false"
+      template-name="安全组织体系管理导入模版"
+      :show-template="true"
       @close="batchImportVisible = false"
       @update="handleUpdate"
     />
@@ -401,7 +401,7 @@ const position = ref('left')
   const batchImportVisible = ref(false);
   const { urlPrefix } = useGlobSetting();
   const importApiUrl = ref(urlJoin(urlPrefix, '/safetyorguser/importSafetyOrgUser'));
-  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/import-inventory-template.xlsx');
+  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/安全组织体系管理导入模版.xlsx');
 
   const handleImport = () => {
     batchImportVisible.value = true;

+ 3 - 3
src/views/production-safety/productionSafetySystem/safetyStandardizationSystemManagement/safetyStandardizationSystemManagement.vue

@@ -88,8 +88,8 @@
       :visible="batchImportVisible"
       :import-api-url="importApiUrl"
       :template-url="templateUrl"
-      template-name="下载模板"
-      :show-template="false"
+      template-name="安全标准化体系建设导入模版"
+      :show-template="true"
       @close="batchImportVisible = false"
       @update="handleUpdate"
     />
@@ -214,7 +214,7 @@
   const batchImportVisible = ref(false);
   const { urlPrefix } = useGlobSetting();
   const importApiUrl = ref(urlJoin(urlPrefix, '/admin/prod/safetyStandardization/importSafetyStandardization'));
-  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/import-safety-standardization-template.xlsx');
+  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/安全标准化体系建设导入模版.xlsx');
 
   const handleImport = () => {
     batchImportVisible.value = true;

+ 3 - 3
src/views/production-safety/productionSafetySystem/safetySystemConstructionWorkPlanManagement/safetySystemConstructionWorkPlanManagement.vue

@@ -190,8 +190,8 @@
       :visible="batchImportVisible"
       :import-api-url="importApiUrl"
       :template-url="templateUrl"
-      template-name="安全体系建设工作计划管理"
-      :show-template="false"
+      template-name="安全体系建设工作计划导入模版"
+      :show-template="true"
       @close="batchImportVisible = false"
       @update="handleUpdate"
     />
@@ -481,7 +481,7 @@
   const batchImportVisible = ref(false);
   const { urlPrefix } = useGlobSetting();
   const importApiUrl = ref(urlJoin(urlPrefix, '/safety-culture/importProductionEducationTrainingPlan'));
-  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/import-inventory-template.xlsx');
+  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/安全体系建设工作计划导入模版.xlsx');
   // 导入
   const handleImport = () => {
     batchImportVisible.value = true;

+ 3 - 3
src/views/production-safety/productionSafetySystem/safetyTraining/safetyTraining.vue

@@ -106,8 +106,8 @@
       :visible="batchImportVisible"
       :import-api-url="importApiUrl"
       :template-url="templateUrl"
-      template-name="下载模板"
-      :show-template="false"
+      template-name="行业标准导入模版"
+      :show-template="true"
       @close="batchImportVisible = false"
       @update="handleUpdate"
     />
@@ -233,7 +233,7 @@
   const batchImportVisible = ref(false);
   const { urlPrefix } = useGlobSetting();
   const importApiUrl = ref(urlJoin(urlPrefix, '/admin/prod/industryStandard/importIndustryStandard'));
-  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/import-industry-standard-template.xlsx');
+  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/行业标准导入模版.xlsx');
 
   const handleImport = () => {
     batchImportVisible.value = true;

+ 3 - 3
src/views/production-safety/risk-identification-and-control/labor-products-manage/list.vue

@@ -117,8 +117,8 @@
       :visible="batchImportVisible"
       :import-api-url="importApiUrl"
       :template-url="templateUrl"
-      template-name="下载模板"
-      :show-template="false"
+      template-name="劳防用品导入模版"
+      :show-template="true"
       @close="batchImportVisible = false"
       @update="handleUpdate"
     />
@@ -218,7 +218,7 @@
   const { urlPrefix } = useGlobSetting();
   // /productionSafety/academyFile/import
   const importApiUrl = ref(urlJoin(urlPrefix, '/personalProtectiveEquipment/importPersonalProtectiveEquipment'));
-  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;

+ 3 - 3
src/views/production-safety/risk-identification-and-control/labor-products-requisition-manage/list.vue

@@ -108,8 +108,8 @@
       :visible="batchImportVisible"
       :import-api-url="importApiUrl"
       :template-url="templateUrl"
-      template-name="下载模板"
-      :show-template="false"
+      template-name="劳防用品领用导入模版"
+      :show-template="true"
       @close="batchImportVisible = false"
       @update="handleUpdate"
     />
@@ -196,7 +196,7 @@
   const { urlPrefix } = useGlobSetting();
   // /productionSafety/academyFile/import
   const importApiUrl = ref(urlJoin(urlPrefix, '/personalProtectiveEquipmentReceive/importProtectiveEquipmentReceive'));
-  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;

+ 3 - 3
src/views/production-safety/safetyTrainingAndEducation/educationTrainingPlanManagement/educationTrainingPlanManagement.vue

@@ -133,8 +133,8 @@
       :visible="batchImportVisible"
       :import-api-url="importApiUrl"
       :template-url="templateUrl"
-      template-name="下载模板"
-      :show-template="false"
+      template-name="教育培训计划管理导入模版"
+      :show-template="true"
       @close="batchImportVisible = false"
       @update="handleUpdate"
     />
@@ -254,7 +254,7 @@
   const batchImportVisible = ref(false);
   const { urlPrefix } = useGlobSetting();
   const importApiUrl = ref(urlJoin(urlPrefix, '/educationTrainingPlan/importProductionEducationTrainingPlan'));
-  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/import-inventory-template.xlsx');
+  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/安全教育培训计划导入模版.xlsx');
 
   const handleImport = () => {
     batchImportVisible.value = true;

+ 3 - 3
src/views/production-safety/safetyTrainingAndEducation/employeeTrainingRecordCardManagement/employeeTrainingRecordCardManagement.vue

@@ -82,8 +82,8 @@
       :visible="batchImportVisible"
       :import-api-url="importApiUrl"
       :template-url="templateUrl"
-      template-name="下载模板"
-      :show-template="false"
+      template-name="员工培训记录卡管理导入模版"
+      :show-template="true"
       @close="batchImportVisible = false"
       @update="handleUpdate"
     />
@@ -181,7 +181,7 @@
   const batchImportVisible = ref(false);
   const { urlPrefix } = useGlobSetting();
   const importApiUrl = ref(urlJoin(urlPrefix, '/educationStaffTrainingCard/importEducationStaffTrainingCard'));
-  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/import-inventory-template.xlsx');
+  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/员工培训记录卡导入模版.xlsx');
 
   const handleImport = () => {
     batchImportVisible.value = true;