diff --git a/src/api/archivesManage/lendManage.js b/src/api/archivesManage/lendManage.js
index 6e4f5a1..6f2e1d6 100644
--- a/src/api/archivesManage/lendManage.js
+++ b/src/api/archivesManage/lendManage.js
@@ -187,5 +187,14 @@ export function edit(data) {
})
}
+// 待办事项
+export function FetchWaitBorrower(parameter) {
+ return request({
+ url: 'api/borrow/waitBorrower',
+ method: 'get',
+ params: parameter
+ })
+}
+
export default { add, edit, del }
diff --git a/src/api/archivesManage/statistics.js b/src/api/archivesManage/statistics.js
index 75f40b4..8ec9a5e 100644
--- a/src/api/archivesManage/statistics.js
+++ b/src/api/archivesManage/statistics.js
@@ -55,6 +55,13 @@ export function FetchStorageStatistics(parameter) {
}
// 档案检索排名
+export function FetchInitArchivesSearchRanking(parameter) {
+ return request({
+ url: 'api/archives/initArchivesSearchRanking',
+ method: 'get',
+ params: parameter
+ })
+}
// 档案实际情况
export function FetchInitAddArchivesStatistics(parameter) {
diff --git a/src/views/archivesManage/lendManage/mixins/lending.js b/src/views/archivesManage/lendManage/mixins/lending.js
index 1dd984f..da0021e 100644
--- a/src/views/archivesManage/lendManage/mixins/lending.js
+++ b/src/views/archivesManage/lendManage/mixins/lending.js
@@ -85,7 +85,7 @@ export const lendingCrud = {
case 4:
return 'cell-lend has-return'
default:
- return 'cell-lend no-lend '
+ return 'cell-lend no-lend'
}
},
// 获取部门list
diff --git a/src/views/components/echarts/catePie.vue b/src/views/components/echarts/catePie.vue
index 23581d7..249bb91 100644
--- a/src/views/components/echarts/catePie.vue
+++ b/src/views/components/echarts/catePie.vue
@@ -32,6 +32,17 @@ export default {
chart: null
}
},
+ watch: {
+ 'cateData': {
+ handler(val) {
+ setTimeout(() => {
+ this.drawChart()
+ }, 100)
+ },
+ immediate: true,
+ deep: true
+ }
+ },
mounted() {
this.drawChart()
},
@@ -93,7 +104,6 @@ export default {
}
]
}
-
option && this.chart.setOption(option)
}
}
diff --git a/src/views/components/echarts/lendAcross.vue b/src/views/components/echarts/lendAcross.vue
index 778b0cd..1c1a415 100644
--- a/src/views/components/echarts/lendAcross.vue
+++ b/src/views/components/echarts/lendAcross.vue
@@ -31,16 +31,25 @@ export default {
chart: null
}
},
+ watch: {
+ 'lendData': {
+ handler(val) {
+ setTimeout(() => {
+ this.drawChart()
+ }, 100)
+ },
+ immediate: true,
+ deep: true
+ }
+ },
mounted() {
this.drawChart()
},
beforeDestroy() {
-
},
methods: {
drawChart() {
const chartDom = document.getElementById('mainlend')
-
this.chart = echarts.init(chartDom)
let option = null
option = {
@@ -79,7 +88,7 @@ export default {
axisTick: {
show: false
},
- data: ['异常档案', '在库档案', '已借档案', '待借档案', '逾期档案']
+ data: ['异常档案', '逾期档案', '待借档案', '已借档案', '在库档案']
},
series: [
{
@@ -112,11 +121,11 @@ export default {
// }
color: function(params) {
var colorList = [
+ ['#FF77AA', '#E6236D'],
['#FF7A7D', '#FF3438'],
- ['#5FA2E2', '#1C54EE'],
- ['#84DFC0', '#0D9D81'],
['#FBCE9B', '#FF801E'],
- ['#FF7A7D', '#FF3438']
+ ['#84DFC0', '#0D9D81'],
+ ['#5FA2E2', '#1C54EE']
]
var colorItem = colorList[params.dataIndex]
return new echarts.graphic.LinearGradient(0, 0, 1, 0, [{
@@ -130,13 +139,11 @@ export default {
], false)
}
}
-
},
data: this.lendData // 从下到上的数据
}
]
}
-
option && this.chart.setOption(option)
}
diff --git a/src/views/components/echarts/typePie.vue b/src/views/components/echarts/typePie.vue
index bf0f13b..2319e1a 100644
--- a/src/views/components/echarts/typePie.vue
+++ b/src/views/components/echarts/typePie.vue
@@ -10,7 +10,6 @@ import resize from '@/views/dashboard/mixins/resize'
export default {
name: 'TypePie',
mixins: [resize],
-
props: {
typeData: {
type: Array,
@@ -33,6 +32,17 @@ export default {
chart: null
}
},
+ watch: {
+ 'typeData': {
+ handler(val) {
+ setTimeout(() => {
+ this.drawChart()
+ }, 100)
+ },
+ immediate: true,
+ deep: true
+ }
+ },
mounted() {
this.drawChart()
},
@@ -43,8 +53,8 @@ export default {
let option = null
option = {
tooltip: {
- trigger: 'item'
- // formatter: "{a}
{b} : {c} ({d}%)"
+ trigger: 'item',
+ formatter: '{a}
{b} : {c} ({d}%)'
},
legend: {
@@ -86,13 +96,7 @@ export default {
show: false
}
},
- data: [
- { value: this.typeData[0], name: '文书档案', itemStyle: { color: '#0FBED9' }},
- { value: this.typeData[1], name: '科技档案', itemStyle: { color: '#F65163' }},
- { value: this.typeData[2], name: '会计档案', itemStyle: { color: '#FF8447' }},
- { value: this.typeData[3], name: '实物档案', itemStyle: { color: '#76AF50' }},
- { value: this.typeData[4], name: '基建档案', itemStyle: { color: '#8378E8' }}
- ]
+ data: this.typeData
}
]
}
diff --git a/src/views/system/archiveStatistics/index.vue b/src/views/system/archiveStatistics/index.vue
index e7ef5e4..49db828 100644
--- a/src/views/system/archiveStatistics/index.vue
+++ b/src/views/system/archiveStatistics/index.vue
@@ -21,12 +21,15 @@
档案类别
+档案类型
+出入库管理情况
+档案检索排名
+档案实际情况
+