From 66f77fbbd46f462ed286757a1299eddad1d5edf4 Mon Sep 17 00:00:00 2001 From: easy <1358086367@qq.com> Date: Wed, 1 Feb 2023 11:00:20 +0800 Subject: [PATCH 01/13] =?UTF-8?q?update:=20=E8=8F=9C=E5=8D=95=E7=AE=A1?= =?UTF-8?q?=E7=90=86-=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/Menu/Detail/ButtonMange.vue | 16 +++++----- src/views/system/Menu/Detail/index.vue | 5 ++++ .../Menu/components/ButtonAddDialog.vue | 30 +++++++++++++++---- .../system/Menu/components/PermissChoose.vue | 6 +++- src/views/system/Menu/index.vue | 8 ++++- 5 files changed, 49 insertions(+), 16 deletions(-) diff --git a/src/views/system/Menu/Detail/ButtonMange.vue b/src/views/system/Menu/Detail/ButtonMange.vue index ec037a7d..861b510f 100644 --- a/src/views/system/Menu/Detail/ButtonMange.vue +++ b/src/views/system/Menu/Detail/ButtonMange.vue @@ -4,13 +4,13 @@ ref="tableRef" :columns="table.columns" model="TABLE" - :dataSource="table.data" + :dataSource="table.tableData" > @@ -21,7 +21,7 @@ @@ -31,7 +31,7 @@ @@ -81,8 +81,8 @@ const routeParams = { const dialogRef = ref(null); const dialog = { // 打开弹窗 - openDialog: (row?: object) => { - dialogRef.value && dialogRef.value.openDialog(row); + openDialog: (mode: string, row?: object) => { + dialogRef.value && dialogRef.value.openDialog(mode, row); }, confirm: () => {}, }; @@ -114,11 +114,11 @@ const table = reactive({ width: 240, }, ], - data: [] as tableDataItem[], + tableData: [] as tableDataItem[], getList: () => { routeParams.id && getMenuInfo_api(routeParams.id).then((resp: any) => { - table.data = resp.result.buttons as tableDataItem[]; + table.tableData = resp.result.buttons as tableDataItem[]; }); }, }); diff --git a/src/views/system/Menu/Detail/index.vue b/src/views/system/Menu/Detail/index.vue index 08de6fd6..9c40f0e1 100644 --- a/src/views/system/Menu/Detail/index.vue +++ b/src/views/system/Menu/Detail/index.vue @@ -17,6 +17,11 @@ const activeKey = ref('basic'); + From 15e19f87146fa0123687f14db80c5e9dcefca86a Mon Sep 17 00:00:00 2001 From: jackhoo_98 Date: Wed, 1 Feb 2023 11:38:22 +0800 Subject: [PATCH 02/13] =?UTF-8?q?fix:=20=E8=AE=BE=E5=A4=87=E6=8E=A5?= =?UTF-8?q?=E5=85=A5=E7=BD=91=E5=85=B3/=E8=AF=81=E4=B9=A6=E7=AE=A1?= =?UTF-8?q?=E7=90=86=20=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/link/AccessConfig/Detail/index.vue | 82 ++++---- .../AccessConfig/components/Channel/index.vue | 10 +- .../AccessConfig/components/Cloud/Ctwing.vue | 18 +- .../AccessConfig/components/Cloud/OneNet.vue | 17 +- .../AccessConfig/components/Edge/index.vue | 14 +- .../AccessConfig/components/Media/GB28181.vue | 10 +- .../AccessConfig/components/Media/index.vue | 10 +- .../link/AccessConfig/components/Network.vue | 40 ++-- src/views/link/AccessConfig/index.vue | 33 +-- src/views/link/Certificate/Detail/index.vue | 196 +++++++++--------- src/views/link/Certificate/index.vue | 40 ++-- 11 files changed, 238 insertions(+), 232 deletions(-) diff --git a/src/views/link/AccessConfig/Detail/index.vue b/src/views/link/AccessConfig/Detail/index.vue index 3211fd75..f15fcdf3 100644 --- a/src/views/link/AccessConfig/Detail/index.vue +++ b/src/views/link/AccessConfig/Detail/index.vue @@ -1,42 +1,44 @@ + From be172b1580c46a5ab3602f136e667130c709bac5 Mon Sep 17 00:00:00 2001 From: blp <2962632571@qq.com> Date: Wed, 1 Feb 2023 13:50:17 +0800 Subject: [PATCH 03/13] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CardBox/index.vue | 30 ++++++++++++++++++------------ src/views/notice/Config/index.vue | 1 + 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/src/components/CardBox/index.vue b/src/components/CardBox/index.vue index 0915064a..dee607c8 100644 --- a/src/components/CardBox/index.vue +++ b/src/components/CardBox/index.vue @@ -2,22 +2,21 @@
- - - -
- -
-
- - +
+ +
+ +
+ + +
- - +
+
@@ -201,6 +200,13 @@ const handleClick = () => { margin-right: 16px; } + .card-item-body { + display: flex; + flex-direction: column; + flex-grow: 1; + width: 0; + } + .card-state { position: absolute; top: 30px; diff --git a/src/views/notice/Config/index.vue b/src/views/notice/Config/index.vue index 043206a2..6fe54e10 100644 --- a/src/views/notice/Config/index.vue +++ b/src/views/notice/Config/index.vue @@ -47,6 +47,7 @@