魏熙美 5 anni fa
parent
commit
f49f6e08e6

+ 1
- 1
src/components/SelectButton/BuildSelect.jsx Vedi File

@@ -37,7 +37,7 @@ const BuildingSelect = (props) => {
37 37
   },[])
38 38
 
39 39
   const getCityList = (e) => {
40
-    request({ ...apis.building.buildingSelect, params: {pageNum: 1,pageSize: 999}, }).then((data) => {
40
+    request({ ...apis.building.getList, params: {pageNum: 1,pageSize: 999}, }).then((data) => {
41 41
         setData(data.records)
42 42
         // 默认选中第一个
43 43
         if (props.checkFirst) {

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

@@ -65,7 +65,7 @@ const CartBody = (props) => {
65 65
 
66 66
     <Card className={Styles.card}>
67 67
       <div>
68
-        <Avatar src={data.avatar} style={{ width: '0.48rem', height: '0.48rem' }} />
68
+        <Avatar src={data.photo} style={{ width: '0.48rem', height: '0.48rem' }} />
69 69
         <Button type="link" style={{color: '#FF925C', fontSize: '0.106rem',position: 'absolute', top: '40px', left: '0.56rem' }} onClick={toEditStaff(data.userId)}>
70 70
           编辑
71 71
                 <Icon type="form" style={{ color: '#C0C4CC', marginLeft: '0.04rem' }} />