From fa0b4dadb401bbcbd877a83fc578cfb94d0f091a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Fri, 28 Apr 2023 16:05:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=AA=E7=AC=A6=E5=90=88?= =?UTF-8?q?=E9=A1=B9=E7=9A=84=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/nonConformance.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/jero-web/src/views/projectManagement/components/nonConformance.vue b/jero-web/src/views/projectManagement/components/nonConformance.vue index e51031eeb..2dc2e0f90 100644 --- a/jero-web/src/views/projectManagement/components/nonConformance.vue +++ b/jero-web/src/views/projectManagement/components/nonConformance.vue @@ -243,6 +243,21 @@ tableOnChange(pagination, filters, sorter) { this.orderBy = sorter.order == 'ascend' ? '1' : '2' this.orderByField = sorter.columnKey + if (sorter.columnKey == 'serialNumber'){ + this.orderByField = 'serial_number' + }else if(sorter.columnKey == 'flowTypeName'){ + this.orderByField = 'flow_type' + }else if(sorter.columnKey == 'dutyTerritory_dictText'){ + this.orderByField = 'duty_territory' + }else if(sorter.columnKey == 'flowStatusName'){ + this.orderByField = 'flow_status' + }else if(sorter.columnKey == 'regulationOwnerIdName'){ + this.orderByField = 'regulation_owner_id' + }else if(sorter.columnKey == 'dutyIdName'){ + this.orderByField = 'duty_id' + }else{ + this.orderByField = sorter.columnKey + } this.getList() }, getList() {