From 8b14ddd0157fdb3ced10c512b9adf83cec08a6e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=86=8A=E4=B8=BD=E5=90=9B?= <664953382@qq.com>
Date: Wed, 13 Oct 2021 17:07:54 +0800
Subject: [PATCH] up
---
src/views/account/index.vue | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/views/account/index.vue b/src/views/account/index.vue
index aba015c..8b2c79b 100644
--- a/src/views/account/index.vue
+++ b/src/views/account/index.vue
@@ -45,6 +45,13 @@
align="center"
prop="loginTime"
>
+
+
+ 已升级
+ 已禁用
+ 已启用
+
+
-->
升级 {
+ handleStatus(row, status) {
+ if(row.status==0) return this.msgInfo('请先启用该用户企业');
+ handleUser({ userId:row.id, status }).then(({ message }) => {
this.msgSuccess(message);
this.getList();
});