From 141a23fa9ba507a103ebd4d8f26e487f85d994ae Mon Sep 17 00:00:00 2001
From: lihaoyuan <18278596806@163.com>
Date: Thu, 14 Aug 2025 18:38:04 +0800
Subject: [PATCH] =?UTF-8?q?update:=E6=96=B0=E5=A2=9E=E4=B8=BE=E6=8A=A5?=
=?UTF-8?q?=E4=B8=AD=E5=BF=83?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/base/config.js | 16 ++
src/config/net.config.js | 2 +
src/utils/routes.js | 16 ++
src/views/settings/config/report.vue | 253 +++++++++++++++++++++
src/views/settings/config/reportDetail.vue | 175 ++++++++++++++
5 files changed, 462 insertions(+)
create mode 100644 src/views/settings/config/report.vue
create mode 100644 src/views/settings/config/reportDetail.vue
diff --git a/src/api/base/config.js b/src/api/base/config.js
index 343fcf3..d5b25ee 100644
--- a/src/api/base/config.js
+++ b/src/api/base/config.js
@@ -64,3 +64,19 @@ export function getSmsRecord(params) {
params,
})
}
+export function getReportList(){
+ return request({
+ url:URL.account.base.config.report_list,
+ method:'get',
+ })
+}
+export function dealReport(data){
+ return request({
+ url:URL.account.base.config.deal_report,
+ method:'post',
+ headers: {
+ 'Content-Type': 'application/json'
+ },
+ data: JSON.stringify(data)
+ })
+}
\ No newline at end of file
diff --git a/src/config/net.config.js b/src/config/net.config.js
index 157b1b3..bfe928b 100644
--- a/src/config/net.config.js
+++ b/src/config/net.config.js
@@ -255,6 +255,8 @@ let url = {
editLanguage:
api_url + '/admin/account/account-base-config/editLanguage',
cleanCache: api_url + '/admin/account/account-base-config/cleanCache',
+ report_list: api_url+'/admin/sns/snsUserReport/list',
+ deal_report:'/admin/sns/snsUserReport/dealReport',
},
user: {
diff --git a/src/utils/routes.js b/src/utils/routes.js
index 6834801..5ad9050 100644
--- a/src/utils/routes.js
+++ b/src/utils/routes.js
@@ -84,7 +84,23 @@ export function convertRouter(asyncRoutes) {
route.children.push(obj)
}
+ if (route.meta.title == '设置') {
+ const obj = {
+ path: '/report',
+ component: '@/views/settings/config/report.vue',
+ name: 'Vab86001',
+ redirect: null,
+ meta: {
+ title: '举报中心',
+ icon: '',
+ noClosable: 0,
+ hidden: null,
+ },
+ menuHidden: false,
+ }
+ route.children.push(obj)
+ }
if (route.meta.title == '基础') {
const cloudPrintRoute = {
path: '/cloudPrint',
diff --git a/src/views/settings/config/report.vue b/src/views/settings/config/report.vue
new file mode 100644
index 0000000..349b82d
--- /dev/null
+++ b/src/views/settings/config/report.vue
@@ -0,0 +1,253 @@
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+
+
+
+ 无凭证
+
+
+
+
+
+
+
+
+ {{ scope.row.state }}
+
+
+
+
+
+
+
+
+
+ 处理举报
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/settings/config/reportDetail.vue b/src/views/settings/config/reportDetail.vue
new file mode 100644
index 0000000..a157e5a
--- /dev/null
+++ b/src/views/settings/config/reportDetail.vue
@@ -0,0 +1,175 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 支持上传图片作为处理佐证
+
+
+
+
+ 取消
+ 提交处理
+
+
+
+
+
+