From ae05c89ad6ae04500537deaa2e65653b7c12bf60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=8A=B2=E6=9D=BE?= Date: Thu, 21 Jan 2021 17:29:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9D=83=E9=99=90=E7=B2=BE=E7=AE=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/project/visNetwork.vue | 2 +- nezha-fronted/src/components/common/rightBox/accountBox.vue | 2 +- nezha-fronted/src/components/common/rightBox/addEndpointBox.vue | 2 +- nezha-fronted/src/components/common/rightBox/alertConfigBox.vue | 2 +- nezha-fronted/src/components/common/rightBox/assetBox.vue | 2 +- nezha-fronted/src/components/common/rightBox/batchEditAsset.vue | 2 +- nezha-fronted/src/components/common/rightBox/cabinetBox.vue | 2 +- nezha-fronted/src/components/common/rightBox/dcBox.vue | 2 +- .../src/components/common/rightBox/editEndpointBox.vue | 2 +- nezha-fronted/src/components/common/rightBox/mibBox.vue | 2 +- nezha-fronted/src/components/common/rightBox/modelBox.vue | 2 +- nezha-fronted/src/components/common/rightBox/moduleBox.vue | 2 +- nezha-fronted/src/components/common/rightBox/panelBox.vue | 2 +- nezha-fronted/src/components/common/rightBox/projectBox.vue | 2 +- nezha-fronted/src/components/common/rightBox/promServerBox.vue | 2 +- nezha-fronted/src/components/common/rightBox/roleBox.vue | 2 +- nezha-fronted/src/components/page/config/account.vue | 2 +- nezha-fronted/src/components/page/config/dc.vue | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/nezha-fronted/src/components/common/project/visNetwork.vue b/nezha-fronted/src/components/common/project/visNetwork.vue index a3342b406..9777a6d52 100644 --- a/nezha-fronted/src/components/common/project/visNetwork.vue +++ b/nezha-fronted/src/components/common/project/visNetwork.vue @@ -24,7 +24,7 @@
- diff --git a/nezha-fronted/src/components/common/rightBox/accountBox.vue b/nezha-fronted/src/components/common/rightBox/accountBox.vue index 3a946dc94..9dc3f798a 100644 --- a/nezha-fronted/src/components/common/rightBox/accountBox.vue +++ b/nezha-fronted/src/components/common/rightBox/accountBox.vue @@ -79,7 +79,7 @@ class="nz-btn nz-btn-size-normal-new nz-btn-style-light-new"> {{$t('overall.cancel')}} - -
diff --git a/nezha-fronted/src/components/common/rightBox/alertConfigBox.vue b/nezha-fronted/src/components/common/rightBox/alertConfigBox.vue index b20304119..38d730210 100644 --- a/nezha-fronted/src/components/common/rightBox/alertConfigBox.vue +++ b/nezha-fronted/src/components/common/rightBox/alertConfigBox.vue @@ -111,7 +111,7 @@ - diff --git a/nezha-fronted/src/components/common/rightBox/assetBox.vue b/nezha-fronted/src/components/common/rightBox/assetBox.vue index f963241b0..0b04ab97c 100644 --- a/nezha-fronted/src/components/common/rightBox/assetBox.vue +++ b/nezha-fronted/src/components/common/rightBox/assetBox.vue @@ -154,7 +154,7 @@ - diff --git a/nezha-fronted/src/components/common/rightBox/batchEditAsset.vue b/nezha-fronted/src/components/common/rightBox/batchEditAsset.vue index ae750e008..84f40d400 100644 --- a/nezha-fronted/src/components/common/rightBox/batchEditAsset.vue +++ b/nezha-fronted/src/components/common/rightBox/batchEditAsset.vue @@ -250,7 +250,7 @@ - diff --git a/nezha-fronted/src/components/common/rightBox/cabinetBox.vue b/nezha-fronted/src/components/common/rightBox/cabinetBox.vue index 017ebc4d9..21d9d623f 100644 --- a/nezha-fronted/src/components/common/rightBox/cabinetBox.vue +++ b/nezha-fronted/src/components/common/rightBox/cabinetBox.vue @@ -36,7 +36,7 @@ - diff --git a/nezha-fronted/src/components/common/rightBox/dcBox.vue b/nezha-fronted/src/components/common/rightBox/dcBox.vue index 3a1496eff..8c38bbe71 100644 --- a/nezha-fronted/src/components/common/rightBox/dcBox.vue +++ b/nezha-fronted/src/components/common/rightBox/dcBox.vue @@ -82,7 +82,7 @@ - diff --git a/nezha-fronted/src/components/common/rightBox/editEndpointBox.vue b/nezha-fronted/src/components/common/rightBox/editEndpointBox.vue index 83262f694..74b263a0b 100644 --- a/nezha-fronted/src/components/common/rightBox/editEndpointBox.vue +++ b/nezha-fronted/src/components/common/rightBox/editEndpointBox.vue @@ -127,7 +127,7 @@ - diff --git a/nezha-fronted/src/components/common/rightBox/mibBox.vue b/nezha-fronted/src/components/common/rightBox/mibBox.vue index 68fcd7d6e..5d8f192fb 100644 --- a/nezha-fronted/src/components/common/rightBox/mibBox.vue +++ b/nezha-fronted/src/components/common/rightBox/mibBox.vue @@ -51,7 +51,7 @@ - diff --git a/nezha-fronted/src/components/common/rightBox/modelBox.vue b/nezha-fronted/src/components/common/rightBox/modelBox.vue index ee8cdd8d7..c3d8cef58 100644 --- a/nezha-fronted/src/components/common/rightBox/modelBox.vue +++ b/nezha-fronted/src/components/common/rightBox/modelBox.vue @@ -76,7 +76,7 @@ - diff --git a/nezha-fronted/src/components/common/rightBox/moduleBox.vue b/nezha-fronted/src/components/common/rightBox/moduleBox.vue index 7adf24ff6..7922d51b6 100644 --- a/nezha-fronted/src/components/common/rightBox/moduleBox.vue +++ b/nezha-fronted/src/components/common/rightBox/moduleBox.vue @@ -308,7 +308,7 @@ - diff --git a/nezha-fronted/src/components/common/rightBox/panelBox.vue b/nezha-fronted/src/components/common/rightBox/panelBox.vue index 8a5433bc2..c34f47345 100644 --- a/nezha-fronted/src/components/common/rightBox/panelBox.vue +++ b/nezha-fronted/src/components/common/rightBox/panelBox.vue @@ -29,7 +29,7 @@ - diff --git a/nezha-fronted/src/components/common/rightBox/projectBox.vue b/nezha-fronted/src/components/common/rightBox/projectBox.vue index 138ccd618..7fdc2d419 100644 --- a/nezha-fronted/src/components/common/rightBox/projectBox.vue +++ b/nezha-fronted/src/components/common/rightBox/projectBox.vue @@ -28,7 +28,7 @@ - diff --git a/nezha-fronted/src/components/common/rightBox/promServerBox.vue b/nezha-fronted/src/components/common/rightBox/promServerBox.vue index f624630fc..45627f976 100644 --- a/nezha-fronted/src/components/common/rightBox/promServerBox.vue +++ b/nezha-fronted/src/components/common/rightBox/promServerBox.vue @@ -57,7 +57,7 @@ class="nz-btn nz-btn-size-normal-new nz-btn-style-light-new"> {{$t('overall.cancel')}} - diff --git a/nezha-fronted/src/components/common/rightBox/roleBox.vue b/nezha-fronted/src/components/common/rightBox/roleBox.vue index 613c5449f..0f055d5df 100644 --- a/nezha-fronted/src/components/common/rightBox/roleBox.vue +++ b/nezha-fronted/src/components/common/rightBox/roleBox.vue @@ -51,7 +51,7 @@ id="roles-esc"> {{$t('overall.cancel')}} - diff --git a/nezha-fronted/src/components/page/config/account.vue b/nezha-fronted/src/components/page/config/account.vue index 2f8f4739c..c58c3219b 100644 --- a/nezha-fronted/src/components/page/config/account.vue +++ b/nezha-fronted/src/components/page/config/account.vue @@ -108,7 +108,7 @@ active-value="1" inactive-value="0" active-color="#ee9d3f" - :disabled="isCurrentUser(scope.row.username) || !hasButton('account_toEdit') || !hasButton('account_save') || (scope.row.username==='admin' && scope.row.userId==1)" + :disabled="isCurrentUser(scope.row.username) || !hasButton('account_toEdit') || !hasButton('account_toAdd') || (scope.row.username==='admin' && scope.row.userId==1)" @change="(val)=>{statusChange(scope.row)}"> diff --git a/nezha-fronted/src/components/page/config/dc.vue b/nezha-fronted/src/components/page/config/dc.vue index 50d65c3ed..75032412f 100644 --- a/nezha-fronted/src/components/page/config/dc.vue +++ b/nezha-fronted/src/components/page/config/dc.vue @@ -82,7 +82,7 @@ v-model="scope.row.state" active-value="ON" inactive-value="OFF" - :disabled="!hasButton('dc_toEdit') || !hasButton('dc_save')" + :disabled="!hasButton('dc_toEdit') || !hasButton('dc_toEdit')" active-color="#ee9d3f" @change="(val)=>{statusChange(scope.row)}" />