From 70d5b31197e512b3937799bfad151e10bb97eb6d Mon Sep 17 00:00:00 2001
From: Leo_Ding <2405260743@qq.com>
Date: Sat, 28 Jun 2025 20:45:13 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=97=E9=80=9A=E6=9D=83?=
=?UTF-8?q?=E7=9B=8A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/enums/useEnum.js | 24 ++-
src/locales/lang/zh-CN/menu.js | 55 +++---
src/router/routes/equite.js | 33 ++++
src/router/routes/index.js | 6 +-
src/router/routes/ycequite.js | 118 ++++++++++++
src/views/equite/aiya/index.vue | 200 +++++++++++++++++++++
src/views/equite/caizhai/index.vue | 2 +-
src/views/equite/fangchan/index.vue | 2 +-
src/views/equite/quanwu/index.vue | 200 +++++++++++++++++++++
src/views/equite/yllvs/index.vue | 200 +++++++++++++++++++++
src/views/ycequite/birth/index.vue | 200 +++++++++++++++++++++
src/views/ycequite/caizhai/index.vue | 200 +++++++++++++++++++++
src/views/ycequite/fangchan/index.vue | 200 +++++++++++++++++++++
src/views/ycequite/hotel/index.vue | 200 +++++++++++++++++++++
src/views/ycequite/jiazhuang/index.vue | 200 +++++++++++++++++++++
src/views/ycequite/kangyang/index.vue | 200 +++++++++++++++++++++
src/views/ycequite/life/index.vue | 200 +++++++++++++++++++++
src/views/ycequite/lvyou/index.vue | 200 +++++++++++++++++++++
src/views/ycequite/ycparentChild/index.vue | 200 +++++++++++++++++++++
19 files changed, 2608 insertions(+), 32 deletions(-)
create mode 100644 src/router/routes/ycequite.js
create mode 100644 src/views/equite/aiya/index.vue
create mode 100644 src/views/equite/quanwu/index.vue
create mode 100644 src/views/equite/yllvs/index.vue
create mode 100644 src/views/ycequite/birth/index.vue
create mode 100644 src/views/ycequite/caizhai/index.vue
create mode 100644 src/views/ycequite/fangchan/index.vue
create mode 100644 src/views/ycequite/hotel/index.vue
create mode 100644 src/views/ycequite/jiazhuang/index.vue
create mode 100644 src/views/ycequite/kangyang/index.vue
create mode 100644 src/views/ycequite/life/index.vue
create mode 100644 src/views/ycequite/lvyou/index.vue
create mode 100644 src/views/ycequite/ycparentChild/index.vue
diff --git a/src/enums/useEnum.js b/src/enums/useEnum.js
index 21c78cc..e430744 100644
--- a/src/enums/useEnum.js
+++ b/src/enums/useEnum.js
@@ -21,15 +21,23 @@ const rightEnum = new EnumManager([
]);
// 创建权益类型
const equiteEnum = new EnumManager([
- {value: 1, name: 'hotel'},
- {value:2,name:'parentchild'},
- {value:3,name:'jiazhuang'},
- {value:4,name:'life'},
- {value:5,name:'lvyou'},
- {value:6,name:'caizhai'},
+ {value:1, name: 'hotel'},
+ {value:3,name:'parentchild'},
+ {value:4,name:'jiazhuang'},
+ {value:5,name:'quanwu'},
+ {value:6,name:'menchuang'},
{value:7,name:'kangyang'},
- {value:8,name:'fangchan'},
- {value:9,name:'birth'},
+ {value:9,name:'jdnk'},
+ {value:11,name:'aiya'},
+ {value:12,name:'yllvs'},
+ {value:15,name:'birth'},
+
+
+ // {value:4,name:'life'},
+ // {value:5,name:'lvyou'},
+ // {value:6,name:'caizhai'},
+ // {value:7,name:'kangyang'},
+ // {value:8,name:'fangchan'},
]);
export {
customersEnum,areaEnum,rightEnum,equiteEnum
diff --git a/src/locales/lang/zh-CN/menu.js b/src/locales/lang/zh-CN/menu.js
index 2d662f1..f9fc2f0 100644
--- a/src/locales/lang/zh-CN/menu.js
+++ b/src/locales/lang/zh-CN/menu.js
@@ -1,5 +1,3 @@
-
-
export default {
welcome: '欢迎',
home: '首页',
@@ -63,23 +61,38 @@ export default {
rejectOrder: '确定驳回订单',
paddOrder: '过期订单',
erCodeList: '二维码列表',
- order:"权益订单",
- points:'积分列表',
- activity:'活动列表',
- equite:'权益兑换',
- hotel:'酒店优惠',
- parentChild:'亲子礼遇',
- jiazhuang:'家装团购',
- life:'生活服务',
- lvyou:'旅游',
- caizhai:'采摘及拍卖',
- kangyang:'康养礼遇',
- fangchan:'房产礼遇',
- birth:'生日礼遇',
- productExChange:'产品兑换记录',
- houseProduct:'案场礼品',
- prizeDraw:'抽奖模块',
- lotteryRules:'抽奖规则',
- lotteryProduct:'奖品列表',
- lotteryOrders:'抽奖记录',
+ order: '权益订单',
+ points: '积分列表',
+ activity: '活动列表',
+ productExChange: '产品兑换记录',
+ houseProduct: '案场礼品',
+ prizeDraw: '抽奖模块',
+ lotteryRules: '抽奖规则',
+ lotteryProduct: '奖品列表',
+ lotteryOrders: '抽奖记录',
+
+ equite: '南通权益兑换',
+ hotel: '酒店优惠',
+ parentChild: '亲子礼遇',
+ jiazhuang: '家装团购',
+ life: '生活服务',
+ lvyou: '旅游',
+ caizhai: '门窗保养服务',
+ kangyang: '房屋精保洁',
+ fangchan: '南通景点年卡',
+ birth: '生日礼遇',
+ quanwu:'全屋纱窗',
+ aiya:'爱牙抵用卷',
+ yllvs:'医疗绿色',
+
+ ycequite: '盐城权益兑换',
+ ychotel: '酒店优惠',
+ ycparentChild: '亲子礼遇',
+ ycjiazhuang: '家装团购',
+ yclife: '生活服务',
+ yclvyou: '旅游',
+ yccaizhai: '采摘及拍卖',
+ yckangyang: '康养礼遇',
+ ycfangchan: '房产礼遇',
+ ycbirth: '生日礼遇',
}
diff --git a/src/router/routes/equite.js b/src/router/routes/equite.js
index 486b79e..845db99 100644
--- a/src/router/routes/equite.js
+++ b/src/router/routes/equite.js
@@ -113,6 +113,39 @@ export default [
permission: '*',
},
},
+ {
+ path: 'quanwu',
+ name: 'quanwu',
+ component: 'equite/quanwu/index.vue',
+ meta: {
+ title: '全屋纱窗',
+ isMenu: true,
+ keepAlive: true,
+ permission: '*',
+ },
+ },
+ {
+ path: 'aiya',
+ name: 'aiya',
+ component: 'equite/aiya/index.vue',
+ meta: {
+ title: '爱牙',
+ isMenu: true,
+ keepAlive: true,
+ permission: '*',
+ },
+ },
+ {
+ path: 'yllvs',
+ name: 'yllvs',
+ component: 'equite/yllvs/index.vue',
+ meta: {
+ title: '医疗绿色',
+ isMenu: true,
+ keepAlive: true,
+ permission: '*',
+ },
+ },
],
},
]
diff --git a/src/router/routes/index.js b/src/router/routes/index.js
index 1baef46..887cb86 100644
--- a/src/router/routes/index.js
+++ b/src/router/routes/index.js
@@ -16,7 +16,10 @@ import announcement from './announcement'
import order from './order'
import activity from './activity'
import equite from './equite'
+import ycequite from './ycequite'
+
import lottery from './lottery'
+
export default [
...home,
...form,
@@ -36,5 +39,6 @@ export default [
...order,
...activity,
...equite,
- ...lottery
+ ...lottery,
+ ...ycequite
]
diff --git a/src/router/routes/ycequite.js b/src/router/routes/ycequite.js
new file mode 100644
index 0000000..34f79fc
--- /dev/null
+++ b/src/router/routes/ycequite.js
@@ -0,0 +1,118 @@
+import { DollarOutlined } from '@ant-design/icons-vue'
+
+export default [
+ {
+ path: 'ycequite',
+ name: 'ycequite',
+ component: 'RouteViewLayout',
+ meta: {
+ icon: DollarOutlined,
+ title: '盐城权益兑换',
+ isMenu: true,
+ keepAlive: true,
+ permission: '*',
+ },
+ children: [
+ {
+ path: 'ychotel',
+ name: 'ychotel',
+ component: 'ycequite/ychotel/index.vue',
+
+ meta: {
+ title: '酒店优惠',
+ isMenu: true,
+ keepAlive: true,
+ permission: '*',
+ },
+ },
+ {
+ path: 'parentChild',
+ name: 'ycparentChild',
+ component: 'ycequite/ycparentChild/index.vue',
+ meta: {
+ title: '亲子权益',
+ isMenu: true,
+ keepAlive: true,
+ permission: '*',
+ },
+ },
+ {
+ path: 'jiazhuang',
+ name: 'ycjiazhuang',
+ component: 'ycequite/jiazhuang/index.vue',
+ meta: {
+ title: '家装团购',
+ isMenu: true,
+ keepAlive: true,
+ permission: '*',
+ },
+ },
+ {
+ path: 'life',
+ name: 'yclife',
+ component: 'ycequite/life/index.vue',
+ meta: {
+ title: '生活服务',
+ isMenu: true,
+ keepAlive: true,
+ permission: '*',
+ },
+ },
+ {
+ path: 'lvyou',
+ name: 'yclvyou',
+ component: 'ycequite/lvyou/index.vue',
+ meta: {
+ title: '旅游待遇',
+ isMenu: true,
+ keepAlive: true,
+ permission: '*',
+ },
+ },
+ {
+ path: 'caizhai',
+ name: 'yccaizhai',
+ component: 'ycequite/caizhai/index.vue',
+ meta: {
+ title: '采摘及拍卖',
+ isMenu: true,
+ keepAlive: true,
+ permission: '*',
+ },
+ },
+ {
+ path: 'kangyang',
+ name: 'yckangyang',
+ component: 'ycequite/kangyang/index.vue',
+ meta: {
+ title: '康养礼遇',
+ isMenu: true,
+ keepAlive: true,
+ permission: '*',
+ },
+ },
+ {
+ path: 'fangchan',
+ name: 'ycfangchan',
+ component: 'ycequite/fangchan/index.vue',
+ meta: {
+ title: '房产礼遇',
+ isMenu: true,
+ keepAlive: true,
+ permission: '*',
+ },
+ },
+ {
+ path: 'birth',
+ name: 'ycbirth',
+ component: 'ycequite/birth/index.vue',
+ meta: {
+ title: '生日礼遇',
+ isMenu: true,
+ keepAlive: true,
+ permission: '*',
+ },
+ },
+ ],
+ },
+]
diff --git a/src/views/equite/aiya/index.vue b/src/views/equite/aiya/index.vue
new file mode 100644
index 0000000..3d85f21
--- /dev/null
+++ b/src/views/equite/aiya/index.vue
@@ -0,0 +1,200 @@
+
+
+
+
+
+
+
+
+
+ {{ dayjs(record.createdAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ {{ dayjs(record.expireAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ 已核销
+ 待核销
+
+
+
+
+ 核销
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/equite/caizhai/index.vue b/src/views/equite/caizhai/index.vue
index 5d0b472..574ba0c 100644
--- a/src/views/equite/caizhai/index.vue
+++ b/src/views/equite/caizhai/index.vue
@@ -98,7 +98,7 @@ async function getPageList() {
pageSize,
page: current,
channel: 'product',
- productId: equiteEnum.getValue('caizhai'),
+ productId: equiteEnum.getValue('menchuang'),
...searchFormData.value,
})
.catch(() => {
diff --git a/src/views/equite/fangchan/index.vue b/src/views/equite/fangchan/index.vue
index 403143a..33f689a 100644
--- a/src/views/equite/fangchan/index.vue
+++ b/src/views/equite/fangchan/index.vue
@@ -98,7 +98,7 @@ async function getPageList() {
pageSize,
page: current,
channel: 'product',
- productId: equiteEnum.getValue('fangchan'),
+ productId: equiteEnum.getValue('jdnk'),
...searchFormData.value,
})
.catch(() => {
diff --git a/src/views/equite/quanwu/index.vue b/src/views/equite/quanwu/index.vue
new file mode 100644
index 0000000..8c2b7c9
--- /dev/null
+++ b/src/views/equite/quanwu/index.vue
@@ -0,0 +1,200 @@
+
+
+
+
+
+
+
+
+
+ {{ dayjs(record.createdAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ {{ dayjs(record.expireAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ 已核销
+ 待核销
+
+
+
+
+ 核销
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/equite/yllvs/index.vue b/src/views/equite/yllvs/index.vue
new file mode 100644
index 0000000..522e2d1
--- /dev/null
+++ b/src/views/equite/yllvs/index.vue
@@ -0,0 +1,200 @@
+
+
+
+
+
+
+
+
+
+ {{ dayjs(record.createdAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ {{ dayjs(record.expireAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ 已核销
+ 待核销
+
+
+
+
+ 核销
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ycequite/birth/index.vue b/src/views/ycequite/birth/index.vue
new file mode 100644
index 0000000..7ad3288
--- /dev/null
+++ b/src/views/ycequite/birth/index.vue
@@ -0,0 +1,200 @@
+
+
+
+
+
+
+
+
+
+ {{ dayjs(record.createdAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ {{ dayjs(record.expireAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ 已核销
+ 待核销
+
+
+
+
+ 核销
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ycequite/caizhai/index.vue b/src/views/ycequite/caizhai/index.vue
new file mode 100644
index 0000000..5d0b472
--- /dev/null
+++ b/src/views/ycequite/caizhai/index.vue
@@ -0,0 +1,200 @@
+
+
+
+
+
+
+
+
+
+ {{ dayjs(record.createdAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ {{ dayjs(record.expireAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ 已核销
+ 待核销
+
+
+
+
+ 核销
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ycequite/fangchan/index.vue b/src/views/ycequite/fangchan/index.vue
new file mode 100644
index 0000000..403143a
--- /dev/null
+++ b/src/views/ycequite/fangchan/index.vue
@@ -0,0 +1,200 @@
+
+
+
+
+
+
+
+
+
+ {{ dayjs(record.createdAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ {{ dayjs(record.expireAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ 已核销
+ 待核销
+
+
+
+
+ 核销
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ycequite/hotel/index.vue b/src/views/ycequite/hotel/index.vue
new file mode 100644
index 0000000..da8204d
--- /dev/null
+++ b/src/views/ycequite/hotel/index.vue
@@ -0,0 +1,200 @@
+
+
+
+
+
+
+
+
+
+ {{ dayjs(record.createdAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ {{ dayjs(record.expireAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ 已核销
+ 待核销
+
+
+
+
+ 核销
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ycequite/jiazhuang/index.vue b/src/views/ycequite/jiazhuang/index.vue
new file mode 100644
index 0000000..5409763
--- /dev/null
+++ b/src/views/ycequite/jiazhuang/index.vue
@@ -0,0 +1,200 @@
+
+
+
+
+
+
+
+
+
+ {{ dayjs(record.createdAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ {{ dayjs(record.expireAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ 已核销
+ 待核销
+
+
+
+
+ 核销
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ycequite/kangyang/index.vue b/src/views/ycequite/kangyang/index.vue
new file mode 100644
index 0000000..4875f00
--- /dev/null
+++ b/src/views/ycequite/kangyang/index.vue
@@ -0,0 +1,200 @@
+
+
+
+
+
+
+
+
+
+ {{ dayjs(record.createdAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ {{ dayjs(record.expireAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ 已核销
+ 待核销
+
+
+
+
+ 核销
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ycequite/life/index.vue b/src/views/ycequite/life/index.vue
new file mode 100644
index 0000000..9737ac6
--- /dev/null
+++ b/src/views/ycequite/life/index.vue
@@ -0,0 +1,200 @@
+
+
+
+
+
+
+
+
+
+ {{ dayjs(record.createdAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ {{ dayjs(record.expireAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ 已核销
+ 待核销
+
+
+
+
+ 核销
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ycequite/lvyou/index.vue b/src/views/ycequite/lvyou/index.vue
new file mode 100644
index 0000000..d21a1aa
--- /dev/null
+++ b/src/views/ycequite/lvyou/index.vue
@@ -0,0 +1,200 @@
+
+
+
+
+
+
+
+
+
+ {{ dayjs(record.createdAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ {{ dayjs(record.expireAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ 已核销
+ 待核销
+
+
+
+
+ 核销
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ycequite/ycparentChild/index.vue b/src/views/ycequite/ycparentChild/index.vue
new file mode 100644
index 0000000..c05020e
--- /dev/null
+++ b/src/views/ycequite/ycparentChild/index.vue
@@ -0,0 +1,200 @@
+
+
+
+
+
+
+
+
+
+ {{ dayjs(record.createdAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ {{ dayjs(record.expireAt).format('YYYY-MM-DD HH:mm') }}
+
+
+ 已核销
+ 待核销
+
+
+
+
+ 核销
+
+
+
+
+
+
+
+
+
+
+
+