From 2aa65b54ebe7387cda19b844b7af2e1eadb6a9f6 Mon Sep 17 00:00:00 2001
From: xjh <2423579486@qq.com>
Date: Tue, 1 Aug 2023 15:10:39 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E5=AE=8C=E6=88=90=E5=AE=A2=E6=88=B7?=
=?UTF-8?q?=E6=B6=88=E6=81=AF=E7=AE=A1=E7=90=86=E6=A8=A1=E5=9D=97=20fix:?=
=?UTF-8?q?=E9=83=A8=E5=88=86=E9=A1=B5=E9=9D=A2=E4=B8=8B=E6=8B=89=E6=A1=86?=
=?UTF-8?q?=E5=BE=AE=E8=B0=83?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../AddCodeModuleCategoryDialog.vue | 10 +-
.../EditCodeModuleCategoryDialog.vue | 10 +-
.../components/AddCustomerMessageDialog.vue | 182 +++++++++++++++
.../DetailCustomerMessageDialog.vue | 120 ++++++++++
.../index/customer/customer_message/index.vue | 212 ++++++++++++++++++
src/service/customer_message.js | 59 +++++
6 files changed, 583 insertions(+), 10 deletions(-)
create mode 100644 src/pages/index/customer/customer_message/components/AddCustomerMessageDialog.vue
create mode 100644 src/pages/index/customer/customer_message/components/DetailCustomerMessageDialog.vue
create mode 100644 src/pages/index/customer/customer_message/index.vue
create mode 100644 src/service/customer_message.js
diff --git a/src/pages/index/code/code_module_category/components/AddCodeModuleCategoryDialog.vue b/src/pages/index/code/code_module_category/components/AddCodeModuleCategoryDialog.vue
index d0c9e0e..1806a8a 100644
--- a/src/pages/index/code/code_module_category/components/AddCodeModuleCategoryDialog.vue
+++ b/src/pages/index/code/code_module_category/components/AddCodeModuleCategoryDialog.vue
@@ -26,7 +26,7 @@
-
@@ -35,8 +35,8 @@
-
+
@@ -44,8 +44,8 @@
-
+
diff --git a/src/pages/index/code/code_module_category/components/EditCodeModuleCategoryDialog.vue b/src/pages/index/code/code_module_category/components/EditCodeModuleCategoryDialog.vue
index cffdcba..6c52e48 100644
--- a/src/pages/index/code/code_module_category/components/EditCodeModuleCategoryDialog.vue
+++ b/src/pages/index/code/code_module_category/components/EditCodeModuleCategoryDialog.vue
@@ -26,7 +26,7 @@
-
@@ -35,8 +35,8 @@
-
+
@@ -44,8 +44,8 @@
-
+
diff --git a/src/pages/index/customer/customer_message/components/AddCustomerMessageDialog.vue b/src/pages/index/customer/customer_message/components/AddCustomerMessageDialog.vue
new file mode 100644
index 0000000..4a6f22d
--- /dev/null
+++ b/src/pages/index/customer/customer_message/components/AddCustomerMessageDialog.vue
@@ -0,0 +1,182 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/index/customer/customer_message/components/DetailCustomerMessageDialog.vue b/src/pages/index/customer/customer_message/components/DetailCustomerMessageDialog.vue
new file mode 100644
index 0000000..d0445d9
--- /dev/null
+++ b/src/pages/index/customer/customer_message/components/DetailCustomerMessageDialog.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/index/customer/customer_message/index.vue b/src/pages/index/customer/customer_message/index.vue
new file mode 100644
index 0000000..a21fa89
--- /dev/null
+++ b/src/pages/index/customer/customer_message/index.vue
@@ -0,0 +1,212 @@
+
+
+
+ 客户消息管理
+ 客户消息列表
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+ 添加
+
+
+
+
+ 批量操作
+
+
+
+
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 更多
+
+
+
+
+ 详情
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/service/customer_message.js b/src/service/customer_message.js
new file mode 100644
index 0000000..bac2ace
--- /dev/null
+++ b/src/service/customer_message.js
@@ -0,0 +1,59 @@
+import { api, downloadFile, createApiUrl } from '~/utils/axios';
+
+/**
+ * 获取字典值
+ * @param {Object} data
+ * @return {Promise} api
+ */
+export function getDictionary(data) {
+ return api.post('Dictionary.Dictionary/getDictionary', data, {
+ });
+}
+
+
+/**
+ * 获取客户消息列表
+ * @param {Object} data
+ * @return {Promise} api
+ */
+export function getCustomerMessageList(data) {
+ return api.post('Customer.CustomerMessage/getCustomerMessageList', data);
+}
+
+/**
+ * 删除客户消息
+ * @param {Object} data
+ * @return {Promise} api
+ */
+export function deleteCustomerMessage(data) {
+ return api.post('Customer.CustomerMessage/deleteCustomerMessage', data, {
+ isTransformResponse: true,
+ isShowSuccessMessage: true,
+ errorMessageText: '删除失败'
+ });
+}
+
+/**
+ * 添加客户消息
+ * @param {Object} data
+ * @return {Promise} api
+ */
+export function addCustomerMessage(data) {
+ return api.post('Customer.CustomerMessage/addCustomerMessage', data, {
+ isTransformResponse: true,
+ isShowSuccessMessage: true,
+ errorMessageText: '添加失败'
+ });
+}
+/**
+ * 编辑客户消息
+ * @param {Object} data
+ * @return {Promise} api
+ */
+export function editCustomerMessage(data) {
+ return api.post('Customer.CustomerMessage/editCustomerMessage', data, {
+ isTransformResponse: true,
+ isShowSuccessMessage: true,
+ errorMessageText: '编辑失败'
+ });
+}