From 77e69e89cb0df5889bfd78af2598c02a3bfd7771 Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Thu, 28 Mar 2024 11:10:41 +0800 Subject: [PATCH] add --- src/api/financial_budget_doc_income.ts | 11 ++ src/api/financial_expense_reimbursement.ts | 26 +++ src/api/financial_fee_application.ts | 26 +++ src/api/index | 0 src/views/astatistics/components/Project.vue | 2 +- src/views/build_report/index.vue | 16 -- src/views/contract/edit.vue | 13 +- src/views/contract_ledger/index.vue | 14 +- src/views/financial_budget_doc/income.vue | 95 +++++++++ src/views/financial_budget_doc/index.vue | 9 +- .../index.vue | 2 +- .../financial_expense_reimbursement/edit.vue | 185 ++++++++++++++++++ .../financial_expense_reimbursement/index.vue | 153 +++++++++++++++ .../edit.vue | 90 ++++----- src/views/financial_fee_application/index.vue | 142 ++++++++++++++ src/views/flows/edit.vue | 57 +++--- src/views/flows/index.vue | 2 +- src/views/material_list/detail.vue | 13 +- src/views/material_list/edit.vue | 65 +----- .../project_expense_reimbursement/detail.vue | 12 +- .../project_expense_reimbursement/edit.vue | 23 ++- src/views/project_loan_apply/edit.vue | 2 +- .../project_travel_reimbursement/edit.vue | 44 ++--- 23 files changed, 783 insertions(+), 219 deletions(-) create mode 100644 src/api/financial_budget_doc_income.ts create mode 100644 src/api/financial_expense_reimbursement.ts create mode 100644 src/api/financial_fee_application.ts create mode 100644 src/api/index create mode 100644 src/views/financial_budget_doc/income.vue create mode 100644 src/views/financial_expense_reimbursement/edit.vue create mode 100644 src/views/financial_expense_reimbursement/index.vue rename src/views/{contract_ledger => financial_fee_application}/edit.vue (53%) create mode 100644 src/views/financial_fee_application/index.vue diff --git a/src/api/financial_budget_doc_income.ts b/src/api/financial_budget_doc_income.ts new file mode 100644 index 0000000..4f06d7d --- /dev/null +++ b/src/api/financial_budget_doc_income.ts @@ -0,0 +1,11 @@ +import request from "@/utils/request"; + +// 财务管理--项目预算书列表 +export function apiFinancialBudgetDocLists(params: any) { + return request.get({ + url: "/financial.financial_budget_doc/income", + params, + }); +} + + diff --git a/src/api/financial_expense_reimbursement.ts b/src/api/financial_expense_reimbursement.ts new file mode 100644 index 0000000..d376881 --- /dev/null +++ b/src/api/financial_expense_reimbursement.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 财务管理--费用报销单列表 +export function apiFinancialExpenseReimbursementLists(params: any) { + return request.get({ url: '/financial.financial_expense_reimbursement/lists', params }) +} + +// 添加财务管理--费用报销单 +export function apiFinancialExpenseReimbursementAdd(params: any) { + return request.post({ url: '/financial.financial_expense_reimbursement/add', params }) +} + +// 编辑财务管理--费用报销单 +export function apiFinancialExpenseReimbursementEdit(params: any) { + return request.post({ url: '/financial.financial_expense_reimbursement/edit', params }) +} + +// 删除财务管理--费用报销单 +export function apiFinancialExpenseReimbursementDelete(params: any) { + return request.post({ url: '/financial.financial_expense_reimbursement/delete', params }) +} + +// 财务管理--费用报销单详情 +export function apiFinancialExpenseReimbursementDetail(params: any) { + return request.get({ url: '/financial.financial_expense_reimbursement/detail', params }) +} \ No newline at end of file diff --git a/src/api/financial_fee_application.ts b/src/api/financial_fee_application.ts new file mode 100644 index 0000000..48154bf --- /dev/null +++ b/src/api/financial_fee_application.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 财务管理--费用申请列表 +export function apiFinancialFeeApplicationLists(params: any) { + return request.get({ url: '/financial.financial_fee_application/lists', params }) +} + +// 添加财务管理--费用申请 +export function apiFinancialFeeApplicationAdd(params: any) { + return request.post({ url: '/financial.financial_fee_application/add', params }) +} + +// 编辑财务管理--费用申请 +export function apiFinancialFeeApplicationEdit(params: any) { + return request.post({ url: '/financial.financial_fee_application/edit', params }) +} + +// 删除财务管理--费用申请 +export function apiFinancialFeeApplicationDelete(params: any) { + return request.post({ url: '/financial.financial_fee_application/delete', params }) +} + +// 财务管理--费用申请详情 +export function apiFinancialFeeApplicationDetail(params: any) { + return request.get({ url: '/financial.financial_fee_application/detail', params }) +} \ No newline at end of file diff --git a/src/api/index b/src/api/index new file mode 100644 index 0000000..e69de29 diff --git a/src/views/astatistics/components/Project.vue b/src/views/astatistics/components/Project.vue index c8acf95..cd9d722 100644 --- a/src/views/astatistics/components/Project.vue +++ b/src/views/astatistics/components/Project.vue @@ -29,7 +29,7 @@ const customList = reactive([ { name: "项目总数", value: 3, - url: "/construction/project/project_lists" + url: "/construction/project/project_list" }, { name: "项目跟进", diff --git a/src/views/build_report/index.vue b/src/views/build_report/index.vue index 33f3c69..1a45ca2 100644 --- a/src/views/build_report/index.vue +++ b/src/views/build_report/index.vue @@ -42,22 +42,6 @@ - - - - - diff --git a/src/views/contract/edit.vue b/src/views/contract/edit.vue index c40c83a..dcc4f82 100644 --- a/src/views/contract/edit.vue +++ b/src/views/contract/edit.vue @@ -1,21 +1,18 @@