From 4d25d5a564e338519792f62ff22d13777ca70c1e Mon Sep 17 00:00:00 2001 From: gyj Date: Mon, 29 Apr 2024 14:20:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/home.js | 4 ++-- src/views/signFor.vue | 24 +++++++++++++++++------- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/src/api/home.js b/src/api/home.js index ad2f77d6..bab00ec4 100644 --- a/src/api/home.js +++ b/src/api/home.js @@ -43,8 +43,8 @@ export function msCaseSign(data) { return axios.post(`tiaojie/mssignSeal/msCaseSign`, data); } //根据案件id获取附件 -export function fileList(caseAppliId,annexTypeList) { - return axios.get(`tiaojie/common/fileList?caseAppliId=${caseAppliId}&annexTypeList=${annexTypeList}`); +export function fileList(caseAppliId) { + return axios.get(`tiaojie/common/fileList?caseAppliId=${caseAppliId}`); } // 确定会议结果 export function confirmMeetingResult(data) { diff --git a/src/views/signFor.vue b/src/views/signFor.vue index c7e6567d..61ff3ba2 100644 --- a/src/views/signFor.vue +++ b/src/views/signFor.vue @@ -42,12 +42,18 @@
-
调解书
-
- {{ item.annexName }} +
签署前调解书
+
+ {{ item.annexName }}

+
签署后调解书
+
+
{{ item.annexName }}
+
+
@@ -114,8 +120,9 @@ export default { }) }, // 查看附件 - async getFileList(caseAppliIds,annexTypeList){ - fileList(caseAppliIds,annexTypeList).then(res=>{ + async getFileList(caseAppliIds){ + fileList(caseAppliIds).then(res=>{ + console.log(res) this.fileList = res.data; console.log(this.fileList) }) @@ -131,8 +138,7 @@ export default { await this.getList(this.caseId) // await this.getList("5461248676208928") let caseAppliIds = this.caseId - let annexTypeList = 7 - await this.getFileList(caseAppliIds,annexTypeList) + await this.getFileList(caseAppliIds) } }; @@ -142,4 +148,8 @@ export default { margin-top: 30px; width: 100%; } + /* 允许换行 */ + .flex-wrap { + flex-wrap: wrap; + } \ No newline at end of file