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