Your Name 3 år sedan
förälder
incheckning
9b5979d299

+ 4
- 4
src/pages/customer/Customer/PrivateCustomer/CustomerDetail.jsx Visa fil

@@ -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> */}

+ 2
- 2
src/pages/customer/Customer/PublicCustomer/publicCustomerDetail.jsx Visa fil

@@ -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>