From 4b5b3669c93e308860c7cfc74659d0e3c50c7a5c Mon Sep 17 00:00:00 2001 From: zhutianqi Date: Tue, 14 Dec 2021 17:07:28 +0800 Subject: [PATCH] commit --- .../pags/consultationDetails.vue | 56 +++++++++++++++++-- 1 file changed, 52 insertions(+), 4 deletions(-) diff --git a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue index 884424ec9..76eb6ce52 100644 --- a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue +++ b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue @@ -90,6 +90,9 @@ align="center" label="修改前" > + @@ -155,10 +158,16 @@
- + + + - +
@@ -177,6 +186,15 @@
数据加载中…… + +
+
+ 关闭 +
+
@@ -185,6 +203,9 @@ export default { name: 'consultationDetails', data() { return { + itermsConditionsFlag: false, + itermsConditionsTitle: '', + options: [], fileInfoList: [], itemData: this.$route.query.item, id: '', // 选中id @@ -228,6 +249,20 @@ export default { } }, methods: { + itermsConditionsClose () { + this.itermsConditionsFlag = false + }, + itermsConditionsOpen (row) { + this.itermsConditionsFlag = true + this.itermsConditionsTitle = row + }, + optionsChange (data) { + for (let a = 0; a < this.options.length; a++) { + if (data === this.options[a].itemsNum) { + this.opinionContent.oldText = this.options[a].termsConditions + } + } + }, downloadFile (attId) { window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId }, @@ -396,6 +431,18 @@ export default { } }, mounted() { + 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 => { + }) this.getList() this.getIdeaKey() this.getFileInfo() @@ -535,7 +582,8 @@ export default { .add-demo { .search-area { - height: 100%; + height: calc(~'100% - 55px'); + overflow: auto; } ::v-deep .el-textarea__inner {