From dda013c4a95b1c15b0f902e38196a76ae7905571 Mon Sep 17 00:00:00 2001
From: ZZM <1105966949@qq.com>
Date: Tue, 9 Sep 2025 17:45:58 +0800
Subject: [PATCH] =?UTF-8?q?=E6=95=8F=E6=84=9F=E6=95=B0=E6=8D=AE=E5=8A=A0?=
=?UTF-8?q?=E5=AF=86=E5=92=8C=E6=9F=A5=E7=9C=8B=E5=AF=86=E6=96=87?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/crm/contacts.js | 15 +
src/api/crm/customer.js | 32 +
src/assets/img/crm/eye-open.svg | 1 +
src/styles/iconfont/iconfont.svg | 664 +++++++++---------
src/views/crm/components/CRMDetailHead.vue | 64 +-
src/views/crm/components/CRMEditBaseInfo.vue | 118 +++-
src/views/crm/components/RelativeContacts.vue | 112 ++-
7 files changed, 662 insertions(+), 344 deletions(-)
create mode 100644 src/assets/img/crm/eye-open.svg
diff --git a/src/api/crm/contacts.js b/src/api/crm/contacts.js
index 5a248fe1..400c2e8a 100644
--- a/src/api/crm/contacts.js
+++ b/src/api/crm/contacts.js
@@ -274,3 +274,18 @@ export function crmContactsExitTeamAPI(data) {
method: 'post'
})
}
+/**
+ * 获取明文
+ * @param data
+ * @returns {*}
+ */
+export function filedGetPlaintextAPI(data) {
+ return request({
+ url: 'crmContacts/getPlaintext',
+ method: 'post',
+ data: data,
+ headers: {
+ 'Content-Type': 'application/json;charset=UTF-8'
+ }
+ })
+}
diff --git a/src/api/crm/customer.js b/src/api/crm/customer.js
index c3256328..ed047a3a 100644
--- a/src/api/crm/customer.js
+++ b/src/api/crm/customer.js
@@ -711,3 +711,35 @@ export function crmCustomerInvoiceInfoAPI(data) {
}
})
}
+
+/**
+ * 获取明文
+ * @param data
+ * @returns {*}
+ */
+export function filedGetPlaintextAPI(data) {
+ return request({
+ url: 'crmCustomer/getPlaintext',
+ method: 'post',
+ data: data,
+ headers: {
+ 'Content-Type': 'application/json;charset=UTF-8'
+ }
+ })
+}
+
+/**
+ * 验证企业画像的密码
+ * @param data
+ * @returns {*}
+ */
+export function verifyPasswordAPI(data) {
+ return request({
+ url: 'crmCustomer/verifyPassword',
+ method: 'post',
+ data: data,
+ headers: {
+ 'Content-Type': 'application/json;charset=UTF-8'
+ }
+ })
+}
diff --git a/src/assets/img/crm/eye-open.svg b/src/assets/img/crm/eye-open.svg
new file mode 100644
index 00000000..3e372a55
--- /dev/null
+++ b/src/assets/img/crm/eye-open.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/styles/iconfont/iconfont.svg b/src/styles/iconfont/iconfont.svg
index b1043400..c1112655 100644
--- a/src/styles/iconfont/iconfont.svg
+++ b/src/styles/iconfont/iconfont.svg
@@ -19,1000 +19,1000 @@ Created by iconfont
descent="-128"
/>
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/src/views/crm/components/CRMDetailHead.vue b/src/views/crm/components/CRMDetailHead.vue
index bb05c7a3..5dd4c09f 100644
--- a/src/views/crm/components/CRMDetailHead.vue
+++ b/src/views/crm/components/CRMDetailHead.vue
@@ -28,7 +28,7 @@
type="primary"
icon="wk wk-transfer"
@click.native="handleTypeClick('transfer')">转移
- 企业画像
+ 企业画像
+
+
+
+
+
+
+
+ {{ errorMessage }}
+
+