From a858cfab21ad468b0c6fe834e29a332226d22042 Mon Sep 17 00:00:00 2001 From: 1748153932 <1748153932@qq.com> Date: Fri, 15 Dec 2023 12:32:34 +0800 Subject: [PATCH] 21 31 --- src/libs/settingMer.js | 2 +- src/views/product/productExamine/index.vue | 11 +++---- src/views/user/list/index.vue | 34 +++++++++++++++------- 3 files changed, 31 insertions(+), 16 deletions(-) diff --git a/src/libs/settingMer.js b/src/libs/settingMer.js index 9e9197a..7dafe5e 100644 --- a/src/libs/settingMer.js +++ b/src/libs/settingMer.js @@ -9,7 +9,7 @@ // +---------------------------------------------------------------------- import Cookies from "js-cookie"; // 请求接口地址 如果没有配置自动获取当前网址路径 -const VUE_APP_API_URL = process.env.VUE_APP_BASE_API || `${location.origin}` +const VUE_APP_API_URL = 'https://b2b2c.njrenzhou.cn' const VUE_APP_WS_URL = process.env.VUE_APP_WS_URL || (location.protocol === 'https:' ? 'wss' : 'ws') + ':' + location.hostname const login_title = Cookies.get('MerInfo') ? JSON.parse(Cookies.get('MerInfo')).login_title : '' const SettingMer = { diff --git a/src/views/product/productExamine/index.vue b/src/views/product/productExamine/index.vue index 3417005..195e0ff 100644 --- a/src/views/product/productExamine/index.vue +++ b/src/views/product/productExamine/index.vue @@ -30,12 +30,12 @@ - + - + @@ -47,7 +47,7 @@ - + @@ -170,7 +170,7 @@ 已售数量 审核 强制下架 - + @@ -221,7 +221,8 @@ > - + +
- 创建用户 + 创建用户 发送图文消息 批量设置分组 批量设置标签 @@ -156,6 +156,20 @@ {{ props.row.real_name }} + + + + + + + + + + + + + + @@ -241,7 +255,7 @@ 更多 - 用户详情 + 用户详情 设置余额 设置积分 清除等级 @@ -270,7 +284,7 @@ - +
@@ -484,7 +498,7 @@ export default { } else if (index > -1) { this.checkedPage.splice(index, 1) } - + this.syncCheckedId() }, syncCheckedId() { @@ -513,7 +527,7 @@ export default { } }) } - + }, // 分开选择 changeOne(v, user) { @@ -552,7 +566,7 @@ export default { let label_id = this.userFrom.label_id == '' ? '' : this.getLabelValue(), user_type = this.findKey(this.userFrom.user_type,{'':'','微信用户':'wechat','小程序用户':'routine','H5用户':'h5'}), sex = this.findKey(this.userFrom.sex,{'男':'1','女':'2','保密':'0','':''}), - pay_count = this.findKey(this.userFrom.sex,{'0次':'-1','1次以上':'0','2次以上':'1','3次以上':'2','4次以上':'3','5次以上':'4','': ''}), + pay_count = this.findKey(this.userFrom.sex,{'0次':'-1','1次以上':'0','2次以上':'1','3次以上':'2','4次以上':'3','5次以上':'4','': ''}), is_promoter = this.findKey(this.userFrom.is_promoter,{'推广员':'1','普通用户':'0','':''}), user_time_type = this.userFrom.user_time_type == 'visit' ? '最后访问' : this.userFrom.user_time_type == 'add_time' ? '首次访问' : '' this.couponForm = { @@ -637,7 +651,7 @@ export default { if (this.checkedIds.length === 0 && this.allCheck == false) return this.$message.warning('请先选择用户') this.visible = true this.wechatIds = this.getWechatUsers(this.tableData.data, this.checkedIds) - + }, handleClose() { this.visible = false @@ -650,7 +664,7 @@ export default { if(arr1[i]['wechat_user_id']){ newArr.push(arr1[i]['wechat_user_id']); } - } + } }else{ for (let i = 0; i < arr1.length; i++) { for (let j = 0; j < arr2.length; j++) { @@ -700,7 +714,7 @@ export default { this.$modalForm(changeMemberApi(row.uid)).then(() => this.getList('')) }, // 赠送付费会员 - giveMember(row) { + giveMember(row) { this.$modalForm(giveMemberApi(row.uid)).then(() => this.getList('')) }, // 修改推荐人 @@ -718,7 +732,7 @@ export default { this.$modalForm(changeNowMoneyApi(row.uid)).then(() => this.getList('')) }, // 修改积分余额 - changeIntegral(row){ + changeIntegral(row){ this.$modalForm(changeNowIntegralApi(row.uid)).then(() => this.getList('')) }, // 列表