修改测试bug

This commit is contained in:
gyj
2024-04-29 14:20:06 +08:00
parent 8081c417a4
commit 4d25d5a564
2 changed files with 19 additions and 9 deletions
+2 -2
View File
@@ -43,8 +43,8 @@ export function msCaseSign(data) {
return axios.post(`tiaojie/mssignSeal/msCaseSign`, data); return axios.post(`tiaojie/mssignSeal/msCaseSign`, data);
} }
//根据案件id获取附件 //根据案件id获取附件
export function fileList(caseAppliId,annexTypeList) { export function fileList(caseAppliId) {
return axios.get(`tiaojie/common/fileList?caseAppliId=${caseAppliId}&annexTypeList=${annexTypeList}`); return axios.get(`tiaojie/common/fileList?caseAppliId=${caseAppliId}`);
} }
// 确定会议结果 // 确定会议结果
export function confirmMeetingResult(data) { export function confirmMeetingResult(data) {
+17 -7
View File
@@ -42,12 +42,18 @@
</el-row> </el-row>
<hr> <hr>
<el-row style="height: 40px;line-height: 40px;text-align: center;"> <el-row style="height: 40px;line-height: 40px;text-align: center;">
<el-col :span="7"><div>调解书</div></el-col> <el-col :span="8"><div>签署前调解书</div></el-col>
<el-col :span="15"><div v-for="(item,index) in fileList" :key="index" style="color: blue; cursor: pointer" @click="toPreview(item.annexPath)"> <el-col :span="16"><div v-for="(item,index) in fileList" :key="index" style="color: blue; cursor: pointer" @click="toPreview(item.annexPath)">
<span v-if="item.annexType==13">{{ item.annexName }}</span> <span v-if="item.annexType==7">{{ item.annexName }}</span>
</div></el-col> </div></el-col>
</el-row> </el-row>
<hr> <hr>
<el-row style="height: 40px;line-height: 40px;text-align: center;"
<el-col :span="8"><div>签署后调解书</div></el-col>
<el-col :span="16"><div v-for="(item,index) in fileList" :key="index" style="color: blue; cursor: pointer" @click="toPreview(item.annexPath)">
<div v-if="item.annexType==13"><span>{{ item.annexName }}</span></div>
</div></el-col>
</el-row>
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div style="width: 90px; margin: 30px auto;" v-if="dataList.signFlag==1"> <div style="width: 90px; margin: 30px auto;" v-if="dataList.signFlag==1">
@@ -114,8 +120,9 @@ export default {
}) })
}, },
// 查看附件 // 查看附件
async getFileList(caseAppliIds,annexTypeList){ async getFileList(caseAppliIds){
fileList(caseAppliIds,annexTypeList).then(res=>{ fileList(caseAppliIds).then(res=>{
console.log(res)
this.fileList = res.data; this.fileList = res.data;
console.log(this.fileList) console.log(this.fileList)
}) })
@@ -131,8 +138,7 @@ export default {
await this.getList(this.caseId) await this.getList(this.caseId)
// await this.getList("5461248676208928") // await this.getList("5461248676208928")
let caseAppliIds = this.caseId let caseAppliIds = this.caseId
let annexTypeList = 7 await this.getFileList(caseAppliIds)
await this.getFileList(caseAppliIds,annexTypeList)
} }
}; };
</script> </script>
@@ -142,4 +148,8 @@ export default {
margin-top: 30px; margin-top: 30px;
width: 100%; width: 100%;
} }
/* 允许换行 */
.flex-wrap {
flex-wrap: wrap;
}
</style> </style>