diff --git a/.env.development b/.env.development index 27907cc..72a4624 100644 --- a/.env.development +++ b/.env.development @@ -12,7 +12,7 @@ ENV = 'development' # VITE_ADMIN_PROXY_PATH = http://123.156.230.15:8089/api/ # 测试线上-过期 # VITE_ADMIN_PROXY_PATH = http://pjcloud.center.takin.cc/ # VITE_ADMIN_PROXY_PATH = http://localhost:9999/ -VITE_ADMIN_PROXY_PATH = http://192.168.101.159:9999/ # 邓-本地 +VITE_ADMIN_PROXY_PATH = http://192.168.101.174:9999/ # 邓-本地 # VITE_ADMIN_PROXY_PATH = http://59.202.170.152:81/api # 正式环境线上 # 图片访问基础地址 @@ -20,7 +20,7 @@ VITE_ADMIN_PROXY_PATH = http://192.168.101.159:9999/ # 邓-本地 # VITE_IMAGE_BASE_PATH = http://123.156.230.15:8089/api/ # 测试线上-过期 # VITE_IMAGE_BASE_PATH = http://pjcloud.center.takin.cc # VITE_IMAGE_BASE_PATH = http://localhost:9999 -VITE_IMAGE_BASE_PATH = http://192.168.101.159:9999 # 邓-本地 +VITE_IMAGE_BASE_PATH = http://192.168.101.174:9999 # 邓-本地 # VITE_IMAGE_BASE_PATH = http://59.202.170.152:81/api/ # 正式环境线上 # 代码生成服务地址 diff --git a/src/api/admin/user.ts b/src/api/admin/user.ts index 46e748a..b3240dc 100644 --- a/src/api/admin/user.ts +++ b/src/api/admin/user.ts @@ -17,11 +17,15 @@ export const list = () => { }) } -export const pageList = (params?: Object) => { +export const pageList = (query: any) => { return request({ url: "/admin/user/page", - method: "get", - params, + method: "post", + params: { + current: query.current, + size: query.size, + }, + data: query, }) } diff --git a/src/api/hard/hard-order.ts b/src/api/hard/hard-order.ts index e912c21..f977546 100644 --- a/src/api/hard/hard-order.ts +++ b/src/api/hard/hard-order.ts @@ -11,11 +11,15 @@ export function offlinePay(data: any) { }) } -export function pageJoin(query?: Object) { +export function pageJoin(query: any) { return request({ url: "/hard/hard-order/page-join", - method: "get", - params: query, + method: "post", + params: { + current: query.current, + size: query.size, + }, + data: query, }) } diff --git a/src/api/hard/hard-total.ts b/src/api/hard/hard-total.ts index e564982..446b620 100644 --- a/src/api/hard/hard-total.ts +++ b/src/api/hard/hard-total.ts @@ -1,5 +1,20 @@ import request from "/@/utils/request" +/** + * 根据部门 食堂菜品购买统计 + */ +export function productTotalByDept(query: any) { + return request({ + url: "/hard/hard-canteen-total-log/proudct-total-by-dept", + method: "post", + params: { + current: query.current, + size: query.size, + }, + data: query, + }) +} + /** * 食堂统计 */ diff --git a/src/api/wallet/wallet-recharge-invoice.ts b/src/api/wallet/wallet-recharge-invoice.ts index 039d751..f329481 100644 --- a/src/api/wallet/wallet-recharge-invoice.ts +++ b/src/api/wallet/wallet-recharge-invoice.ts @@ -8,6 +8,18 @@ export function invoiceBack(query: any) { }) } + +/** + * 重新生成发票 + */ +export function refreshInvoice(data: any) { + return request({ + url: "/wallet/walletRechargeInvoice/refreshInvoice", + method: "post", + data: data, + }) +} + /** * 发票申请 * @param id 发票id diff --git a/src/components/Select/SelectRole.vue b/src/components/Select/SelectRole.vue index 3a30668..5d47be1 100644 --- a/src/components/Select/SelectRole.vue +++ b/src/components/Select/SelectRole.vue @@ -1,17 +1,7 @@