From b09f9cee271fe8d086c38777d11699c07c509279 Mon Sep 17 00:00:00 2001 From: deartibers <947466799@qq.com> Date: Thu, 22 Sep 2022 10:50:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=AF=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/layout/components/sider/index.less | 6 ++ .../src/sections/install/actions/system.js | 6 +- .../src/sections/install/containers/roles.jsx | 11 ++- .../sections/install/containers/system.jsx | 96 ++++++++++--------- 4 files changed, 65 insertions(+), 54 deletions(-) diff --git a/web/client/src/layout/components/sider/index.less b/web/client/src/layout/components/sider/index.less index 7a4034a..f4b3b9a 100644 --- a/web/client/src/layout/components/sider/index.less +++ b/web/client/src/layout/components/sider/index.less @@ -9,6 +9,12 @@ .semi-navigation-item-icon{ color:#F2F3F5 } + .semi-navigation-item-inner{ + font-family: YouSheBiaoTiHei; + font-size: 16px; + letter-spacing:2px; + font-weight: 400; + } .semi-navigation-sub-title-selected{ background: #1D2343; .semi-navigation-item-icon{ diff --git a/web/client/src/sections/install/actions/system.js b/web/client/src/sections/install/actions/system.js index a72847b..e1ca7b9 100644 --- a/web/client/src/sections/install/actions/system.js +++ b/web/client/src/sections/install/actions/system.js @@ -21,7 +21,7 @@ export function getProjectAnxincloud (query) {//获取安心云项目 query: query, url: `${ApiTable.getProjectAnxincloud}`, msg: { option: "获取安心云项目" }, - reducer: { name: "ProjectPoms", params: { noClear: true } }, + reducer: { name: "ProjectAnxincloud", params: { noClear: true } }, }); } export function getProjectPmanage (query) {//获取PEP项目管理项目 @@ -32,7 +32,7 @@ export function getProjectPmanage (query) {//获取PEP项目管理项目 query: query, url: `${ApiTable.getProjectPmanage}`, msg: { option: "获取PEP项目管理项目" }, - reducer: { name: "ProjectPoms", params: { noClear: true } }, + reducer: { name: "ProjectPmanage", params: { noClear: true } }, }); } export function getProjectAppList (query) {//获取应用列表 @@ -43,7 +43,7 @@ export function getProjectAppList (query) {//获取应用列表 query: query, url: `${ApiTable.getProjectAppList}`, msg: { option: "获取应用列表" }, - reducer: { name: "ProjectPoms", params: { noClear: true } }, + reducer: { name: "ProjectAppList", params: { noClear: true } }, }); } export function postProjectBind (data) {//绑定安心云、项目管理项目 diff --git a/web/client/src/sections/install/containers/roles.jsx b/web/client/src/sections/install/containers/roles.jsx index 9ade691..3df529d 100644 --- a/web/client/src/sections/install/containers/roles.jsx +++ b/web/client/src/sections/install/containers/roles.jsx @@ -300,7 +300,7 @@ const Roles = (props) => { let anxinErrorList = [] for (let i = 0; i < row.correlationProject.length; i++) { if (row.correlationProject[i].del) { - anxinErrorList.push(row.correlationProject[i].pepProjectName||row.correlationProject[i].name) + anxinErrorList.push(row.correlationProject[i].pepProjectName || row.correlationProject[i].name) } else { myanxinArr.push(row.correlationProject[i].id) @@ -396,6 +396,9 @@ const Roles = (props) => {