diff --git a/src/views/health/HealthDiseases/index.vue b/src/views/health/HealthDiseases/index.vue
index e9fe545..659b56a 100644
--- a/src/views/health/HealthDiseases/index.vue
+++ b/src/views/health/HealthDiseases/index.vue
@@ -33,6 +33,7 @@
+
@@ -52,7 +53,14 @@
-
+
@@ -213,6 +221,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/health/activity/index.vue b/src/views/health/activity/index.vue
index eae01c5..79b18a9 100644
--- a/src/views/health/activity/index.vue
+++ b/src/views/health/activity/index.vue
@@ -32,6 +32,7 @@
+
@@ -59,7 +60,14 @@
-
+
@@ -244,6 +252,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/health/doctorRecord/index.vue b/src/views/health/doctorRecord/index.vue
index 71c9130..c709db0 100644
--- a/src/views/health/doctorRecord/index.vue
+++ b/src/views/health/doctorRecord/index.vue
@@ -48,6 +48,7 @@
+
@@ -72,7 +73,14 @@
-
+
@@ -214,6 +222,7 @@
+
@@ -794,6 +803,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/health/healthRecord/index.vue b/src/views/health/healthRecord/index.vue
index 6b35adb..4430cea 100644
--- a/src/views/health/healthRecord/index.vue
+++ b/src/views/health/healthRecord/index.vue
@@ -47,6 +47,7 @@
+
@@ -80,7 +81,14 @@
-
+
@@ -469,6 +477,18 @@ const handleCurrentChange = (val) => {
queryParams.value.pageNum = val
getList()
}
+
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
// 分页
const handleTempCurrentChange = (val) => {
queryTemperatureRecordParams.value.pageNum = val
diff --git a/src/views/health/healthTags/index.vue b/src/views/health/healthTags/index.vue
index cf52ff5..ec7224e 100644
--- a/src/views/health/healthTags/index.vue
+++ b/src/views/health/healthTags/index.vue
@@ -29,8 +29,9 @@
-
+
+
@@ -44,7 +45,14 @@
-
+
@@ -177,6 +185,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/health/heightWeightRecord/index.vue b/src/views/health/heightWeightRecord/index.vue
index 18f4300..4c126ba 100644
--- a/src/views/health/heightWeightRecord/index.vue
+++ b/src/views/health/heightWeightRecord/index.vue
@@ -29,6 +29,7 @@
+
@@ -44,7 +45,14 @@
-
+
@@ -218,6 +226,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/health/marRecord/index.vue b/src/views/health/marRecord/index.vue
index 4fa8e29..26eae32 100644
--- a/src/views/health/marRecord/index.vue
+++ b/src/views/health/marRecord/index.vue
@@ -54,6 +54,7 @@
+
@@ -89,7 +90,14 @@
-
+
@@ -377,6 +385,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/health/medicineBasic/index.vue b/src/views/health/medicineBasic/index.vue
index 6c613fc..82c2ca3 100644
--- a/src/views/health/medicineBasic/index.vue
+++ b/src/views/health/medicineBasic/index.vue
@@ -53,6 +53,7 @@
+
@@ -89,7 +90,14 @@
-
+
@@ -362,6 +370,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/health/medicineStock/index.vue b/src/views/health/medicineStock/index.vue
index 038a050..f1a8536 100644
--- a/src/views/health/medicineStock/index.vue
+++ b/src/views/health/medicineStock/index.vue
@@ -20,6 +20,7 @@
+
@@ -29,7 +30,14 @@
-
+
@@ -113,6 +121,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/health/medicineStockIn/index.vue b/src/views/health/medicineStockIn/index.vue
index 136c292..1b0fa4b 100644
--- a/src/views/health/medicineStockIn/index.vue
+++ b/src/views/health/medicineStockIn/index.vue
@@ -34,6 +34,7 @@
+
@@ -78,7 +79,14 @@
-
+
@@ -341,6 +349,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/health/milkPowderRecord/index.vue b/src/views/health/milkPowderRecord/index.vue
index 8957c43..16b1f8e 100644
--- a/src/views/health/milkPowderRecord/index.vue
+++ b/src/views/health/milkPowderRecord/index.vue
@@ -34,8 +34,9 @@
-
+
+
@@ -49,7 +50,14 @@
-
+
@@ -219,6 +227,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/health/person/index.vue b/src/views/health/person/index.vue
index 568493b..d4aaac4 100644
--- a/src/views/health/person/index.vue
+++ b/src/views/health/person/index.vue
@@ -32,6 +32,7 @@
+
@@ -63,7 +64,14 @@
-
+
@@ -232,6 +240,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/health/processRecord/index.vue b/src/views/health/processRecord/index.vue
index 2e21778..ff8dada 100644
--- a/src/views/health/processRecord/index.vue
+++ b/src/views/health/processRecord/index.vue
@@ -34,6 +34,7 @@
+
@@ -48,7 +49,14 @@
-
+
@@ -268,6 +276,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
diff --git a/src/views/health/temperatureRecord/index.vue b/src/views/health/temperatureRecord/index.vue
index c9c71f3..17f1963 100644
--- a/src/views/health/temperatureRecord/index.vue
+++ b/src/views/health/temperatureRecord/index.vue
@@ -34,6 +34,7 @@
+
@@ -56,7 +57,14 @@
-
+
@@ -283,6 +291,18 @@ const handleCurrentChange = (val) => {
getList()
}
+//每页显示条数改变
+const handleSizeChange = (val) => {
+ queryParams.value.pageSize = val
+ getList()
+}
+// 序号翻页递增
+const indexMethod = (index) => {
+ const nowPage = queryParams.value.pageNum //当前第几页,根据组件取值即可
+ const nowLimit = queryParams.value.pageSize //当前每页显示几条,根据组件取值即可
+ return index + 1 + (nowPage - 1) * nowLimit // 这里可以理解成一个公式
+}
+
// 多选框选中数据
function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)