lxh 1 year ago
parent
commit
7dcbc99453

+ 1 - 1
src/views/vent/dust/warnRecordDust/warnRecordDust.api.ts

@@ -8,6 +8,6 @@ enum Api {
  * 预警记录
  * @param params
  */
-export const getDustWarnHistory = (params) => defHttp.post({ url: Api.getDustWarnHistory, params });
+export const getDustWarnHistory = (params) => defHttp.get({ url: Api.getDustWarnHistory, params });
 
 

+ 1 - 1
src/views/vent/fire/warnRecordFire/warnRecordFire.api.ts

@@ -14,6 +14,6 @@ export const getFireAreaInfo = (params) => defHttp.get({ url: Api.getFireAreaInf
  * 预警记录
  * @param params
  */
-export const getFireWarnHistory = (params) => defHttp.post({ url: Api.getFireWarnHistory, params });
+export const getFireWarnHistory = (params) => defHttp.get({ url: Api.getFireWarnHistory, params });