会员消费笔数
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 91dad2c..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, tableName });
+ 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..394edde 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,
@@ -54,9 +54,17 @@ const contentConfig = {
{
label: "操作",
align: "center",
- fixed: "right",
templet: "tool",
- operat: ["edit", "delete"],
+ operat: ["edit", "delete",
+ {
+ name: "change_pwd",
+ auth: "password:reset",
+ icon: "refresh-left",
+ text: "修改密码",
+ type: "primary",
+ isBtn: true,
+ }
+ ],
},
],
};
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 @@
>
+
+
+