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

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

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

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

@@ -155,7 +155,7 @@ const header = props => {
155 155
 return (
156 156
   <>
157 157
     <div className={ channels.searchBox }>
158
-      <div>
158
+      <div style = {{ marginLeft: '-5px' }}>
159 159
         <span className={ channels.selectName }>姓名</span>
160 160
         <Input onChange = { onInputChangePhone } style ={{ width: 150 }} />
161 161
         <span className={ channels.selectName }>电话</span>
@@ -163,7 +163,7 @@ return (
163 163
       </div>
164 164
       <div>
165 165
       <Button type="primary" onClick={() => queryList() }>查询</Button>
166
-      <Button onClick={() => refurbishList() }>重置</Button>
166
+      {/* <Button onClick={() => refurbishList() }>重置</Button> */}
167 167
     </div>
168 168
     </div>
169 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,10 +168,10 @@ const header = props => {
168 168
         </dvi>
169 169
         <div >
170 170
         <Button type="primary" onClick={() => queryList() }>查询</Button>
171
-        <Button onClick={() => reset() }>重置</Button>
171
+        {/* <Button onClick={() => reset() }>重置</Button> */}
172 172
         </div>
173 173
       </div>
174
-      <Button type="danger" onClick={toAdd}>新增</Button>
174
+      <Button type="danger" onClick={toAdd} className={channels.about} >新增</Button>
175 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,13 +32,12 @@
32 32
 .about {
33 33
   padding: 0 30px;
34 34
   height: 36px;
35
-  background-color:rgba(255,255,255,1);
36
-  color: #fff;
37 35
   margin: 30px 0;
36
+  margin-left:8px;
38 37
 }
39 38
 
40 39
 .selectName {
41
-  font-size: 17px;
40
+  font-size: 14px;
42 41
   padding: 0 10px;
43 42
   height: 36px;
44 43
   color: rgb(10, 10, 10);
@@ -62,3 +61,8 @@
62 61
   float: 'left'; 
63 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,6 +70,7 @@ const columns = [
70 70
     dataIndex: 'sex',
71 71
     key: 'sex',
72 72
     align: 'center',
73
+    render: (text, record) => <a style={ { color: '#66B3FF' } } >{ record.sex === 1 ? '男' : '女' }</a>,
73 74
   },
74 75
   {
75 76
     title: '意向项目',

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

@@ -1,5 +1,5 @@
1 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 3
 import moment from 'moment';
4 4
 import request from '../../../utils/request';
5 5
 import apis from '../../../services/apis';