diff --git a/components/noData.vue b/components/noData.vue
new file mode 100644
index 0000000..723b001
--- /dev/null
+++ b/components/noData.vue
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
diff --git a/pages.json b/pages.json
index 9e70dc3..47bc8a9 100644
--- a/pages.json
+++ b/pages.json
@@ -54,6 +54,22 @@
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#F5F6F7"
}
+ },
+ {
+ "path": "attendanceStatistics",
+ "style": {
+ "navigationBarTitleText": "考勤统计",
+ "navigationBarBackgroundColor": "#F5F6F7",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "roster",
+ "style": {
+ "navigationBarTitleText": "排班表",
+ "navigationBarBackgroundColor": "#F5F6F7",
+ "navigationStyle": "custom"
+ }
}
]
},
diff --git a/pages/attendanceStatus/attendanceStatistics.vue b/pages/attendanceStatus/attendanceStatistics.vue
new file mode 100644
index 0000000..d69ea14
--- /dev/null
+++ b/pages/attendanceStatus/attendanceStatistics.vue
@@ -0,0 +1,484 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ serviceInfo.SERVERPART_NAME ? serviceInfo.SERVERPART_NAME :
+ '' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 联系人:
+
+ {{ item.userName || "" }}
+
+
+
+
+ 联系电话:
+
+ {{ item.phone || "" }}
+
+
+
+
+
+
+
+
+
+ 当月排班:
+
+ {{ item.scheduleTotal || "" }}
+
+
+
+ 出勤:
+
+ {{ item.attendTotal || "" }}
+
+
+
+ 休息:
+
+ {{ item.restTotal || "" }}
+
+
+
+ 迟到:
+
+ {{ item.lateTotal || "" }}
+
+
+
+ 早退:
+
+ {{ item.earlyTotal || "" }}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/attendanceStatus/emergencyEvents.vue b/pages/attendanceStatus/emergencyEvents.vue
index cae906a..bc01744 100644
--- a/pages/attendanceStatus/emergencyEvents.vue
+++ b/pages/attendanceStatus/emergencyEvents.vue
@@ -5,28 +5,27 @@
- {{ type === 1 ? item.title || "" : type === 2 ? item.service || "" : "" }}
+ {{ type === 1 ? item.title || "" : type === 2 ? item.type || "" : "" }}
-
- {{ item.status === 1 ? '已完成' : item.status ===
- 2 ? '处理中' : '' }}
+ {{ item.state }}
- {{ item.desc || "" }}
+ {{ item.sceneOverview || "" }}
- {{ item.person }}
+ {{ item.userName || item.createUserName }}
@@ -36,12 +35,13 @@
- {{ item.time }}
+ {{ item.createTime }}
-
-
+
+
+
事件片区:
- {{ detailObj.area || "" }}
+ {{ detailObj.belongArea || "" }}
事件概况:
- {{ detailObj.desc || "" }}
+ {{ detailObj.sceneOverview || "" }}
事件损失情况:
- {{ detailObj.lossDesc || "" }}
+ {{ detailObj.lossSituation || "" }}
处理结果:
- {{ detailObj.res || "" }}
+ {{ detailObj.handlingResult || "" }}
事件现场照片:
-
-
-
+
+
+
@@ -93,7 +94,7 @@
事件片区:
- {{ detailObj.area || "" }}
+ {{ detailObj.belongArea || "" }}
-
-
- 3
- 在岗人员
-
-
-
- 4
- 请假人员
-
-
-
-
-
@@ -92,7 +74,7 @@
@@ -103,21 +85,40 @@
+
+
+
+ {{ onDutyPersonList && onDutyPersonList.length > 0 ? onDutyPersonList.length :
+ 0 }}
+
+ 在岗人员
+
+
+ {{ EmployeesOnLeaveList && EmployeesOnLeaveList.length > 0 ?
+ EmployeesOnLeaveList.length : 0 }}
+ 请假人员
+
+
+
+