|
@@ -9,7 +9,7 @@ import {
|
|
|
|
|
|
export default function useMonitor() {
|
|
export default function useMonitor() {
|
|
/** 获取起量计划列表 */
|
|
/** 获取起量计划列表 */
|
|
- const getPlanList = useAjax((params: ListType) => getPlanListApi(params), { formatResult: true, debounceInterval: 1500 })
|
|
|
|
|
|
+ const getPlanList = useAjax((params: ListType) => getPlanListApi(params), { formatResult: true, debounceInterval: 1000 })
|
|
/**获取起来计划列表明细*/
|
|
/**获取起来计划列表明细*/
|
|
const getPlanDetailList = useAjax((params: ListType) => getDetailListApi(params), { formatResult: true, debounceInterval: 100 })
|
|
const getPlanDetailList = useAjax((params: ListType) => getDetailListApi(params), { formatResult: true, debounceInterval: 100 })
|
|
/**获取起来计划列表5min*/
|
|
/**获取起来计划列表5min*/
|
|
@@ -23,7 +23,7 @@ export default function useMonitor() {
|
|
/** 获取组员 */
|
|
/** 获取组员 */
|
|
const getUserGroup = useAjax(() => getUserGroupApi(), { formatResult: true })
|
|
const getUserGroup = useAjax(() => getUserGroupApi(), { formatResult: true })
|
|
/** 计划列表 */
|
|
/** 计划列表 */
|
|
- const getAllPlanList = useAjax((params: allPlanProps) => getAllPlanListApi(params), { formatResult: true, debounceInterval: 1500 })
|
|
|
|
|
|
+ const getAllPlanList = useAjax((params: allPlanProps) => getAllPlanListApi(params), { formatResult: true, debounceInterval: 1000 })
|
|
const getBookListAll = useAjax(() => getBookListAllApi(), { formatResult: true })
|
|
const getBookListAll = useAjax(() => getBookListAllApi(), { formatResult: true })
|
|
/** 下载 */
|
|
/** 下载 */
|
|
const downLoadUpAd = useAjax((params: ListType) => downLoadUpAdApi(params), { formatResult: true })
|
|
const downLoadUpAd = useAjax((params: ListType) => downLoadUpAdApi(params), { formatResult: true })
|