Commit a1294638 authored by Sixiang_Zzb's avatar Sixiang_Zzb

小区列表添加管理员搜索框

parent 859d5484
......@@ -12,6 +12,7 @@ import SearchOptionsCommnity from '@/components/SearchOptions/SearchOptionsCommn
import { RA, SA } from '@/utils/method';
import { objectColumns } from '@/utils/string';
import { timestampToTime } from '@/utils/time';
import CommunitySearch from "@/components/CommunitySearch/CommunitySearch";
const module="CellList"
const CellList = (props:any) => {
......@@ -29,9 +30,11 @@ const CellList = (props:any) => {
const { dispatch, Data } = props;
const Pagechange = () => {
}
const onChange = e => {
e.persist();
console.log("表单输入的值", e.target.value);
};
useEffect(() => {
RA(24, {communityName: "" }, module, dispatch);
......@@ -56,7 +59,10 @@ const CellList = (props:any) => {
{
Data != null ? <>
{/* <TitleSearch listkey={['communityName']} list={['Community Name']} onSubmit={CallBackTitleSearch}/> */}
<SearchOptionsCommnity alone={true} onSubmit={CallbackSearch} />
<div style={{display: "flex"}}>
<SearchOptionsCommnity alone={true} onSubmit={CallbackSearch} />
<Input placeholder="Administrator Name" allowClear onChange={onChange} style={{width:200,marginLeft: 20}} />
</div>
<div style={{height:80,position:"relative"}}>
<div style={{ position: "absolute", right: 0 }}>
<Button type="primary" onClick={goToAdd}>Create new Community</Button>
......
......@@ -68,8 +68,6 @@ const VisitorRecord = (props:any) => {
list={['Community Name']}
community={"serviceCommunityList"}
onSubmit={CallBackTitleSearch}/>
{Data!=null?
<Table
loading={false}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment