From fa6f19fe6508c791c0cda2e665ede60dbdb0afb2 Mon Sep 17 00:00:00 2001 From: yuri0528 <72436066+yuri0528@users.noreply.github.com> Date: Mon, 18 Sep 2023 17:23:28 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E6=95=B0=E6=8D=AE=E6=BA=90=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E4=BD=93=E9=AA=8C=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20(#1244)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/src/css/index.css | 14 +++++++ src/pages/src/router/index.ts | 2 +- src/pages/src/views/Header.vue | 11 ++++- .../src/views/data-source/LocalDataSource.vue | 10 +++-- .../data-source/local-details/PswInfo.vue | 3 +- .../views/data-source/local-details/index.vue | 41 +++++++++---------- .../data-source/new-data/NewLocalData.vue | 15 +++++-- src/pages/src/views/organization/index.vue | 1 + 8 files changed, 63 insertions(+), 34 deletions(-) diff --git a/src/pages/src/css/index.css b/src/pages/src/css/index.css index 931f29c09..2c3fd0d76 100644 --- a/src/pages/src/css/index.css +++ b/src/pages/src/css/index.css @@ -73,3 +73,17 @@ visibility: hidden; } } + +.datasource-type-icon { + display: flex; + align-items: center; + + img { + width: 14px; + height: 14px; + } + + span { + margin-left: 8px; + } +} \ No newline at end of file diff --git a/src/pages/src/router/index.ts b/src/pages/src/router/index.ts index a62b15aa5..2697a078d 100644 --- a/src/pages/src/router/index.ts +++ b/src/pages/src/router/index.ts @@ -84,7 +84,7 @@ export default createRouter({ ], }, { - path: 'local-details/:id', + path: 'local-details/:id/:status', name: 'dataConfDetails', meta: { routeParentName: 'dataSource', diff --git a/src/pages/src/views/Header.vue b/src/pages/src/views/Header.vue index cad968171..06d119aef 100644 --- a/src/pages/src/views/Header.vue +++ b/src/pages/src/views/Header.vue @@ -160,6 +160,8 @@ const toIndividualCenter = () => {