From c75dfa402c0d06e12e6d906f6be4cac6fcb6f5ef Mon Sep 17 00:00:00 2001
From: TonyStark <651027268@qq.com>
Date: Mon, 19 May 2025 14:30:55 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86?=
=?UTF-8?q?=E5=92=8C=E5=95=86=E6=88=B7=E7=AE=A1=E7=90=86=E8=BF=9B=E8=A1=8C?=
=?UTF-8?q?=E5=88=86=E7=A6=BB=EF=BC=8C=E5=B9=B6=E9=85=8D=E7=BD=AE=E7=9B=B8?=
=?UTF-8?q?=E5=85=B3=E6=9D=83=E9=99=90=EF=BC=8C=E5=90=8C=E6=97=B6=E5=8A=A0?=
=?UTF-8?q?=E5=85=A5=E8=B4=A6=E5=8F=B7=E5=86=BB=E7=BB=93=E5=92=8C=E8=A7=A3?=
=?UTF-8?q?=E5=86=BB=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/business/userRegister.js | 9 +
src/views/business/userRegister/index.vue | 121 ++-
src/views/business/userRegister/indexBus.vue | 741 +++++++++++++++++++
3 files changed, 842 insertions(+), 29 deletions(-)
create mode 100644 src/views/business/userRegister/indexBus.vue
diff --git a/src/api/business/userRegister.js b/src/api/business/userRegister.js
index b1fb1fc..e8c5f54 100755
--- a/src/api/business/userRegister.js
+++ b/src/api/business/userRegister.js
@@ -69,3 +69,12 @@ export function resetUserPassword(id) {
data: id
})
}
+
+// 账号冻结
+export function accountLock(date) {
+ return request({
+ url: '/business/userRegister/accountLock',
+ method: 'post',
+ data: date
+ })
+}
diff --git a/src/views/business/userRegister/index.vue b/src/views/business/userRegister/index.vue
index b36beb1..b0487ff 100755
--- a/src/views/business/userRegister/index.vue
+++ b/src/views/business/userRegister/index.vue
@@ -17,16 +17,6 @@
@keyup.enter.native="handleQuery"
/>
-
-
-
-
-
-
- 普通用户
- 商企用户
+ 普通用户
+ 商企用户
@@ -122,13 +112,13 @@
- 补充
- 修改
- 删除
- 重置
+
+
+ 更多
+
+
+
+ 密码重置
+
+
+ 账号冻结
+ 账号解冻
+
+
+ 删除
+
+
+
@@ -349,7 +366,8 @@ import {
updateUserRegister,
addUserInfo,
addUserInfoBus,
- resetUserPassword
+ resetUserPassword,
+ accountLock
} from "@/api/business/userRegister";
export default {
@@ -673,7 +691,52 @@ export default {
}).finally(() => {
this.loading = false;
});
+ },
+
+ /**
+ * 账号冻结
+ * @param row
+ */
+ accountLock(row) {
+ this.$modal.confirm('是否确认对账号"' + row.account + '"进行冻结?').then(() => {
+ this.loading = true;
+ return accountLock(row);
+ }).then(() => {
+ this.loading = false;
+ this.getList();
+ this.$modal.msgSuccess("冻结成功");
+ }).catch(() => {
+ }).finally(() => {
+ this.loading = false;
+ });
+ },
+ /**
+ * 账号解冻
+ * @param row
+ */
+ accountUnlock(row) {
+ this.$modal.confirm('是否确认解除账号"' + row.account + '"的冻结?').then(() => {
+ this.loading = true;
+ return accountLock(row);
+ }).then(() => {
+ this.loading = false;
+ this.getList();
+ this.$modal.msgSuccess("解除冻结成功");
+ }).catch(() => {
+ }).finally(() => {
+ this.loading = false;
+ });
}
}
};
+
+
diff --git a/src/views/business/userRegister/indexBus.vue b/src/views/business/userRegister/indexBus.vue
new file mode 100644
index 0000000..ceff639
--- /dev/null
+++ b/src/views/business/userRegister/indexBus.vue
@@ -0,0 +1,741 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+ 发起
+ 拒绝
+ 通过
+ 冻结
+
+
+
+
+ 普通用户
+ 商企用户
+
+
+
+
+ 普通用户
+ VIP用户
+ 商企用户
+
+
+
+
+
+ {{ scope.row.addressInfo }}
+ {{ scope.row.address }}
+
+
+
+
+ 补充
+ 详情
+ 修改
+
+
+ 更多
+
+
+
+ 密码重置
+
+
+ 账号冻结
+ 账号解冻
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{formDetail.account}}
+
+
+ {{formDetail.userInfoVo.name}}
+
+
+ 男
+ 女
+
+
+ {{formDetail.userInfoVo.age}}
+
+
+ {{formDetail.userInfoVo.idCard}}
+
+
+ {{formDetail.userInfoVo.addr}}
+
+
+ {{formDetail.userInfoVo.phone}}
+
+
+
+ 普通用户
+ 商企用户
+
+
+
+
+ 普通用户
+ VIP用户
+ 商企用户
+
+
+
+
+
+
+
+
+
+
+ {{formDetailBus.account}}
+
+
+ {{formDetailBus.userInfoBusVo.license}}
+
+
+ {{formDetailBus.userInfoBusVo.licenseOther}}
+
+
+ {{formDetailBus.userInfoBusVo.legalPerson}}
+
+
+ {{formDetailBus.userInfoBusVo.operateStatus}}
+
+
+ {{formDetailBus.userInfoBusVo.operateAddr}}
+
+
+
+
+
+
+
+
+
+