提交 23f95ef3 作者: ZhangLingKun

功能:隐藏合伙人显示

上级 aa26cfe8
......@@ -32,6 +32,19 @@ export type listBAccountPageType = InterListFunction<
companyAuthStatus: null;
cooperationTagId: null;
companyName: string;
companyInfoVO: {
id: number;
companyType: number;
companyName: string;
fullName: string;
province: string;
city: string;
district: string;
address: string;
companyUserName: string;
phoneNum: string;
remark: string;
};
}
>;
// 账号-新增
......
......@@ -165,6 +165,7 @@ const AddEditModal: React.FC<propType> = (props) => {
name='accountType'
rules={[{ required: true, message: '请选择账号类型' }]}
initialValue={1}
hidden={true}
>
<Select
placeholder={'请选择账号类型'}
......
......@@ -96,10 +96,10 @@ function AccountManageView() {
},
{
title: '账号类型',
dataIndex: 'accountType',
dataIndex: 'companyInfoVO',
align: 'center',
width: '10%',
render: (text) => (text === 1 ? '员工' : '合伙人'),
render: (_text, record) => (record?.companyInfoVO?.companyType === 1 ? '合伙人' : '员工'),
},
{ title: '姓名', dataIndex: 'userName', align: 'center', width: '10%' },
{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论