Explorar o código

fix: 修改参数信息

xiaweibo hai 1 mes
pai
achega
7288025661

+ 1 - 0
src/api/safety-system-construction-work-plan/index.ts

@@ -113,6 +113,7 @@ export interface ViewSenderQueryPageResponse {
   planId: number;
   plannedComplateTime: string;
   responsibleDeptName: string;
+  responsibleDeptNames: string;
   status: number;
   statusName?: any;
   trainingPlanName: string;

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

@@ -219,6 +219,9 @@ import BreadcrumbBack from '@/components/BreadcrumbBack.vue';
       }
       const res = await queryViewSender(tableQuery);
       if (res) {
+        res.records.forEach((item) => {
+          item.responsibleDeptNames = item.responsibleDeptName;
+        });
         tableData.value = res.records;
         pagination.total = res.totalRow;
       }