|
|
@@ -257,9 +257,14 @@ export type ViolationCount = {
|
|
|
|
|
|
/** 根据用户权限查询违规记录 */
|
|
|
export const getViolation = (params: ViolationsQueryParam) => {
|
|
|
- return http.request<ViolationCount>({
|
|
|
- url: '/dataPreview/getViolation',
|
|
|
- method: 'get',
|
|
|
- params,
|
|
|
- });
|
|
|
+ return http.request<ViolationCount>(
|
|
|
+ {
|
|
|
+ url: '/dataPreview/getViolation',
|
|
|
+ method: 'get',
|
|
|
+ params,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ isShowErrorMessage: false,
|
|
|
+ },
|
|
|
+ );
|
|
|
};
|