修改测试bug
This commit is contained in:
+2
-2
@@ -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) {
|
||||
|
||||
+17
-7
@@ -42,12 +42,18 @@
|
||||
</el-row>
|
||||
<hr>
|
||||
<el-row style="height: 40px;line-height: 40px;text-align: center;">
|
||||
<el-col :span="7"><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)">
|
||||
<span v-if="item.annexType==13">{{ item.annexName }}</span>
|
||||
<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)">
|
||||
<span v-if="item.annexType==7">{{ item.annexName }}</span>
|
||||
</div></el-col>
|
||||
</el-row>
|
||||
<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-col :span="24">
|
||||
<div style="width: 90px; margin: 30px auto;" v-if="dataList.signFlag==1">
|
||||
@@ -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)
|
||||
}
|
||||
};
|
||||
</script>
|
||||
@@ -142,4 +148,8 @@ export default {
|
||||
margin-top: 30px;
|
||||
width: 100%;
|
||||
}
|
||||
/* 允许换行 */
|
||||
.flex-wrap {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user