diff --git a/jero-web/src/views/projectManagement/components/nonConformance.vue b/jero-web/src/views/projectManagement/components/nonConformance.vue index 103d035f9..f2fbcb51b 100644 --- a/jero-web/src/views/projectManagement/components/nonConformance.vue +++ b/jero-web/src/views/projectManagement/components/nonConformance.vue @@ -266,7 +266,7 @@ export default { { title: this.$t('creator'), align: 'left', - dataIndex: 'creator', + dataIndex: 'createBy', width: 100, sorter:true, ellipsis: true @@ -411,12 +411,12 @@ export default { this.loading = true getAction(this.url.page, query).then((res) => { if (res.success) { - if (res.result.current > 1 && res.result.records.length == 0) { + if (res.result.current > 1 && res.result.length == 0) { this.pageNo = 1 this.getList() return } - this.dataSource = res.result.records || [] + this.dataSource = res.result || [] this.total = res.result.total this.loading = false } else {