37 lines
1.0 KiB
JavaScript
37 lines
1.0 KiB
JavaScript
/*
|
|
* 业务线管理
|
|
* 高级搜索
|
|
* @Author: 黎永顺
|
|
* @Date: 2024/9/24
|
|
* @Wechat:
|
|
* @Email: 971387674@qq.com
|
|
* @description:
|
|
*/
|
|
import React, { Component } from "react";
|
|
import { inject, observer } from "mobx-react";
|
|
import { Button } from "antd";
|
|
import { WeaInputSearch, WeaLocaleProvider } from "ecCom";
|
|
import "./index.less";
|
|
|
|
const getLabel = WeaLocaleProvider.getLabel;
|
|
|
|
@inject("taxAgentStore")
|
|
@observer
|
|
class Index extends Component {
|
|
render() {
|
|
const { taxAgentStore: { advanceForm } } = this.props;
|
|
return (
|
|
<div className="role-advance-search">
|
|
<WeaInputSearch value={advanceForm.getFormParams().name}
|
|
onChange={v => advanceForm.updateFields({ name: v })}
|
|
onSearch={this.props.onAdvanceSearch}
|
|
/>
|
|
<Button type="ghost" className="wea-advanced-search text-elli"
|
|
onClick={this.props.onOpenAdvanceSearch}>{getLabel(545754, "高级搜索")}</Button>
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default Index;
|