Merge branch 'develop' into FOTON
This commit is contained in:
@@ -360,6 +360,8 @@ export default {
|
|||||||
console.log(editFileInfo)
|
console.log(editFileInfo)
|
||||||
if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
|
if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
|
||||||
window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
|
window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
|
||||||
|
}else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
|
||||||
|
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
|
|||||||
@@ -430,6 +430,7 @@ export default {
|
|||||||
|
|
||||||
},
|
},
|
||||||
qdform: {
|
qdform: {
|
||||||
|
projectId:"",
|
||||||
projectNumber: "",
|
projectNumber: "",
|
||||||
projectName: "",
|
projectName: "",
|
||||||
detailedListName: "",
|
detailedListName: "",
|
||||||
@@ -528,6 +529,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.qdform.projectNumber = this.selectProject[0].projectNumber;
|
this.qdform.projectNumber = this.selectProject[0].projectNumber;
|
||||||
this.qdform.projectName = this.selectProject[0].projectName;
|
this.qdform.projectName = this.selectProject[0].projectName;
|
||||||
|
this.qdform.projectId = this.selectProject[0].id;
|
||||||
this.projectModel = false;
|
this.projectModel = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user