Compare commits
No commits in common. "fdc2ebb67e50fe951036ccda2f10ef7810c70d12" and "9c8d8ec5e28415128a968ace1811d79bd56b5fb7" have entirely different histories.
fdc2ebb67e
...
9c8d8ec5e2
|
@ -347,9 +347,6 @@ export default {
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
myChart.setOption(option);
|
myChart.setOption(option);
|
||||||
window.addEventListener('resize', function () {
|
|
||||||
myChart.resize();
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
getFillMemoryInfo() {
|
getFillMemoryInfo() {
|
||||||
fillMemoryInfo().then(res => {
|
fillMemoryInfo().then(res => {
|
||||||
|
@ -419,10 +416,6 @@ export default {
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
myChart.setOption(option);
|
myChart.setOption(option);
|
||||||
// 监听窗口大小变化
|
|
||||||
window.addEventListener('resize', function () {
|
|
||||||
myChart.resize();
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
getFillJvmInfo() {
|
getFillJvmInfo() {
|
||||||
fillJvmInfo().then(res => {
|
fillJvmInfo().then(res => {
|
||||||
|
@ -491,9 +484,6 @@ export default {
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
myChart.setOption(option);
|
myChart.setOption(option);
|
||||||
window.addEventListener('resize', function () {
|
|
||||||
myChart.resize();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -175,14 +175,13 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleTaskChange(value) {
|
handleTaskChange(value) {
|
||||||
var curTask = this.allTask.filter(item => item.id == value)[0]
|
var curTask = this.allTask.filter(item => item.id == value)
|
||||||
if (curTask) {
|
|
||||||
const start = moment(curTask.startTime)
|
const start = moment(curTask.startTime)
|
||||||
const end = moment(curTask.endTime)
|
const end = moment(curTask.endTime)
|
||||||
this.defaultTime.push(start, end)
|
this.defaultTime.push(start, end)
|
||||||
this.tableParams.startTime = start.format(this.dateFormat);
|
this.tableParams.startTime = start.format(this.dateFormat);
|
||||||
this.tableParams.endTime = end.format(this.dateFormat)
|
this.tableParams.endTime = end.format(this.dateFormat)
|
||||||
}
|
|
||||||
},
|
},
|
||||||
calculateScrollY() {
|
calculateScrollY() {
|
||||||
// 获取父容器高度(需减去表格内其他元素的高度,如分页栏)
|
// 获取父容器高度(需减去表格内其他元素的高度,如分页栏)
|
||||||
|
|
|
@ -3,38 +3,26 @@
|
||||||
<a-row :gutter="20">
|
<a-row :gutter="20">
|
||||||
<a-col :md="12" :sm="1" style="height:calc(50vh - 125px);">
|
<a-col :md="12" :sm="1" style="height:calc(50vh - 125px);">
|
||||||
<div class="linese"></div>
|
<div class="linese"></div>
|
||||||
<div class="echartsTitle">
|
<div class="echartsTitle"><div class="ecicon"></div>数据清洗差异统计</div>
|
||||||
<div class="ecicon"></div>数据清洗差异统计
|
<div id="cleaningVariance" class="cleaningVariance" ref="cleaningVariance" style="width: 100%;background:#e6e9f1; height: calc(100% - 70px);"></div>
|
||||||
</div>
|
|
||||||
<div id="cleaningVariance" class="cleaningVariance" ref="cleaningVariance"
|
|
||||||
style="width: 100%;background:#e6e9f1; height: calc(100% - 70px);"></div>
|
|
||||||
<div class="linese"></div>
|
<div class="linese"></div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="12" :sm="2" style="height:calc(50vh - 125px);">
|
<a-col :md="12" :sm="2" style="height:calc(50vh - 125px);">
|
||||||
<div class="linese"></div>
|
<div class="linese"></div>
|
||||||
<div class="echartsTitle">
|
<div class="echartsTitle"><div class="ecicon"></div>数据编目总量统计</div>
|
||||||
<div class="ecicon"></div>数据编目总量统计
|
<div id="totalNumberCatalogues" class="totalNumberCatalogues" ref="totalNumberCatalogues" style="width: 100%;background:#e6e9f1; height: calc(100% - 70px); "></div>
|
||||||
</div>
|
|
||||||
<div id="totalNumberCatalogues" class="totalNumberCatalogues" ref="totalNumberCatalogues"
|
|
||||||
style="width: 100%;background:#e6e9f1; height: calc(100% - 70px); "></div>
|
|
||||||
<div class="linese"></div>
|
<div class="linese"></div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="12" :sm="3" style="height:calc(50vh - 125px);">
|
<a-col :md="12" :sm="3" style="height:calc(50vh - 125px);">
|
||||||
<div class="linese"></div>
|
<div class="linese"></div>
|
||||||
<div class="echartsTitle">
|
<div class="echartsTitle"><div class="ecicon"></div>数据类型存储占比统计</div>
|
||||||
<div class="ecicon"></div>数据类型存储占比统计
|
<div id="catalogingStorage" class="catalogingStorage" ref="catalogingStorage" style="width: 100%;background:#e6e9f1; height: calc(100% - 70px);"></div>
|
||||||
</div>
|
|
||||||
<div id="catalogingStorage" class="catalogingStorage" ref="catalogingStorage"
|
|
||||||
style="width: 100%;background:#e6e9f1; height: calc(100% - 70px);"></div>
|
|
||||||
<div class="linese"></div>
|
<div class="linese"></div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="12" :sm="4" style="height:calc(50vh - 125px);">
|
<a-col :md="12" :sm="4" style="height:calc(50vh - 125px);">
|
||||||
<div class="linese"></div>
|
<div class="linese"></div>
|
||||||
<div class="echartsTitle">
|
<div class="echartsTitle"><div class="ecicon"></div>数据编目存储占比统计</div>
|
||||||
<div class="ecicon"></div>数据编目存储占比统计
|
<div id="typeStorage" class="typeStorage" ref="typeStorage" style="width: 100%;background:#e6e9f1; height: calc(100% - 70px);"></div>
|
||||||
</div>
|
|
||||||
<div id="typeStorage" class="typeStorage" ref="typeStorage"
|
|
||||||
style="width: 100%;background:#e6e9f1; height: calc(100% - 70px);"></div>
|
|
||||||
<div class="linese"></div>
|
<div class="linese"></div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
|
@ -164,9 +152,6 @@ export default {
|
||||||
color:['#5470c6', '#91cc75', '#fac858', '#ee6666', '#73c0de', '#3ba272', '#fc8452', '#9a60b4', '#ea7ccc']
|
color:['#5470c6', '#91cc75', '#fac858', '#ee6666', '#73c0de', '#3ba272', '#fc8452', '#9a60b4', '#ea7ccc']
|
||||||
};
|
};
|
||||||
myChart.setOption(option);
|
myChart.setOption(option);
|
||||||
window.addEventListener('resize', function () {
|
|
||||||
myChart.resize();
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
gettotalNumberCatalogues(){
|
gettotalNumberCatalogues(){
|
||||||
var myChart = this.$echarts.init(this.$refs.totalNumberCatalogues);
|
var myChart = this.$echarts.init(this.$refs.totalNumberCatalogues);
|
||||||
|
@ -220,9 +205,6 @@ export default {
|
||||||
color:['#5470c6', '#91cc75', '#fac858', '#ee6666', '#73c0de', '#3ba272', '#fc8452', '#9a60b4', '#ea7ccc']
|
color:['#5470c6', '#91cc75', '#fac858', '#ee6666', '#73c0de', '#3ba272', '#fc8452', '#9a60b4', '#ea7ccc']
|
||||||
};
|
};
|
||||||
myChart.setOption(option);
|
myChart.setOption(option);
|
||||||
window.addEventListener('resize', function () {
|
|
||||||
myChart.resize();
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
getcatalogingStorage(){
|
getcatalogingStorage(){
|
||||||
var myChart = this.$echarts.init(this.$refs.catalogingStorage);
|
var myChart = this.$echarts.init(this.$refs.catalogingStorage);
|
||||||
|
@ -248,9 +230,6 @@ export default {
|
||||||
color:['#5470c6', '#91cc75', '#fac858', '#ee6666', '#73c0de', '#3ba272', '#fc8452', '#9a60b4', '#ea7ccc']
|
color:['#5470c6', '#91cc75', '#fac858', '#ee6666', '#73c0de', '#3ba272', '#fc8452', '#9a60b4', '#ea7ccc']
|
||||||
};
|
};
|
||||||
myChart.setOption(option);
|
myChart.setOption(option);
|
||||||
window.addEventListener('resize', function () {
|
|
||||||
myChart.resize();
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
gettypeStorage(){
|
gettypeStorage(){
|
||||||
var myChart = this.$echarts.init(this.$refs.typeStorage);
|
var myChart = this.$echarts.init(this.$refs.typeStorage);
|
||||||
|
@ -276,9 +255,6 @@ export default {
|
||||||
color:['#5470c6', '#91cc75', '#fac858', '#ee6666', '#73c0de', '#3ba272', '#fc8452', '#9a60b4', '#ea7ccc']
|
color:['#5470c6', '#91cc75', '#fac858', '#ee6666', '#73c0de', '#3ba272', '#fc8452', '#9a60b4', '#ea7ccc']
|
||||||
};
|
};
|
||||||
myChart.setOption(option);
|
myChart.setOption(option);
|
||||||
window.addEventListener('resize', function () {
|
|
||||||
myChart.resize();
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,9 +19,9 @@
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
</div>
|
</div>
|
||||||
<a-table ref="table" size="middle" style="height:calc(100vh - 343px);background:#e6e9f1;padding: 10px;"
|
<a-table ref="table" size="middle" style="height:calc(100vh - 343px);background:#e6e9f1;padding: 10px;" bordered rowKey="id"
|
||||||
bordered rowKey="id" :custom-row="handleCustomRow" :columns="columns" :dataSource="dataSource"
|
:custom-row="handleCustomRow"
|
||||||
@change="handleTableChange">
|
:columns="columns" :dataSource="dataSource" @change="handleTableChange">
|
||||||
<span slot="action" slot-scope="text, record">
|
<span slot="action" slot-scope="text, record">
|
||||||
<a @click="handleEdit(record)">选中</a>
|
<a @click="handleEdit(record)">选中</a>
|
||||||
</span>
|
</span>
|
||||||
|
@ -88,15 +88,13 @@
|
||||||
<div class="echartsTitle">
|
<div class="echartsTitle">
|
||||||
<div class="ecicon"></div>数据总量统计
|
<div class="ecicon"></div>数据总量统计
|
||||||
</div>
|
</div>
|
||||||
<div id="cleaningVariance" ref="cleaningVariance"
|
<div id="cleaningVariance" ref="cleaningVariance" style="width: 100%; height: calc(100% - 31px);background:#e6e9f1;"></div>
|
||||||
style="width: 100%; height: calc(100% - 31px);background:#e6e9f1;"></div>
|
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="12" :sm="2" style="height:calc(100vh - 422px);padding-right:20px;">
|
<a-col :md="12" :sm="2" style="height:calc(100vh - 422px);padding-right:20px;">
|
||||||
<div class="echartsTitle">
|
<div class="echartsTitle">
|
||||||
<div class="ecicon"></div>数据类型存储占比统计
|
<div class="ecicon"></div>数据类型存储占比统计
|
||||||
</div>
|
</div>
|
||||||
<div id="totalNumberCatalogues" ref="totalNumberCatalogues"
|
<div id="totalNumberCatalogues" ref="totalNumberCatalogues" style="width: 100%; height: calc(100% - 31px);background:#e6e9f1;"></div>
|
||||||
style="width: 100%; height: calc(100% - 31px);background:#e6e9f1;"></div>
|
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<div class="linese"></div>
|
<div class="linese"></div>
|
||||||
|
@ -294,9 +292,6 @@ export default {
|
||||||
color: ['#5470c6', '#91cc75', '#fac858', '#ee6666', '#73c0de', '#3ba272', '#fc8452', '#9a60b4', '#ea7ccc']
|
color: ['#5470c6', '#91cc75', '#fac858', '#ee6666', '#73c0de', '#3ba272', '#fc8452', '#9a60b4', '#ea7ccc']
|
||||||
};
|
};
|
||||||
myChart.setOption(option);
|
myChart.setOption(option);
|
||||||
window.addEventListener('resize', function () {
|
|
||||||
myChart.resize();
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
gettotalNumberCatalogues() {
|
gettotalNumberCatalogues() {
|
||||||
var myChart = this.$echarts.init(this.$refs.totalNumberCatalogues);
|
var myChart = this.$echarts.init(this.$refs.totalNumberCatalogues);
|
||||||
|
@ -322,9 +317,6 @@ export default {
|
||||||
color: ['#5470c6', '#91cc75', '#fac858', '#ee6666', '#73c0de', '#3ba272', '#fc8452', '#9a60b4', '#ea7ccc']
|
color: ['#5470c6', '#91cc75', '#fac858', '#ee6666', '#73c0de', '#3ba272', '#fc8452', '#9a60b4', '#ea7ccc']
|
||||||
};
|
};
|
||||||
myChart.setOption(option);
|
myChart.setOption(option);
|
||||||
window.addEventListener('resize', function () {
|
|
||||||
myChart.resize();
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -349,12 +341,10 @@ export default {
|
||||||
.quarter-div .datanum {
|
.quarter-div .datanum {
|
||||||
font-size: 26px;
|
font-size: 26px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 高亮样式 */
|
/* 高亮样式 */
|
||||||
/deep/.row-highlight {
|
/deep/.row-highlight {
|
||||||
background-color: #ffffff !important;
|
background-color: #ffffff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.quarter-div .ant-col-8,
|
.quarter-div .ant-col-8,
|
||||||
.quarter-div .ant-col-10 {
|
.quarter-div .ant-col-10 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user