From 0a9b585887038df3034af63666562bc8c46603d1 Mon Sep 17 00:00:00 2001 From: fanlin Date: Fri, 23 Jul 2021 16:00:33 +0800 Subject: [PATCH] =?UTF-8?q?bug:=20=E5=9B=BD=E5=86=85=E6=A0=87=E5=87=86?= =?UTF-8?q?=E6=B3=95=E8=A7=84-=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=20?= =?UTF-8?q?=E6=8E=92=E5=BA=8F=E5=8A=9F=E8=83=BD=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domesticStandardsAndRegulations/index.vue | 54 ++++++++++++++++--- 1 file changed, 46 insertions(+), 8 deletions(-) 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()