OTA管理详情-列表字段设置-设置完成后退出,重新进入VDR列表,列表字段全部被勾选了
This commit is contained in:
@@ -1225,6 +1225,7 @@ export default {
|
|||||||
this.NotSelectedRowKeysValue = data
|
this.NotSelectedRowKeysValue = data
|
||||||
this.visibleoperationFailed = true
|
this.visibleoperationFailed = true
|
||||||
}else{
|
}else{
|
||||||
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.selectedRowKeys = []
|
this.selectedRowKeys = []
|
||||||
this.getList()
|
this.getList()
|
||||||
}
|
}
|
||||||
@@ -1313,6 +1314,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getHeader() {
|
getHeader() {
|
||||||
|
this.checkedList = []
|
||||||
getAction('head/headCustomEO/list', {
|
getAction('head/headCustomEO/list', {
|
||||||
moduleFlag: this.vehicleTypeCode == this.$t('whole')?'全车型':'分车型'
|
moduleFlag: this.vehicleTypeCode == this.$t('whole')?'全车型':'分车型'
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
@@ -1344,13 +1346,7 @@ export default {
|
|||||||
}
|
}
|
||||||
console.log(this.columnsAll)
|
console.log(this.columnsAll)
|
||||||
this.columnsAll.forEach((item) => {
|
this.columnsAll.forEach((item) => {
|
||||||
if (item.children) {
|
this.checkedList.push(item.dataIndex)
|
||||||
item.children.forEach((val) => {
|
|
||||||
this.checkedList.push(item.dataIndex, val.dataIndex)
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.checkedList.push(item.dataIndex)
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
this.getList()
|
this.getList()
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|||||||
Reference in New Issue
Block a user