diff --git a/src/pages/localTool/standAutoSplit/index.vue b/src/pages/localTool/standAutoSplit/index.vue index 3216d1dd3..f759deef8 100644 --- a/src/pages/localTool/standAutoSplit/index.vue +++ b/src/pages/localTool/standAutoSplit/index.vue @@ -55,7 +55,7 @@ align="center"> { - res.data.BUSSSTANDCLASS.forEach(item => { - if(!item.label.indexOf('Q/FT')){ - this.standSortOptions.push(item) //企标类别 - } - }) + this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别 + // res.data.BUSSSTANDCLASS.forEach(item => { + // if(!item.label.indexOf('Q/FT')){ + // this.standSortOptions.push(item) //企标类别 + // } + // }) }) }, methods: { diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/technologyInvolveProject.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/technologyInvolveProject.vue index 08ec3fda4..efcaab1eb 100644 --- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/technologyInvolveProject.vue +++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/technologyInvolveProject.vue @@ -175,7 +175,8 @@ border :height="sarProStateTableHeight" :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', - fontWeight: 'bold', fontFamily: 'MicrosoftYaHei-Bold', height: '48px'}"> + fontWeight: 'bold', fontFamily: 'MicrosoftYaHei-Bold', height: '48px'}" + @sort-change="sortChange"> /ig, ' ') : '' }} - +
{{ standShowItemEO.comparedWithPrevious }}
- +
{{ standShowItemEO.complianceRequire ? (standShowItemEO.complianceRequire === '1' ? '是' : '否') : '-' }} - +
- +
@@ -408,7 +409,7 @@ - + @@ -471,6 +472,20 @@ } }, methods: { + sortChange({ column, prop, order }){ + if(order === "descending"){ + // 降序 + this.querySarProStateZero('desc') + } + if(order === 'ascending'){ + // 升序 + this.querySarProStateZero('asc') + } + if(order === null){ + // 不排序 + this.querySarProStateZero() + } + }, // ... handleCommand(command) { switch (command[1]) { @@ -629,13 +644,14 @@ this.querySarProStateZero() }, // 查看项目符合性 - querySarProStateZero () { + querySarProStateZero (order) { var form = this.sarProStateEO form.position = this.sarProject.position form.standId = this.standId form.current = this.sarProStateTotalPage form.size = this.sarProStatePageSize // form.interpretationTime = this.interpretationTime + form.order = order form.prcNum = this.prcNum this.$http.get('sarStandardComplianceAssessResult/interpretation', form, { _this: this,