From 4b37164a6348e59b3142d0afbd4b4289332c41b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E7=A3=8A?= <45566618@qq.com> Date: Mon, 5 Aug 2024 10:22:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=8F=E7=BA=AA=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 8 +- src/views/applyList/technician.vue | 1 + src/views/bl/commission/fxy/fxyApply.vue | 880 +++++++++++++++++ src/views/bl/commission/fxy/fxyConfig.vue | 263 +++++ src/views/bl/commission/jjr/jjrApply.vue | 1073 +++++++++++++++++++++ src/views/bl/commission/jjr/jjrConfig.vue | 179 ++++ src/views/bl/commission/ywy/ywyApply.vue | 880 +++++++++++++++++ src/views/bl/commission/ywy/ywyConfig.vue | 169 ++++ src/views/main-navbar.vue | 69 +- src/views/user/userDetail.vue | 37 +- 10 files changed, 3516 insertions(+), 43 deletions(-) create mode 100644 src/views/bl/commission/fxy/fxyApply.vue create mode 100644 src/views/bl/commission/fxy/fxyConfig.vue create mode 100644 src/views/bl/commission/jjr/jjrApply.vue create mode 100644 src/views/bl/commission/jjr/jjrConfig.vue create mode 100644 src/views/bl/commission/ywy/ywyApply.vue create mode 100644 src/views/bl/commission/ywy/ywyConfig.vue diff --git a/src/router/index.js b/src/router/index.js index 2c85ab2..f1195d4 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -133,10 +133,14 @@ const mainRoutes = { { path: '/massageActivity', component: _import('bl/activity/massageActivity'), name: 'massageActivity', meta: { title: '活动列表', isTab: true } }, // 2024.06.08 { path: '/packageOrder', component: _import('bl/order/packageOrder'), name: 'packageOrder', meta: { title: '服务包订单', isTab: true } }, - { path: '/dlssqjl', component: _import('dlssqjl/dlssqjl'), name: 'dlssqjl', meta: { title: '代理商申请', isTab: true } }, { path: '/travelConf', component: _import('travelConf/index'), name: 'travelConf', meta: { title: '出行配置', isTab: true } }, - + { path: '/fxyConfig', component: _import('bl/commission/fxy/fxyConfig'), name: 'fxyConfig', meta: { title: '分销员设置', isTab: true } }, + { path: '/fxyApply', component: _import('bl/commission/fxy/fxyApply'), name: 'fxyApply', meta: { title: '分销员审核', isTab: true } }, + { path: '/jjrConfig', component: _import('bl/commission/jjr/jjrConfig'), name: 'jjrConfig', meta: { title: '经纪人设置', isTab: true } }, + { path: '/jjrApply', component: _import('bl/commission/jjr/jjrApply'), name: 'jjrApply', meta: { title: '经纪人审核', isTab: true } }, + { path: '/ywyConfig', component: _import('bl/commission/ywy/ywyConfig'), name: 'ywyConfig', meta: { title: '业务员设置', isTab: true } }, + { path: '/ywyApply', component: _import('bl/commission/ywy/ywyApply'), name: 'ywyApply', meta: { title: '业务员审核', isTab: true } }, ], beforeEnter(to, from, next) { let token = Vue.cookie.get('token') diff --git a/src/views/applyList/technician.vue b/src/views/applyList/technician.vue index 5549359..fc9bfd4 100644 --- a/src/views/applyList/technician.vue +++ b/src/views/applyList/technician.vue @@ -2453,6 +2453,7 @@ export default { classifyId: this.classifyId, phone: this.phoneT, authentication: 2, + isBack: "1" }), }).then(({ data }) => { this.tableDataLoading = false; diff --git a/src/views/bl/commission/fxy/fxyApply.vue b/src/views/bl/commission/fxy/fxyApply.vue new file mode 100644 index 0000000..dd045d2 --- /dev/null +++ b/src/views/bl/commission/fxy/fxyApply.vue @@ -0,0 +1,880 @@ + + + + + 状态: + + + + + + + + + 姓名: + + + + + 电话: + + + + + 申请开始时间: + + + + + 申请截止时间: + + + + 查询 + + 重置 + + 添加 + + + + + + + + + + 暂无图片 + + + + + + + + + + + + + + + {{ showDictValue(scope.row.status, statusData) }} + + + + + 授权 + + 修改 + + + + + + + + + + + + + 用户ID: + + + 用户列表 + + + + 头像: + + + + + + 昵称: + + + + 姓名: + + + + 手机号: + + + + 备注: + + + + + + + + + 昵称: + + + + 手机号: + + + + 邀请码: + + + 查询 + + 重置 + + + + + + + 暂无图片 + + + + + + + + 添加 + + + + + + + + + + + + + 用户ID: + + + + + 头像: + + + + + + 昵称: + + + + 姓名: + + + + 手机号: + + + + 备注: + + + + + 状态: + + 授权 + 驳回 + + + + 审批意见: + + + + + + + + + + + diff --git a/src/views/bl/commission/fxy/fxyConfig.vue b/src/views/bl/commission/fxy/fxyConfig.vue new file mode 100644 index 0000000..606f567 --- /dev/null +++ b/src/views/bl/commission/fxy/fxyConfig.vue @@ -0,0 +1,263 @@ + + + + + 分销员的佣金应该由该笔订单服务技师和该技师绑定的上级代理承担 + + + + + 开启 + 关闭 + + + + + + + 开启 + 关闭 + + + + + + + 按人员来提成 + 按服务项目来提成 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 分销员付费申请设置 + + + + + + + + + + + + + + + + + + + + + + + 其他设置 + + + + + 永久性 + 限制时效天数 + + + + + + + + + + 提交 + + + + + + diff --git a/src/views/bl/commission/jjr/jjrApply.vue b/src/views/bl/commission/jjr/jjrApply.vue new file mode 100644 index 0000000..d3d8252 --- /dev/null +++ b/src/views/bl/commission/jjr/jjrApply.vue @@ -0,0 +1,1073 @@ + + + + + 状态: + + + + + + + + + 姓名: + + + + + 电话: + + + + + 申请开始时间: + + + + + 申请截止时间: + + + + 查询 + + 重置 + + 添加 + + + + + + + + + + 暂无图片 + + + + + + + + + + + + + + + {{ showDictValue(scope.row.status, statusData) }} + + + + + 查看 + + 修改 + + 删除 + + 授权 + + 取消授权 + + + + + + + + + + + + 用户ID: + + + + + 头像: + + + + + + 昵称: + + + + 姓名: + + + + 手机号: + + + + 备注: + + + + + 状态: + + 授权 + 驳回 + + + + 审批意见: + + + + + + + + + 用户ID: + + + 用户列表 + + + + 头像: + + + + + + 昵称: + + + + 姓名: + + + + 手机号: + + + + 备注: + + + + + + + + + 昵称: + + + + 手机号: + + + + 邀请码: + + + 查询 + + 重置 + + + + + + + 暂无图片 + + + + + + + + 添加 + + + + + + + + + + + + + 用户ID: + + + + + 头像: + + + + + + 昵称: + + + + 姓名: + + + + 手机号: + + + + 备注: + + + + + 状态: + + 授权 + 驳回 + + + + 审批意见: + + + + + + + + + + + diff --git a/src/views/bl/commission/jjr/jjrConfig.vue b/src/views/bl/commission/jjr/jjrConfig.vue new file mode 100644 index 0000000..c31d428 --- /dev/null +++ b/src/views/bl/commission/jjr/jjrConfig.vue @@ -0,0 +1,179 @@ + + + + + 经纪人的佣金应该由该笔订单服务技师和该技师绑定的上级代理承担 + + + + + 开启 + 关闭 + + + + + + + 开启 + 关闭 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 提交 + + + + + + diff --git a/src/views/bl/commission/ywy/ywyApply.vue b/src/views/bl/commission/ywy/ywyApply.vue new file mode 100644 index 0000000..d77688c --- /dev/null +++ b/src/views/bl/commission/ywy/ywyApply.vue @@ -0,0 +1,880 @@ + + + + + 状态: + + + + + + + + + 姓名: + + + + + 电话: + + + + + 申请开始时间: + + + + + 申请截止时间: + + + + 查询 + + 重置 + + 添加 + + + + + + + + + + 暂无图片 + + + + + + + + + + + + + + + {{ showDictValue(scope.row.status, statusData) }} + + + + + 授权 + + 修改 + + + + + + + + + + + + + 用户ID: + + + 用户列表 + + + + 头像: + + + + + + 昵称: + + + + 姓名: + + + + 手机号: + + + + 备注: + + + + + + + + + 昵称: + + + + 手机号: + + + + 邀请码: + + + 查询 + + 重置 + + + + + + + 暂无图片 + + + + + + + + 添加 + + + + + + + + + + + + + 用户ID: + + + + + 头像: + + + + + + 昵称: + + + + 姓名: + + + + 手机号: + + + + 备注: + + + + + 状态: + + 授权 + 驳回 + + + + 审批意见: + + + + + + + + + + + diff --git a/src/views/bl/commission/ywy/ywyConfig.vue b/src/views/bl/commission/ywy/ywyConfig.vue new file mode 100644 index 0000000..0d9d610 --- /dev/null +++ b/src/views/bl/commission/ywy/ywyConfig.vue @@ -0,0 +1,169 @@ + + + + + 业务员的佣金应该由该笔订单服务技师和该技师绑定的上级代理承担 + + + + + 开启 + 关闭 + + + + + + + 开启 + 关闭 + + + + + + + + + + + + + + + + + + + + + + 无关系 + 抽成关系 + + + + + + + + + + + + + + + 提交 + + + + + + diff --git a/src/views/main-navbar.vue b/src/views/main-navbar.vue index 0dded59..eba247a 100644 --- a/src/views/main-navbar.vue +++ b/src/views/main-navbar.vue @@ -17,14 +17,14 @@ {{chatNum}} - + --> @@ -42,15 +42,15 @@ --> - + hidden> {{ username ? username : '' }} ,欢迎您登录 + v-if="username">,欢迎您登录 @@ -171,8 +171,8 @@ export default { method: 'get', params: this.$http.adornParams({}) }).then(({ - data - }) => { + data + }) => { let returnData = data.user; // if (returnData == null) { // this.$cookie.set('token', '') @@ -201,8 +201,8 @@ export default { 'storeId': this.storeId }) }).then(({ - data - }) => { + data + }) => { let returnData = data.data; this.chatNum = returnData if (this.chatNum == 0) { @@ -251,7 +251,7 @@ export default { notification() { let that = this; if (!("Notification" in window)) { - console.log("浏览器不支持消息通知"); + // console.log("浏览器不支持消息通知"); return; } Notification.requestPermission(function (permission) { }); @@ -265,8 +265,8 @@ export default { 'storeId': this.storeId }) }).then(({ - data - }) => { + data + }) => { let returnData = data.data; if (data.data > 0) { this.$notify.info({ @@ -288,8 +288,8 @@ export default { method: 'get', params: this.$http.adornParams({}) }).then(({ - data - }) => { + data + }) => { if (data.data >= 0) { this.$cookie.set('numberDrz', data.data) } @@ -305,8 +305,8 @@ export default { 'state': 7, }) }).then(({ - data - }) => { + data + }) => { if (data.data >= 0) { this.$cookie.set('numberDts', data.data) } @@ -321,8 +321,8 @@ export default { 'state': 9, }) }).then(({ - data - }) => { + data + }) => { if (data.data >= 0) { this.$cookie.set('numberJjqz', data.data) } @@ -335,8 +335,8 @@ export default { method: 'get', params: this.$http.adornParams({}) }).then(({ - data - }) => { + data + }) => { if (data.data >= 0) { this.$cookie.set('numberDsh', data.data) } @@ -350,8 +350,8 @@ export default { method: 'get', params: this.$http.adornParams({}) }).then(({ - data - }) => { + data + }) => { if (data.data >= 0) { this.$cookie.set('numberJg', data.data) if (data.data > 0) { @@ -389,8 +389,8 @@ export default { method: 'get', params: this.$http.adornParams({}) }).then(({ - data - }) => { + data + }) => { if (data.data >= 0) { this.$cookie.set('numberCs', data.data) @@ -437,8 +437,8 @@ export default { params: this.$http.adornParams({ }) }).then(({ - data - }) => { + data + }) => { if (data.data >= 0) { if (data.data > 0) { if (this.errCount2 != data.data) { @@ -477,7 +477,7 @@ export default { aplayAudio() { const audio = document.getElementById('audio1'); audio.play(); - console.log('订单语音提示'); + // console.log('订单语音提示'); }, // aplayAudio1() { // const audio = document.getElementById('audio') @@ -490,8 +490,8 @@ export default { method: 'get', params: this.$http.adornParams({}) }).then(({ - data - }) => { + data + }) => { if (data && data.code === 0) { let returnData = data.data; //将【开关配置】中id为394"是否开启打车费扣提成"隐藏 @@ -500,7 +500,7 @@ export default { let ringOrderArr = returnData.filter((item) => item.id == 433); if (ringOrderArr) window.localStorage.setItem("ringOrderId", ringOrderArr[0].value); } - console.log(returnData); + // console.log(returnData); } }) } @@ -522,12 +522,10 @@ export default { } }, created() { - // this.chatNum = setInterval(() => { - // this.chatSelect() - // }, 6000) this.userId = window.localStorage.getItem('userId'); this.ringOrderId = window.localStorage.getItem('ringOrderId'); + //生产需替换 // this.chatNumJl = setInterval(() => { // this.dataSelect() // }, 6000) @@ -537,10 +535,11 @@ export default { // this.chatNumJjqz = setInterval(() => { // this.dataSelectJjqz() // }, 6000) + // // this.chatNumYh = setInterval(() => { // this.dataSelectYh() // }, 6000) - // 目前的逻辑是只有客服账号才有订单相关(新订单、警告订单、超时订单)的提示 + // // 目前的逻辑是只有客服账号才有订单相关(新订单、警告订单、超时订单)的提示 // if ((this.userId && this.ringOrderId) && (this.userId == this.ringOrderId)) { // this.chatNumJg = setInterval(() => { // this.dataSelectJg() @@ -554,8 +553,8 @@ export default { // } }, beforeDestroy() { + //生产需替换 // clearInterval(this.chatNum) - // clearInterval(this.chatNumJl); // clearInterval(this.chatNumQy); // clearInterval(this.chatNumJjqz); diff --git a/src/views/user/userDetail.vue b/src/views/user/userDetail.vue index daf5e93..d4a7fd3 100644 --- a/src/views/user/userDetail.vue +++ b/src/views/user/userDetail.vue @@ -172,19 +172,31 @@ - 渠道来源 - + 渠道来源 + {{ tableData.platform }} - 开户行地址 - + 开户行地址 + {{ tableData.bankCardAddress }} - 公众号openId - + 公众号openId + {{ tableData.wxOpenId }} + + 经纪人 + {{ tableData.jjrName }} + 修改 + + + + + + @@ -1481,6 +1493,14 @@ 取 消 确 定 + + + + + + + + @@ -2111,6 +2131,7 @@ import { serverPaths } from '@/utils/enumData' dialogFormVisible: false, dialogFormVisible1: false, dialogFormVisible2: false, + dialogFormVisible3: false, dialogFormVisible4: false, dialogFormVisible5: false, tableDataLoading: true, @@ -4160,6 +4181,10 @@ import { serverPaths } from '@/utils/enumData' this.age = row.age; this.dialogFormVisible2 = true; }, + // 修改信息弹框 + updataJjr(row) { + this.dialogFormVisible3 = true; + }, ageChange2(userId, creditScore) { this.type = ""; this.age = "";