From f870f50be03e4a48d1d16652c13ada6abb31e2bd Mon Sep 17 00:00:00 2001 From: Maple <869445424@qq.com> Date: Fri, 8 Aug 2025 15:51:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=94=B6=E5=85=A5=E5=90=88=E5=90=8C?= =?UTF-8?q?=E7=9A=84=E7=BC=96=E8=BE=91=E5=8A=9F=E8=83=BD=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/http.ts | 4 - .../revenue-contract/ContractEdit.vue | 122 +++++++++++++ .../contract/revenue-contract/index.vue | 172 +++++++++++++++--- 3 files changed, 265 insertions(+), 33 deletions(-) create mode 100644 src/views/project-management/contract/revenue-contract/ContractEdit.vue diff --git a/src/utils/http.ts b/src/utils/http.ts index 5894b18..70adfa3 100644 --- a/src/utils/http.ts +++ b/src/utils/http.ts @@ -225,7 +225,3 @@ export default { requestRaw, download, } - -export const updateContract = (contractId, contractData) => { - return http.put(`/contract/${contractId}`, contractData) -} diff --git a/src/views/project-management/contract/revenue-contract/ContractEdit.vue b/src/views/project-management/contract/revenue-contract/ContractEdit.vue new file mode 100644 index 0000000..4ced636 --- /dev/null +++ b/src/views/project-management/contract/revenue-contract/ContractEdit.vue @@ -0,0 +1,122 @@ + + + diff --git a/src/views/project-management/contract/revenue-contract/index.vue b/src/views/project-management/contract/revenue-contract/index.vue index 0e79d54..28d7b37 100644 --- a/src/views/project-management/contract/revenue-contract/index.vue +++ b/src/views/project-management/contract/revenue-contract/index.vue @@ -1,25 +1,25 @@ - + + + + +