From d6bc5a34a773ce9f55a445cbffc7f5977002c61a Mon Sep 17 00:00:00 2001 From: zichen1019 <1510748736@qq.com> Date: Mon, 23 Aug 2021 18:25:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=80=E6=9C=89totalCount=E6=9B=BF=E6=8D=A2?= =?UTF-8?q?=E4=B8=BAtotal=EF=BC=8C=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E4=B8=8D=E5=88=B0totalCount=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Crud/index.vue | 8 +++--- src/components/Notice/message.vue | 4 +-- src/components/drawerDialog/index.vue | 16 ++++++------ src/store/modules/user.js | 26 +++++++++---------- src/views/allot/components/chengya_list.vue | 6 ++--- src/views/allot/components/jidian_list.vue | 6 ++--- src/views/allot/hasAllot.vue | 6 ++--- src/views/allot/project.vue | 12 ++++----- src/views/allot/rwd_list.vue | 6 ++--- src/views/allot/team_list.vue | 6 ++--- src/views/allot/tuihui_list.vue | 6 ++--- src/views/archive/list.vue | 6 ++--- src/views/assign/hasAssign.vue | 6 ++--- src/views/assign/list.vue | 6 ++--- src/views/assign/missionList.vue | 12 ++++----- src/views/assign/old_list.vue | 6 ++--- src/views/audit/list.vue | 6 ++--- src/views/bggl/banjie_list.vue | 14 +++++----- src/views/bggl/components/boiler_db_list.vue | 10 +++---- .../bggl/components/original_db_list.vue | 10 +++---- src/views/bggl/daishen_list.vue | 6 ++--- src/views/bggl/eliminatingred_list.vue | 8 +++--- src/views/bggl/sign_list.vue | 8 +++--- src/views/bggl/yiban_list.vue | 6 ++--- src/views/bjd/department_list.vue | 6 ++--- src/views/bjd/dj_create.vue | 10 +++---- src/views/bjd/dj_input.vue | 8 +++--- src/views/bjd/dj_list.vue | 6 ++--- src/views/bjd/dt_list.vue | 6 ++--- src/views/bjd/jj_create.vue | 6 ++--- src/views/bjd/jj_input.vue | 6 ++--- src/views/bjd/jj_list.vue | 6 ++--- src/views/bjd/qy_list.vue | 6 ++--- src/views/bjd/zf_list.vue | 6 ++--- src/views/chargeBill/JD/create.vue | 6 ++--- src/views/chargeBill/ZJ/create.vue | 6 ++--- src/views/chargeBill/index.vue | 6 ++--- src/views/chargeBill/other/create.vue | 6 ++--- src/views/chargeBill/statistic.vue | 6 ++--- src/views/chargeBill/task.vue | 6 ++--- src/views/chargeTask/db_list.vue | 6 ++--- src/views/chargeTask/yb_list.vue | 6 ++--- .../dashboard/components/SubmoduleTable.vue | 4 +-- src/views/dashboard/index.vue | 14 +++++----- src/views/dic/category.vue | 8 +++--- src/views/dic/dic_data.vue | 6 ++--- src/views/dic/dic_type.vue | 14 +++++----- src/views/dic/dic_xinghao.vue | 8 +++--- src/views/dwxx/examine.vue | 6 ++--- src/views/dwxx/list.vue | 6 ++--- src/views/dwxx/reviewed.vue | 6 ++--- src/views/finance/djList.vue | 6 ++--- src/views/finance/jfjd_list.vue | 6 ++--- src/views/finance/jjList.vue | 6 ++--- src/views/finance/web_jfdqr_list.vue | 6 ++--- src/views/finance/web_sfdsf_list.vue | 6 ++--- src/views/finance/web_xxsfd_list.vue | 6 ++--- src/views/finance/wsf_list.vue | 6 ++--- src/views/finance/ycdw_list.vue | 6 ++--- src/views/finance/ysf_list.vue | 6 ++--- src/views/finance/zzList.vue | 6 ++--- src/views/flow/definition.vue | 8 +++--- src/views/flow/detail.vue | 8 +++--- src/views/flow/link.vue | 6 ++--- src/views/flow/message.vue | 6 ++--- src/views/flow/restart.vue | 8 +++--- src/views/flow/template.vue | 8 +++--- src/views/invoice/list.vue | 6 ++--- src/views/invoice/toBeInvoiced.vue | 6 ++--- src/views/liaison/list.vue | 6 ++--- src/views/monitor/log_error.vue | 6 ++--- src/views/monitor/log_info.vue | 8 +++--- src/views/monitor/online.vue | 6 ++--- src/views/monitor/redis.vue | 6 ++--- src/views/print/1000/grant_create.vue | 8 +++--- src/views/print/1000/grant_list_yff.vue | 6 ++--- src/views/print/1000/print_list.vue | 8 +++--- src/views/print/2000/print_list.vue | 6 ++--- src/views/print/3000/print_list.vue | 6 ++--- src/views/print/4000/print_list.vue | 6 ++--- src/views/print/5000/print_list.vue | 6 ++--- src/views/print/8000/print_list.vue | 6 ++--- src/views/print/grant/grant_list_chengya.vue | 6 ++--- src/views/print/grant/grant_list_jidian.vue | 6 ++--- src/views/print/grant_list.vue | 6 ++--- src/views/search/list.vue | 6 ++--- src/views/statistics/filing.vue | 6 ++--- src/views/statistics/gldj.vue | 10 +++---- src/views/task/list.vue | 12 ++++----- src/views/tool/quartz.vue | 6 ++--- src/views/tool/quartz_log.vue | 6 ++--- src/views/user/department.vue | 4 +-- src/views/user/user.vue | 4 +-- src/views/user/version.vue | 6 ++--- src/views/ysjl/2000/sfqk.vue | 6 ++--- .../ysjl/components/gascylinder_db_list.vue | 6 ++--- .../ysjl/components/gascylinder_yb_list.vue | 6 ++--- .../ysjl/components/manufacture_db_list.vue | 6 ++--- .../ysjl/components/manufacture_yb_list.vue | 6 ++--- .../ysjl/components/original_yb_list.vue | 15 +++-------- src/views/zjd/zjbg_list.vue | 6 ++--- src/views/zjd/zjd_list.vue | 6 ++--- 102 files changed, 359 insertions(+), 368 deletions(-) diff --git a/src/components/Crud/index.vue b/src/components/Crud/index.vue index f6b888b..955cdab 100644 --- a/src/components/Crud/index.vue +++ b/src/components/Crud/index.vue @@ -126,10 +126,10 @@ export default { this.allColumnsSelectedIndeterminate = false }, handleCheckedTableColumnsChange(item) { - let totalCount = 0 + let total = 0 let selectedCount = 0 for (const key in this.crud.props.tableColumns) { - ++totalCount + ++total if (Object.prototype.hasOwnProperty.call(this.crud.props.tableColumns, key)) { selectedCount += this.crud.props.tableColumns[key].visible ? 1 : 0 } @@ -141,8 +141,8 @@ export default { }) return } - this.allColumnsSelected = selectedCount === totalCount - this.allColumnsSelectedIndeterminate = selectedCount !== totalCount && selectedCount !== 0 + this.allColumnsSelected = selectedCount === total + this.allColumnsSelectedIndeterminate = selectedCount !== total && selectedCount !== 0 }, toggleSearch() { this.crud.props.searchToggle = !this.crud.props.searchToggle diff --git a/src/components/Notice/message.vue b/src/components/Notice/message.vue index b8cb5cf..5141c3c 100644 --- a/src/components/Notice/message.vue +++ b/src/components/Notice/message.vue @@ -234,7 +234,7 @@ export default { params: this.readListQuery }).then(data => { this.readMessage = data.list - this.readMessageTotal = data.totalCount + this.readMessageTotal = data.total // this.systemMessageCount = data.systemMessageCount // this.readMessageCount = data.readMessageCount // this.recycleMessageCount = data.recycleMessageCount @@ -287,7 +287,7 @@ export default { params: this.recycleListQuery }).then(data => { this.recycleMessage = data.list - this.recycleMessageTotal = data.totalCount + this.recycleMessageTotal = data.total this.systemMessageCount = data.systemMessageCount this.readMessageCount = data.readMessageCount this.recycleMessageCount = data.recycleMessageCount diff --git a/src/components/drawerDialog/index.vue b/src/components/drawerDialog/index.vue index b6a0964..a55b733 100644 --- a/src/components/drawerDialog/index.vue +++ b/src/components/drawerDialog/index.vue @@ -356,8 +356,8 @@