|
@@ -11,9 +11,9 @@ export default function useMonitor() {
|
|
|
/** 获取起量计划列表 */
|
|
|
const getPlanList = useAjax((params: ListType) => getPlanListApi(params), { formatResult: true })
|
|
|
/**获取起来计划列表明细*/
|
|
|
- const getPlanDetailList = useAjax((params: ListType) => getDetailListApi(params), { formatResult: true })
|
|
|
+ const getPlanDetailList = useAjax((params: ListType) => getDetailListApi(params), { formatResult: true, debounceInterval: 100 })
|
|
|
/**获取起来计划列表5min*/
|
|
|
- const getMinuteList = useAjax((params: ListType) => getMinuteListApi(params), { formatResult: true })
|
|
|
+ const getMinuteList = useAjax((params: ListType) => getMinuteListApi(params), { formatResult: true, debounceInterval: 100 })
|
|
|
/** 获取今日计划总消耗图谱 */
|
|
|
const getTotalCost = useAjax((params: ListType) => getTotalCostApi(params), { formatResult: true })
|
|
|
/** 获取计划消耗图谱 */
|