diff --git a/src/views/admin/sysUserStaffingTotal/index.vue b/src/views/admin/sysUserStaffingTotal/index.vue
index e6ef366..dac84c7 100644
--- a/src/views/admin/sysUserStaffingTotal/index.vue
+++ b/src/views/admin/sysUserStaffingTotal/index.vue
@@ -14,10 +14,11 @@
-
+
@@ -40,9 +41,9 @@
{{ row.totalPerson }}人
-
+
- {{ row.deptTotalPerson - row.totalPerson }}人
+ {{ row.fillInPerson }}人
@@ -141,7 +142,7 @@ const selectionChangHandle = (objs: { id: string }[]) => {
const getSummaries = (param: any) => {
const { columns, data } = param
- const totalColumns = ["payUserCount", "timeCount", "payCount", "totalPrice", "payUserCountByTable"]
+ const totalColumns = ["deptTotalPerson", "staffingPerson", "noneStaffingPerson", "totalPerson", "fillInPerson"]
const totalRow = Array.from({ length: columns.length })
totalRow[0] = "合计"
columns.forEach((i: any, index: number) => {
@@ -150,13 +151,7 @@ const getSummaries = (param: any) => {
.filter((v: any) => v[i.property] != null)
.map((v: any) => Number(v[i.property]))
.reduce((pren: number, next: number) => pren + next, 0)
- if (i.property.includes("Price")) {
- totalRow[index] = displayPrice(total)
- } else if (i.property == 'payUserCountByTable') {
- totalRow[index] = "";
- } else {
- totalRow[index] = total
- }
+ totalRow[index] = `${total}人`
}
})
return totalRow