update 整改reducer

This commit is contained in:
2021-06-16 16:32:09 +08:00
parent 7d0000e602
commit cad86cf7a5
21 changed files with 96 additions and 97 deletions

View File

@@ -3,7 +3,7 @@ import { Button, Card, Form, Input, Popconfirm, message as Message } from 'antd'
import { isEqual } from 'lodash'
import { AntIcon, Auth, Container, ModalForm, QueryTable, QueryTableActions } from 'components'
import { api } from 'common/api'
import getDicData from 'util/dic'
import getDictData from 'util/dic'
import auth from 'components/authorized/handler'
import { toCamelCase } from 'util/format'
import FormBody from './form'
@@ -134,7 +134,7 @@ export default class index extends Component {
*/
componentDidMount() {
this.table.current.onLoading()
getDicData('common_status').then(res => {
getDictData('common_status').then(res => {
this.setState({
codes: res
}, () => {
@@ -250,12 +250,6 @@ export default class index extends Component {
onClick={() => this.onOpen(this.addForm)}
>新增{name}</Button>
}
expandedRowRender={
record => {
console.log(record)
return <div>123</div>
}
}
/>
</Card>