马宇豪
2024-04-02 d91fd1557ebed3e9bcb8c051c71b9d41c0e36eef
src/api/specialWorkSystem/specialIndex/index.ts
@@ -11,14 +11,14 @@
        },
        analyseAllWork: (data: object) => {
            return request({
                url: import.meta.env.VITE_API_URL + `/specialWork/analyse/allWork/dep`,
                url: import.meta.env.VITE_API_URL + `/specialwork9step/statistic/allWork/dep`,
                method: 'post',
                data: data
            });
        },
        analyseDepMonth: (data: number) => {
            return request({
                url: import.meta.env.VITE_API_URL + `/specialWork/analyse/12month/dep?depId=${data}`,
                url: import.meta.env.VITE_API_URL + `/specialwork9step/statistic/12month/dep?depId=${data}`,
                method: 'get'
            });
        },
@@ -35,6 +35,13 @@
                method: 'post',
                data: data
            });
        },
        getWorkWarning: (data: object) => {
            return request({
                url: import.meta.env.VITE_API_URL + `/specialwork9step/statistic/work/warning`,
                method: 'post',
                data: data
            });
        }
    };
}