fix(staff)
This commit is contained in:
parent
bf8ae54585
commit
22a93667b1
2
git.sh
2
git.sh
|
@ -16,7 +16,6 @@ git push
|
|||
|
||||
# ps
|
||||
|
||||
# 编辑用户 是否党员 没回显
|
||||
|
||||
# app 政治面貌没有展示
|
||||
|
||||
|
@ -25,7 +24,6 @@ git push
|
|||
|
||||
# 签到 个人中心 展示今日签到信息
|
||||
|
||||
# 通讯录,实时搜索
|
||||
|
||||
# pc
|
||||
# 力量汇总,加一个新兴领域 网格员
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
import { FormType } from "@/components/form/interface";
|
||||
import { UserDataType } from "@/model/userModel";
|
||||
import { getBirthDateAndGender } from "@/util/util";
|
||||
import { ColumnsType } from "antd/lib/table";
|
||||
export const defaultConfig = () => [
|
||||
// {
|
||||
// type: FormType.fetchList,
|
||||
// label: "用户名",
|
||||
// name: "user_identity",
|
||||
// value: [],
|
||||
// rules: [{ required: true, message: "请输入用户名称!" }],
|
||||
// },
|
||||
|
||||
{
|
||||
type: FormType.input,
|
||||
label: "身份类别",
|
||||
|
@ -40,9 +35,11 @@ export const columns: ColumnsType<UserDataType> = [
|
|||
},
|
||||
{
|
||||
title: "性别",
|
||||
dataIndex: "sex",
|
||||
render: (sex) => <span>{sex === 1 ? "男" : "女"}</span>,
|
||||
},
|
||||
width: 100,
|
||||
render: (render) => (
|
||||
<span>{getBirthDateAndGender(render.id_card)?.gender}</span>
|
||||
),
|
||||
},
|
||||
{
|
||||
title: "身份证",
|
||||
dataIndex: "id_card",
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
border-bottom-right-radius: 40px;
|
||||
border-top-right-radius: 0px;
|
||||
margin-right: 10px;
|
||||
cursor: pointer;
|
||||
padding: 5px;
|
||||
> div {
|
||||
margin-left: 10px;
|
||||
|
|
Loading…
Reference in New Issue