|
|
|
@ -1,27 +1,17 @@
|
|
|
|
|
import React, { Component } from 'react';
|
|
|
|
|
|
|
|
|
|
import { SnackbarHOC, getImageUrl, City } from 'educoder';
|
|
|
|
|
import { Form, Button, Input, Radio, Select, Tooltip, Icon } from 'antd'
|
|
|
|
|
import { Form, Button } from 'antd'
|
|
|
|
|
import './common.css'
|
|
|
|
|
import { getHiddenName } from './AccountBasicEdit'
|
|
|
|
|
const identityMap = { "teacher": "教师", "student": "学生", "professional": "专业人士" }
|
|
|
|
|
|
|
|
|
|
const RadioGroup = Radio.Group;
|
|
|
|
|
const Option = Select.Option
|
|
|
|
|
const radioOptions = [
|
|
|
|
|
{ label: '男', value: 'boy' },
|
|
|
|
|
{ label: '女', value: 'girl' },
|
|
|
|
|
];
|
|
|
|
|
export const identityMap={"teacher":"教师", "student":"学生", "professional":"专业人士"}
|
|
|
|
|
class AccountBasicEdit extends Component {
|
|
|
|
|
constructor(props) {
|
|
|
|
|
super(props);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
const { getFieldDecorator } = this.props.form;
|
|
|
|
|
const { basicInfo } = this.props
|
|
|
|
|
const showRealName = false;
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|
<div className="basicForm">
|
|
|
|
|