diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 6aa94146d..a1e1fc1fd 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -2711,19 +2711,35 @@ export default { switch (sortObj.prop) { case 'issueTime' : // 后台联调 - this.nowOrderBy = '1' + if(sortObj.order === null) { + this.nowOrderBy = '' + } else { + this.nowOrderBy = '1' + } break; case 'xcxssrq' : // 后台联调 - this.nowOrderBy = '2' + if(sortObj.order === null) { + this.nowOrderBy = '' + } else { + this.nowOrderBy = '2' + } break; case 'zccssrq' : // 后台联调 - this.nowOrderBy = '3' + if(sortObj.order === null) { + this.nowOrderBy = '' + } else { + this.nowOrderBy = '3' + } break; case 'textStatus' : // 后台联调 - this.nowOrderBy = '4' + if(sortObj.order === null) { + this.nowOrderBy = '' + } else { + this.nowOrderBy = '4' + } break; } switch (sortObj.order) { @@ -2733,6 +2749,9 @@ export default { case 'descending' : this.nowOrder = '1' break; + default: + this.nowOrder = '' + break; } } this.getDomesticStandardTable(this.tableFlag) @@ -3859,19 +3878,35 @@ export default { switch (sortObj.prop) { case 'issueTime' : // 后台联调 - this.sarConfigStandSearch.nowOrderBy = '1' + if(sortObj.order === null) { + this.sarConfigStandSearch.nowOrderBy = '' + } else { + this.sarConfigStandSearch.nowOrderBy = '1' + } break; case 'xcxssrq' : // 后台联调 - this.sarConfigStandSearch.nowOrderBy = '2' + if(sortObj.order === null) { + this.sarConfigStandSearch.nowOrderBy = '' + } else { + this.sarConfigStandSearch.nowOrderBy = '2' + } break; case 'zccssrq' : // 后台联调 - this.sarConfigStandSearch.nowOrderBy = '3' + if(sortObj.order === null) { + this.sarConfigStandSearch.nowOrderBy = '' + } else { + this.sarConfigStandSearch.nowOrderBy = '3' + } break; case 'textStatus' : + if(sortObj.order === null) { + this.sarConfigStandSearch.nowOrderBy = '' + } else { + this.sarConfigStandSearch.nowOrderBy = '4' + } // 后台联调 - this.sarConfigStandSearch.nowOrderBy = '4' break; } switch (sortObj.order) { @@ -3881,6 +3916,9 @@ export default { case 'descending' : this.sarConfigStandSearch.nowOrder = '1' break; + default: + this.sarConfigStandSearch.nowOrder = '' + break; } } this.selectConfiguraStand()