diff --git a/src/pages/home/QuickEntryPage.vue b/src/pages/home/QuickEntryPage.vue
deleted file mode 100644
index 1ecda20..0000000
--- a/src/pages/home/QuickEntryPage.vue
+++ /dev/null
@@ -1,916 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 选择
-
-
-
-
-
-
-
当前账户权限新增客户需要上传照片和积分卡
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/pages/tabs/HomeTab.vue b/src/pages/tabs/HomeTab.vue
index 8dd80e8..d161cb3 100644
--- a/src/pages/tabs/HomeTab.vue
+++ b/src/pages/tabs/HomeTab.vue
@@ -6,6 +6,7 @@
v-for="(item, index) in visibleEntryList"
:key="item.path"
class="item"
+ :class="{ wide: item.wide }"
@click="go(item.path)"
>
@@ -35,19 +36,13 @@ const unreadNotifyCount = ref(0);
let isPageActive = true;
const entryList = [
- {
- path: "/customer/quick-entry",
- permission: permissionCodes.eventRecord.create,
- icon: "scan",
- title: "快速补录登记",
- desc: "对以往未绑定二维码的客户进行快速补录和登记"
- },
{
path: "/customer/quick-sign-in",
permission: permissionCodes.eventRecord.create,
icon: "scan",
title: "快速扫码登记",
- desc: "扫码选择客户并按配置事件登记"
+ desc: "扫码选择客户并按配置事件登记",
+ wide: true
},
{
path: "/management/customers/create?redirect=/customers",
@@ -153,6 +148,11 @@ onUnmounted(() => {
font-size: .75rem;
line-height: 1.25;
}
+
+ &.wide {
+ grid-column: 1 / -1;
+ aspect-ratio: 2 / 1;
+ }
}
.tips {
diff --git a/src/router/routes/customerRoutes.ts b/src/router/routes/customerRoutes.ts
index 1b41482..3836f1f 100644
--- a/src/router/routes/customerRoutes.ts
+++ b/src/router/routes/customerRoutes.ts
@@ -1,5 +1,4 @@
import type { RouteRecordRaw } from "vue-router";
-import QuickEntryPage from "@/pages/home/QuickEntryPage.vue";
import QuickSignInPage from "@/pages/home/QuickSignInPage.vue";
import EventRecordEdit from "@/pages/event/EventRecordEdit.vue";
import CustomerList from "@/pages/customer/CustomerList.vue";
@@ -8,20 +7,6 @@ import CustomerInviteeList from "@/pages/customer/CustomerInviteeList.vue";
import CustomerEdit from "@/pages/customer/CustomerEdit.vue";
const customerRoutes: RouteRecordRaw[] = [
- {
- path: "/customer/quick-entry",
- name: "QuickEntryPage",
- component: QuickEntryPage,
- meta: {
- depth: 3,
- navBarVisible: true,
- navBarCanBack: true,
- navBarTitle: "快速补录登记",
- tabBarVisible: false,
- bodyBackground: "#F5F5F8",
- darkBodyBackground: "#10161f"
- }
- },
{
path: "/customer/quick-sign-in",
name: "QuickSignInPage",