diff --git a/.env.development b/.env.development index 50dbfb1..4230004 100644 --- a/.env.development +++ b/.env.development @@ -1,3 +1,3 @@ NODE_ENV=development -VITE_APP_TITLE='律师公益法律服务活动申报与管理平台' +VITE_APP_TITLE='律师公益法律服务活动申报子系统' VITE_APP_API_URL='/api' \ No newline at end of file diff --git a/.env.localhost b/.env.localhost index 1fca54b..2baa3db 100644 --- a/.env.localhost +++ b/.env.localhost @@ -1,3 +1,3 @@ NODE_ENV=development -VITE_APP_TITLE='律师公益法律服务活动申报与管理平台' +VITE_APP_TITLE='律师公益法律服务活动申报子系统' VITE_APP_API_URL='/api' diff --git a/.env.pre b/.env.pre index a478a5e..6d3c6ad 100644 --- a/.env.pre +++ b/.env.pre @@ -1,3 +1,3 @@ NODE_ENV=production -VITE_APP_TITLE='律师公益法律服务活动申报与管理平台' -VITE_APP_API_URL='https://preview.smartadmin.vip/smart-admin-api' \ No newline at end of file +VITE_APP_TITLE='律师公益法律服务活动申报子系统' +VITE_APP_API_URL='/api' \ No newline at end of file diff --git a/.env.production b/.env.production index a0d1ae6..6d3c6ad 100644 --- a/.env.production +++ b/.env.production @@ -1,3 +1,3 @@ NODE_ENV=production -VITE_APP_TITLE='律师公益法律服务活动申报与管理平台' +VITE_APP_TITLE='律师公益法律服务活动申报子系统' VITE_APP_API_URL='/api' \ No newline at end of file diff --git a/.env.test b/.env.test index 1b8a4a8..68741ba 100644 --- a/.env.test +++ b/.env.test @@ -1,3 +1,3 @@ NODE_ENV=production -VITE_APP_TITLE='律师公益法律服务活动申报与管理平台' +VITE_APP_TITLE='律师公益法律服务活动申报子系统' VITE_APP_API_URL='/api' diff --git a/src/api/business/cost/firm-reports-api.js b/src/api/business/cost/firm-reports-api.js new file mode 100644 index 0000000..23171fa --- /dev/null +++ b/src/api/business/cost/firm-reports-api.js @@ -0,0 +1,48 @@ +/** + * 律师事务所年度经营报表 api 封装 + * + * @Author: wzh + * @Date: 2026-01-07 15:57:43 + * @Copyright 1.0 + */ +import { postRequest, getRequest } from '/@/lib/axios'; + +export const firmReportsApi = { + + /** + * 分页查询 @author wzh + */ + queryPage : (param) => { + return postRequest('/firmReports/queryPage', param); + }, + + /** + * 增加 @author wzh + */ + add: (param) => { + return postRequest('/firmReports/add', param); + }, + + /** + * 修改 @author wzh + */ + update: (param) => { + return postRequest('/firmReports/update', param); + }, + + + /** + * 删除 @author wzh + */ + delete: (id) => { + return getRequest(`/firmReports/delete/${id}`); + }, + + /** + * 批量删除 @author wzh + */ + batchDelete: (idList) => { + return postRequest('/firmReports/batchDelete', idList); + }, + +}; diff --git a/src/api/support/file-api.js b/src/api/support/file-api.js index 8f93153..4ee8e17 100644 --- a/src/api/support/file-api.js +++ b/src/api/support/file-api.js @@ -40,6 +40,6 @@ export const fileApi = { * 根据文件ID列表获取文件信息 @author 系统 */ getFileList: (fileIds) => { - return postRequest('/support/file/getFileList', { fileIds }); + return getRequest('/support/file/getFileList', { fileIds }); }, }; diff --git a/src/config/app-config.js b/src/config/app-config.js index 1c3c903..99e8b08 100644 --- a/src/config/app-config.js +++ b/src/config/app-config.js @@ -37,7 +37,7 @@ export const appDefaultConfig = { // 水印 watermarkFlag: true, // 网站名称 - websiteName: '律师公益服务平台', + websiteName: '律师公益法律服务活动申报子系统', // 主题颜色 primaryColor: '#1677ff', // 紧凑 diff --git a/src/constants/business/erp/cost-const.js b/src/constants/business/erp/cost-const.js new file mode 100644 index 0000000..5c60228 --- /dev/null +++ b/src/constants/business/erp/cost-const.js @@ -0,0 +1,59 @@ +/* + * 成本管理常量 + */ + +// 季度枚举 +export const QUARTER_ENUM = { + Q1: { + value: 'Q1', + desc: '第一季度', + }, + Q2: { + value: 'Q2', + desc: '第二季度', + }, + Q3: { + value: 'Q3', + desc: '第三季度', + }, + Q4: { + value: 'Q4', + desc: '第四季度', + }, +}; + +// 审核状态枚举 +export const REVIEW_STATUS_ENUM = { + DRAFT: { + value: 0, + desc: '待提交', + }, + SUBMITTED: { + value: 1, + desc: '待审批', + }, + APPROVED: { + value: 2, + desc: '审批中', + }, + REJECTED: { + value: 3, + desc: '已通过', + }, + REFUSE: { + value: 4, + desc: '拒绝', + }, +}; + +// 成本类型枚举 +export const COST_TYPE_ENUM = { + PUBLIC_WELFARE: { + value: 1, + desc: '公益活动成本', + }, + OTHER: { + value: 2, + desc: '其他成本', + }, +}; \ No newline at end of file diff --git a/src/layout/components/side-menu/index.vue b/src/layout/components/side-menu/index.vue index 39c69cf..33f1e74 100644 --- a/src/layout/components/side-menu/index.vue +++ b/src/layout/components/side-menu/index.vue @@ -1,11 +1,5 @@