commit
This commit is contained in:
@@ -475,19 +475,27 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.fileInfoLists = JSON.parse(this.$route.query.item.wkfiles)
|
||||
let json = JSON.parse(this.$route.query.item.files)[0]
|
||||
this.$http.get('SarStandItems/sar-stand-items/querySarItemAndInterpretation', {
|
||||
standId: json.standId,
|
||||
fileType: json.standFileClassify,
|
||||
pageSize: 9999,
|
||||
page: 1
|
||||
}, {}, res => {
|
||||
if (res.ok) {
|
||||
this.options = res.data.list
|
||||
}
|
||||
}, e => {
|
||||
})
|
||||
if (JSON.parse(this.$route.query.item.wkfiles).length) {
|
||||
this.fileInfoLists = JSON.parse(this.$route.query.item.wkfiles)
|
||||
} else {
|
||||
this.fileInfoLists = []
|
||||
}
|
||||
if (JSON.parse(this.$route.query.item.files).length) {
|
||||
let json = JSON.parse(this.$route.query.item.files)[0]
|
||||
this.$http.get('SarStandItems/sar-stand-items/querySarItemAndInterpretation', {
|
||||
standId: json.standId,
|
||||
fileType: json.standFileClassify,
|
||||
pageSize: 9999,
|
||||
page: 1
|
||||
}, {}, res => {
|
||||
if (res.ok) {
|
||||
this.options = res.data.list
|
||||
}
|
||||
}, e => {
|
||||
})
|
||||
} else {
|
||||
this.options = []
|
||||
}
|
||||
this.getList()
|
||||
this.getIdeaKey()
|
||||
this.getFileInfo()
|
||||
|
||||
Reference in New Issue
Block a user