会员消费笔数
From aa981c8d5b3193d7b345c79cb21640acfa5d67bb Mon Sep 17 00:00:00 2001
From: YeMingfei666 <1619116647@qq.com>
Date: Thu, 20 Mar 2025 09:04:00 +0800
Subject: [PATCH 2/5] =?UTF-8?q?fix:=20=20=E4=BF=AE=E5=A4=8D=E4=BB=8E?=
=?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=BB=9F=E8=AE=A1=E6=A8=A1=E5=9D=97=E4=B8=8B?=
=?UTF-8?q?=E9=80=80=E5=87=BA=E7=99=BB=E5=BD=95=E5=86=8D=E9=87=8D=E7=99=BB?=
=?UTF-8?q?=E4=BC=9A=E8=B7=B3=E8=BD=AC404?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/router/index.ts | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/router/index.ts b/src/router/index.ts
index 480c4bd..e85ecdb 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -36,7 +36,7 @@ export const constantRoutes: RouteRecordRaw[] = [
{
path: "index",
component: () => import("@/views/data/index.vue"),
- name: "dataStatistics",
+ name: "",
meta: {
title: "数据统计",
affix: false,
@@ -45,7 +45,7 @@ export const constantRoutes: RouteRecordRaw[] = [
},
{
path: "sales",
- name: "salesStatistics",
+ name: "",
component: () => import("@/views/data/sales.vue"),
meta: {
title: "销售统计",
@@ -55,7 +55,7 @@ export const constantRoutes: RouteRecordRaw[] = [
},
{
path: "table",
- name: "tableStatistics",
+ name: "",
component: () => import("@/views/data/table.vue"),
meta: {
title: "桌台统计",
@@ -65,7 +65,7 @@ export const constantRoutes: RouteRecordRaw[] = [
},
{
path: "credit",
- name: "creditStatistics",
+ name: "",
component: () => import("@/views/data/credit/index.vue"),
meta: {
title: "挂账管理",
@@ -76,7 +76,7 @@ export const constantRoutes: RouteRecordRaw[] = [
},
{
path: "credit-detail",
- name: "creditDetail",
+ name: "",
component: () => import("@/views/data/credit/detail.vue"),
meta: {
title: "挂账明细",
@@ -87,7 +87,7 @@ export const constantRoutes: RouteRecordRaw[] = [
},
{
path: "work",
- name: "workStatistics",
+ name: "",
component: () => import("@/views/data/work.vue"),
meta: {
title: "交班记录",
From d48199b99124b5d21036372de6edb702af6cceed Mon Sep 17 00:00:00 2001
From: YeMingfei666 <1619116647@qq.com>
Date: Thu, 20 Mar 2025 09:16:06 +0800
Subject: [PATCH 3/5] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=A1=8C=E5=8F=B0?=
=?UTF-8?q?=E7=BB=9F=E8=AE=A1=E8=B7=B3=E8=BD=AC=E8=AE=A2=E5=8D=95=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E4=BC=A0=E5=8F=82=EF=BC=8C=E8=AE=A2=E5=8D=95=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E6=9F=A5=E8=AF=A2=E6=9F=A5=E8=AF=A2=E5=8F=B0=E6=A1=8C?=
=?UTF-8?q?=E6=94=B9=E4=B8=BAtableCode?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/order/index/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/order/index/index.vue b/src/views/order/index/index.vue
index 91dad2c..bafe668 100644
--- a/src/views/order/index/index.vue
+++ b/src/views/order/index/index.vue
@@ -154,7 +154,7 @@ function returnOriginAmount(order: OrderInfoVo) {
const route = useRoute();
onMounted(() => {
const { orderNo, tableName, tableCode } = route.query;
- handleQueryClick({ orderNo, tableName });
+ handleQueryClick({ orderNo, tableCode });
searchRef.value?.setQueryValue("orderNo", orderNo);
searchRef.value?.setQueryValue("tableCode", tableCode);
});
From b76e67c207b7e28980dc43310050c13b42dd7bd6 Mon Sep 17 00:00:00 2001
From: YeMingfei666 <1619116647@qq.com>
Date: Thu, 20 Mar 2025 10:06:38 +0800
Subject: [PATCH 4/5] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=A1=8C=E5=8F=B0?=
=?UTF-8?q?=E7=BB=9F=E8=AE=A1=E8=B7=B3=E8=BD=AC=E8=AE=A2=E5=8D=95=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E5=B1=95=E7=A4=BA=E6=95=88=E6=9E=9C=EF=BC=8C=E5=A2=9E?=
=?UTF-8?q?=E5=8A=A0=E5=91=98=E5=B7=A5=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81?=
=?UTF-8?q?=E5=BC=B9=E7=AA=97=EF=BC=8C=E4=BF=AE=E6=94=B9=E5=BA=97=E9=93=BA?=
=?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=BF=80=E6=B4=BB=E7=A0=81=E4=B8=BA=E9=9D=9E?=
=?UTF-8?q?=E5=BF=85=E5=A1=AB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/order/index/config/search.ts | 6 +-
src/views/order/index/index.vue | 5 +-
src/views/shop/list/components/addShop.vue | 2 +-
src/views/shop/list/index.vue | 5 +-
.../shop/staff/components/change-pwd.vue | 78 +++++++++++++++++++
src/views/shop/staff/config/content.ts | 12 ++-
src/views/shop/staff/index.vue | 16 +++-
7 files changed, 114 insertions(+), 10 deletions(-)
create mode 100644 src/views/shop/staff/components/change-pwd.vue
diff --git a/src/views/order/index/config/search.ts b/src/views/order/index/config/search.ts
index 9978382..60dfbcb 100644
--- a/src/views/order/index/config/search.ts
+++ b/src/views/order/index/config/search.ts
@@ -41,10 +41,10 @@ const searchConfig: ISearchConfig = {
},
{
type: "input",
- label: "台桌编码",
- prop: "tableCode",
+ label: "台桌名称",
+ prop: "tableName",
attrs: {
- placeholder: "请输入台桌编码",
+ placeholder: "请输入台桌名称",
clearable: true,
style: {
width: "200px",
diff --git a/src/views/order/index/index.vue b/src/views/order/index/index.vue
index bafe668..0c90556 100644
--- a/src/views/order/index/index.vue
+++ b/src/views/order/index/index.vue
@@ -154,9 +154,10 @@ function returnOriginAmount(order: OrderInfoVo) {
const route = useRoute();
onMounted(() => {
const { orderNo, tableName, tableCode } = route.query;
- handleQueryClick({ orderNo, tableCode });
+ handleQueryClick({ orderNo, tableCode, tableName });
searchRef.value?.setQueryValue("orderNo", orderNo);
- searchRef.value?.setQueryValue("tableCode", tableCode);
+ searchRef.value?.setQueryValue("tableName", tableName);
+ route;
});
// 新增
diff --git a/src/views/shop/list/components/addShop.vue b/src/views/shop/list/components/addShop.vue
index 977a042..44f3395 100644
--- a/src/views/shop/list/components/addShop.vue
+++ b/src/views/shop/list/components/addShop.vue
@@ -70,7 +70,7 @@
正式
-
+
注:输入有效激活码表示添加的同时直接激活该店铺。
diff --git a/src/views/shop/list/index.vue b/src/views/shop/list/index.vue
index 713238a..fe6c761 100644
--- a/src/views/shop/list/index.vue
+++ b/src/views/shop/list/index.vue
@@ -97,9 +97,12 @@
- {{ dayjs(scope.row.expireAt).format("YYYY-MM-DD HH:mm:ss") }}
+
+ {{ dayjs(scope.row.expireTime).format("YYYY-MM-DD HH:mm:ss") }}
+
+
diff --git a/src/views/shop/staff/components/change-pwd.vue b/src/views/shop/staff/components/change-pwd.vue
new file mode 100644
index 0000000..8f13c45
--- /dev/null
+++ b/src/views/shop/staff/components/change-pwd.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
+
+
+ 提交
+ 取消
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/shop/staff/config/content.ts b/src/views/shop/staff/config/content.ts
index 68e5eec..8966711 100644
--- a/src/views/shop/staff/config/content.ts
+++ b/src/views/shop/staff/config/content.ts
@@ -2,7 +2,7 @@ import ShopStaffApi, { type getListRequest } from "@/api/account/shopStaff";
import type { PageShopStaff } from "@/api/account/shopStaff";
import type { IContentConfig } from "@/components/CURD/types";
-const contentConfig = {
+const contentConfig: IContentConfig = {
pageName: "sys:user",
table: {
border: true,
@@ -56,7 +56,15 @@ const contentConfig = {
align: "center",
fixed: "right",
templet: "tool",
- operat: ["edit", "delete"],
+ operat: ["edit", "delete",
+ {
+ name: "change_pwd",
+ auth: "password:reset",
+ icon: "refresh-left",
+ text: "修改密码",
+ type: "primary",
+ }
+ ],
},
],
};
diff --git a/src/views/shop/staff/index.vue b/src/views/shop/staff/index.vue
index eb2dada..852c5ea 100644
--- a/src/views/shop/staff/index.vue
+++ b/src/views/shop/staff/index.vue
@@ -66,10 +66,14 @@
>
+
+
+
From 30f10bed938c432729c42c4e12e39f675f93eda3 Mon Sep 17 00:00:00 2001
From: YeMingfei666 <1619116647@qq.com>
Date: Thu, 20 Mar 2025 10:53:58 +0800
Subject: [PATCH 5/5] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0=E7=A7=AF=E5=88=86?=
=?UTF-8?q?=E9=85=8D=E7=BD=AE1=E5=85=83=E8=87=B3=E5=B0=91=E7=AD=89?=
=?UTF-8?q?=E4=BA=8E1=E7=A7=AF=E5=88=86,=E4=BF=AE=E5=A4=8D=E8=B7=B3?=
=?UTF-8?q?=E8=BD=AC=E5=88=B0=E5=B9=BF=E5=91=8A=E9=A1=B5=E9=9D=A2=E5=90=8E?=
=?UTF-8?q?=E5=85=B6=E4=BB=96=E9=A1=B5=E9=9D=A2=E5=85=A8=E9=83=A8=E4=B8=BA?=
=?UTF-8?q?=E7=A9=BA=EF=BC=8C=E8=B0=83=E6=95=B4crud=E8=A1=A8=E5=8D=95?=
=?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=85=BC=E5=AE=B9=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/CURD/PageContent.vue | 302 +++++++++++++-----
src/components/CURD/types.ts | 1 +
src/views/admin/system/role/index.vue | 6 +-
.../application/list/advertisement/index.vue | 8 +-
.../points/pointsconfig/BasicSettings.vue | 13 +-
src/views/shop/staff/config/content.ts | 2 +-
6 files changed, 248 insertions(+), 84 deletions(-)
diff --git a/src/components/CURD/PageContent.vue b/src/components/CURD/PageContent.vue
index aa59fcb..7d722ed 100644
--- a/src/components/CURD/PageContent.vue
+++ b/src/components/CURD/PageContent.vue
@@ -8,37 +8,58 @@