保存进度!

This commit is contained in:
2023-08-29 18:57:27 +08:00
parent 8e0505bd49
commit 08ea359cd1
4 changed files with 121 additions and 38 deletions

View File

@@ -32,6 +32,9 @@ interface RankingListResponse
renewalRateRankingList: RankingListItem[];
}
// 判断用的正则表达式
const regexMonth = "(0[1-9])|(1[0-2])";
/**
* 请求坐席排行榜。
* @param reqParam 请求参数
@@ -53,6 +56,9 @@ function requestRankingList( reqParam: RankingListRequest, rander: any ): void /
renewalRateRankingList: [],
};
// 检查请求参数
// TODO: 这里要加一个对month的正则表达式验证。
instance.request(
{
method: "post",