diff --git a/mobile/src/pages.json b/mobile/src/pages.json
index ab0b7e43..dd7da0dc 100644
--- a/mobile/src/pages.json
+++ b/mobile/src/pages.json
@@ -175,6 +175,14 @@
"navigationBarBackgroundColor": "#0051d9",
"navigationBarTextStyle": "white"
}
+ },
+ {
+ "path": "pages/xgss/wsjc/wsjc",
+ "style": {
+ "navigationBarTitleText": "宿舍卫生检查",
+ "navigationBarBackgroundColor": "#0051d9",
+ "navigationBarTextStyle": "white"
+ }
}
],
"globalStyle": {
diff --git a/mobile/src/pages/index/index.vue b/mobile/src/pages/index/index.vue
index dca281ce..55ff3c72 100644
--- a/mobile/src/pages/index/index.vue
+++ b/mobile/src/pages/index/index.vue
@@ -194,6 +194,19 @@
/>
+
+
+
+
+
@@ -618,7 +631,8 @@ export default {
this.hasPermi(['student:info:edit']) ||
this.hasPermi(['student:internship:list']) ||
this.hasPermi(['student:dorm:violation:list']) ||
- this.hasPermi(['student:visit:list'])
+ this.hasPermi(['student:visit:list']) ||
+ this.hasPermi(['student:dorm:hygiene:list'])
);
},
@@ -839,6 +853,13 @@ export default {
});
},
+ // 跳转到宿舍卫生检查页面
+ gotoDormHygiene() {
+ uni.navigateTo({
+ url: '/pages/xgss/wsjc/wsjc',
+ });
+ },
+
// 图片加载成功处理
handleImageLoad(event) {
console.log('✅ 轮播图片加载成功:', event.detail);
diff --git a/mobile/src/pages/xgss/wsjc/wsjc.vue b/mobile/src/pages/xgss/wsjc/wsjc.vue
new file mode 100644
index 00000000..615f45f2
--- /dev/null
+++ b/mobile/src/pages/xgss/wsjc/wsjc.vue
@@ -0,0 +1,327 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 检查记录
+ 查看历史检查记录
+
+
+
+
+
+
+
+
+
+
+
+
+ 新增检查
+ 创建新的卫生检查
+
+
+
+
+
+
+
+
+
+
+
+
+ 统计报表
+ 查看检查统计数据
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.dormitory }}
+ {{ item.checkTime }}
+
+
+
+ {{ item.score }}分
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mobile/src/pages/xgss/wsjc/wsjcAdd.vue b/mobile/src/pages/xgss/wsjc/wsjcAdd.vue
new file mode 100644
index 00000000..e69de29b
diff --git a/mobile/src/pages/xgss/wsjc/wsjcDetail.vue b/mobile/src/pages/xgss/wsjc/wsjcDetail.vue
new file mode 100644
index 00000000..e69de29b