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