From 58afcc120becaa89b59fc0dc4d87c0b9bb3973f7 Mon Sep 17 00:00:00 2001
From: xjh <2423579486@qq.com>
Date: Sat, 15 Jul 2023 23:03:36 +0800
Subject: [PATCH] =?UTF-8?q?fix:=E5=AE=A2=E6=88=B7=E6=A8=A1=E5=9D=97?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/AddCustomerDialog.vue | 21 ++++----
.../components/DetailCustomerDialog.vue | 14 +++---
.../components/EditCustomerDialog.vue | 15 +-----
.../components/EditPswDialog.vue | 6 +--
.../index/customer/customer_list/index.vue | 48 +++++++++----------
5 files changed, 44 insertions(+), 60 deletions(-)
diff --git a/src/pages/index/customer/customer_list/components/AddCustomerDialog.vue b/src/pages/index/customer/customer_list/components/AddCustomerDialog.vue
index 3e50e43..e48e476 100644
--- a/src/pages/index/customer/customer_list/components/AddCustomerDialog.vue
+++ b/src/pages/index/customer/customer_list/components/AddCustomerDialog.vue
@@ -10,8 +10,8 @@
-
-
+
+
@@ -24,11 +24,6 @@
-
-
-
-
-
@@ -119,18 +114,18 @@ const rules = reactive({
message: '客户昵称不能为空'
}
],
- customer_account: [
- {
- required: true,
- message: '客户账号不能为空'
- }
- ],
customer_password: [
{
required: true,
message: '客户密码不能为空'
}
],
+ customer_email: [
+ {
+ required: true,
+ message: '客户邮箱不能为空'
+ }
+ ],
});
diff --git a/src/pages/index/customer/customer_list/components/DetailCustomerDialog.vue b/src/pages/index/customer/customer_list/components/DetailCustomerDialog.vue
index 75599ab..0834982 100644
--- a/src/pages/index/customer/customer_list/components/DetailCustomerDialog.vue
+++ b/src/pages/index/customer/customer_list/components/DetailCustomerDialog.vue
@@ -10,8 +10,8 @@
-
-
+
+
@@ -19,11 +19,6 @@
-
-
-
-
-
@@ -38,6 +33,11 @@
style='--el-switch-on-color: #ff4949;' />
+
+
+
+
+
diff --git a/src/pages/index/customer/customer_list/components/EditCustomerDialog.vue b/src/pages/index/customer/customer_list/components/EditCustomerDialog.vue
index d0ff118..b6e30c9 100644
--- a/src/pages/index/customer/customer_list/components/EditCustomerDialog.vue
+++ b/src/pages/index/customer/customer_list/components/EditCustomerDialog.vue
@@ -10,8 +10,8 @@
-
-
+
+
@@ -19,11 +19,6 @@
-
-
-
-
-
@@ -127,12 +122,6 @@ const rules = reactive({
message: '客户昵称不能为空'
}
],
- customer_account: [
- {
- required: true,
- message: '客户账号不能为空'
- }
- ],
});
const handleEditClick = async (formEl) => {
diff --git a/src/pages/index/customer/customer_list/components/EditPswDialog.vue b/src/pages/index/customer/customer_list/components/EditPswDialog.vue
index 9108b5f..b335945 100644
--- a/src/pages/index/customer/customer_list/components/EditPswDialog.vue
+++ b/src/pages/index/customer/customer_list/components/EditPswDialog.vue
@@ -3,12 +3,12 @@
-
+
-
-
+
+
diff --git a/src/pages/index/customer/customer_list/index.vue b/src/pages/index/customer/customer_list/index.vue
index 648b683..59eea13 100644
--- a/src/pages/index/customer/customer_list/index.vue
+++ b/src/pages/index/customer/customer_list/index.vue
@@ -11,15 +11,12 @@
-
-
+
+
-
-
-
+
+
+
搜索
@@ -60,7 +61,7 @@
+ :params="params" border :request="params => getCustomerList(params)">
@@ -139,12 +140,11 @@ const headers = {
// 查询参数
const params = reactive({
customer_name: "",
- customer_account: "",
customer_phone: "",
customer_email: "",
customer_sex: "",
customer_blacklist: "",
-
+ date_time: "",
});
const column = [
@@ -157,31 +157,31 @@ const column = [
label: '客户昵称',
width: '150'
},
- {
- prop: "customer_account",
- label: '客户账号',
- width: '150'
- },
- {
- prop: "customer_phone",
- label: '客户手机号',
- width: '150'
- },
{
prop: "customer_email",
label: '客户邮箱',
- width: '150'
- },
- {
- prop: "customer_sex",
- label: '客户性别',
- width: '150'
+ width: '200'
},
+ // {
+ // prop: "customer_phone",
+ // label: '客户手机号',
+ // width: '200'
+ // },
+ // {
+ // prop: "customer_sex",
+ // label: '客户性别',
+ // width: '150'
+ // },
{
prop: "customer_blacklist",
label: '黑名单',
width: '150'
},
+ {
+ prop: "customer_create_time",
+ label: '注册时间',
+ width: '200'
+ },
{
label: '操作',
prop: 'chaoz',