From c9b171d3af6f236b4fc212c1a5287c57b7bd7c19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com> Date: Thu, 11 Sep 2025 17:43:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 2 + src/views/modules/user/user.vue | 4 + src/views/modules/vipList/user-open-vip.vue | 292 +++++++ src/views/modules/vipList/userList.vue | 830 ++++++++++++++++++++ src/views/modules/vipList/vipDetail.vue | 823 +++++++++++++++++++ static/config/index.js | 4 +- 6 files changed, 1953 insertions(+), 2 deletions(-) create mode 100644 src/views/modules/vipList/user-open-vip.vue create mode 100644 src/views/modules/vipList/userList.vue create mode 100644 src/views/modules/vipList/vipDetail.vue diff --git a/src/router/index.js b/src/router/index.js index cf13c35..d065181 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -87,6 +87,8 @@ const mainRoutes = { { path: '/medicalrecords-medicalList', component: _import('modules/medicalrecords/medicalList'), name: 'medicalrecords-medicalList', meta: { title: '医案列表', isTab: true } }, { path: '/medicalrecords-userList', component: _import('modules/medicalrecords/userList'), name: 'medicalrecords-userList', meta: { title: '审核人员列表', isTab: true } }, + { path: '/vipList-userList', component: _import('modules/vipList/userList'), name: 'vipList-userList', meta: { title: 'VIP用户列表', isTab: true } }, + { path: '/vipList-vipDetail', component: _import('modules/vipList/vipDetail'), name: 'vipList-vipDetail', meta: { title: 'VIP详情', isTab: true } }, ], beforeEnter (to, from, next) { diff --git a/src/views/modules/user/user.vue b/src/views/modules/user/user.vue index 846df11..bfc7c28 100644 --- a/src/views/modules/user/user.vue +++ b/src/views/modules/user/user.vue @@ -646,7 +646,11 @@ export default { addJF, OpenVip }, + activated() { + if(this.$route.params.key){ + this.dataForm.key = this.$route.params.key + } this.getDataList(); }, methods: { diff --git a/src/views/modules/vipList/user-open-vip.vue b/src/views/modules/vipList/user-open-vip.vue new file mode 100644 index 0000000..d7a8980 --- /dev/null +++ b/src/views/modules/vipList/user-open-vip.vue @@ -0,0 +1,292 @@ + + + + + + + + + + {{ item.tel ? item.tel : item.email }} + ({{ item.name }}) + + + + + + + 天医币 {{ dataForm.peanutCoin }} +    积分 {{ dataForm.jf }} + + + + + + + {{ option.label }} + + + + + + + {{ option.label }} + + + 其他:  天 + + + {{ dataForm.price }}元 + + + + + + + + + + + + + + + + + + 取消 + 确定 + + + + + + + diff --git a/src/views/modules/vipList/userList.vue b/src/views/modules/vipList/userList.vue new file mode 100644 index 0000000..95d4601 --- /dev/null +++ b/src/views/modules/vipList/userList.vue @@ -0,0 +1,830 @@ + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 开通VIP + + + + + + + + + 详情 + + + + + + + + + ID:{{ scope.row.id }} + + + + + + + 昵称 ( 姓名 ): + + + 未设置 + + + + + 未设置 + + + + {{ scope.row.nickname }} + + 未设置 + + + ( + {{ scope.row.name }} + + 未设置 + + ) + + + + + 联系方式: + + + {{ scope.row.tel ? scope.row.tel : "-" }} + + + + {{ scope.row.email ? scope.row.email : "-" }} + + + + + + + + - + + + {{ scope.row.createTime?scope.row.createTime.split(' ')[0]:'' }} + {{ scope.row.endTime?scope.row.endTime.split(' ')[0]:'' }} + + + + + + + + + + + + + + + + + + 管理 + 操作VIP + + + + + + + + + + + + + + + + + {{ pointForm.tel }} + ({{ pointForm.name }}) + 账户余额:{{ pointForm.peanutCoin }} + + + + + + + + + + + + + + + + + + + + + 取消 + 确定 + + + + + + + diff --git a/src/views/modules/vipList/vipDetail.vue b/src/views/modules/vipList/vipDetail.vue new file mode 100644 index 0000000..3d28f34 --- /dev/null +++ b/src/views/modules/vipList/vipDetail.vue @@ -0,0 +1,823 @@ + + + + + + + + 用户信息 + + 用户名:{{ + orderDetails.userInfo.userName !== null + ? orderDetails.userInfo.userName + : "暂无" + }} + + + + 联系电话:{{ orderDetails.userInfo.userPhone }} + + + + + + + + + + 订单信息 + + 订单ID:{{ orderDetails.orderSn }} + + + + + 创建时间:{{ orderDetails.createTime }} + + + 支付时间:{{ orderDetails.paymentDate }} + + + 支付方式: + 支付宝支付 + 微信支付 + + 天医币支付 + + + IOS内购 + + + + + 订单号: + {{ orderDetails.outTradeNo }} + + + 支付宝订单号: + {{ orderDetails.tradeNo }} + + + + + 支付信息 + + 订单金额:¥{{ orderDetails.orderPrice }} + + + + + + 积分抵扣:- + {{ orderDetails.jfDeduction }} + 积分 + + + 天医币抵扣:- {{ orderDetails.realPrice }} + + 0 + + + + + 实际支付: + ¥{{ orderDetails.realPrice }} + + + + ¥{{ orderDetails.realPrice }} + + 微信支付 + 支付宝支付 + 苹果支付 + + 天医币支付 + + + + + + + + + + {{ orderDetails.jfDeduction }} 积分 + + + + + + + + + + VIP 信息 + + 办理明细 + + + + + + + {{ scope.row.productName }} + + + + + + + + + + + + + + + + + + + + + + 运单信息:{{ currentSheet.expressCompanyName }} - + {{ currentSheet.expressOrderSn }} + + + + + {{ activity.acceptStation }} + + + + -暂无物流信息- + + + + + + + + + + \ No newline at end of file diff --git a/static/config/index.js b/static/config/index.js index 88a0b47..493669f 100644 --- a/static/config/index.js +++ b/static/config/index.js @@ -5,8 +5,8 @@ window.SITE_CONFIG = {}; // api接口请求地址 - window.SITE_CONFIG['baseUrl'] = 'https://api.nuttyreading.com'; // 线上正式环境 - // window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.100:9200/pb'; //川 + // window.SITE_CONFIG['baseUrl'] = 'https://api.nuttyreading.com'; // 线上正式环境 + window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.100:9200/pb'; //川 // cdn地址 = 域名 + 版本号 window.SITE_CONFIG['domain'] = './'; // 域名
办理明细