|
@@ -69,7 +69,7 @@ function body(props) {
|
69
|
69
|
|
70
|
70
|
const [currentSelectedRows, setSelectedRows] = useState([])
|
71
|
71
|
|
72
|
|
- const [ radio, setRadio] = useState(true)
|
|
72
|
+// const [ radio, setRadio] = useState(true)
|
73
|
73
|
|
74
|
74
|
// const [page, setPage] = useState(1)
|
75
|
75
|
|
|
@@ -95,8 +95,8 @@ function body(props) {
|
95
|
95
|
|
96
|
96
|
function getList(params) {
|
97
|
97
|
// 网路请求
|
98
|
|
- setDataSource([])
|
99
|
|
- setRadio(true)
|
|
98
|
+ // setDataSource([])
|
|
99
|
+ // setRadio(true)
|
100
|
100
|
request({ ...apis.customer.customerRecommend, params: { ...params } }).then(res => {
|
101
|
101
|
setDataSource(res)
|
102
|
102
|
setRadio(false)
|
|
@@ -635,7 +635,7 @@ function body(props) {
|
635
|
635
|
|
636
|
636
|
|
637
|
637
|
<div style={{ margin: '20px 0' }}>
|
638
|
|
- <Radio.Group value={customerType} disabled={radio} onChange={radioButtonHandleSizeChange} buttonStyle="solid">
|
|
638
|
+ <Radio.Group value={customerType} onChange={radioButtonHandleSizeChange} buttonStyle="solid">
|
639
|
639
|
<Radio.Button value="private">私客</Radio.Button>
|
640
|
640
|
<Radio.Button value="public">公客</Radio.Button>
|
641
|
641
|
</Radio.Group>
|