Commit 48c79fce authored by XieZhiXiong's avatar XieZhiXiong

chore: 删除不需要的检索条件

parent bb42c908
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-05-26 10:26:20
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-04 14:12:53
* @LastEditTime: 2021-06-04 14:21:24
* @Description: 待审核会员变更(一级)
*/
import React, { useState, useRef } from 'react';
......@@ -117,7 +117,6 @@ const MemberPrVerifyChange1: React.FC<{}> = props => {
const {
memberTypes = [],
roles = [],
sources = [],
} = data;
const memberTypeIndex = columns.findIndex((item) => item.dataIndex === 'memberTypeName');
......@@ -138,7 +137,6 @@ const MemberPrVerifyChange1: React.FC<{}> = props => {
return {
memberTypeId: memberTypes.map(item => ({ label: item.memberTypeName, value: item.memberTypeId })),
roleId: roles.map(item => ({ label: item.roleName, value: item.roleId })),
source: sources.map(item => ({ label: item.text, value: item.id })),
};
}
return {};
......
......@@ -39,7 +39,7 @@ import MemberDocQualification from '../components/MemberDocQualification';
import VerifyModal, { ValueType as VerifyData } from '../components/VerifyModal';
const MemberPrVerifyChange1Verify: React.FC<{}> = () => {
const { id, validateId } = usePageStatus();
const { validateId } = usePageStatus();
const [memberInfo, setMemberInfo] = useState<GetMemberModifyGradeOneDetailResponse>(null);
const [infoLoading, setInfoLoaading] = useState(false);
const [visibleVerifyModal, setVisibleVerifyModal] = useState(false);
......
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