From 1c912f58a51ddbc72f5f2e2b6b2860bee9e502e0 Mon Sep 17 00:00:00 2001 From: kaeery <3491123437@qq.com> Date: Fri, 7 Mar 2025 22:51:08 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=8B=9B=E7=94=9F=E4=B8=BB=E6=8E=A7?= =?UTF-8?q?=E7=AB=AF=E3=80=91=20=E4=BC=98=E5=8C=96#=20=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=97=A0=E7=94=A8=E7=9A=84=E6=96=87=E4=BB=B6=E4=BB=A5=E5=8F=8A?= =?UTF-8?q?=E5=BF=BD=E7=95=A5=E4=B8=8A=E4=BC=A0public=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A4=B9=E5=88=B0=E4=BB=93=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 + src/router/routes.ts | 338 +----------------- src/views/message/notice/edit.vue | 28 +- src/views/message/notice/index.vue | 16 +- src/views/message/short_letter/edit.vue | 10 +- src/views/message/short_letter/index.vue | 10 +- src/views/permission/admin/edit.vue | 67 +--- .../setting/payment/payment_way/edit.vue | 27 +- src/views/setting/system/task/edit.vue | 43 +-- .../setting/transaction_settings/index.vue | 25 +- 10 files changed, 58 insertions(+), 508 deletions(-) diff --git a/.gitignore b/.gitignore index 5cc0fca..7e0c10c 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,5 @@ components.d.ts yarn.lock package-lock.json + +public \ No newline at end of file diff --git a/src/router/routes.ts b/src/router/routes.ts index 9af429b..1f9f385 100644 --- a/src/router/routes.ts +++ b/src/router/routes.ts @@ -34,20 +34,20 @@ export const constantRoutes: Array = [ path: PageEnum.LOGIN, component: () => import('@/views/account/login.vue') }, - { - path: '/user', - component: LAYOUT, - children: [ - { - path: 'setting', - name: Symbol(), - component: () => import('@/views/user/setting.vue'), - meta: { - title: '个人设置' - } - } - ] - }, + // { + // path: '/user', + // component: LAYOUT, + // children: [ + // { + // path: 'setting', + // name: Symbol(), + // component: () => import('@/views/user/setting.vue'), + // meta: { + // title: '个人设置' + // } + // } + // ] + // }, { path: '/dev_tools', component: LAYOUT, @@ -98,105 +98,6 @@ export const constantRoutes: Array = [ } ] }, - { - path: '/service', - component: LAYOUT, - children: [ - { - path: 'lists/edit', - component: () => import('@/views/service/lists/edit.vue'), - meta: { - title: '服务列表', - activeMenu: '/service/lists' - } - } - ] - }, - { - path: '/service', - component: LAYOUT, - children: [ - { - path: 'category/edit', - component: () => import('@/views/service/category/edit.vue'), - meta: { - title: '服务列表', - activeMenu: '/service/category' - } - } - ] - }, - { - path: '/service', - component: LAYOUT, - children: [ - { - path: 'time/edit', - component: () => import('@/views/service/subscribe/edit.vue'), - meta: { - title: '预约服务时间', - activeMenu: '/service/subscribe' - } - } - ] - }, - { - path: '/service', - component: LAYOUT, - children: [ - { - path: 'activity/form', - component: () => import('@/views/service/activity/form.vue'), - meta: { - title: '活动专区', - activeMenu: '/service/activity' - } - } - ] - }, - { - path: '/user', - component: LAYOUT, - children: [ - { - path: 'userList/detail', - component: () => import('@/views/user/userList/detail.vue'), - meta: { - title: '用户列表', - activeMenu: '/user/userList' - } - } - ] - }, - { - path: '/master_worker', - component: LAYOUT, - children: [ - { - path: 'edit', - component: () => import('@/views/master_worker/edit.vue'), - name: 'MasterWorkerEdit', - meta: { - title: '添加师傅', - activeMenu: '/master_worker/index' - } - } - ] - }, - { - path: '/order', - component: LAYOUT, - children: [ - { - path: 'lists/detail', - component: () => import('@/views/order/lists/detail.vue'), - meta: { - title: '订单列表', - activeMenu: '/order/lists' - } - } - ] - }, { path: '/setting', component: LAYOUT, @@ -210,217 +111,6 @@ export const constantRoutes: Array = [ } } ] - }, - { - path: '/marketing', - component: LAYOUT, - children: [ - { - path: 'coupon/edit', - component: () => import('@/views/application/coupon/edit.vue'), - meta: { - title: '新增优惠券', - activeMenu: '/application/coupon/coupon' - } - } - ] - }, - // 分销管理 - { - path: '/distributor', - component: LAYOUT, - children: [ - { - path: 'add', - component: () => import('@/views/distributor/edit.vue'), - name: 'DistributorAdd', - meta: { - title: '添加分销', - activeMenu: '/distributor/index' - } - } - ] - }, - { - path: '/distributor', - component: LAYOUT, - children: [ - { - path: 'edit', - component: () => import('@/views/distributor/edit.vue'), - name: 'DistributorEdit', - meta: { - title: '编辑分销', - activeMenu: '/distributor/index' - } - } - ] - }, - { - path: '/distributor', - component: LAYOUT, - children: [ - { - path: 'register', - component: () => import('@/views/distributor/register.vue'), - name: 'DistributorRegister', - meta: { - title: '查看用户', - activeMenu: '/distributor/index' - } - } - ] - }, - { - path: '/distributor', - component: LAYOUT, - children: [ - { - path: 'order', - component: () => import('@/views/distributor/order.vue'), - name: 'DistributorOrder', - meta: { - title: '查看订单', - activeMenu: '/distributor/index' - } - } - ] - }, - { - path: '/distributor', - component: LAYOUT, - children: [ - { - path: 'register/detail', - component: () => import('@/views/distributor/userDetail.vue'), - name: 'DistributorRegisterDetail', - meta: { - title: '用户详情', - activeMenu: '/distributor/index' - } - } - ] - }, - { - path: '/marketing', - component: LAYOUT, - children: [ - { - path: 'coupon/edit', - component: () => import('@/views/application/coupon/edit.vue'), - meta: { - title: '新增优惠券', - activeMenu: '/application/coupon/coupon' - } - } - ] - }, - { - path: '/marketing', - component: LAYOUT, - children: [ - { - path: 'coupon/detail', - component: () => import('@/views/application/coupon/detail.vue'), - name: 'CouponDetail', - meta: { - title: '优惠券详情', - activeMenu: '/application/coupon/coupon' - } - } - ] - }, - { - path: '/distributor', - component: LAYOUT, - children: [ - { - path: 'coupon', - component: () => import('@/views/distributor/coupon.vue'), - name: 'DistributorCoupon', - meta: { - title: '查看优惠券', - activeMenu: '/distributor/index' - } - } - ] - }, - { - path: '/master_worker', - component: LAYOUT, - children: [ - { - path: 'detail', - component: () => import('@/views/master_worker/detail.vue'), - meta: { - title: '师傅认证资料详情', - activeMenu: '/master_worker/apply' - } - } - ] - }, - { - path: '/report/pdf', - component: () => import('@/views/master_worker/components/previewPdf.vue'), - meta: { - title: '师傅体检报告' - } - }, - // { - // path: '/master_worker', - // component: LAYOUT, - // children: [ - // { - // path: 'physical', - // component: () => import('@/views/master_worker/physical.vue'), - // meta: { - // title: '师傅体检报告', - // } - // } - // ] - // }, - { - path: '/master_worker', - component: LAYOUT, - children: [ - { - path: 'staff', - component: () => import('@/views/master_worker/staff.vue'), - meta: { - title: '师傅资料', - activeMenu: '/master_worker/apply' - } - } - ] - }, - - { - path: '/master_worker', - component: LAYOUT, - children: [ - { - path: 'cancelOrderRule', - component: () => import('@/views/master_worker/cancelOrder/rule.vue'), - meta: { - title: '师傅退单规则', - activeMenu: '/master_worker/cancelOrder' - } - } - ] - }, - { - path: '/user', - component: LAYOUT, - children: [ - { - path: 'setting_rule', - component: () => import('@/views/user/refund_rule/setting_rule.vue'), - meta: { - title: '用户退单规则', - activeMenu: '/user/refund_rule_list' - } - } - ] } ] diff --git a/src/views/message/notice/edit.vue b/src/views/message/notice/edit.vue index 0bc0b58..ce104e6 100644 --- a/src/views/message/notice/edit.vue +++ b/src/views/message/notice/edit.vue @@ -3,18 +3,12 @@ - +
通知名称
- {{ formData.name }} - {{ formData.type }} - {{ formData.remarks }} + {{ formData.name }} + {{ formData.type }} + {{ formData.remarks }}
短信通知
@@ -26,20 +20,13 @@
- +
- +
@@ -59,7 +46,6 @@