From 3cfc4a4585fbdf6e448ae1334299eb5b77d0b644 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Tue, 10 Jun 2025 18:31:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/dish/dish.js | 2 +- src/api/dish/nutritionInfo.js | 2 +- .../account/accountManager/index.vue | 13 +++-- .../account/wallet/outRecord.vue | 1 - .../account/wallet/rechargeRecord.vue | 7 +-- src/views/accountCenter/butie/butie/index.vue | 54 ++++++++++++++----- src/views/base/mobile/bannerList/index.vue | 5 ++ src/views/dish/dish/index.vue | 2 +- src/views/dish/dish/indexOld.vue | 2 +- src/views/dish/nutritionInfo/index.vue | 11 ++-- .../components/MaterialDialog.vue | 2 +- src/views/system/user/index.vue | 14 ++--- 12 files changed, 74 insertions(+), 41 deletions(-) diff --git a/src/api/dish/dish.js b/src/api/dish/dish.js index 792cb7be..c347e576 100644 --- a/src/api/dish/dish.js +++ b/src/api/dish/dish.js @@ -107,7 +107,7 @@ export function removeMenuDishesApi(data) { // 菜品列表-导入 export function importMenuDishesApi(data) { return request({ - url: '/smart-canteen/menu_dishes/import/dishes', + url: '/smart-canteen/cook_dishes/import/dishes', method: 'post', headers: { "merchant-id":"378915229716713472", diff --git a/src/api/dish/nutritionInfo.js b/src/api/dish/nutritionInfo.js index 6590fc54..2929b108 100644 --- a/src/api/dish/nutritionInfo.js +++ b/src/api/dish/nutritionInfo.js @@ -65,7 +65,7 @@ export function updateNutrition(data) { // 删除 export function delNutrition(data) { return request({ - url: '/smart-canteen/cook_nutrition/del/'+data.categoryId, + url: '/smart-canteen/cook_nutrition/del/'+data.nutritionId, method: 'post' }) } diff --git a/src/views/accountCenter/account/accountManager/index.vue b/src/views/accountCenter/account/accountManager/index.vue index 5ef4a6a1..bf388814 100644 --- a/src/views/accountCenter/account/accountManager/index.vue +++ b/src/views/accountCenter/account/accountManager/index.vue @@ -5,7 +5,7 @@ - + @@ -584,7 +584,7 @@ queryParams: { pageNum: 1, pageSize: 10, - accountStatusList:[], + accountStatusList:null, deptIdList:[], searchValue:null, userType:null @@ -684,11 +684,14 @@ let param = { "pageNum": this.queryParams.pageNum, "pageSize": this.queryParams.pageSize, - "accountStatusList": this.queryParams.accountStatusList, + "accountStatusList": [], "deptIdList": this.queryParams.deptIdList, "searchValue": this.queryParams.searchValue, "userType": this.queryParams.userType - } + } + if(this.queryParams.accountStatusList){ + param.accountStatusList = [this.queryParams.accountStatusList] + } accInfoPageApi(param).then(response => { this.tableListData = response.rows; this.total = Number(response.total); @@ -872,7 +875,7 @@ let param = { "pageNum": this.dialogParams.pageNum, "pageSize": this.dialogParams.pageSize, - "accountStatusList": this.dialogParams.accountStatusList, + "accountStatusList": [], "deptIdList": this.dialogParams.deptIdList, "searchValue": this.dialogParams.searchValue, "userType": this.dialogParams.userType diff --git a/src/views/accountCenter/account/wallet/outRecord.vue b/src/views/accountCenter/account/wallet/outRecord.vue index b709cb29..0af2bab7 100644 --- a/src/views/accountCenter/account/wallet/outRecord.vue +++ b/src/views/accountCenter/account/wallet/outRecord.vue @@ -211,7 +211,6 @@ } // param.type=2 this.tableListData2 = [] - this.total2 = 0 accInfoWalletHistoryApi(param).then(response => { this.tableListData2 = response.rows; this.total2 = Number(response.total); diff --git a/src/views/accountCenter/account/wallet/rechargeRecord.vue b/src/views/accountCenter/account/wallet/rechargeRecord.vue index ab2a9924..4e61b0d8 100644 --- a/src/views/accountCenter/account/wallet/rechargeRecord.vue +++ b/src/views/accountCenter/account/wallet/rechargeRecord.vue @@ -59,8 +59,7 @@ 合计: {{ (queryParams1.pageNum - 1) * queryParams1.pageSize + scope.$index+1 }} - - + @@ -231,9 +230,7 @@ "startDateTime":this.formatDate(this.dateRange[0]), "endDateTime":this.formatDate(this.dateRange[1]) } - param.type=1 - this.tableListData1 = [] - this.total1 = 0 + param.type=1 accInfoWalletHistoryApi(param).then(response => { this.tableListData1 = response.rows; this.total1 = Number(response.total); diff --git a/src/views/accountCenter/butie/butie/index.vue b/src/views/accountCenter/butie/butie/index.vue index 9aa11e11..1a460120 100644 --- a/src/views/accountCenter/butie/butie/index.vue +++ b/src/views/accountCenter/butie/butie/index.vue @@ -291,8 +291,9 @@ -
总人数: {{resultData.totalUserSum || '--' }} , 补贴人数:{{resultData.validCount || '--' }}, 补贴总额:{{(resultData.validTotalAmount/100) || '--' }}, 无效人数:{{resultData.invalidCount || '--'}}
- +
总人数: {{resultData.totalUserSum || '--' }} , 补贴人数:{{resultData.validCount || '--' }}, 补贴总额:{{(resultData.validTotalAmount/100) || '--' }}, 无效人数:{{resultData.invalidCount || '--'}}
+
无效人数
+ @@ -308,7 +309,24 @@ - +
+
有效人数
+ + + + + + + + + + + +