视频会议,onlyoffice
This commit is contained in:
@@ -157,7 +157,7 @@
|
||||
<el-form-item label="裁决书:">
|
||||
<div v-if="awardArr.length == 0">裁决书暂未提供!</div>
|
||||
<div v-for="(item, index) in awardArr" :key="index">
|
||||
<a href="#" @click="awardToFile(item, index)" style="color: blue">
|
||||
<a href="#" @click="awardToFile(item.onlyOfficeFileId)" style="color: blue">
|
||||
{{ item.annexName }}
|
||||
</a>
|
||||
</div>
|
||||
@@ -549,10 +549,7 @@ export default {
|
||||
}
|
||||
//裁决书附件
|
||||
if (item.annexType == 3) {
|
||||
this.awardArr.push({
|
||||
annexName: item.annexName,
|
||||
annexPath: item.annexPath,
|
||||
});
|
||||
this.awardArr.push(item);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -585,11 +582,17 @@ export default {
|
||||
);
|
||||
},
|
||||
//裁决书文件
|
||||
awardToFile(item, index) {
|
||||
window.open(
|
||||
window.location.origin + "/API" + this.awardArr[index].annexPath,
|
||||
"_black"
|
||||
);
|
||||
awardToFile(item) {
|
||||
console.log(item,"LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL");
|
||||
// window.open(
|
||||
// window.location.origin + "/API" + this.awardArr[index].annexPath,
|
||||
// "_black"
|
||||
// );
|
||||
if (this.checkPermi(['caseManagement:list:editOffice'])) {
|
||||
this.$router.push({ path: '/onlyoffice', query: { id: item, flag: 1 } })
|
||||
} else {
|
||||
this.$router.push({ path: '/onlyoffice', query: { id: item, flag: 0 } })
|
||||
}
|
||||
},
|
||||
// 庭审笔录附件
|
||||
toFile2(item, index) {
|
||||
@@ -670,10 +673,7 @@ export default {
|
||||
this.adjudicatename.caseAttachList = res.data.caseAttachList;
|
||||
this.adjudicatename.caseAttachList.forEach(item=>{
|
||||
if(item.annexType==3){
|
||||
this.awardArr.push({
|
||||
annexName: item.annexName,
|
||||
annexPath: item.annexPath,
|
||||
});
|
||||
this.awardArr.push(item);
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user