Merge branch 'master' of http://118.178.224.202:3000/ewide/ewide_core
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import React, { Component } from 'react'
|
||||
import { Button, Card, Form, Input, message as Message, Popconfirm } from 'antd'
|
||||
import { Button, Card, Form, Input, message as Message, Popconfirm, Select } from 'antd'
|
||||
import {
|
||||
AntIcon,
|
||||
Auth,
|
||||
@@ -159,7 +159,10 @@ export default class index extends Component {
|
||||
...query,
|
||||
pid: this.selectId,
|
||||
}
|
||||
|
||||
if (params) {
|
||||
params.sortField = 'areaCode'
|
||||
params.sortOrder = 'ascend'
|
||||
}
|
||||
const { data } = await apiAction.page({
|
||||
...params,
|
||||
...query,
|
||||
@@ -270,6 +273,17 @@ export default class index extends Component {
|
||||
<Form.Item label="机构名称" name="name">
|
||||
<Input autoComplete="off" placeholder="请输入机构名称" />
|
||||
</Form.Item>
|
||||
<Form.Item label="区域范围" name="treeNodeDataScope">
|
||||
<Select
|
||||
allowClear
|
||||
placeholder="请选择状态"
|
||||
className="w-200"
|
||||
defaultValue={1}
|
||||
>
|
||||
<Select.Option value={1}>只看本级</Select.Option>
|
||||
<Select.Option value={2}>查看本级及以下</Select.Option>
|
||||
</Select>
|
||||
</Form.Item>
|
||||
</Auth>
|
||||
}
|
||||
operator={
|
||||
|
||||
@@ -322,6 +322,17 @@ export default class index extends Component {
|
||||
})}
|
||||
</Select>
|
||||
</Form.Item>
|
||||
<Form.Item label="区域范围" name="treeNodeDataScope">
|
||||
<Select
|
||||
allowClear
|
||||
placeholder="请选择状态"
|
||||
className="w-200"
|
||||
defaultValue={1}
|
||||
>
|
||||
<Select.Option value={1}>只看本级</Select.Option>
|
||||
<Select.Option value={2}>查看本级及以下</Select.Option>
|
||||
</Select>
|
||||
</Form.Item>
|
||||
</Auth>
|
||||
}
|
||||
operator={
|
||||
|
||||
Reference in New Issue
Block a user