From 62a837fe8776445a73f5508ac944ae8247de9d68 Mon Sep 17 00:00:00 2001
From: 77 <77@77.com>
Date: Tue, 26 Mar 2024 22:02:22 +0800
Subject: [PATCH] init
---
src/api/xq/userChatFilter.js | 44 ++++++++
src/api/xq/userChatRecord.js | 44 ++++++++
src/views/xq/userChatFilter/index.vue | 148 ++++++++++++++++++++++++++
src/views/xq/userChatRecord/index.vue | 136 +++++++++++++++++++++++
4 files changed, 372 insertions(+)
create mode 100644 src/api/xq/userChatFilter.js
create mode 100644 src/api/xq/userChatRecord.js
create mode 100644 src/views/xq/userChatFilter/index.vue
create mode 100644 src/views/xq/userChatRecord/index.vue
diff --git a/src/api/xq/userChatFilter.js b/src/api/xq/userChatFilter.js
new file mode 100644
index 0000000..bd283d7
--- /dev/null
+++ b/src/api/xq/userChatFilter.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询聊天记录过滤列表
+export function listUserChatFilter(query) {
+ return request({
+ url: '/xq/userChatFilter/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询聊天记录过滤详细
+export function getUserChatFilter(id) {
+ return request({
+ url: '/xq/userChatFilter/' + id,
+ method: 'get'
+ })
+}
+
+// 新增聊天记录过滤
+export function addUserChatFilter(data) {
+ return request({
+ url: '/xq/userChatFilter',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改聊天记录过滤
+export function updateUserChatFilter(data) {
+ return request({
+ url: '/xq/userChatFilter',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除聊天记录过滤
+export function delUserChatFilter(id) {
+ return request({
+ url: '/xq/userChatFilter/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/api/xq/userChatRecord.js b/src/api/xq/userChatRecord.js
new file mode 100644
index 0000000..493074e
--- /dev/null
+++ b/src/api/xq/userChatRecord.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询聊天记录列表
+export function listUserChatRecord(query) {
+ return request({
+ url: '/xq/userChatRecord/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询聊天记录详细
+export function getUserChatRecord(id) {
+ return request({
+ url: '/xq/userChatRecord/' + id,
+ method: 'get'
+ })
+}
+
+// 新增聊天记录
+export function addUserChatRecord(data) {
+ return request({
+ url: '/xq/userChatRecord',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改聊天记录
+export function updateUserChatRecord(data) {
+ return request({
+ url: '/xq/userChatRecord',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除聊天记录
+export function delUserChatRecord(id) {
+ return request({
+ url: '/xq/userChatRecord/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/views/xq/userChatFilter/index.vue b/src/views/xq/userChatFilter/index.vue
new file mode 100644
index 0000000..2dac804
--- /dev/null
+++ b/src/views/xq/userChatFilter/index.vue
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
diff --git a/src/views/xq/userChatRecord/index.vue b/src/views/xq/userChatRecord/index.vue
new file mode 100644
index 0000000..3c65aa4
--- /dev/null
+++ b/src/views/xq/userChatRecord/index.vue
@@ -0,0 +1,136 @@
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+