From 94b7c4a0f85b2c7824e5c78eefb45bebaab5879d Mon Sep 17 00:00:00 2001
From: 777 <123@qwe.com>
Date: Tue, 21 Oct 2025 17:23:33 +0800
Subject: [PATCH] 1231233
---
src/api/cai/proxy.js | 25 +++
src/layout/components/Navbar.vue | 23 ++-
src/views/cai/orderLogs/index.vue | 26 ++++
src/views/cai/proxtBindUserList/index.vue | 135 ++++++++++++++++
src/views/cai/proxyOrderLogList/index.vue | 133 ++++++++++++++++
src/views/cai/proxyUserTotal/index.vue | 87 +++++++++++
src/views/dashboard/PanelGroupOld.vue | 181 ++++++++++++++++++++++
src/views/dashboard/PanelGroupProxy.vue | 164 ++++++++++++++++++++
src/views/index.vue | 21 ++-
src/views/system/user/index.vue | 7 +
10 files changed, 793 insertions(+), 9 deletions(-)
create mode 100644 src/api/cai/proxy.js
create mode 100644 src/views/cai/proxtBindUserList/index.vue
create mode 100644 src/views/cai/proxyOrderLogList/index.vue
create mode 100644 src/views/cai/proxyUserTotal/index.vue
create mode 100644 src/views/dashboard/PanelGroupOld.vue
create mode 100644 src/views/dashboard/PanelGroupProxy.vue
diff --git a/src/api/cai/proxy.js b/src/api/cai/proxy.js
new file mode 100644
index 0000000..1f17c8c
--- /dev/null
+++ b/src/api/cai/proxy.js
@@ -0,0 +1,25 @@
+import request from '@/utils/request'
+
+export function getProxyUserList(query) {
+ return request({
+ url: '/cai/proxyUser/bindUserList',
+ method: 'get',
+ params: query
+ })
+}
+
+export function getOrderLogList(query) {
+ return request({
+ url: '/cai/proxyUser/orderLogList',
+ method: 'get',
+ params: query
+ })
+}
+
+export function getProxyTotal(query) {
+ return request({
+ url: '/cai/proxyUser/proxyTotal',
+ method: 'get',
+ params: query
+ })
+}
diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index 94560d5..6ca6bb5 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -12,7 +12,7 @@
-
+
@@ -92,14 +92,25 @@ export default {
}
}
},
+ data() {
+ return {
+ proxy: false,
+ }
+ },
created() {
- // 进入系统后立即启动定时任务
- this.$store.dispatch('startPolling')
- console.log(this.payNotice);
+ const userRoles = this.$store.getters.roles;
+ this.proxy = userRoles.includes("proxy")
+ if(!this.proxy){
+ // 进入系统后立即启动定时任务
+ this.$store.dispatch('startPolling')
+ console.log(this.payNotice);
+ }
},
beforeDestroy() {
- // 退出系统时关闭定时任务(可选)
- this.$store.dispatch('stopPolling')
+ if(!this.proxy){
+ // 退出系统时关闭定时任务(可选)
+ this.$store.dispatch('stopPolling')
+ }
},
methods: {
payNoticeGo(){
diff --git a/src/views/cai/orderLogs/index.vue b/src/views/cai/orderLogs/index.vue
index c6730ff..031d6f1 100644
--- a/src/views/cai/orderLogs/index.vue
+++ b/src/views/cai/orderLogs/index.vue
@@ -17,6 +17,28 @@
@keyup.enter.native="handleQuery"
/>
+
+
+ 失败
+ 成功
+
+
+
+
+
+
+
+
+
+
+
@@ -83,6 +106,9 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
+ createTimeMax: undefined,
+ createTimeMin: undefined,
+ success: undefined,
orderNo: undefined,
flagName: undefined,
stepName: undefined,
diff --git a/src/views/cai/proxtBindUserList/index.vue b/src/views/cai/proxtBindUserList/index.vue
new file mode 100644
index 0000000..c46e255
--- /dev/null
+++ b/src/views/cai/proxtBindUserList/index.vue
@@ -0,0 +1,135 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/cai/proxyOrderLogList/index.vue b/src/views/cai/proxyOrderLogList/index.vue
new file mode 100644
index 0000000..86ff37d
--- /dev/null
+++ b/src/views/cai/proxyOrderLogList/index.vue
@@ -0,0 +1,133 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/cai/proxyUserTotal/index.vue b/src/views/cai/proxyUserTotal/index.vue
new file mode 100644
index 0000000..1a19e32
--- /dev/null
+++ b/src/views/cai/proxyUserTotal/index.vue
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/PanelGroupOld.vue b/src/views/dashboard/PanelGroupOld.vue
new file mode 100644
index 0000000..1a1081f
--- /dev/null
+++ b/src/views/dashboard/PanelGroupOld.vue
@@ -0,0 +1,181 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/PanelGroupProxy.vue b/src/views/dashboard/PanelGroupProxy.vue
new file mode 100644
index 0000000..dff6e8e
--- /dev/null
+++ b/src/views/dashboard/PanelGroupProxy.vue
@@ -0,0 +1,164 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/index.vue b/src/views/index.vue
index 28ba0e3..c3c8432 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -1,7 +1,8 @@