update 车型项目库-项目名称排序去掉;选用户组件,查询、重置查第一页数据
This commit is contained in:
@@ -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
|
||||||
},
|
},
|
||||||
// 操作
|
// 操作
|
||||||
|
|||||||
Reference in New Issue
Block a user