shuishen
2023-02-01 78e2414372a2fea6c9b642ea858e71836438063d
案件统计数据筛选
1 files modified
4 ■■■ changed files
src/views/home/components/rightContainer.vue 4 ●●● patch | view | raw | blame | history
src/views/home/components/rightContainer.vue
@@ -117,6 +117,8 @@
const timeEvents = []
export default {
    inject: ['userInfo'],
    data () {
        return {
            eventTime: [],
@@ -233,7 +235,7 @@
        // 获取案件统计值
        getCaseAll (start, end) {
            const caseAll = getCaseAll(start, end).then(res => {
            const caseAll = getCaseAll(start, end, this.userInfo.dept_id).then(res => {
                if (res.data.length > 0) {
                    return res.data.reduce((previous, current) => {
                        previous.xData.push(current.days)