Selaa lähdekoodia

Merge branch 'master' of http://git.ycjcjy.com/marketing/pc-admin into master

zlisen 3 vuotta sitten
vanhempi
commit
4ab3192c21

+ 2
- 2
config/proxy.js Näytä tiedosto

@@ -8,9 +8,9 @@
8 8
 export default {
9 9
   dev: {
10 10
     '/api/': {
11
-      target: 'https://xlk.njyz.tech/',
11
+      // target: 'https://xlk.njyz.tech/',
12 12
       // target: 'http://localhost:8081/',
13
-      // target: 'https://xlj.newlandsh.com/',
13
+      target: 'https://xlj.newlandsh.com/',
14 14
       changeOrigin: true,
15 15
       pathRewrite: {
16 16
         '^': '',

+ 4
- 4
src/pages/customer/Customer/PrivateCustomer/CustomerDetail.jsx Näytä tiedosto

@@ -132,8 +132,8 @@ function CustomerDetail(props) {
132 132
       render: (_, record) => <span>{record.intention}</span>,
133 133
     },
134 134
   ];
135
- const  {customerInfo={},taRecommendCustomer={},realtyConsultantPerson={},taUser={},taBuildingList=[],personIntentions=[],personVisitRecords=[]} = data
136
- const records =buildingIdValue?personVisitRecords?.filter(x=>x.buildingId===buildingIdValue):personVisitRecords
135
+  const {customerInfo={},taRecommendCustomer={},realtyConsultantPerson={},taUser={},taBuildingList=[],personIntentions=[],personVisitRecords=[]} = data
136
+  const records =buildingIdValue?personVisitRecords?.filter(x=>x.buildingId===buildingIdValue):personVisitRecords
137 137
 
138 138
   return (
139 139
     <>
@@ -230,10 +230,10 @@ function CustomerDetail(props) {
230 230
             bordered={false}
231 231
             columnWidth={10}
232 232
             columns={intention}
233
-            dataSource={personIntentions}
233
+            // dataSource={personIntentions}
234 234
             pagination={false}
235 235
             key='personId'
236
-            scroll={personIntentions?.length >= 3 ? { y: 240 } : false}
236
+            // scroll={personIntentions?.length >= 3 ? { y: 240 } : false}
237 237
             width={500}
238 238
           />
239 239
           {/* </div> */}

+ 1
- 1
src/pages/customer/Customer/PrivateCustomer/index.jsx Näytä tiedosto

@@ -6,7 +6,7 @@ import apis from '@/services/apis';
6 6
 import request from '@/utils/request';
7 7
 import withActions from '@/components/ActionList';
8 8
 import AuthButton from '@/components/AuthButton';
9
-import Styles from '../style.less';
9
+
10 10
 import ChangeStatus from './components/ChangeStatus';
11 11
 import Attribution from './components/Attribution';
12 12
 import IntegralRecord from './components/IntegralRecord';

+ 1
- 1
src/pages/customer/Customer/PublicCustomer/AssistConsultant/AssistConsultant.jsx Näytä tiedosto

@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
2 2
 import { Table, Modal, notification } from 'antd';
3 3
 import request from '@/utils/request';
4 4
 import apis from '@/services/apis';
5
-import BuildSelect from '../../../../../components/SelectButton/BuildSelect';
5
+import BuildSelect from '@/components/SelectButton/BuildSelect';
6 6
 
7 7
 /**
8 8
  * 分配置业顾问

+ 3
- 3
src/pages/customer/Customer/PublicCustomer/AssistConsultant/BatchAssistConsultant.jsx Näytä tiedosto

@@ -1,10 +1,10 @@
1 1
 import React, { useState, useEffect } from 'react';
2 2
 import { Form, Icon, Input, Button, DatePicker, Select, Card, Row, Col, Pagination, Alert, Table, Avatar, Radio, Modal, Descriptions, notification } from 'antd';
3 3
 import moment from 'moment';
4
-import request from '../../../../utils/request';
5
-import apis from '../../../../services/apis';
4
+import request from '@/utils/request';
5
+import apis from '@/services/apis';
6 6
 import Styles from '../style.less';
7
-import BuildSelect from '../../../../components/SelectButton/BuildSelect'
7
+import BuildSelect from '@/components/SelectButton/BuildSelect'
8 8
 
9 9
 
10 10
 const { Option } = Select;

+ 1
- 1
src/pages/customer/Customer/PublicCustomer/components/AssistConsultant.jsx Näytä tiedosto

@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
2 2
 import { Table, Modal, notification,Button } from 'antd';
3 3
 import request from '@/utils/request';
4 4
 import apis from '@/services/apis';
5
-import BuildSelect from '../../../../../components/SelectButton/BuildSelect';
5
+import BuildSelect from '@/components/SelectButton/BuildSelect';
6 6
 
7 7
 /**
8 8
  * 分配置业顾问

+ 1
- 1
src/pages/customer/Customer/PublicCustomer/index.jsx Näytä tiedosto

@@ -6,7 +6,7 @@ import apis from '@/services/apis';
6 6
 import request from '@/utils/request';
7 7
 import withActions from '@/components/ActionList';
8 8
 import AuthButton from '@/components/AuthButton';
9
-import Styles from '../style.less';
9
+
10 10
 import IntegralRecord from './components/IntegralRecord';
11 11
 import Recommend from './components/Recommend';
12 12
 import AssistConsultant from './components/assistConsultant';

+ 5
- 5
src/pages/customer/Customer/PublicCustomer/publicCustomerDetail.jsx Näytä tiedosto

@@ -26,7 +26,7 @@ function header(props) {
26 26
   // eslint-disable-next-line react-hooks/rules-of-hooks
27 27
   useEffect(() => {
28 28
     getById();
29
-    toLoadIntention();
29
+    // toLoadIntention();
30 30
   }, []);
31 31
 
32 32
   function toLoadIntention() {
@@ -134,8 +134,8 @@ function header(props) {
134 134
     },
135 135
   ];
136 136
 
137
-  const  {customerInfo={},taRecommendCustomer={},realtyConsultantPerson={},taBuildingList=[],personIntentions=[],personVisitRecords=[]} = data
138
- const records =buildingIdValue?personVisitRecords?.filter(x=>x.buildingId===buildingIdValue):personVisitRecords
137
+  const {customerInfo={},taRecommendCustomer={},realtyConsultantPerson={},taBuildingList=[],personIntentions=[],personVisitRecords=[]} = data
138
+  const records =buildingIdValue?personVisitRecords?.filter(x=>x.buildingId===buildingIdValue):personVisitRecords
139 139
   return (
140 140
     <>
141 141
       <div style={{ textAlign: 'right', marginBottom: '16px' }}>
@@ -204,10 +204,10 @@ function header(props) {
204 204
              bordered={false}
205 205
              columnWidth={10}
206 206
              columns={intention}
207
-             dataSource={personIntentions}
207
+            //  dataSource={personIntentions}
208 208
              pagination={false}
209 209
              key='personId'
210
-             scroll={personIntentions?.length >= 3 ? { y: 240 } : false}
210
+            //  scroll={personIntentions?.length >= 3 ? { y: 240 } : false}
211 211
     
212 212
             />
213 213
           </div>

+ 4
- 11
src/pages/customer/Customer/PublicCustomer/publicStyle.less Näytä tiedosto

@@ -24,8 +24,7 @@
24 24
   align-items: center;
25 25
   position: relative;
26 26
   line-height: 1.5;
27
-  font-size: 0.106rem;
28
-  margin-bottom: 0.08rem;
27
+  margin-bottom: 8px;
29 28
 
30 29
 }
31 30
 .cardItem{
@@ -33,11 +32,9 @@
33 32
   display: flex;
34 33
   align-items: center; 
35 34
   line-height: 1.5;
36
-  font-size: 0.106rem;
37
-  margin-bottom: 0.08rem; 
35
+  margin-bottom: 8px; 
38 36
 }
39 37
 .ediText {
40
-  font-size: 0.106rem;
41 38
   color: #ff925c;
42 39
   line-height: 24px;
43 40
   position: absolute;
@@ -45,7 +42,7 @@
45 42
 }
46 43
 .title{
47 44
   display: inline-block;
48
-  width:  0.54rem;
45
+  width:  54px;
49 46
   justify-content: space-between;
50 47
   text-align: justify;
51 48
   text-align-last:justify
@@ -136,7 +133,7 @@
136 133
     position: relative;
137 134
   }
138 135
   .tit{
139
-    font-size:0.15rem;
136
+    font-size: 1.5em;
140 137
     font-weight:600;
141 138
     color:#222;
142 139
     margin: 10px 0 0 0;
@@ -149,13 +146,11 @@
149 146
   }
150 147
   .infoItem{
151 148
     color:#666;
152
-    font-size: 0.1rem;
153 149
     margin: 0 0 10px 0;
154 150
     
155 151
   }
156 152
   .rightItem{
157 153
     color:#666;
158
-    font-size: 0.1rem;
159 154
     margin: 0 0 15px 0;
160 155
   }
161 156
   .right{
@@ -180,7 +175,6 @@
180 175
     left:50%;
181 176
     margin: 0 0 15px 0;
182 177
     color:#666;
183
-    font-size: 0.1rem;
184 178
   }
185 179
 
186 180
   .rightCentered{
@@ -189,7 +183,6 @@
189 183
     left:55%;
190 184
     margin: 0 0 15px 0;
191 185
     color:#666;
192
-    font-size: 0.1rem;
193 186
   }
194 187
   
195 188
 }

+ 22
- 49
src/pages/customer/Customer/style.less Näytä tiedosto

@@ -120,7 +120,7 @@
120 120
   position: relative;
121 121
 }
122 122
 .tit{
123
-  font-size:0.15rem;
123
+  font-size: 1.5em;
124 124
   font-weight:600;
125 125
   color:#222;
126 126
   margin: 10px 0 0 0;
@@ -142,24 +142,19 @@
142 142
 }
143 143
 .infoItem{
144 144
   color:#666;
145
-  font-size: 0.1rem;
146 145
   margin: 0 0 30px 0;
147 146
   
148 147
 }
149 148
 .rightItem{
150 149
   color:#666;
151
-  font-size: 0.1rem;
152 150
   margin: 0 0 15px 0;
153 151
   display: flex;
154 152
 }
155 153
 .right{
156 154
   width: 25%;
157
-  min-width: 1.3rem;
158
-  margin-left: 0.1rem;
159
-  padding-top: 0.3rem;
160
-  // position: absolute;
161
-  // top:108px;
162
-  // left:170px;
155
+  min-width: 130px;
156
+  margin-left: 10px;
157
+  padding-top: 30px;
163 158
 }
164 159
 .rightphone{
165 160
 
@@ -175,37 +170,25 @@
175 170
 }
176 171
 .rightInfo{
177 172
   width: 28%;
178
-  min-width: 1.3rem;
179
-  margin-right: 0.1rem;
180
-  padding-top: 0.3rem;
181
-  // position: absolute;
182
-  // top:108px;
183
-  // left:80%;
173
+  min-width: 130px;
174
+  margin-right: 10px;
175
+  padding-top: 30px;
184 176
 }
185 177
 
186 178
 .Centered{
187 179
   width: 28%;
188
-  // position: absolute;
189
-  // top:108px;
190
-  // left:30%;
191
-  min-width: 1.3rem;
180
+  min-width: 130px;
192 181
   margin: 0 0 15px 0;
193 182
   color:#666;
194
-  font-size: 0.1rem;
195
-  padding-top: 0.3rem;
183
+  padding-top: 30px;
196 184
 }
197 185
 
198 186
 .rightCentered{
199
-  // position: absolute;
200
-  // top:108px;
201
-  // left:55%;
202 187
   flex: 1;
203
-  // width: 25%;
204
-  min-width: 1.3rem;
188
+  min-width: 130px;
205 189
   margin: 0 0 15px 0;
206
-  padding-top: 0.3rem;
190
+  padding-top: 30px;
207 191
   color:#666;
208
-  font-size: 0.1rem;
209 192
 }
210 193
 
211 194
 
@@ -260,7 +243,7 @@
260 243
     position: relative;
261 244
   }
262 245
   .tit{
263
-    // font-size:0.15rem;
246
+    font-size: 1.5em;
264 247
     font-weight:600;
265 248
     color:#222;
266 249
     margin: 10px 0 0 0;
@@ -282,21 +265,19 @@
282 265
   }
283 266
   .infoItem{
284 267
     color:#666;
285
-    // font-size: 0.1rem;
286 268
     margin: 0 0 30px 0;
287 269
     
288 270
   }
289 271
   .rightItem{
290 272
     color:#666;
291
-    // font-size: 0.1rem;
292 273
     margin: 0 0 15px 0;
293 274
     display: flex;
294 275
   }
295 276
   .right{
296 277
     width: 25%;
297
-    min-width: 1.3rem;
298
-    margin-left: 0.1rem;
299
-    padding-top: 0.3rem;
278
+    min-width: 130px;
279
+    margin-left: 10px;
280
+    padding-top: 30px;
300 281
     // position: absolute;
301 282
     // top:108px;
302 283
     // left:170px;
@@ -315,12 +296,9 @@
315 296
   }
316 297
   .rightInfo{
317 298
     width: 25%;
318
-    min-width: 1.3rem;
319
-    margin-right: 0.1rem;
320
-    padding-top: 0.3rem;
321
-    // position: absolute;
322
-    // top:108px;
323
-    // left:80%;
299
+    min-width: 130px;
300
+    margin-right: 10px;
301
+    padding-top: 30px;
324 302
   }
325 303
 
326 304
   .Centered{
@@ -328,23 +306,18 @@
328 306
     // position: absolute;
329 307
     // top:108px;
330 308
     // left:30%;
331
-    min-width: 1.3rem;
309
+    min-width: 130px;
332 310
     margin: 0 0 15px 0;
333 311
     color:#666;
334
-    // font-size: 0.1rem;
335
-    padding-top: 0.3rem;
312
+    padding-top: 30px;
336 313
   }
337 314
 
338 315
   .rightCentered{
339
-    // position: absolute;
340
-    // top:108px;
341
-    // left:55%;
342 316
     width: 25%;
343
-    min-width: 1.3rem;
317
+    min-width: 130px;
344 318
     margin: 0 0 15px 0;
345
-    padding-top: 0.3rem;
319
+    padding-top: 30px;
346 320
     color:#666;
347
-    // font-size: 0.1rem;
348 321
   }
349 322
   
350 323
 }