فهرست منبع

fix: 过滤禁用类别,页面添加导入模板

xiaweibo 1 ماه پیش
والد
کامیت
2095bf0c77

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

@@ -874,7 +874,9 @@ const attachmentsFileList = ref([]) as any
     await queryDangerTypePage({
       pageNumber: 1,
       pageSize: 9999,
-      queryParam: {}
+      queryParam: {
+        status: 1
+      }
     }).then(res => {
       hiddenRiskCategoriesList.value = res?.records || [];
     });

+ 2 - 2
src/views/production-safety/safetyAssessment/inventory/inventory.vue

@@ -84,7 +84,7 @@
       :visible="batchImportVisible"
       :import-api-url="importApiUrl"
       :template-url="templateUrl"
-      template-name="下载模板"
+      template-name="奖品库管理导入模版"
       :show-template="true"
       @close="batchImportVisible = false"
       @update="handleUpdate"
@@ -183,7 +183,7 @@
   const batchImportVisible = ref(false);
   const { urlPrefix } = useGlobSetting();
   const importApiUrl = ref(urlJoin(urlPrefix, '/inventory/importInventory'));
-  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/safetyAssessment/pointDeduction/pointDeduction.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, '/monthlyDeduction/importMonthlyDeduction'));
-  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/import-point-deduction-template.xlsx');
+  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/月度扣分管理导入模版.xlsx');
 
   const handleImport = () => {
     batchImportVisible.value = true;

+ 3 - 3
src/views/production-safety/safetyAssessment/receiptRecord/receiptRecord.vue

@@ -128,8 +128,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 batchImportVisible = ref(false);
   const { urlPrefix } = useGlobSetting();
   const importApiUrl = ref(urlJoin(urlPrefix, '/claimItemsLog/importClaimItemsLog'));
-  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/import-receipt-record-template.xlsx');
+  const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/物品领取记录管理导入模版.xlsx');
 
   const handleImport = () => {
     batchImportVisible.value = true;