Commit 375c6b03 authored by tjy's avatar tjy

替换接口

parent ad2b117d
......@@ -196,7 +196,22 @@ const auditList: React.FC<PageProps> = props => {
// 初始化高级筛选选项
const fetchSearchItems = async () => {
const { data } = await PublicApi.getMemberValidateCommitPageitems();
let result;
switch (pageType) {
case '1':
result = await PublicApi.getMemberValidateCommitPageitems();
break;
case '2':
result = await PublicApi.getMemberValidateStep1Pageitems();
break;
case '3':
result = await PublicApi.getMemberValidateStep2Pageitems();
break;
case '4':
result = await PublicApi.getMemberValidateConfirmPageitems();
break;
}
const { data } = result;
defaultColumns.find(target => {
switch (target.key) {
case 'memberStatus':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment