Commit cab60e6a authored by XieZhiXiong's avatar XieZhiXiong

chore: 补充对接 初始化会员等级与权益 接口

parent f8b04230
......@@ -7,7 +7,7 @@ import { Card, Button, Space, Popconfirm, Modal, message } from 'antd';
import { PlusOutlined, ExclamationCircleOutlined } from '@ant-design/icons';
import { ColumnType } from 'antd/lib/table/interface';
import { createFormActions } from '@formily/antd';
import { getMemberAbilityLevelPage, GetMemberAbilityLevelPageResponseDetail, postMemberAbilityLevelDelete, postMemberAbilityLevelStatus } from '@/services/MemberV2Api';
import { getMemberAbilityLevelPage, GetMemberAbilityLevelPageResponseDetail, postMemberAbilityLevelDelete, postMemberAbilityLevelRebuild, postMemberAbilityLevelStatus } from '@/services/MemberV2Api';
import { useStateFilterSearchLinkageEffect } from '@/formSchema/effects/useFilterSearch';
import { FORM_FILTER_PATH } from '@/formSchema/const';
import EyePreview from '@/components/EyePreview';
......@@ -207,11 +207,7 @@ const PlatformMemberLevelIndexIndex: React.FC<{}> = props => {
cancelText: '取消',
okText: '确定',
onOk() {
return new Promise((resolve) => {
setTimeout(() => {
resolve('123');
}, 2000);
});
return postMemberAbilityLevelRebuild();
},
onCancel() {
console.log('Cancel');
......
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