diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 08138be9c..3b0df04a6 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -408,12 +408,14 @@

标准分解单 + @@ -519,6 +521,7 @@
{ this.sarStandardsInfoEO = res.data || {} + this.itemExistList=this.sarStandardsInfoEO.attrInfoMap.itemExistList; + console.log("hllo",this.sarStandardsInfoEO); if (this.sarStandardsInfoEO.issueTime != null && this.sarStandardsInfoEO.issueTime !== '') { this.sarStandardsInfoEO.issueTime = this.sarStandardsInfoEO.issueTime.split(' ')[0] } @@ -2343,13 +2351,18 @@ export default { }.bind(this) }) }, + sort(column){ + this.order=column.order; + this.orderBy=column.prop; + this.selectSarStandItems(); + }, // 分解单----查看标准条款相关 selectSarStandItems(id, flag) { this.standItemSearch.standId = this.sarStandardsInfoEO.id this.standItemSearch.fileType = this.fileType this.$http.get('SarStandItems/sar-stand-items/querySarItemAndInterpretation', { ...this.standItemSearch, - pageSize: this.pageSize7, page: this.page7, + pageSize: this.pageSize7, page: this.page7,order:this.order,orderBy:this.orderBy }, {}, res => { this.selectedItemList = [] if (res.ok) {