|
|
|
@ -3,9 +3,34 @@
|
|
|
|
|
<head>
|
|
|
|
|
<th:block th:include="include :: header('载体下发列表')" />
|
|
|
|
|
</head>
|
|
|
|
|
<style>
|
|
|
|
|
.echart{
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 40%;
|
|
|
|
|
background-color: white;
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
box-shadow: 1px 1px 3px rgba(0, 0, 0, .2);
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
.children_echarts{
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<body class="gray-bg">
|
|
|
|
|
<div class="container-div" id="app">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="echart">
|
|
|
|
|
<div class="children_echarts left_echarts">
|
|
|
|
|
<div id="leftMain" style="width: 800px;height:290px"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="children_echarts right_echarts">
|
|
|
|
|
<div id="rightMain" style="width: 500px;height:300px"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-12 search-collapse">
|
|
|
|
|
<form id="formId">
|
|
|
|
|
<div class="select-list">
|
|
|
|
@ -42,16 +67,13 @@
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="btn-group-sm" id="toolbar" role="group">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-12 select-table table-striped">
|
|
|
|
|
<div class="col-sm-12 select-table table-striped" style="min-height: 44%">
|
|
|
|
|
<table id="bootstrap-table"></table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<th:block th:include="include :: footer" />
|
|
|
|
|
<th:block th:include="include :: echarts-js" />
|
|
|
|
|
<script th:inline="javascript">
|
|
|
|
|
var detailFlag = [[${@permission.hasPermi('system:filenum:print')}]];
|
|
|
|
|
var instancyExtentDatas = [[${@dict.getType('sys_file_jinjichengdu')}]];
|
|
|
|
@ -71,6 +93,7 @@
|
|
|
|
|
url: prefix + "/list",
|
|
|
|
|
exportUrl: prefix + "/export",
|
|
|
|
|
modalName: "载体下发",
|
|
|
|
|
pageSize:5,
|
|
|
|
|
columns: [
|
|
|
|
|
{
|
|
|
|
|
field: 'fileId',
|
|
|
|
@ -175,6 +198,64 @@
|
|
|
|
|
var url = prefix + '/print/' + netId;
|
|
|
|
|
$.modal.openTab("打印", url);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var myChart = echarts.init(document.getElementById('leftMain'));
|
|
|
|
|
axios.post(prefix + '/countLevel').then(response => {
|
|
|
|
|
if (response.data.code == web_status.SUCCESS){
|
|
|
|
|
myChart.setOption({
|
|
|
|
|
title: {
|
|
|
|
|
text: '载体类型统计'
|
|
|
|
|
},
|
|
|
|
|
tooltip: {},
|
|
|
|
|
legend: {
|
|
|
|
|
data:['载体类型']
|
|
|
|
|
},
|
|
|
|
|
xAxis: {
|
|
|
|
|
data: response.data.data.xAxisData,
|
|
|
|
|
axisLabel: {
|
|
|
|
|
rotate: 45, // 旋转标签的角度
|
|
|
|
|
margin: 10, // 标签与坐标轴的间距
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
yAxis: {
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
series: [
|
|
|
|
|
{
|
|
|
|
|
name: '载体类型',
|
|
|
|
|
type: 'bar',
|
|
|
|
|
data: response.data.data.yAxisData,
|
|
|
|
|
itemStyle: {
|
|
|
|
|
color: '#c6bd54'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
console.log(response.data.data)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
var rightMain = echarts.init(document.getElementById('rightMain'));
|
|
|
|
|
axios.post(prefix + '/countSecret').then(response => {
|
|
|
|
|
if (response.data.code == web_status.SUCCESS){
|
|
|
|
|
rightMain.setOption({
|
|
|
|
|
title: {
|
|
|
|
|
text: '载体密级统计'
|
|
|
|
|
},
|
|
|
|
|
tooltip: {},
|
|
|
|
|
legend: {
|
|
|
|
|
orient: 'vertical',
|
|
|
|
|
x: 'right',
|
|
|
|
|
data: ['秘密', '机密', '绝密']
|
|
|
|
|
},
|
|
|
|
|
series: [
|
|
|
|
|
{
|
|
|
|
|
type: 'pie',
|
|
|
|
|
data: response.data.data,
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|