dingxin 5 år sedan
förälder
incheckning
6a7f3a0899
1 ändrade filer med 2 tillägg och 10 borttagningar
  1. 2
    10
      src/pages/staff/list/StaffList.jsx

+ 2
- 10
src/pages/staff/list/StaffList.jsx Visa fil

@@ -114,12 +114,8 @@ const header = (props) => {
114 114
   const getList = (params) => {
115 115
     request({ ...apis.staff.taUser, params: { ...params } }).then((data) => {
116 116
       console.log(data, "listData")
117
-<<<<<<< HEAD
118
-      setTempData(data)
119
-=======
120 117
       setData(data)
121 118
       setTempData(data.records)
122
->>>>>>> 07ab51117db15061e9e469cbddcabf3ec412859e
123 119
       setPageTotal(data.total)
124 120
     })
125 121
   }
@@ -209,16 +205,12 @@ const header = (props) => {
209 205
       </Row>
210 206
 
211 207
       {/* 分页  */}
212
-      <div style={{ display: 'flex', justifyContent: 'flex-end' }}>
213
-<<<<<<< HEAD
214
-        <Pagination showQuickJumper defaultCurrent={1} total={pageTotal} onChange={onChange} current={tempData.current}/>
215
-=======
208
+      <div style={{ display: 'flex', justifyContent: 'flex-end' }}>     
216 209
         <Pagination showQuickJumper defaultCurrent={1} pageSize={8} total={pageTotal} onChange={onChange} current={data.current}/>
217
->>>>>>> 07ab51117db15061e9e469cbddcabf3ec412859e
218 210
       </div>
219 211
     </>
220 212
   )
221 213
 }
222 214
 const WrappedHeader = Form.create({ name: 'header' })(header);
223 215
 
224
-export default WrappedHeader
216
+export default WrappedHeader