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