文件访问404,证据docx文件不允许编辑
This commit is contained in:
+5
-3
@@ -299,6 +299,7 @@ export default {
|
||||
filedata3: {
|
||||
annexType: 7,
|
||||
officeFlag: 0,
|
||||
isMediaBook:1,
|
||||
caseId: null,
|
||||
},
|
||||
fileList3: [],
|
||||
@@ -433,14 +434,15 @@ export default {
|
||||
this.$refs.upload3.clearFiles();
|
||||
this.selectByIdFn(this.caseId);
|
||||
},
|
||||
preview(item, flag) {
|
||||
preview(item, type) {
|
||||
if (item.onlyOfficeFileId) {
|
||||
debugger
|
||||
// this.$router.push({
|
||||
// path: "/onlyoffice",
|
||||
// query: { id: item.onlyOfficeFileId, flag: flag },
|
||||
// });
|
||||
let flag = 1;
|
||||
if (this.editFlag) {
|
||||
if (this.editFlag && type != 0) {
|
||||
flag = 1;
|
||||
} else {
|
||||
flag = 0;
|
||||
@@ -453,7 +455,7 @@ export default {
|
||||
"_black"
|
||||
);
|
||||
} else {
|
||||
window.open(window.location.origin + item.annexPath, "_black");
|
||||
window.open(window.location.origin + '/tiaojie' + item.annexPath, "_black");
|
||||
}
|
||||
},
|
||||
// 点击提交修改后的内容
|
||||
|
||||
Reference in New Issue
Block a user