#
luxiaotao1123
2024-02-28 c95e54c53e2a19bc3281339713a51573e7a15220
zy-asrs-flow/src/pages/account/setting/components/base.jsx
@@ -112,88 +112,81 @@
              <ProFormText
                width="md"
                name="username"
                label="账号"
                label={intl.formatMessage({ id: 'common.username', defaultMessage: "账号" })}
                disabled
                rules={[
                  {
                    required: true,
                    message: '请输入您的账号!',
                  },
                ]}
              />
              <ProFormText
                width="md"
                name="nickname"
                label="名称"
                label={intl.formatMessage({ id: 'common.nickname', defaultMessage: "名称" })}
                rules={[
                  {
                    required: true,
                    message: '请输入您的名称!',
                  },
                ]}
              />
              <ProFormSelect
                width="md"
                name="sex"
                label="性别"
                label={intl.formatMessage({ id: 'common.sex', defaultMessage: "性别" })}
                colProps={{ md: 12, xl: 12 }}
                options={[
                  { label: '未知', value: 0 },
                  { label: '男', value: 1 },
                  { label: '女', value: 2 },
                  { label: intl.formatMessage({ id: 'common.undefined', defaultMessage: "未知" }), value: 0 },
                  { label: intl.formatMessage({ id: 'common.male', defaultMessage: '男' }), value: 1 },
                  { label: intl.formatMessage({ id: 'common.female', defaultMessage: '女' }), value: 2 },
                ]}
              />
              <ProFormText
                width="md"
                name="phone"
                label="手机号"
                label={intl.formatMessage({ id: 'common.phone', defaultMessage: "手机号" })}
                rules={[
                  {
                    required: false,
                    message: '请输入您的手机号!',
                  },
                ]}
              />
              <ProFormText
                width="md"
                name="email"
                label="邮箱"
                label={intl.formatMessage({ id: 'common.email', defaultMessage: "邮箱" })}
                rules={[
                  {
                    required: false,
                    message: '请输入您的邮箱!',
                  },
                ]}
              />
              <ProFormText
                width="md"
                name="realName"
                label="真实姓名"
                label={intl.formatMessage({ id: 'common.realname', defaultMessage: "真实姓名" })}
                rules={[
                  {
                    required: false,
                    message: '请输入您的真实姓名!',
                  },
                ]}
              />
              <ProFormText
                width="md"
                name="idCard"
                label="身份证号"
                label={intl.formatMessage({ id: 'common.idcard', defaultMessage: "身份证号" })}
                rules={[
                  {
                    required: false,
                    message: '请输入您的身份证号!',
                  },
                ]}
              />
              <ProFormTextArea
                name="introduction"
                label="个人简介"
                label={intl.formatMessage({ id: 'common.introduction', defaultMessage: "个人简介" })}
                rules={[
                  {
                    required: false,
                    message: '请输入个人简介!',
                  },
                ]}
              />