mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-11-30 02:48:17 +08:00
fix tabs width
This commit is contained in:
parent
8e7cb5cdcd
commit
85e7a26c64
@ -1,3 +1,25 @@
|
||||
/*
|
||||
* The MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2019 Code Technology Studio
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
* subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
package io.jpom.model;
|
||||
|
||||
/**
|
||||
|
@ -49,7 +49,7 @@ import java.util.List;
|
||||
*/
|
||||
public class NodeMonitor implements Task {
|
||||
|
||||
private static final String CRON_ID = "NodeMonitor";
|
||||
private static final String CRON_ID = "node_monitor";
|
||||
|
||||
private static DbSystemMonitorLogService dbSystemMonitorLogService;
|
||||
|
||||
|
@ -1,3 +1,25 @@
|
||||
/*
|
||||
* The MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2019 Code Technology Studio
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
* subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
package io.jpom.service.h2db;
|
||||
|
||||
import cn.hutool.db.Entity;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<a-tabs
|
||||
v-model="activeKey"
|
||||
:style="`${this.getCollapsed === 1 ? 'max-width: calc(100vw - 400px)' : 'max-width: calc(100vw - 510px)'}`"
|
||||
:style="`${this.getCollapsed ? 'width: calc(100vw - 390px)' : 'width: calc(100vw - 510px)'}`"
|
||||
class="my-tabs"
|
||||
hide-add
|
||||
type="editable-card"
|
||||
|
@ -55,7 +55,7 @@ export default {
|
||||
mounted() {
|
||||
this.checkSystem();
|
||||
this.introGuide();
|
||||
this.collapsed = this.getCollapsed === 1;
|
||||
this.collapsed = this.getCollapsed ? true : false;
|
||||
},
|
||||
methods: {
|
||||
// 页面引导
|
||||
|
@ -318,12 +318,9 @@ export default {
|
||||
}
|
||||
.user-header {
|
||||
display: inline-table;
|
||||
width: 275px;
|
||||
width: 240px;
|
||||
text-align: right;
|
||||
margin-right: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.close-all {
|
||||
margin-right: 10px;
|
||||
}
|
||||
</style>
|
||||
|
@ -179,7 +179,7 @@
|
||||
</a-form-model>
|
||||
</a-modal>
|
||||
<!-- 管理节点 -->
|
||||
<a-drawer :title="drawerTitle" placement="right" :width="`${this.getCollapsed === 1 ? 'calc(100vw - 80px)' : 'calc(100vw - 200px)'}`" :visible="drawerVisible" @close="onClose">
|
||||
<a-drawer :title="drawerTitle" placement="right" :width="`${this.getCollapsed ? 'calc(100vw - 80px)' : 'calc(100vw - 200px)'}`" :visible="drawerVisible" @close="onClose">
|
||||
<!-- 节点管理组件 -->
|
||||
<node-layout v-if="drawerVisible" :node="temp" />
|
||||
</a-drawer>
|
||||
|
@ -127,7 +127,7 @@ const app = {
|
||||
return state.workspaceId;
|
||||
},
|
||||
getCollapsed(state) {
|
||||
return parseInt(state.collapsed || 1);
|
||||
return state.collapsed;
|
||||
},
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user