Browse Source

/monitor

dev
wenlele 2 years ago
parent
commit
b0ae6b4754
  1. 4
      api/.vscode/launch.json
  2. 2
      api/app/lib/controllers/project/index.js
  3. 2
      web/client/src/sections/facility/nav-item.jsx

4
api/.vscode/launch.json

@ -55,9 +55,9 @@
// "--clickHouseDataAlarm default", // "--clickHouseDataAlarm default",
// "--clickHouseIot iot", // "--clickHouseIot iot",
// //
"--clickHouseAnxincloud anxinyun1", "--clickHouseAnxincloud anxinyun88",
"--clickHousePepEmis pepca8", "--clickHousePepEmis pepca8",
"--clickHouseProjectManage peppm8", "--clickHouseProjectManage peppm",
"--clickHouseVcmp video_access_dev", "--clickHouseVcmp video_access_dev",
"--clickHouseDataAlarm default", "--clickHouseDataAlarm default",
"--clickHouseIot iot", "--clickHouseIot iot",

2
api/app/lib/controllers/project/index.js

@ -126,7 +126,7 @@ async function pomsProject (ctx) {
ctx.status = 200; ctx.status = 200;
ctx.body = proRes ctx.body = proRes
} catch (error) { } catch (error) {
ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`); ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`)
ctx.status = 400; ctx.status = 400;
ctx.body = { ctx.body = {
message: typeof error == 'string' ? error : undefined message: typeof error == 'string' ? error : undefined

2
web/client/src/sections/facility/nav-item.jsx

@ -21,7 +21,7 @@ export function getNavItem (user, dispatch) {
itemKey: 'serverInformation', itemKey: 'serverInformation',
text: '服务器信息', text: '服务器信息',
icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconjianshezhong"></iconpark-icon>, icon: <iconpark-icon style={{ width: 20, height: 20 }} name="iconjianshezhong"></iconpark-icon>,
to: '/facility/serverInformation', to: '/facility/serverInformation/monitor',
items: [{ items: [{
itemKey: 'monitor', to: '/facility/serverInformation/monitor', text: '运维监控' itemKey: 'monitor', to: '/facility/serverInformation/monitor', text: '运维监控'
},{ },{

Loading…
Cancel
Save