Commit aa9361b5 by 前端

Merge branch 'SAAS+V4.51.0-0331' of http://192.168.3.233:8090/saas_plus/dj-car-l…

…ife-system into SAAS+V4.51.0-0331
2 parents f3bdc3aa 191ad0cb
......@@ -317,12 +317,14 @@ export default {
// 重新发起
handleAgain(row) {
console.log(row, 'row')
this.close({ tagName: "/editShelf" })
this.$router.push({
name: "editShelf",
params: {
operate: "again",
recordId: row.id
recordId: row.id,
approveType: row.approveType
}
})
}
......
......@@ -284,6 +284,8 @@ export default {
},
handleClick(tab, event) {
this.activeName = tab.name
this.searchForm.orderByType = ''
this.searchForm.orderByKey = ''
// this.changeTable(true)
this.tablePage = {
pageSize: 10,
......@@ -382,8 +384,13 @@ export default {
orderByType: sortObj[sortColum][sort],
orderByKey: sortColum
}
this.searchForm.orderByType = sortObj[sortColum][sort]
this.searchForm.orderByKey = sortColum
this.getTableList(params, true)
}
} else {
this.searchForm.orderByType = ''
this.searchForm.orderByKey = ''
}
},
// 获取列表数据
async getTableList(sort = {}, norefresh = false) {
......@@ -392,7 +399,9 @@ export default {
templateCode: this.templateData.code,
...this.getParams(),
...this.tablePage,
...sort
...sort,
orderByType: this.searchForm.orderByType,
orderByKey: this.searchForm.orderByKey,
}
if (merchantIds.length) params2.staffUuidList = merchantIds
// 表格
......@@ -405,7 +414,9 @@ export default {
this.searchForm = {
createdDate: [new Date(), new Date()],
typeName: this.showFormData[0].optionList[0].typeName,
merchantIds: []
merchantIds: [],
orderByType: '',
orderByKey: ''
}
this.getStaff()
this.handleSearch()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!