[update] 禅道bug
This commit is contained in:
@@ -454,6 +454,23 @@
|
|||||||
this.loading = true
|
this.loading = true
|
||||||
getAction(url, params).then((res) => {
|
getAction(url, params).then((res) => {
|
||||||
if (res.success) {
|
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.dataSource = res.result
|
||||||
this.total = res.result.total
|
this.total = res.result.total
|
||||||
this.selectedRowKeys = []
|
this.selectedRowKeys = []
|
||||||
@@ -464,8 +481,6 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
onChange(page, pageSize) {
|
onChange(page, pageSize) {
|
||||||
// this.pageNo = page
|
|
||||||
// this.getTableList()
|
|
||||||
},
|
},
|
||||||
onSelectChange(value, rowValue) {
|
onSelectChange(value, rowValue) {
|
||||||
this.selectedRowKeys = value
|
this.selectedRowKeys = value
|
||||||
|
|||||||
@@ -823,7 +823,7 @@ export default {
|
|||||||
if (res.data.success) {
|
if (res.data.success) {
|
||||||
this.FreezeList = res.data.result
|
this.FreezeList = res.data.result
|
||||||
}else{
|
}else{
|
||||||
_this.$message.warning(res.data.result)
|
_this.$message.warning(res.data.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch( (error) =>{
|
.catch( (error) =>{
|
||||||
|
|||||||
Reference in New Issue
Block a user