diff --git a/src/components/CustomerProfileCard.vue b/src/components/CustomerProfileCard.vue index a132fed..40fa05a 100644 --- a/src/components/CustomerProfileCard.vue +++ b/src/components/CustomerProfileCard.vue @@ -18,6 +18,7 @@ + @@ -62,142 +63,102 @@ - -
- 调理部位 - -
-
- + -
-
-
邀请客户
-
- - -
-
- - - - - - - - -
暂无邀请客户
-
-
-
- - 删除客户 - - 编辑客户 -
- + + + + + 删除客户 + - -
-
- -

扫码添加邀请客户

- + + + + +
+
删除后无法恢复,将同时清除以下关联数据:
+
    +
  • 登记事件记录及其附件,并撤销这些登记产生的积分
  • +
  • 客户积分账户、标签和客户附件
  • +
  • 解除该客户与其被邀请客户之间的邀请关系,被邀请客户不会被删除
  • +
  • 减少该客户原介绍人的邀请客户计数
  • +
  • 客户档案本身
  • +
+
+ 请输入客户姓名 + + 以确认删除
- -
- -
- + + +
diff --git a/src/router/routes/customerRoutes.ts b/src/router/routes/customerRoutes.ts index 3309853..1b41482 100644 --- a/src/router/routes/customerRoutes.ts +++ b/src/router/routes/customerRoutes.ts @@ -4,6 +4,7 @@ import QuickSignInPage from "@/pages/home/QuickSignInPage.vue"; import EventRecordEdit from "@/pages/event/EventRecordEdit.vue"; import CustomerList from "@/pages/customer/CustomerList.vue"; import CustomerDetail from "@/pages/customer/CustomerDetail.vue"; +import CustomerInviteeList from "@/pages/customer/CustomerInviteeList.vue"; import CustomerEdit from "@/pages/customer/CustomerEdit.vue"; const customerRoutes: RouteRecordRaw[] = [ @@ -91,6 +92,20 @@ const customerRoutes: RouteRecordRaw[] = [ darkBodyBackground: "#10161f" } }, + { + path: "/management/customers/:id/invitees", + name: "CustomerInviteeList", + component: CustomerInviteeList, + meta: { + depth: 5, + navBarVisible: true, + navBarCanBack: true, + navBarTitle: "邀请客户", + tabBarVisible: false, + bodyBackground: "#F5F5F8", + darkBodyBackground: "#10161f" + } + }, { path: "/management/customers/:id/edit", name: "CustomerEdit", diff --git a/src/styles/global.less b/src/styles/global.less index 34f7888..8f6d911 100644 --- a/src/styles/global.less +++ b/src/styles/global.less @@ -55,6 +55,10 @@ html.theme-dark body { } } +.t-dialog__footer { + gap: 1rem; +} + .load-state { color: var(--tui-gray); padding: .75rem;