傅行帆 5 år sedan
förälder
incheckning
4a0f8fb00d

+ 5
- 5
src/pages/activity/ActivityList.jsx Visa fil

@@ -347,11 +347,11 @@ const header = props => {
347 347
         <Button type="danger" className={styles.addBtn} onClick={toEditGoods()}>新增</Button>
348 348
       </AuthButton>
349 349
       <Table
350
-        onRow={record => {
351
-          return {
352
-            onClick: getActivityDetail(record.dynamicId),
353
-          };
354
-        }}
350
+        // onRow={record => {
351
+        //   return {
352
+        //     onClick: getActivityDetail(record.dynamicId),
353
+        //   };
354
+        // }}
355 355
        dataSource={data.list} columns={columns} pagination={false} rowKey="activityList" />
356 356
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
357 357
         <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={e => changePageNum(e)} current={data.current}/>

+ 5
- 5
src/pages/activity/drainage/DrainageList.jsx Visa fil

@@ -523,11 +523,11 @@ const header = (props) => {
523 523
           <Formss formsDate={formsdate} />
524 524
         </Modal>
525 525
         <Table 
526
-        onRow={record => {
527
-          return {
528
-            onClick: toDrainageDetail(record.drainageId),
529
-          };
530
-        }}
526
+        // onRow={record => {
527
+        //   return {
528
+        //     onClick: toDrainageDetail(record.drainageId),
529
+        //   };
530
+        // }}
531 531
         columns={columns} dataSource={datas.records} pagination={false} rowKey="drainageList" />
532 532
         <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
533 533
           <Pagination showQuickJumper defaultCurrent={1} total={datas.total} onChange={(e) => changePageNum(e)} current={datas.current} />

+ 6
- 5
src/pages/activity/groupActivity/list.jsx Visa fil

@@ -314,11 +314,12 @@ const header = props => {
314 314
       <AuthButton name="admin.taShareActivity.post" noRight={null}>
315 315
         <Button type="danger" className={styles.addBtn} onClick={toEditActivity()}>新增</Button>
316 316
       </AuthButton>
317
-      <Table onRow={record => {
318
-          return {
319
-            onClick: getActivityDetail(record.groupActivityId),
320
-          };
321
-        }}
317
+      <Table 
318
+      // onRow={record => {
319
+      //     return {
320
+      //       onClick: getActivityDetail(record.groupActivityId),
321
+      //     };
322
+      //   }}
322 323
         style={{marginTop:'30px'}} dataSource={data.records} columns={columns} pagination={false} rowKey="activityList" />
323 324
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
324 325
         <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} current={data.current} />

+ 5
- 5
src/pages/activity/helpActivity/list.jsx Visa fil

@@ -309,11 +309,11 @@ const handleSubmit = (e, props) => {
309 309
         <Button name="admin.helpActivity.add.post" noRight={null} type="danger" className={styles.addBtn} onClick={toEditGoods()}>新增</Button>
310 310
       </AuthButton>
311 311
       <Table 
312
-        onRow={record => {
313
-          return {
314
-            onClick: getActivityDetail(record.helpActivityId),
315
-          };
316
-        }}
312
+        // onRow={record => {
313
+        //   return {
314
+        //     onClick: getActivityDetail(record.helpActivityId),
315
+        //   };
316
+        // }}
317 317
       dataSource={data.records} columns={columns} pagination={false} rowKey="activityList"/>
318 318
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
319 319
         <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} current={data.current}/>

+ 11
- 10
src/pages/customer/customerlist/index.jsx Visa fil

@@ -449,18 +449,19 @@ function body(props) {
449 449
           </Radio.Group>
450 450
       </div>
451 451
       {customerType === 'private' ? 
452
-        <Table onRow={record => {
453
-          return {
454
-            onClick: () => toCustomerDateil(record),
455
-          };
456
-        }}
452
+        <Table 
453
+        // onRow={record => {
454
+        //   return {
455
+        //     onClick: () => toCustomerDateil(record),
456
+        //   };
457
+        // }}
457 458
         dataSource={dataSource.records} columns={privateColumns} pagination={{ total: dataSource.total, onChange }} rowKey="customerList" /> :
458 459
         <Table 
459
-        onRow={record => {
460
-          return {
461
-            onClick: () => publicCustomerDetail(record),
462
-          };
463
-        }}
460
+        // onRow={record => {
461
+        //   return {
462
+        //     onClick: () => publicCustomerDetail(record),
463
+        //   };
464
+        // }}
464 465
         dataSource={dataSource.records} columns={publicColumns} pagination={{ total: dataSource.total, onChange }} rowKey="customerList" /> 
465 466
       }
466 467