- 二级佣金:
+ 上级成长值:
{{ parseFloat(orderDetailList.extension_two) + parseFloat(orderDetailList.refund_extension_two) }}
(-{{ orderDetailList.refund_extension_two }})
diff --git a/src/views/promoter/user/index.vue b/src/views/promoter/user/index.vue
index b4ca262..87c87b2 100644
--- a/src/views/promoter/user/index.vue
+++ b/src/views/promoter/user/index.vue
@@ -214,7 +214,7 @@
@change="onchangeTimeSpread"
/>
-
+
+
-
+ -->
-
+ /> -->
修改密码
+ 注销账号
@@ -628,6 +631,7 @@ import {
userInfoSelectApi,
userMemberListApi,
sysVerifyCodeApi,
+ cancelUserApi,
} from "@/api/user";
import newsCategory from "@/components/newsCategory/index.vue";
import userDetail from "./userDetails";
@@ -867,6 +871,30 @@ export default {
this.$refs.searchForm.resetFields();
this.changeSearch(1);
},
+ cancellationUser(row) {
+ this.$confirm("此操作将注销账号, 是否继续?", "提示", {
+ confirmButtonText: "确定",
+ cancelButtonText: "取消",
+ type: "warning",
+ })
+ .then(() => {
+ cancelUserApi(row.uid).then((res) => {
+ if (res.status == 200) {
+ this.$message({
+ type: "success",
+ message: res.message,
+ });
+ this.getList(1);
+ }
+ });
+ })
+ .catch(() => {
+ this.$message({
+ type: "info",
+ message: "已取消注销",
+ });
+ });
+ },
handleRefer() {
this.$refs["verify"].validate((valid) => {
if (valid) {
diff --git a/src/views/user/list/userDetails.vue b/src/views/user/list/userDetails.vue
index 6ca3a7d..97e143d 100644
--- a/src/views/user/list/userDetails.vue
+++ b/src/views/user/list/userDetails.vue
@@ -1268,6 +1268,16 @@ export default {
key: "activation_promoter_name",
minWidth: 100,
},
+ {
+ title: "注册时间",
+ key: "create_time",
+ minWidth: 100,
+ },
+ {
+ title: "邀请时间",
+ key: "spread_time",
+ minWidth: 100,
+ },
{
title: "绑定时间",
key: "activation_time",