From 748d1c51fd519d77a711ff21be002fce69aca380 Mon Sep 17 00:00:00 2001 From: tt <1301725380@qq.com> Date: Tue, 22 Oct 2024 10:44:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=90=88=E5=90=8C&=E5=95=86=E5=93=81?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/api/admin.js | 15 ++ admin/src/views/proManagement/contract.vue | 216 +++++++++++++++++++-- admin/src/views/proManagement/index.vue | 11 +- admin/vue.config.js | 2 +- 4 files changed, 224 insertions(+), 20 deletions(-) diff --git a/admin/src/api/admin.js b/admin/src/api/admin.js index a47a3365..c8b7d469 100644 --- a/admin/src/api/admin.js +++ b/admin/src/api/admin.js @@ -53,3 +53,18 @@ export function getContractListsApi() { method: "get", }); } +// 保存合同信息 +export function postSubmitContractApi(data) { + return request({ + url: `/admin/setting/savecontractsetting`, + method: "post", + data, + }); +} +// 下载合同信息 +export function postDownloadContractApi() { + return request({ + url: `/admin/setting/getContractSetting`, + method: "get", + }); +} diff --git a/admin/src/views/proManagement/contract.vue b/admin/src/views/proManagement/contract.vue index b41fd66a..858cd169 100644 --- a/admin/src/views/proManagement/contract.vue +++ b/admin/src/views/proManagement/contract.vue @@ -2,33 +2,90 @@
- 境内合同 -
- 文件:{{ contractObj.domestic }} -
- 下载境内合同境内合同: + + 上传境内合同 + + + 下载境内合同 +
- 境外合同 -
- 文件:{{ contractObj.abroad }} -
- 下载境外合同境外合同: + + 上传境外合同 + + + 下载境外合同 +
+ + + + + 点击上传 + + + +
+ 取消 + 确定 +
+
diff --git a/admin/src/views/proManagement/index.vue b/admin/src/views/proManagement/index.vue index b9b79d4f..3f978c43 100644 --- a/admin/src/views/proManagement/index.vue +++ b/admin/src/views/proManagement/index.vue @@ -94,7 +94,7 @@ width="60" prop="night" > - - + -->