diff --git a/src/api/base/pbApi.ts b/src/api/base/pbApi.ts
index a966b47..7a8c71b 100644
--- a/src/api/base/pbApi.ts
+++ b/src/api/base/pbApi.ts
@@ -55,3 +55,10 @@ export const getXcCourseListApi = async (params: any) => {
export const getKyXcCourseListApi = async (params: any) => {
return await get("/api/pb/getKyXcCourseList", params);
};
+
+/**
+ * 值周巡查接口 - 获取值周排班数据
+ */
+export const getZbXcListApi = async (params: any) => {
+ return await get("/api/pbZb/getZbXcList", params);
+};
diff --git a/src/api/base/xcXmApi.ts b/src/api/base/xcXmApi.ts
index c9b1bf5..3cb7a34 100644
--- a/src/api/base/xcXmApi.ts
+++ b/src/api/base/xcXmApi.ts
@@ -41,3 +41,10 @@ export const xcXmFindAllApi = async () => {
export const xcXmFindByXcLxApi = async (xcLx: string) => {
return await get("/api/xcXm/findByXcLx", { xcLx });
};
+
+/**
+ * 根据排班类型ID查询项目列表
+ */
+export const xcXmFindByPbLxIdApi = async (pbLxId: string) => {
+ return await get("/api/xcXm/findByPbLxId", { pbLxId });
+};
\ No newline at end of file
diff --git a/src/api/base/zbXcApi.ts b/src/api/base/zbXcApi.ts
new file mode 100644
index 0000000..7cb5d46
--- /dev/null
+++ b/src/api/base/zbXcApi.ts
@@ -0,0 +1,37 @@
+import { get, post } from "@/utils/request";
+
+/**
+ * 分页查询值周巡查记录
+ */
+export const zbXcFindPageApi = async (params: any) => {
+ return await get("/api/zbXc/findPage", params);
+};
+
+/**
+ * 新增/修改值周巡查记录
+ */
+export const zbXcSaveApi = async (params: any) => {
+ return await post("/api/zbXc/save", params);
+};
+
+/**
+ * 删除值周巡查记录
+ */
+export const zbXcLogicDeleteApi = async (params: any) => {
+ return await post("/api/zbXc/logicDelete", params);
+};
+
+/**
+ * 根据id查询值周巡查记录
+ */
+export const zbXcFindByIdApi = async (params: any) => {
+ return await get("/api/zbXc/findById", params);
+};
+
+/**
+ * 查询全部值周巡查记录
+ */
+export const zbXcFindAllApi = async () => {
+ return await get("/api/zbXc/findAll");
+};
+
diff --git a/src/pages.json b/src/pages.json
index db0cebe..ce6d5d0 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -871,6 +871,27 @@
"navigationBarTitleText": "课业巡查记录"
}
},
+ {
+ "path": "pages/view/routine/kefuxuncha/zbList",
+ "style": {
+ "navigationBarTitleText": "值周巡查",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/view/routine/kefuxuncha/zbDetail",
+ "style": {
+ "navigationBarTitleText": "值周巡查详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/view/routine/kefuxuncha/zbRecord",
+ "style": {
+ "navigationBarTitleText": "值周巡查记录",
+ "enablePullDownRefresh": false
+ }
+ },
{
"path": "pages/base/xs/qj/sp",
"style": {
diff --git a/src/pages/view/routine/kefuxuncha/xcPbList.vue b/src/pages/view/routine/kefuxuncha/xcPbList.vue
index 5614b73..12f091e 100644
--- a/src/pages/view/routine/kefuxuncha/xcPbList.vue
+++ b/src/pages/view/routine/kefuxuncha/xcPbList.vue
@@ -264,6 +264,11 @@ const goXc = (pb: any) => {
uni.navigateTo({
url: `/pages/view/routine/kefuxuncha/kyXkList`,
});
+ } else if (pb.xclx === 'C') {
+ // 值周巡查,跳转到值周巡查列表
+ uni.navigateTo({
+ url: `/pages/view/routine/kefuxuncha/zbList`,
+ });
} else {
uni.showToast({
title: '未知的巡查类型',
diff --git a/src/pages/view/routine/kefuxuncha/zbDetail.vue b/src/pages/view/routine/kefuxuncha/zbDetail.vue
new file mode 100644
index 0000000..9f4560a
--- /dev/null
+++ b/src/pages/view/routine/kefuxuncha/zbDetail.vue
@@ -0,0 +1,977 @@
+
+
+
+
+
+
+
+
+
+
+ {{ zb.jsxm || '值周教师' }}
+ {{ todayInfo.weekName }}
+
+
+
+
+
+ 值周周次:
+ 第{{ zb.zbzc }}周
+
+
+ 值周星期:
+ {{ zb.zbxq || '全周' }}
+
+
+ 值周区域:
+ {{ zb.zbqy || '暂无' }}
+
+
+ 值周位置:
+ {{ zb.zbwz || '暂无' }}
+
+
+ 值周角色:
+ {{ zb.zbjs || '暂无' }}
+
+
+
+
+
+
+
+ 值周时间:
+ {{ formatTime(zb.zbkstime) }} - {{ formatTime(zb.zbjstime) }}
+
+
+
+
+
+
+ {{ inspectionStatusText }}
+
+
+
+
+
+
+
+
+ 巡查项目
+
+
+
+
+
+
+
+ {{ index + 1 }}、{{ item.xcMc }}
+
+
+
+ 分值:{{ item.xmFz }}分
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 暂无巡查项目
+
+
+
+
+
+
+
+
+
+ 图片视频上传
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ inputContent.length }}/500
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/view/routine/kefuxuncha/zbList.vue b/src/pages/view/routine/kefuxuncha/zbList.vue
new file mode 100644
index 0000000..3ec3cb8
--- /dev/null
+++ b/src/pages/view/routine/kefuxuncha/zbList.vue
@@ -0,0 +1,720 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ zb.sfxc === '是' ? '已巡查' : '待巡查' }}
+
+
+ {{ getDutyDisplayName(zb) }}
+
+
+
+
+ 值周周次:
+ 第{{ zb.zbzc }}周
+
+
+ 值周星期:
+ {{ zb.zbxq || '全周' }}
+
+
+
+
+
+ 值周区域:
+ {{ zb.zbqy || '暂无' }}
+
+
+ 值周位置:
+ {{ zb.zbwz || '暂无' }}
+
+
+
+
+
+ 值周时间:
+ {{ formatDutyTime(zb) }}
+
+
+
+
+
+ 巡查
+ 巡查记录
+
+
+
+
+
+
+
+
+
+ 暂无值周数据
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/view/routine/kefuxuncha/zbRecord.vue b/src/pages/view/routine/kefuxuncha/zbRecord.vue
new file mode 100644
index 0000000..1ffe10b
--- /dev/null
+++ b/src/pages/view/routine/kefuxuncha/zbRecord.vue
@@ -0,0 +1,421 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 巡查教师:
+ {{ data.jsxm }}
+
+
+ 值周周次:
+ 第{{ data.zbzc }}周
+
+
+ 值周星期:
+ {{ data.zbxq || '全周' }}
+
+
+ 值周区域:
+ {{ data.zbqy || '暂无' }}
+
+
+ 值周位置:
+ {{ data.zbwz || '暂无' }}
+
+
+
+ 巡查项目:
+
+
+
+
+
+
+ {{ idx + 1 }}、{{ xm.xcMc }}
+
+
+
+
+
+
+ 扣分:-{{ xm.xmFz }}分
+
+
+ 不扣分
+
+
+
+
+ 评价:
+ {{ xm.xcPj }}
+
+
+
+
+ 无巡查项目
+
+
+
+
+ 巡查图片:
+
+
+
+
+
+
+ 巡查视频:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+