From 26929058b0dbeb20a472c8b140ed46aaf9f9e84e Mon Sep 17 00:00:00 2001 From: bb_pan Date: Mon, 22 Dec 2025 16:58:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 3 ++ src/router/index.ts | 74 +++++++++++++++++++------------------- src/views/parity/index.vue | 13 ++++++- 3 files changed, 52 insertions(+), 38 deletions(-) diff --git a/components.d.ts b/components.d.ts index 475e102..a12ad4a 100644 --- a/components.d.ts +++ b/components.d.ts @@ -24,6 +24,9 @@ declare module 'vue' { ElCountdown: typeof import('element-plus/es')['ElCountdown'] ElDatePicker: typeof import('element-plus/es')['ElDatePicker'] ElDialog: typeof import('element-plus/es')['ElDialog'] + ElDropdown: typeof import('element-plus/es')['ElDropdown'] + ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem'] + ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu'] ElEmpty: typeof import('element-plus/es')['ElEmpty'] ElForm: typeof import('element-plus/es')['ElForm'] ElFormItem: typeof import('element-plus/es')['ElFormItem'] diff --git a/src/router/index.ts b/src/router/index.ts index 2d4e84b..0fa866e 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -144,43 +144,6 @@ const routes: Array = [ }, component: () => import('views/collect/index.vue'), }, - // 寻源比价页面 - { - path: '/parity', - name: 'parity', - meta: { - title: '租赁需求大厅', - isLogin: true, - AuthFlag: false, - activeName: 'parity', - }, - // redirect: '/parity/hall', - component: () => import('views/parity/index.vue'), - children: [ - { - path: 'hall', - name: 'hall', - meta: { - title: '租赁需求大厅', - isLogin: true, - AuthFlag: false, - activeName: 'parity', - }, - component: () => import('views/parity/parityCom/hall.vue'), - }, - { - path: 'notice', - name: 'notice', - meta: { - title: '寻源结果公示公告', - isLogin: true, - AuthFlag: false, - activeName: 'parity', - }, - component: () => import('views/parity/parityCom/notice.vue'), - }, - ], - }, // 寻源比价 (报价) { path: '/quotation', @@ -206,6 +169,43 @@ const routes: Array = [ }, ], }, + // 寻源比价页面 + { + path: '/parity', + name: 'parity', + meta: { + title: '租赁需求大厅', + isLogin: true, + AuthFlag: false, + activeName: 'parity', + }, + // redirect: '/parity/hall', + component: () => import('views/parity/index.vue'), + children: [ + { + path: 'hall', + name: 'hall', + meta: { + title: '租赁需求大厅', + isLogin: true, + AuthFlag: false, + activeName: 'parity', + }, + component: () => import('views/parity/parityCom/hall.vue'), + }, + { + path: 'notice', + name: 'notice', + meta: { + title: '寻源结果公示公告', + isLogin: true, + AuthFlag: false, + activeName: 'parity', + }, + component: () => import('views/parity/parityCom/notice.vue'), + }, + ], + }, { path: '/qr-code', diff --git a/src/views/parity/index.vue b/src/views/parity/index.vue index 2506c89..207c09f 100644 --- a/src/views/parity/index.vue +++ b/src/views/parity/index.vue @@ -1,6 +1,7 @@