-
+
{{ user.name }}
diff --git a/src/router/index.js b/src/router/index.js
index 2aa1354..9c7d297 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -34,10 +34,16 @@ export const dynamicRoutes = [
meta: { title: '数据统计' }
},
{
- path: 'customers',
- name: 'customers',
- component: () => import('@/views/CustomersManagement.vue'),
+ path: 'companyAoperators',
+ name: 'company_and_operators',
+ component: () => import('@/views/CompanyAndOperatorsManagement.vue'),
meta: { title: '客户管理' }
+ },
+ {
+ path: 'accountRegistration',
+ name: 'account_registration',
+ component: () => import('@/views/AccountRegistrationView.vue'),
+ meta: { title: '账户注册' }
}
]
},
diff --git a/src/views/AccountRegistrationView.vue b/src/views/AccountRegistrationView.vue
new file mode 100644
index 0000000..b5fcfb3
--- /dev/null
+++ b/src/views/AccountRegistrationView.vue
@@ -0,0 +1,269 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{ row.real_name || '-' }}
+
+
+
+
+
+
+ {{ roleLabel(row.role) }}
+
+
+
+
+
+
+
+ {{ row.status === 1 ? '正常' : '已禁用' }}
+
+
+
+
+
+
+ {{ formatDate(row.create_time) }}
+
+
+
+
+
+
+ {{ scope.row.status === 1 ? '禁用' : '启用' }}
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 确定注册
+
+
+
+
+
+
+
+
diff --git a/src/views/CompanyAndOperatorsManagement.vue b/src/views/CompanyAndOperatorsManagement.vue
new file mode 100644
index 0000000..a3ac468
--- /dev/null
+++ b/src/views/CompanyAndOperatorsManagement.vue
@@ -0,0 +1,159 @@
+
+ 账户管理
+ +
+ 注册用户
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 共 {{ scope.row.companyoperators.length }} 人
+
+
+ 查看详情
+
+
+
+
+
+
+
+ 删除单位
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/CustomersManagement.vue b/src/views/CustomersManagement.vue
deleted file mode 100644
index aca3856..0000000
--- a/src/views/CustomersManagement.vue
+++ /dev/null
@@ -1,183 +0,0 @@
-
- 运营人员管理
+ +
+
+
+
+
+
+
+
+ 新增客户单位
+
+
+ 新增运营人员
+
+
+
-
-
-
-
-
-
-
- 共
- {{ getEmployeeCount(scope.row.customer_id) }} 人
-
- 查看详情
-
-
-
-
-
- 删除单位
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/LoginView.vue b/src/views/LoginView.vue
index 63f6881..503e2b8 100644
--- a/src/views/LoginView.vue
+++ b/src/views/LoginView.vue
@@ -109,7 +109,6 @@ const handleLogin = async () => {
} catch (error) {
if (error.name !== "ValidationError") {
ElMessage.error("登录请求异常,请稍后重试");
- // console.error("登录错误:", error);
}
} finally {
loading.value = false;
客户及员工管理系统
- -
-
-
-
-
-
-
- 新增客户单位
- 新增员工
-
-