海外国内企标预览及下载日志

This commit is contained in:
宋伟佳
2022-02-17 17:13:45 +08:00
parent 5d3771daf4
commit ac08da7f37
2 changed files with 88 additions and 0 deletions
@@ -2455,6 +2455,14 @@ export default {
} else { } else {
this.$message.error('没有在线预览文档权限!') this.$message.error('没有在线预览文档权限!')
} }
this.$http.get('lawss/sarBussionessStand/logBuss', {
standCode: this.sarStandardsInfoEO.standCode,
standName: this.sarStandardsInfoEO.standName
}, {
_this: this
}, res => {
console.log(res);
})
}, },
showItemsModel (attField) { showItemsModel (attField) {
this.fileType = attField this.fileType = attField
@@ -2495,6 +2503,14 @@ export default {
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
this.$http.get('lawss/sarBussionessStand/logBussDownload1', {
standCode: this.sarStandardsInfoEO.standCode,
standName: this.sarStandardsInfoEO.standName
}, {
_this: this
}, res => {
console.log(res);
})
}, },
downloadFileByWater (attId, fileSuffix) { downloadFileByWater (attId, fileSuffix) {
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') { if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
@@ -2506,6 +2522,14 @@ export default {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
} }
this.$http.get('lawss/sarBussionessStand/logBussDownload2', {
standCode: this.sarStandardsInfoEO.standCode,
standName: this.sarStandardsInfoEO.standName
}, {
_this: this
}, res => {
console.log(res);
})
}, },
/** /**
* @author liruohao * @author liruohao
@@ -3109,6 +3109,27 @@ export default {
this.$message.error('没有在线预览文档权限!') this.$message.error('没有在线预览文档权限!')
} }
} }
if(this.$route.params.pageType === 'INLAND_STAND'){
let standNumber = this.sarStandardsInfoEO.standSortShow + ' ' + this.sarStandardsInfoEO.standNumber + '-' + this.sarStandardsInfoEO.standYear || this.sarStandardsInfoEO.standSort + ' ' + this.sarStandardsInfoEO.standNumber
this.$http.get('sarStandardsInfo/sar-standards-info/logInvalid',{
standNumber: standNumber,
standName: this.sarStandardsInfoEO.standName
}, {
_this: this
}, res => {
console.log(res);
})
}else{
let standNumber = this.sarStandardsInfoEO.standSortShow + ' ' + this.sarStandardsInfoEO.standNumber + '-' + this.sarStandardsInfoEO.standYear || this.sarStandardsInfoEO.standSort + ' ' + this.sarStandardsInfoEO.standNumber
this.$http.get('sarStandardsInfo/sar-standards-info/logForeign',{
standNumber: standNumber,
standName: this.sarStandardsInfoEO.standEnName
}, {
_this: this
}, res => {
console.log(res);
})
}
}, },
showItemsModel(attField) { showItemsModel(attField) {
this.fileType = attField this.fileType = attField
@@ -3164,6 +3185,28 @@ export default {
} else { } else {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
if(this.$route.params.pageType === 'INLAND_STAND'){
let standNumber = this.sarStandardsInfoEO.standSortShow + ' ' + this.sarStandardsInfoEO.standNumber + '-' + this.sarStandardsInfoEO.standYear || this.sarStandardsInfoEO.standSort + ' ' + this.sarStandardsInfoEO.standNumber
this.$http.get('sarStandardsInfo/sar-standards-info/logInvalidDownload1',{
standNumber: standNumber,
standName: this.sarStandardsInfoEO.standName
}, {
_this: this
}, res => {
console.log(res);
})
}else{
let standNumber = this.sarStandardsInfoEO.standSortShow + ' ' + this.sarStandardsInfoEO.standNumber + '-' + this.sarStandardsInfoEO.standYear || this.sarStandardsInfoEO.standSort + ' ' + this.sarStandardsInfoEO.standNumber
this.$http.get('sarStandardsInfo/sar-standards-info/logForeignDownload1',{
standNumber: standNumber,
standName: this.sarStandardsInfoEO.standEnName
}, {
_this: this
}, res => {
console.log(res);
})
}
}, },
downloadFileByWater(attId, fileSuffix) { downloadFileByWater(attId, fileSuffix) {
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') { if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
@@ -3175,6 +3218,27 @@ export default {
this.$message.error('请选择要下载的文件') this.$message.error('请选择要下载的文件')
} }
} }
if(this.$route.params.pageType === 'INLAND_STAND'){
let standNumber = this.sarStandardsInfoEO.standSortShow + ' ' + this.sarStandardsInfoEO.standNumber + '-' + this.sarStandardsInfoEO.standYear || this.sarStandardsInfoEO.standSort + ' ' + this.sarStandardsInfoEO.standNumber
this.$http.get('sarStandardsInfo/sar-standards-info/logInvalidDownload2',{
standNumber: standNumber,
standName: this.sarStandardsInfoEO.standName
}, {
_this: this
}, res => {
console.log(res);
})
}else{
let standNumber = this.sarStandardsInfoEO.standSortShow + ' ' + this.sarStandardsInfoEO.standNumber + '-' + this.sarStandardsInfoEO.standYear || this.sarStandardsInfoEO.standSort + ' ' + this.sarStandardsInfoEO.standNumber
this.$http.get('sarStandardsInfo/sar-standards-info/logForeignDownload2',{
standNumber: standNumber,
standName: this.sarStandardsInfoEO.standEnName
}, {
_this: this
}, res => {
console.log(res);
})
}
}, },
/** /**
* @Description: 跳转流程 * @Description: 跳转流程