From 3bd3157795b56e09d177122a96497fd49aa72901 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Thu, 19 Jun 2025 16:52:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=98=E5=B7=A5=E7=AE=A1=E7=90=86=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=AF=B9=E6=8E=A52?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/kitchen/wasteManage.js | 27 +++++++++++++++++++ .../staffManage/morningCheck/index.vue | 12 ++++++--- src/views/kitchen/staffManage/staff/index.vue | 9 ++++++- .../kitchen/staffManage/violation/index.vue | 20 +++++++++++--- 4 files changed, 59 insertions(+), 9 deletions(-) create mode 100644 src/api/kitchen/wasteManage.js diff --git a/src/api/kitchen/wasteManage.js b/src/api/kitchen/wasteManage.js new file mode 100644 index 00000000..e698ef74 --- /dev/null +++ b/src/api/kitchen/wasteManage.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + + +// 查询厨房餐余浪费列表 +export function getKitchenWasteListApi(data) { + return request({ + url: '/smart-canteen/kitchen_waste_meal/list', + method: 'post', + data: data, + params:{ + pageNum:data.pageNum, + pageSize:data.pageSize + } + }) +} +// 查询厨房餐余浪费汇总 +export function getKitchenWasteCountApi(data) { + return request({ + url: '/smart-canteen/kitchen_waste_meal/list/count', + method: 'post', + data: data, + params:{ + pageNum:data.pageNum, + pageSize:data.pageSize + } + }) +} \ No newline at end of file diff --git a/src/views/kitchen/staffManage/morningCheck/index.vue b/src/views/kitchen/staffManage/morningCheck/index.vue index 720be12f..971fff97 100644 --- a/src/views/kitchen/staffManage/morningCheck/index.vue +++ b/src/views/kitchen/staffManage/morningCheck/index.vue @@ -17,8 +17,8 @@ - - + + @@ -52,7 +52,12 @@ {{ scope.row.temperatureValue }} ℃ - + + + 0){ param.postIds = this.queryParams.postIds } diff --git a/src/views/kitchen/staffManage/staff/index.vue b/src/views/kitchen/staffManage/staff/index.vue index ab638dec..1e981146 100644 --- a/src/views/kitchen/staffManage/staff/index.vue +++ b/src/views/kitchen/staffManage/staff/index.vue @@ -451,8 +451,15 @@ export default { getList() { this.loading = true; let param = { + "searchValue":this.queryParams.searchValue, + "sex":this.queryParams.sex, + "faceStatus":this.queryParams.faceStatus, + "healthCertificate":this.queryParams.healthCertificate, "pageNum": this.queryParams.pageNum, - "pageSize": this.queryParams.pageSize, + "pageSize": this.queryParams.pageSize + } + if(this.queryParams.postIds&&this.queryParams.postIds.length>0){ + param.postIds = this.queryParams.postIds } getStaffListApi(param).then(response => { this.tableListData = response.rows; diff --git a/src/views/kitchen/staffManage/violation/index.vue b/src/views/kitchen/staffManage/violation/index.vue index 77d04183..61a057fb 100644 --- a/src/views/kitchen/staffManage/violation/index.vue +++ b/src/views/kitchen/staffManage/violation/index.vue @@ -4,10 +4,20 @@ - - - - + + + + + + + + + + + + + + @@ -138,6 +148,8 @@ export default { let param = { "pageNum": this.queryParams.pageNum, "pageSize": this.queryParams.pageSize, + "searchValue": this.queryParams.searchValue, + "alarmType": this.queryParams.alarmType, } getStaffIllegalListApi(param).then(response => { this.tableListData = response.rows;