Browse Source

增加老区工作台

zhangafei 6 days ago
parent
commit
d1215ae1c7

+ 5 - 0
src/views/billet/Dashboard/dashboard.api.ts

@@ -65,6 +65,7 @@ enum Api {
   exportThreeXlsUrl = '/rollClubThreeDetails/exportThreeXls', // 棒三
   exportOutXlsUrl = '/rollOutShippDetails/exportOutXls', // 上若
   exportHeightXlsUrl = '/rollHeight/exportHeightXls',
+  exportOldXlsUrl = '/billet/rollOldAreasDetails/exportOldXls', // 老区
   // 撤销
   backStorageBill = '/storageBillPrint/storageBillPrint/withdrawPrint',
 }
@@ -85,6 +86,10 @@ export const exportOutExcel = () => {
   return Api.exportOutXlsUrl;
 };
 
+export const exportOldExcel = () => {
+  return Api.exportOldXlsUrl;
+};
+
 export interface ListItem {
   size: string;
   nums: number;

+ 4 - 0
src/views/billet/Dashboard/rollingThree.vue

@@ -218,6 +218,7 @@
     getrollClubStatistics,
     exportThreeExcel,
     exportOutExcel,
+    exportOldExcel,
     goBackStorageBill,
   } from './dashboard.api';
   import dayjs, { Dayjs } from 'dayjs';
@@ -438,6 +439,7 @@
     '2': '棒二',
     '3': '棒三',
     '4': '上若',
+    '6': '老区',
   };
 
   const getList = async () => {
@@ -727,6 +729,8 @@
       url = exportThreeExcel();
     } else if (machineNum === '4') {
       url = exportOutExcel();
+    } else if (machineNum === '6') {
+      url = exportOldExcel();
     }
     return handleExportXlsx(destinationTxt[machineNum] + '数据', url + (queryParams.length > 0 ? '?' + queryParams.join('&') : ''));
   };

+ 1 - 0
src/views/billet/quality/index.vue

@@ -68,6 +68,7 @@
                     },
                     changeShiftId: shiftPerformanceColumns[currentShift] ? shiftPerformanceColumns[currentShift].id : '',
                     isShowAddHeatNo: false,
+                    confirmOrgDataStatus: 3, // 查看送样卡记录
                   })
               "
             >