From ac08da7f3726ff9b8e3c76f545408077c8d5737a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Thu, 17 Feb 2022 17:13:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=B7=E5=A4=96=E5=9B=BD=E5=86=85=E4=BC=81?= =?UTF-8?q?=E6=A0=87=E9=A2=84=E8=A7=88=E5=8F=8A=E4=B8=8B=E8=BD=BD=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../otherBussStandardDetails/index.vue | 24 +++++++ .../details/otherStandardDetails/index.vue | 64 +++++++++++++++++++ 2 files changed, 88 insertions(+) diff --git a/src/pages/details/otherBussStandardDetails/index.vue b/src/pages/details/otherBussStandardDetails/index.vue index 28dbc4855..902fed135 100644 --- a/src/pages/details/otherBussStandardDetails/index.vue +++ b/src/pages/details/otherBussStandardDetails/index.vue @@ -2455,6 +2455,14 @@ export default { } else { 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) { this.fileType = attField @@ -2495,6 +2503,14 @@ export default { } else { 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) { if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') { @@ -2506,6 +2522,14 @@ export default { 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 diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 8ae956e29..5516dea4c 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -3109,6 +3109,27 @@ export default { 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) { this.fileType = attField @@ -3164,6 +3185,28 @@ export default { } else { 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) { if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') { @@ -3175,6 +3218,27 @@ export default { 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: 跳转流程