diff --git a/.env.development b/.env.development index e2949acf..40bd065d 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 博诺思管理系统 +VUE_APP_TITLE = 国网安徽经研院绿智食堂 # 开发环境配置 ENV = 'development' diff --git a/.env.production b/.env.production index 46d5f12b..ef2a9a77 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 博诺思管理系统 +VUE_APP_TITLE = 国网安徽经研院绿智食堂 # 生产环境配置 ENV = 'production' diff --git a/.env.staging b/.env.staging index 455b9ac1..4738afe1 100644 --- a/.env.staging +++ b/.env.staging @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 博诺思管理系统 +VUE_APP_TITLE = 国网安徽经研院绿智食堂 NODE_ENV = production diff --git a/package.json b/package.json index 0768f633..eef04c86 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bonus", "version": "3.6.4", - "description": "博诺思管理系统", + "description": "国网安徽经研院绿智食堂", "author": "博诺思", "license": "MIT", "scripts": { diff --git a/src/api/accountCenter/card.js b/src/api/accountCenter/card.js index 35824883..15881200 100644 --- a/src/api/accountCenter/card.js +++ b/src/api/accountCenter/card.js @@ -37,7 +37,7 @@ export function accCardApi(data) { data: data }) } -// 换卡/退卡 +// 换卡 export function accCardChangeApi(data) { return request({ url: '/smart-canteen/acc_card/change', @@ -48,6 +48,18 @@ export function accCardChangeApi(data) { data: data }) } +//退卡 + +export function accCardRefundApi(data) { + return request({ + url: '/smart-canteen/acc_card/refund', + method: 'post', + headers: { + "merchant-id":"378915229716713472", + }, + data: data + }) +} // 挂失 export function accCardLossApi(data) { diff --git a/src/api/accountCenter/consume.js b/src/api/accountCenter/consume.js index 2a0f5be0..7c2c8324 100644 --- a/src/api/accountCenter/consume.js +++ b/src/api/accountCenter/consume.js @@ -51,7 +51,7 @@ export function consumeDeductSingleApi(data) { // 消费明细列表 export function accountFlowPageApi(data) { return request({ - url: '/smart-canteen/summary/account/flow/page', + url: '/smart-canteen/acc_trade/consume/detail', method: 'post', headers: { "merchant-id":"378915229716713472", diff --git a/src/api/device/index.js b/src/api/device/index.js index 2021e055..a6208f83 100644 --- a/src/api/device/index.js +++ b/src/api/device/index.js @@ -5,15 +5,11 @@ import request from '@/utils/request' export function getDeviceListPageApi(data) { return request({ url: '/smart-canteen/doubleScreenMachine/getDoubleScreenMachineList', - method: 'post', + method: 'get', headers: { "merchant-id":"378915229716713472", }, - data: data, - params:{ - pageNum:data.pageNum, - pageSize:data.pageSize - } + params:data }) } diff --git a/src/api/dish/dish.js b/src/api/dish/dish.js index 682f3b84..a1a58874 100644 --- a/src/api/dish/dish.js +++ b/src/api/dish/dish.js @@ -47,7 +47,7 @@ export function addMenuDishesTypeApi(data) { // 菜品种类-修改 areaId typeId typeName export function editMenuDishesTypeApi(data) { return request({ - url: '/smart-canteen/api/v1/menudishestype/edit', + url: '/smart-canteen/menu_material/updateMenuDishesType', method: 'post', headers: { "merchant-id":"378915229716713472", @@ -56,14 +56,14 @@ export function editMenuDishesTypeApi(data) { }) } // 菜品种类-删除 typeId -export function removeMenuDishesTypeApi(typeId) { +export function removeMenuDishesTypeApi(data) { return request({ - url: '/smart-canteen/api/v1/menudishestype/remove/'+typeId, + url: '/smart-canteen/menu_material/delMenuDishesType', method: 'post', headers: { "merchant-id":"378915229716713472", }, - // data: data + data: data }) } diff --git a/src/views/accountCenter/account/consume/index.vue b/src/views/accountCenter/account/consume/index.vue new file mode 100644 index 00000000..a49ee5ee --- /dev/null +++ b/src/views/accountCenter/account/consume/index.vue @@ -0,0 +1,312 @@ + + + + + \ No newline at end of file diff --git a/src/views/accountCenter/butie/butie/index.vue b/src/views/accountCenter/butie/butie/index.vue index e50a7d97..7c89d1fa 100644 --- a/src/views/accountCenter/butie/butie/index.vue +++ b/src/views/accountCenter/butie/butie/index.vue @@ -294,10 +294,10 @@
总人数: {{resultData.totalUserSum || '--' }} , 补贴人数:{{resultData.validCount || '--' }}, 补贴总额:{{(resultData.validTotalAmount/100) || '--' }}, 无效人数:{{resultData.invalidCount || '--'}}
- - - - + + + + - +