Browse Source

Merge branch 'v3.5' of http://git.ycjcjy.com/zhiyuxing/estateagents-admin-manager into v3.5

魏熙美 5 years ago
parent
commit
91033c27c7

+ 1
- 1
src/pages/activity/ActivityList.jsx View File

294
       </AuthButton>
294
       </AuthButton>
295
       <Table dataSource={data.list} columns={columns} pagination={false} rowKey="activityList" />
295
       <Table dataSource={data.list} columns={columns} pagination={false} rowKey="activityList" />
296
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
296
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
297
-        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={e => changePageNum(e)} />
297
+        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={e => changePageNum(e)} current={data.current}/>
298
       </div>
298
       </div>
299
     </>
299
     </>
300
   )
300
   )

+ 1
- 1
src/pages/activity/SignList.jsx View File

169
       <Button name="admin.activityDynamicEnlist.export.get" noRight={null} type="primary" style={{ marginLeft: '85%' }} onClick={exportHelp}>导出</Button>
169
       <Button name="admin.activityDynamicEnlist.export.get" noRight={null} type="primary" style={{ marginLeft: '85%' }} onClick={exportHelp}>导出</Button>
170
       <Table dataSource={data.list.data} columns={columns} pagination={false} rowKey="activity"/>
170
       <Table dataSource={data.list.data} columns={columns} pagination={false} rowKey="activity"/>
171
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
171
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
172
-        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} />
172
+        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} current={data.current}/>
173
       </div>
173
       </div>
174
     </>
174
     </>
175
   )
175
   )

+ 3
- 2
src/pages/activity/drainage/Detail.jsx View File

33
   function gettaDrainageRecord (params) {
33
   function gettaDrainageRecord (params) {
34
     request({ ...apis.activity.taDrainageRecord, params: { ...params } }).then((data) => {
34
     request({ ...apis.activity.taDrainageRecord, params: { ...params } }).then((data) => {
35
       // setDatas(data) 
35
       // setDatas(data) 
36
-      console.log(data.total, '3333333333333')
36
+      console.log(data, '3333333333333')
37
       if (data.total != 0) {
37
       if (data.total != 0) {
38
         setTotal(data)
38
         setTotal(data)
39
         // console.log(data.total, '3333333333333')
39
         // console.log(data.total, '3333333333333')
154
         </AuthButton>
154
         </AuthButton>
155
         <Table columns={columns} dataSource={datas} pagination={false} />
155
         <Table columns={columns} dataSource={datas} pagination={false} />
156
         <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
156
         <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
157
-          <Pagination showQuickJumper defaultCurrent={1} total={total.total} onChange={(e) => changePageNum(e)} />
157
+          <Pagination showQuickJumper defaultCurrent={1} total={total.total} onChange={(e) => changePageNum(e)} current={total.current}
158
+/>
158
         </div>
159
         </div>
159
       </div>
160
       </div>
160
 
161
 

+ 1
- 1
src/pages/activity/drainage/DrainageList.jsx View File

343
         </Modal>
343
         </Modal>
344
         <Table columns={columns} dataSource={datas.records} pagination={false} rowKey="drainageList" />
344
         <Table columns={columns} dataSource={datas.records} pagination={false} rowKey="drainageList" />
345
         <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
345
         <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
346
-          <Pagination showQuickJumper defaultCurrent={1} total={datas.total} onChange={(e) => changePageNum(e)} />
346
+          <Pagination showQuickJumper defaultCurrent={1} total={datas.total} onChange={(e) => changePageNum(e)} current={datas.current} />
347
         </div>
347
         </div>
348
       </div>
348
       </div>
349
     </>
349
     </>

+ 1
- 1
src/pages/building/list/index.jsx View File

321
       </Row>
321
       </Row>
322
       {/* 分页 */}
322
       {/* 分页 */}
323
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
323
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
324
-        <Pagination showQuickJumper defaultCurrent={1} total={dataSource.total} onChange={onChange} />
324
+        <Pagination showQuickJumper defaultCurrent={1} total={dataSource.total} onChange={onChange} current={data.current}/>
325
       </div>
325
       </div>
326
     </>
326
     </>
327
   );
327
   );

+ 1
- 1
src/pages/building/type/index.jsx View File

106
       <Table style={{ marginTop: '30px' }} dataSource={data.records} columns={columns} pagination={false} rowKey="buildingType"/>
106
       <Table style={{ marginTop: '30px' }} dataSource={data.records} columns={columns} pagination={false} rowKey="buildingType"/>
107
       {/* 分页 */}
107
       {/* 分页 */}
108
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
108
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
109
-        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={onChange} />
109
+        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={onChange} current={data.current}/>
110
       </div>
110
       </div>
111
     </>
111
     </>
112
   )
112
   )

+ 1
- 1
src/pages/carouselFigure/advertisingList.jsx View File

220
       </AuthButton>
220
       </AuthButton>
221
       <Table dataSource={data.records} columns={columns} pagination={false} rowKey="advertisingList"/>
221
       <Table dataSource={data.records} columns={columns} pagination={false} rowKey="advertisingList"/>
222
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
222
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
223
-        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} />
223
+        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} current={data.current}/>
224
       </div>
224
       </div>
225
     </>
225
     </>
226
   )
226
   )

+ 1
- 1
src/pages/carouselFigure/carouselFigureList.jsx View File

219
       </AuthButton>
219
       </AuthButton>
220
       <Table dataSource={data.records} columns={columns} pagination={false} rowKey="carouseFigureList"/>
220
       <Table dataSource={data.records} columns={columns} pagination={false} rowKey="carouseFigureList"/>
221
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
221
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
222
-        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} />
222
+        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} current={data.current}/>
223
       </div>
223
       </div>
224
     </>
224
     </>
225
   )
225
   )

+ 1
- 1
src/pages/integralMall/GoodsList.jsx View File

201
       </AuthButton>
201
       </AuthButton>
202
       <Table rowKey="goodsList" dataSource={data.records} columns={columns} pagination={false} />
202
       <Table rowKey="goodsList" dataSource={data.records} columns={columns} pagination={false} />
203
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
203
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
204
-        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} />
204
+        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} current={data.current}/>
205
       </div>
205
       </div>
206
     </>
206
     </>
207
   )
207
   )

+ 2
- 2
src/pages/integralMall/achieve.jsx View File

129
         <TabPane tab="平台积分" key="platform">
129
         <TabPane tab="平台积分" key="platform">
130
           <Table rowKey="achieve" style={{ marginTop: '40px' }} dataSource={data.records} columns={columns} pagination={false}/>
130
           <Table rowKey="achieve" style={{ marginTop: '40px' }} dataSource={data.records} columns={columns} pagination={false}/>
131
           <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
131
           <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
132
-            <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} />
132
+            <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} current={data.current}/>
133
           </div>
133
           </div>
134
         </TabPane>
134
         </TabPane>
135
         <TabPane tab="项目积分" key="project">
135
         <TabPane tab="项目积分" key="project">
148
           </Form>
148
           </Form>
149
           <Table rowKey="achie" style={{ marginTop: '40px' }} dataSource={data.records} columns={columns} pagination={false}/>
149
           <Table rowKey="achie" style={{ marginTop: '40px' }} dataSource={data.records} columns={columns} pagination={false}/>
150
           <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
150
           <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
151
-            <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} />
151
+            <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} current={data.current}/>
152
           </div>
152
           </div>
153
         </TabPane>
153
         </TabPane>
154
       </Tabs>,
154
       </Tabs>,

+ 1
- 1
src/pages/integralMall/exchangeRecords.jsx View File

205
       </Form>
205
       </Form>
206
       <Table rowKey="exchangeRecords" style={{marginTop:'40px'}} dataSource={data.records} columns={columns} pagination={false} />
206
       <Table rowKey="exchangeRecords" style={{marginTop:'40px'}} dataSource={data.records} columns={columns} pagination={false} />
207
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
207
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
208
-        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} />
208
+        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} current={data.current}/>
209
       </div>
209
       </div>
210
     </>
210
     </>
211
   )
211
   )

+ 1
- 1
src/pages/integralMall/verifyList.jsx View File

113
       <Button type="primary" className={styles.addBtn} onClick={toBack}>返回</Button>
113
       <Button type="primary" className={styles.addBtn} onClick={toBack}>返回</Button>
114
       <Table rowKey="verifyList" dataSource={data.records} columns={columns} pagination={false} />
114
       <Table rowKey="verifyList" dataSource={data.records} columns={columns} pagination={false} />
115
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
115
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
116
-        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} />
116
+        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} current={data.current}/>
117
       </div>
117
       </div>
118
     </>
118
     </>
119
   )
119
   )

+ 1
- 1
src/pages/news/list/NewsList.jsx View File

319
       </Row>
319
       </Row>
320
       {/* 分页 */}
320
       {/* 分页 */}
321
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
321
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
322
-        <Pagination showQuickJumper defaultCurrent={1} total={dataSource.total} onChange={onChange} />
322
+        <Pagination showQuickJumper defaultCurrent={1} total={dataSource.total} onChange={onChange} current={data.current}/>
323
       </div>
323
       </div>
324
     </>
324
     </>
325
   );
325
   );

+ 1
- 1
src/pages/news/type/NewsType.jsx View File

134
       </AuthButton>
134
       </AuthButton>
135
       <Table rowKey="newsType" dataSource={data.records} columns={columns} pagination={false} />
135
       <Table rowKey="newsType" dataSource={data.records} columns={columns} pagination={false} />
136
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
136
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
137
-        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} />
137
+        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} current={data.current}/>
138
       </div>
138
       </div>
139
     </>
139
     </>
140
   )
140
   )

+ 1
- 1
src/pages/staff/list/StaffList.jsx View File

203
 
203
 
204
       {/* 分页  */}
204
       {/* 分页  */}
205
       <div style={{ display: 'flex', justifyContent: 'flex-end' }}>
205
       <div style={{ display: 'flex', justifyContent: 'flex-end' }}>
206
-        <Pagination showQuickJumper defaultCurrent={1} total={pageTotal} onChange={onChange} />
206
+        <Pagination showQuickJumper defaultCurrent={1} total={pageTotal} onChange={onChange} current={data.current}/>
207
       </div>
207
       </div>
208
     </>
208
     </>
209
   )
209
   )

+ 1
- 1
src/pages/system/housingPolicy.jsx View File

186
       </AuthButton>
186
       </AuthButton>
187
       <Table rowKey="housingPolicy" dataSource={data.records} columns={columns} pagination={false}/>
187
       <Table rowKey="housingPolicy" dataSource={data.records} columns={columns} pagination={false}/>
188
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
188
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
189
-        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} />
189
+        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} current={data.current}/>
190
       </div>
190
       </div>
191
     </>
191
     </>
192
   )
192
   )

+ 1
- 1
src/pages/system/messageList.jsx View File

62
     <>
62
     <>
63
       <Table rowKey="messageList" dataSource={data.records} columns={columns} pagination={false}/>
63
       <Table rowKey="messageList" dataSource={data.records} columns={columns} pagination={false}/>
64
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
64
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
65
-        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} />
65
+        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} current={data.current}/>
66
       </div>
66
       </div>
67
     </>
67
     </>
68
   )
68
   )

+ 1
- 1
src/pages/third/thirdList.jsx View File

93
       </AuthButton>
93
       </AuthButton>
94
       <Table rowKey="messageList" dataSource={data.records} columns={columns} pagination={false}/>
94
       <Table rowKey="messageList" dataSource={data.records} columns={columns} pagination={false}/>
95
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
95
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
96
-        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} />
96
+        <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={changePageNum} current={data.current}/>
97
       </div>
97
       </div>
98
     </>
98
     </>
99
   )
99
   )