瀏覽代碼

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

魏熙美 5 年之前
父節點
當前提交
91033c27c7

+ 1
- 1
src/pages/activity/ActivityList.jsx 查看文件

@@ -294,7 +294,7 @@ const header = props => {
294 294
       </AuthButton>
295 295
       <Table dataSource={data.list} columns={columns} pagination={false} rowKey="activityList" />
296 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 298
       </div>
299 299
     </>
300 300
   )

+ 1
- 1
src/pages/activity/SignList.jsx 查看文件

@@ -169,7 +169,7 @@ const handleSubmit = (e, props) => {
169 169
       <Button name="admin.activityDynamicEnlist.export.get" noRight={null} type="primary" style={{ marginLeft: '85%' }} onClick={exportHelp}>导出</Button>
170 170
       <Table dataSource={data.list.data} columns={columns} pagination={false} rowKey="activity"/>
171 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 173
       </div>
174 174
     </>
175 175
   )

+ 3
- 2
src/pages/activity/drainage/Detail.jsx 查看文件

@@ -33,7 +33,7 @@ const header = (props) => {
33 33
   function gettaDrainageRecord (params) {
34 34
     request({ ...apis.activity.taDrainageRecord, params: { ...params } }).then((data) => {
35 35
       // setDatas(data) 
36
-      console.log(data.total, '3333333333333')
36
+      console.log(data, '3333333333333')
37 37
       if (data.total != 0) {
38 38
         setTotal(data)
39 39
         // console.log(data.total, '3333333333333')
@@ -154,7 +154,8 @@ const header = (props) => {
154 154
         </AuthButton>
155 155
         <Table columns={columns} dataSource={datas} pagination={false} />
156 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 159
         </div>
159 160
       </div>
160 161
 

+ 1
- 1
src/pages/activity/drainage/DrainageList.jsx 查看文件

@@ -343,7 +343,7 @@ const header = (props) => {
343 343
         </Modal>
344 344
         <Table columns={columns} dataSource={datas.records} pagination={false} rowKey="drainageList" />
345 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 347
         </div>
348 348
       </div>
349 349
     </>

+ 1
- 1
src/pages/building/list/index.jsx 查看文件

@@ -321,7 +321,7 @@ function body(props) {
321 321
       </Row>
322 322
       {/* 分页 */}
323 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 325
       </div>
326 326
     </>
327 327
   );

+ 1
- 1
src/pages/building/type/index.jsx 查看文件

@@ -106,7 +106,7 @@ function body() {
106 106
       <Table style={{ marginTop: '30px' }} dataSource={data.records} columns={columns} pagination={false} rowKey="buildingType"/>
107 107
       {/* 分页 */}
108 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 110
       </div>
111 111
     </>
112 112
   )

+ 1
- 1
src/pages/carouselFigure/advertisingList.jsx 查看文件

@@ -220,7 +220,7 @@ const handleSubmit = (e, props) => {
220 220
       </AuthButton>
221 221
       <Table dataSource={data.records} columns={columns} pagination={false} rowKey="advertisingList"/>
222 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 224
       </div>
225 225
     </>
226 226
   )

+ 1
- 1
src/pages/carouselFigure/carouselFigureList.jsx 查看文件

@@ -219,7 +219,7 @@ const handleSubmit = (e, props) => {
219 219
       </AuthButton>
220 220
       <Table dataSource={data.records} columns={columns} pagination={false} rowKey="carouseFigureList"/>
221 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 223
       </div>
224 224
     </>
225 225
   )

+ 1
- 1
src/pages/integralMall/GoodsList.jsx 查看文件

@@ -201,7 +201,7 @@ function header(props) {
201 201
       </AuthButton>
202 202
       <Table rowKey="goodsList" dataSource={data.records} columns={columns} pagination={false} />
203 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 205
       </div>
206 206
     </>
207 207
   )

+ 2
- 2
src/pages/integralMall/achieve.jsx 查看文件

@@ -129,7 +129,7 @@ const columns = [
129 129
         <TabPane tab="平台积分" key="platform">
130 130
           <Table rowKey="achieve" style={{ marginTop: '40px' }} dataSource={data.records} columns={columns} pagination={false}/>
131 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 133
           </div>
134 134
         </TabPane>
135 135
         <TabPane tab="项目积分" key="project">
@@ -148,7 +148,7 @@ const columns = [
148 148
           </Form>
149 149
           <Table rowKey="achie" style={{ marginTop: '40px' }} dataSource={data.records} columns={columns} pagination={false}/>
150 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 152
           </div>
153 153
         </TabPane>
154 154
       </Tabs>,

+ 1
- 1
src/pages/integralMall/exchangeRecords.jsx 查看文件

@@ -205,7 +205,7 @@ function record(props) {
205 205
       </Form>
206 206
       <Table rowKey="exchangeRecords" style={{marginTop:'40px'}} dataSource={data.records} columns={columns} pagination={false} />
207 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 209
       </div>
210 210
     </>
211 211
   )

+ 1
- 1
src/pages/integralMall/verifyList.jsx 查看文件

@@ -113,7 +113,7 @@ const header = (props) => {
113 113
       <Button type="primary" className={styles.addBtn} onClick={toBack}>返回</Button>
114 114
       <Table rowKey="verifyList" dataSource={data.records} columns={columns} pagination={false} />
115 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 117
       </div>
118 118
     </>
119 119
   )

+ 1
- 1
src/pages/news/list/NewsList.jsx 查看文件

@@ -319,7 +319,7 @@ function body(props) {
319 319
       </Row>
320 320
       {/* 分页 */}
321 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 323
       </div>
324 324
     </>
325 325
   );

+ 1
- 1
src/pages/news/type/NewsType.jsx 查看文件

@@ -134,7 +134,7 @@ function header(props) {
134 134
       </AuthButton>
135 135
       <Table rowKey="newsType" dataSource={data.records} columns={columns} pagination={false} />
136 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 138
       </div>
139 139
     </>
140 140
   )

+ 1
- 1
src/pages/staff/list/StaffList.jsx 查看文件

@@ -203,7 +203,7 @@ const header = (props) => {
203 203
 
204 204
       {/* 分页  */}
205 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 207
       </div>
208 208
     </>
209 209
   )

+ 1
- 1
src/pages/system/housingPolicy.jsx 查看文件

@@ -186,7 +186,7 @@ const handleSubmit = (e, props) => {
186 186
       </AuthButton>
187 187
       <Table rowKey="housingPolicy" dataSource={data.records} columns={columns} pagination={false}/>
188 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 190
       </div>
191 191
     </>
192 192
   )

+ 1
- 1
src/pages/system/messageList.jsx 查看文件

@@ -62,7 +62,7 @@ const header = (props) => {
62 62
     <>
63 63
       <Table rowKey="messageList" dataSource={data.records} columns={columns} pagination={false}/>
64 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 66
       </div>
67 67
     </>
68 68
   )

+ 1
- 1
src/pages/third/thirdList.jsx 查看文件

@@ -93,7 +93,7 @@ const header = (props) => {
93 93
       </AuthButton>
94 94
       <Table rowKey="messageList" dataSource={data.records} columns={columns} pagination={false}/>
95 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 97
       </div>
98 98
     </>
99 99
   )