update 车型项目库-项目名称排序去掉;选用户组件,查询、重置查第一页数据

This commit is contained in:
赵霄
2023-12-21 17:17:54 +08:00
parent 8d0b4e6a29
commit b1869fe404
2 changed files with 8 additions and 4 deletions
+6 -3
View File
@@ -216,13 +216,16 @@ export default {
}, },
searchReset () { searchReset () {
this.queryParam = {} this.queryParam = {}
this.loadData() this.loadData(1)
}, },
searchQuery () { searchQuery () {
this.loadData() this.loadData(1)
}, },
// 获取用户左侧树列表 // 获取用户左侧树列表
loadData () { loadData (arg) {
if (arg) {
this.ipagination.current = 1
}
const params = Object.assign({}, this.queryParam) const params = Object.assign({}, this.queryParam)
params.pageNo = this.ipagination.current params.pageNo = this.ipagination.current
params.pageSize = this.ipagination.pageSize params.pageSize = this.ipagination.pageSize
@@ -132,7 +132,7 @@ export default {
{ {
dataIndex: 'projectName', dataIndex: 'projectName',
title: this.$t('projectLibrary.projectName'), title: this.$t('projectLibrary.projectName'),
sorter: true, // sorter: true,
width: 250, width: 250,
scopedSlots: { customRender: 'projectName' } scopedSlots: { customRender: 'projectName' }
}, },
@@ -153,6 +153,7 @@ export default {
{ {
dataIndex: 'projectHealth_dictText', dataIndex: 'projectHealth_dictText',
title: this.$t('projectLibrary.projectHealthStatus'), title: this.$t('projectLibrary.projectHealthStatus'),
sorter: true,
width: 250 width: 250
}, },
// 操作 // 操作