From 7a10e0d6bb61a5c5287b595ed646e5121fc2eb1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwangzihua=E2=80=9D?= Date: Thu, 8 Jan 2026 23:41:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service-applications-api.js | 14 + .../business/category-tree-select/index.vue | 112 ++++- .../service-count/quarter-statistics.vue | 175 ++++++-- .../service/service-applications-count.vue | 401 +++++++++++++++++- .../erp/service/service-applications-list.vue | 35 +- src/views/system/account/account-menu.js | 4 +- 6 files changed, 663 insertions(+), 78 deletions(-) diff --git a/src/api/business/service-applications/service-applications-api.js b/src/api/business/service-applications/service-applications-api.js index 93d276f..9b53577 100644 --- a/src/api/business/service-applications/service-applications-api.js +++ b/src/api/business/service-applications/service-applications-api.js @@ -92,10 +92,24 @@ export const serviceApplicationsApi = { return postRequest('/serviceApplications/statistics', params); }, + /** + * 机构数据统计(管理员) @author wzh + */ + statisticsDepartment: (params) => { + return postRequest('/serviceApplications/statistics/department', params); + }, + /** * 导出律所统计信息 @author wzh */ exportLawyer: (params) => { return getDownload('/serviceApplications/exportLawyer', params); }, + + /** + * 按部门导出律师数据 @author wzh + */ + exportLawyerByDepartment: (params) => { + return getDownload('/serviceApplications/exportLawyerByDepartment', params); + }, }; diff --git a/src/components/business/category-tree-select/index.vue b/src/components/business/category-tree-select/index.vue index 0a7fdfe..a4cec92 100644 --- a/src/components/business/category-tree-select/index.vue +++ b/src/components/business/category-tree-select/index.vue @@ -1,24 +1,21 @@ + + diff --git a/src/components/system/service-count/quarter-statistics.vue b/src/components/system/service-count/quarter-statistics.vue index 10362b6..c5d09b0 100644 --- a/src/components/system/service-count/quarter-statistics.vue +++ b/src/components/system/service-count/quarter-statistics.vue @@ -26,12 +26,12 @@ - + - + @@ -52,7 +52,7 @@ - + diff --git a/src/views/business/erp/service/service-applications-count.vue b/src/views/business/erp/service/service-applications-count.vue index 004f0e3..877c9c8 100644 --- a/src/views/business/erp/service/service-applications-count.vue +++ b/src/views/business/erp/service/service-applications-count.vue @@ -7,24 +7,419 @@ --> \ No newline at end of file diff --git a/src/views/business/erp/service/service-applications-list.vue b/src/views/business/erp/service/service-applications-list.vue index 4ed7d7e..536808d 100644 --- a/src/views/business/erp/service/service-applications-list.vue +++ b/src/views/business/erp/service/service-applications-list.vue @@ -40,7 +40,7 @@ - + @@ -61,13 +61,13 @@
- + 新建申报 - + @@ -110,10 +110,10 @@ @@ -208,6 +208,7 @@ import { employeeApi } from '/@/api/system/employee-api'; import { REVIEW_ENUM } from '/@/constants/system/review-const'; import { PlusOutlined, DeleteOutlined, SendOutlined, ImportOutlined, ExportOutlined, DownloadOutlined, UploadOutlined } from '@ant-design/icons-vue'; + import { loginApi } from '/@/api/system/login-api'; // ---------------------------- 表格列 ---------------------------- const columns = ref([ @@ -272,7 +273,7 @@ }, { title: '执业机构审核人', - dataIndex: 'firmAuditUser', + dataIndex: 'firmAuditUserName', ellipsis: true, }, { @@ -319,6 +320,9 @@ auditRemark: '' }); + // 登录用户信息 + const loginInfo = ref(null); + // 加载所有员工数据 async function loadAllEmployees() { try { @@ -362,7 +366,20 @@ } - onMounted(queryData); + onMounted(async () => { + queryData(); + await getLoginInfo(); + }); + + // 获取登录信息 + async function getLoginInfo() { + try { + const res = await loginApi.getLoginInfo(); + loginInfo.value = res.data; + } catch (error) { + console.error('获取登录信息失败:', error); + } + } // ---------------------------- 添加/修改 ---------------------------- const formRef = ref(); diff --git a/src/views/system/account/account-menu.js b/src/views/system/account/account-menu.js index 39d31d4..1b59b0d 100644 --- a/src/views/system/account/account-menu.js +++ b/src/views/system/account/account-menu.js @@ -26,7 +26,7 @@ export const ACCOUNT_MENU = { menuName: '通知公告', components: markRaw(defineAsyncComponent(() => import('./components/notice/index.vue'))), }, - LOGIN_LOG: { + /**LOGIN_LOG: { menuId: 'login-log', menuName: '登录日志', components: markRaw(defineAsyncComponent(() => import('./components/login-log/index.vue'))), @@ -35,5 +35,5 @@ export const ACCOUNT_MENU = { menuId: 'operate-log', menuName: '操作日志', components: markRaw(defineAsyncComponent(() => import('./components/operate-log/index.vue'))), - }, + },**/ };