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: '编辑失败' + }); +}