From f2692ef3aa20577e9d94afcb036da4770c36bc58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A3=B7=E5=8F=B6?= <14103883+leaf-phos@user.noreply.gitee.com> Date: Mon, 21 Apr 2025 18:27:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/ruoyi.scss | 2 +- src/components/BaseLink/index.vue | 46 ++++++++++++++ src/components/Business/Device/DeviceLink.vue | 32 ++++++++++ src/components/Business/Order/OrderLink.vue | 32 ++++++++++ src/components/Business/User/UserLink.vue | 32 ++++++++++ src/views/bst/account/index.vue | 15 ++++- src/views/bst/agreement/index.vue | 60 ++++--------------- src/views/bst/area/index.vue | 13 +++- src/views/bst/areaJoin/index.vue | 10 +++- src/views/bst/balanceLog/index.vue | 6 +- src/views/bst/bonus/index.vue | 20 ++++--- src/views/bst/device/index.vue | 58 +++++++++--------- src/views/bst/index/MchIndex.vue | 2 +- src/views/bst/model/index.vue | 16 ++++- src/views/bst/order/index.vue | 55 ++++++++++------- src/views/bst/order/view/view.vue | 7 ++- src/views/bst/orderDevice/index.vue | 43 +++++++------ src/views/bst/pay/index.vue | 20 +++++-- src/views/bst/realName/index.vue | 6 +- src/views/bst/refund/index.vue | 35 ++++++++--- src/views/bst/suit/index.vue | 16 ++++- src/views/bst/userApp/index.vue | 30 ++++------ src/views/bst/withdraw/index.vue | 10 +++- src/views/system/notice/index.vue | 28 +++------ src/views/system/user/index.vue | 10 +++- src/views/system/user/view/view.vue | 37 ++++++++++-- 26 files changed, 443 insertions(+), 198 deletions(-) create mode 100644 src/components/BaseLink/index.vue create mode 100644 src/components/Business/Device/DeviceLink.vue create mode 100644 src/components/Business/Order/OrderLink.vue create mode 100644 src/components/Business/User/UserLink.vue diff --git a/src/assets/styles/ruoyi.scss b/src/assets/styles/ruoyi.scss index 44d0ec3..2c2185b 100644 --- a/src/assets/styles/ruoyi.scss +++ b/src/assets/styles/ruoyi.scss @@ -312,4 +312,4 @@ background-color: #fff8e1; border-color: rgb(255, 245, 208); color: #f5a524; -} +} \ No newline at end of file diff --git a/src/components/BaseLink/index.vue b/src/components/BaseLink/index.vue new file mode 100644 index 0000000..2ae6fbc --- /dev/null +++ b/src/components/BaseLink/index.vue @@ -0,0 +1,46 @@ + + + + + \ No newline at end of file diff --git a/src/components/Business/Device/DeviceLink.vue b/src/components/Business/Device/DeviceLink.vue new file mode 100644 index 0000000..d436af6 --- /dev/null +++ b/src/components/Business/Device/DeviceLink.vue @@ -0,0 +1,32 @@ + + + \ No newline at end of file diff --git a/src/components/Business/Order/OrderLink.vue b/src/components/Business/Order/OrderLink.vue new file mode 100644 index 0000000..25aa3cf --- /dev/null +++ b/src/components/Business/Order/OrderLink.vue @@ -0,0 +1,32 @@ + + + \ No newline at end of file diff --git a/src/components/Business/User/UserLink.vue b/src/components/Business/User/UserLink.vue new file mode 100644 index 0000000..a8f531a --- /dev/null +++ b/src/components/Business/User/UserLink.vue @@ -0,0 +1,32 @@ + + + \ No newline at end of file diff --git a/src/views/bst/account/index.vue b/src/views/bst/account/index.vue index f805eeb..73f94bc 100644 --- a/src/views/bst/account/index.vue +++ b/src/views/bst/account/index.vue @@ -137,6 +137,9 @@ {{d.row[column.key]}} + @@ -176,7 +179,8 @@ import { listAccount, delAccount } from "@/api/bst/account"; import { $showColumns } from '@/utils/mixins'; import { AccountType } from '@/utils/enums'; -import AccountEditDialog from './components/AccountEditDialog.vue'; +import AccountEditDialog from '@/views/bst/account/components/AccountEditDialog.vue'; +import UserLink from '@/components/Business/User/UserLink.vue'; // 默认排序字段 const defaultSort = { @@ -188,7 +192,13 @@ export default { name: "Account", mixins: [$showColumns], dicts: ['account_type'], - components: { AccountEditDialog }, + components: { AccountEditDialog, UserLink }, + props: { + query: { + type: Object, + default: () => ({}) + } + }, data() { return { AccountType, @@ -248,6 +258,7 @@ export default { }; }, created() { + Object.assign(this.queryParams, this.query); this.getList(); }, methods: { diff --git a/src/views/bst/agreement/index.vue b/src/views/bst/agreement/index.vue index 5560316..0f5719a 100644 --- a/src/views/bst/agreement/index.vue +++ b/src/views/bst/agreement/index.vue @@ -78,8 +78,12 @@ -