chenc 4 years ago
parent
commit
93dbb964e2
2 changed files with 11 additions and 11 deletions
  1. 9 9
      js/service/person.js
  2. 2 2
      pages/dashboard/warehouse.html

+ 9 - 9
js/service/person.js

@@ -46,15 +46,15 @@ var ServicePerson={
             className:"A班",
             avatar:"/images/avatar/avata_4.jpg"
         });
-        personList.push({
-            realName:"里斯",
-            inTime:"09:14",
-            warehouseId:"0001",
-            warehouseName:"A仓库",
-            classId:"0001",
-            className:"A班",
-            avatar:"/images/avatar/avata_5.jpg"
-        });
+        // personList.push({
+        //     realName:"里斯",
+        //     inTime:"09:14",
+        //     warehouseId:"0001",
+        //     warehouseName:"A仓库",
+        //     classId:"0001",
+        //     className:"A班",
+        //     avatar:"/images/avatar/avata_5.jpg"
+        // });
         return personList;
     },
     // 人员月出勤率,考勤人数,总人数

+ 2 - 2
pages/dashboard/warehouse.html

@@ -52,7 +52,7 @@
                     </div>
                 </div>
                 <div class="row"  style="height: 20%;">
-                    <div class="person-div" v-for="user in userList">
+                    <div class="person-div" v-for="user in userList" style="padding: 0px 30px;">
                         <div>
                             <img v-bind:src="user.avatar" border="0" />
                         </div>
@@ -611,7 +611,7 @@
                     this.userSum = userList.length;
                     this.cacheDataObject.userList = {
                         data: userList,
-                        pagesize: 5,
+                        pagesize: 4,
                         pageindex: 0
                     }
                     this.userList = userList.slice(0, this.cacheDataObject.userList.pagesize);