马宇豪
2025-03-04 1b9fea7d4af68d8f933b2dc42bf6084b9646f64c
src/api/intellectInspectSystem/inspectRecord/index.ts
@@ -17,6 +17,27 @@
                method: 'post',
                data: data
            });
        },
        getInspectRecordByIndex: (data: object) => {
            return request({
                url: import.meta.env.VITE_API_URL + `/SafeCheckTask/select/listTaskByPageAndStatusAndTime`,
                method: 'post',
                data: data
            });
        },
        getInspectRecordSum: (data: object) => {
            return request({
                url: import.meta.env.VITE_API_URL + `/SafeCheckTask/select/listTaskQuotaGbRegionGbQuotaGbPoint`,
                method: 'post',
                data: data
            });
        },
        getDayRecord: () => {
            return request({
                url: import.meta.env.VITE_API_URL + `/SafeCheckTask/select/listTaskByNoCheckTaskAndAbnormalTask`,
                method: 'get',
            });
        }
    };
}