From ba066893da6aecb05c6739b56c40f740ed7f043b Mon Sep 17 00:00:00 2001 From: shengchanzhe <179998674@qq.com> Date: Thu, 28 Dec 2023 22:26:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/cost_budget_detail.ts | 26 +++ src/api/subcontracting_contract_detail.ts | 26 +++ src/views/cost_budget_detail/edit.vue | 170 ++++++++++++++++++ src/views/cost_budget_detail/index.vue | 167 +++++++++++++++++ .../expense_reimbursement_detail/index.vue | 7 +- .../subcontracting_contract_detail/index.vue | 29 +-- 6 files changed, 408 insertions(+), 17 deletions(-) create mode 100644 src/api/cost_budget_detail.ts create mode 100644 src/api/subcontracting_contract_detail.ts create mode 100644 src/views/cost_budget_detail/edit.vue create mode 100644 src/views/cost_budget_detail/index.vue diff --git a/src/api/cost_budget_detail.ts b/src/api/cost_budget_detail.ts new file mode 100644 index 0000000..2c44504 --- /dev/null +++ b/src/api/cost_budget_detail.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 预算明细列表 +export function apiCostBudgetDetailLists(params: any) { + return request.get({ url: '/cost.cost_budget_detail/lists', params }) +} + +// 添加预算明细 +export function apiCostBudgetDetailAdd(params: any) { + return request.post({ url: '/cost.cost_budget_detail/add', params }) +} + +// 编辑预算明细 +export function apiCostBudgetDetailEdit(params: any) { + return request.post({ url: '/cost.cost_budget_detail/edit', params }) +} + +// 删除预算明细 +export function apiCostBudgetDetailDelete(params: any) { + return request.post({ url: '/cost.cost_budget_detail/delete', params }) +} + +// 预算明细详情 +export function apiCostBudgetDetailDetail(params: any) { + return request.get({ url: '/cost.cost_budget_detail/detail', params }) +} \ No newline at end of file diff --git a/src/api/subcontracting_contract_detail.ts b/src/api/subcontracting_contract_detail.ts new file mode 100644 index 0000000..64e39c4 --- /dev/null +++ b/src/api/subcontracting_contract_detail.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 分包合同-分包明细列表 +export function apiSubcontractingContractDetailLists(params: any) { + return request.get({ url: '/contract.subcontracting_contract_detail/lists', params }) +} + +// 添加分包合同-分包明细 +export function apiSubcontractingContractDetailAdd(params: any) { + return request.post({ url: '/contract.subcontracting_contract_detail/add', params }) +} + +// 编辑分包合同-分包明细 +export function apiSubcontractingContractDetailEdit(params: any) { + return request.post({ url: '/contract.subcontracting_contract_detail/edit', params }) +} + +// 删除分包合同-分包明细 +export function apiSubcontractingContractDetailDelete(params: any) { + return request.post({ url: '/contract.subcontracting_contract_detail/delete', params }) +} + +// 分包合同-分包明细详情 +export function apiSubcontractingContractDetailDetail(params: any) { + return request.get({ url: '/contract.subcontracting_contract_detail/detail', params }) +} \ No newline at end of file diff --git a/src/views/cost_budget_detail/edit.vue b/src/views/cost_budget_detail/edit.vue new file mode 100644 index 0000000..2c0fa01 --- /dev/null +++ b/src/views/cost_budget_detail/edit.vue @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/cost_budget_detail/index.vue b/src/views/cost_budget_detail/index.vue new file mode 100644 index 0000000..9ca77c1 --- /dev/null +++ b/src/views/cost_budget_detail/index.vue @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/financialManagement/expense_reimbursement_detail/index.vue b/src/views/financialManagement/expense_reimbursement_detail/index.vue index 497b33c..6bdf50c 100644 --- a/src/views/financialManagement/expense_reimbursement_detail/index.vue +++ b/src/views/financialManagement/expense_reimbursement_detail/index.vue @@ -9,7 +9,8 @@ - + @@ -65,8 +66,8 @@ import { reimbursementdetails } from '@/api/expense_reimbursement' import { timeFormat } from '@/utils/util' import feedback from '@/utils/feedback' -import EditPopup from './edit.vue' -import DetailPopup from './detail.vue' +// import EditPopup from './edit.vue' +// import DetailPopup from './detail.vue' const detailRef = shallowRef>() const editRef = shallowRef>() // 是否显示编辑框 diff --git a/src/views/subcontracting_contract_detail/index.vue b/src/views/subcontracting_contract_detail/index.vue index 57be32e..d20ef47 100644 --- a/src/views/subcontracting_contract_detail/index.vue +++ b/src/views/subcontracting_contract_detail/index.vue @@ -2,9 +2,9 @@ - + @@ -15,7 +15,7 @@ - + @@ -33,22 +33,22 @@ - + - + - + + @@ -60,10 +60,11 @@ - - - - + + + +