[update] 禅道bug

This commit is contained in:
zhaomeijing
2022-06-15 15:04:24 +08:00
parent 0e34eae4e8
commit 0fc338f4f4
2 changed files with 18 additions and 3 deletions
@@ -454,6 +454,23 @@
this.loading = true
getAction(url, params).then((res) => {
if (res.success) {
// todo
// console.log(res.result,'res.result')
// let tt = []
// this.dataSource = []
// // 需要转化数据类型
// tt = res.result
// tt.forEach((Obj) => {
// Object.keys(Obj).forEach((item) => {
// if(Obj[item] instanceof Object && Obj[item].controlType !== undefined){
// Obj[item].list.forEach((itemLi) => {
// if(itemLi.type === 'pull_more'){
// itemLi.dataValue = itemLi.dataValue === null ? [] : itemLi.dataValue.splice(',')
// }
// })
// }
// })
// })
this.dataSource = res.result
this.total = res.result.total
this.selectedRowKeys = []
@@ -464,8 +481,6 @@
})
},
onChange(page, pageSize) {
// this.pageNo = page
// this.getTableList()
},
onSelectChange(value, rowValue) {
this.selectedRowKeys = value