Browse Source

档案统计

master
xuhuajiao 3 years ago
parent
commit
c59a8c0842
  1. 47
      src/api/archivesManage/statistics.js
  2. 1
      src/views/components/category/PreviewForm.vue
  3. 24
      src/views/system/archiveStatistics/index.vue

47
src/api/archivesManage/statistics.js

@ -17,3 +17,50 @@ export function FetchGetCaseNum(parameter) {
params: parameter params: parameter
}) })
} }
// 档案借阅数量统计
export function FetchInitBorrowerNumStatistics(parameter) {
return request({
url: 'api/borrow/initBorrowerNumStatistics',
method: 'get',
params: parameter
})
}
// 档案类别数量统计
export function FetchInitArchivesTypeNum(parameter) {
return request({
url: 'api/archives/initArchivesTypeNum',
method: 'get',
params: parameter
})
}
// 档案类型统计
export function FetchInitArchivesTypeStatistics(parameter) {
return request({
url: 'api/archives/initArchivesTypeStatistics',
method: 'get',
params: parameter
})
}
// 出入库月份统计
export function FetchStorageStatistics(parameter) {
return request({
url: 'api/storage/storageStatistics',
method: 'get',
params: parameter
})
}
// 档案检索排名
// 档案实际情况
export function FetchInitAddArchivesStatistics(parameter) {
return request({
url: 'api/archives/initAddArchivesStatistics',
method: 'get',
params: parameter
})
}

1
src/views/components/category/PreviewForm.vue

@ -131,7 +131,6 @@ export default {
result: null, result: null,
autoMatic: null, autoMatic: null,
isType: 'category', isType: 'category',
autoEditString: [],
normalizer(node) { normalizer(node) {
if (node.childMenus == null || node.childMenus === 'null') { if (node.childMenus == null || node.childMenus === 'null') {
delete node.childMenus delete node.childMenus

24
src/views/system/archiveStatistics/index.vue

@ -22,6 +22,11 @@
<p class="title-arrow">档案类别</p> <p class="title-arrow">档案类别</p>
</h3> </h3>
<div class="chart-wrapper" style="height: calc(100% - 40px);"> <div class="chart-wrapper" style="height: calc(100% - 40px);">
<el-date-picker
v-model="value1"
type="month"
placeholder="请选择"
/>
<cate-pie :cate-data="cateData" /> <cate-pie :cate-data="cateData" />
</div> </div>
</div> </div>
@ -97,6 +102,7 @@ export default {
components: { lendAcross, catePie, typePie, BarEcharts, AcrossBar, LineEchart }, components: { lendAcross, catePie, typePie, BarEcharts, AcrossBar, LineEchart },
data() { data() {
return { return {
value1: '',
lendData: [100, 18203, 23489, 29034, 104970], lendData: [100, 18203, 23489, 29034, 104970],
cateData: [1000, 700], cateData: [1000, 700],
typeData: [1110, 2000, 800, 600, 900] typeData: [1110, 2000, 800, 600, 900]
@ -110,7 +116,25 @@ export default {
.container-wrap{ .container-wrap{
min-height:calc(100vh - 636px) ; min-height:calc(100vh - 636px) ;
} }
.chart-wrapper{
position: relative;
}
::v-deep .el-date-editor{
position: absolute;
right: 20px;
top: -30px;
width: 116px;
z-index: 9999;
.el-input__inner{
width: 116px;
height: 30px;
border: 1px solid #339cff;
background-color: #021941;
line-height: 30px;
color: #fff;
}
}
.center-box{ .center-box{
// width:100%; // width:100%;
margin:20px 0; margin:20px 0;

Loading…
Cancel
Save