lxh преди 1 година
родител
ревизия
7dcbc99453
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      src/views/vent/dust/warnRecordDust/warnRecordDust.api.ts
  2. 1 1
      src/views/vent/fire/warnRecordFire/warnRecordFire.api.ts

+ 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 });