dingxin 5 gadus atpakaļ
vecāks
revīzija
4116ee74d1

+ 1
- 0
src/pages/channel/InviteClients.jsx Parādīt failu

37
     dataIndex: 'sex',
37
     dataIndex: 'sex',
38
     key: 'sex',
38
     key: 'sex',
39
     align: 'center',
39
     align: 'center',
40
+    render: (text, record) => <a style={ { color: '#66B3FF' } } >{ record.sex === 1 ? '男' : '女' }</a>,
40
   },
41
   },
41
 ];
42
 ];
42
 const header = props => {
43
 const header = props => {

+ 2
- 2
src/pages/channel/brokerList.jsx Parādīt failu

155
 return (
155
 return (
156
   <>
156
   <>
157
     <div className={ channels.searchBox }>
157
     <div className={ channels.searchBox }>
158
-      <div>
158
+      <div style = {{ marginLeft: '-5px' }}>
159
         <span className={ channels.selectName }>姓名</span>
159
         <span className={ channels.selectName }>姓名</span>
160
         <Input onChange = { onInputChangePhone } style ={{ width: 150 }} />
160
         <Input onChange = { onInputChangePhone } style ={{ width: 150 }} />
161
         <span className={ channels.selectName }>电话</span>
161
         <span className={ channels.selectName }>电话</span>
163
       </div>
163
       </div>
164
       <div>
164
       <div>
165
       <Button type="primary" onClick={() => queryList() }>查询</Button>
165
       <Button type="primary" onClick={() => queryList() }>查询</Button>
166
-      <Button onClick={() => refurbishList() }>重置</Button>
166
+      {/* <Button onClick={() => refurbishList() }>重置</Button> */}
167
     </div>
167
     </div>
168
     </div>
168
     </div>
169
     <Table dataSource={data.list} columns={columns} pagination={{ pageSize: 10, total: data.total, onChange }} />
169
     <Table dataSource={data.list} columns={columns} pagination={{ pageSize: 10, total: data.total, onChange }} />

+ 2
- 2
src/pages/channel/channelList.jsx Parādīt failu

168
         </dvi>
168
         </dvi>
169
         <div >
169
         <div >
170
         <Button type="primary" onClick={() => queryList() }>查询</Button>
170
         <Button type="primary" onClick={() => queryList() }>查询</Button>
171
-        <Button onClick={() => reset() }>重置</Button>
171
+        {/* <Button onClick={() => reset() }>重置</Button> */}
172
         </div>
172
         </div>
173
       </div>
173
       </div>
174
-      <Button type="danger" onClick={toAdd}>新增</Button>
174
+      <Button type="danger" onClick={toAdd} className={channels.about} >新增</Button>
175
       <Table dataSource={data.result.records} columns={columns} pagination={{ pageSize: 10, total: data.result.total, onChange }} />
175
       <Table dataSource={data.result.records} columns={columns} pagination={{ pageSize: 10, total: data.result.total, onChange }} />
176
   </>
176
   </>
177
   )
177
   )

+ 7
- 3
src/pages/channel/channelList.less Parādīt failu

32
 .about {
32
 .about {
33
   padding: 0 30px;
33
   padding: 0 30px;
34
   height: 36px;
34
   height: 36px;
35
-  background-color:rgba(255,255,255,1);
36
-  color: #fff;
37
   margin: 30px 0;
35
   margin: 30px 0;
36
+  margin-left:8px;
38
 }
37
 }
39
 
38
 
40
 .selectName {
39
 .selectName {
41
-  font-size: 17px;
40
+  font-size: 14px;
42
   padding: 0 10px;
41
   padding: 0 10px;
43
   height: 36px;
42
   height: 36px;
44
   color: rgb(10, 10, 10);
43
   color: rgb(10, 10, 10);
62
   float: 'left'; 
61
   float: 'left'; 
63
   width: 500
62
   width: 500
64
 }
63
 }
64
+.brokerTable{
65
+  padding: 0 30px;
66
+  height: 36px;
67
+  margin: 30px 0;
68
+}

+ 1
- 0
src/pages/channel/recommendClients.jsx Parādīt failu

70
     dataIndex: 'sex',
70
     dataIndex: 'sex',
71
     key: 'sex',
71
     key: 'sex',
72
     align: 'center',
72
     align: 'center',
73
+    render: (text, record) => <a style={ { color: '#66B3FF' } } >{ record.sex === 1 ? '男' : '女' }</a>,
73
   },
74
   },
74
   {
75
   {
75
     title: '意向项目',
76
     title: '意向项目',

+ 1
- 1
src/pages/customer/independentList/index.jsx Parādīt failu

1
 import React, { useState, useEffect } from 'react';
1
 import React, { useState, useEffect } from 'react';
2
-import { Form, Icon, Input, Button, DatePicker, Select, Card, Row, Col, Pagination, Alert, Table, Avatar, notification } from 'antd';
2
+import { Form, Icon, Input, Button, DatePicker, Select, Card, Row, Col, Pagination, Alert, Table, Avatar, notification, Modal } from 'antd';
3
 import moment from 'moment';
3
 import moment from 'moment';
4
 import request from '../../../utils/request';
4
 import request from '../../../utils/request';
5
 import apis from '../../../services/apis';
5
 import apis from '../../../services/apis';