|
@@ -959,19 +959,23 @@ const IntentionCustomer = Form.create()(
|
|
className="test"
|
|
className="test"
|
|
>
|
|
>
|
|
<TabPane tab="搜索" key="1">
|
|
<TabPane tab="搜索" key="1">
|
|
- <Button
|
|
|
|
- type="primary"
|
|
|
|
- style={{
|
|
|
|
- float: "right",
|
|
|
|
- marginTop: 10,
|
|
|
|
- marginLeft: 10,
|
|
|
|
- marginRight: 10,
|
|
|
|
- }}
|
|
|
|
- onClick={this.addClick}
|
|
|
|
- >
|
|
|
|
- 新增客户
|
|
|
|
- <Icon type="plus" />
|
|
|
|
- </Button>
|
|
|
|
|
|
+ {
|
|
|
|
+ // 新需求 除湖南和内蒙古外 不让其他省操作
|
|
|
|
+ (adminData.province == "21" || adminData.province == "11") &&
|
|
|
|
+ <Button
|
|
|
|
+ type="primary"
|
|
|
|
+ style={{
|
|
|
|
+ float: "right",
|
|
|
|
+ marginTop: 10,
|
|
|
|
+ marginLeft: 10,
|
|
|
|
+ marginRight: 10,
|
|
|
|
+ }}
|
|
|
|
+ onClick={this.addClick}
|
|
|
|
+ >
|
|
|
|
+ 新增客户
|
|
|
|
+ <Icon type="plus" />
|
|
|
|
+ </Button>
|
|
|
|
+ }
|
|
<Input
|
|
<Input
|
|
placeholder="客户名称"
|
|
placeholder="客户名称"
|
|
value={this.state.nameSearch}
|
|
value={this.state.nameSearch}
|
|
@@ -1095,19 +1099,23 @@ const IntentionCustomer = Form.create()(
|
|
>
|
|
>
|
|
转交
|
|
转交
|
|
</Button>
|
|
</Button>
|
|
- <Button
|
|
|
|
- type="primary"
|
|
|
|
- style={{
|
|
|
|
- float: "right",
|
|
|
|
- marginTop: 10,
|
|
|
|
- marginLeft: 10,
|
|
|
|
- marginRight: 10,
|
|
|
|
- }}
|
|
|
|
- onClick={this.addClick}
|
|
|
|
- >
|
|
|
|
- 新增客户
|
|
|
|
- <Icon type="plus" />
|
|
|
|
- </Button>
|
|
|
|
|
|
+ {
|
|
|
|
+ // 新需求 除湖南和内蒙古外 不让其他省操作
|
|
|
|
+ (adminData.province == "21" || adminData.province == "11") &&
|
|
|
|
+ <Button
|
|
|
|
+ type="primary"
|
|
|
|
+ style={{
|
|
|
|
+ float: "right",
|
|
|
|
+ marginTop: 10,
|
|
|
|
+ marginLeft: 10,
|
|
|
|
+ marginRight: 10,
|
|
|
|
+ }}
|
|
|
|
+ onClick={this.addClick}
|
|
|
|
+ >
|
|
|
|
+ 新增客户
|
|
|
|
+ <Icon type="plus" />
|
|
|
|
+ </Button>
|
|
|
|
+ }
|
|
{/*<Button type="default" className="addButton" onClick={this.exportExec}>导出excel<Icon type="plus" /></Button>*/}
|
|
{/*<Button type="default" className="addButton" onClick={this.exportExec}>导出excel<Icon type="plus" /></Button>*/}
|
|
{/* <div className="clearfix" style={{ marginTop: "5px" }}> */}
|
|
{/* <div className="clearfix" style={{ marginTop: "5px" }}> */}
|
|
<Button
|
|
<Button
|