mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 03:22:56 +08:00
feat(数据集): 数据集增加分组字段功能
This commit is contained in:
parent
93dc824534
commit
df98398646
@ -1122,6 +1122,7 @@ const closeGroupField = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const initGroupField = val => {
|
const initGroupField = val => {
|
||||||
|
groupFields.value = allfields.value.filter(ele => ![2, 3].includes(ele.extField))
|
||||||
Object.assign(currentGroupField, val)
|
Object.assign(currentGroupField, val)
|
||||||
const groupList = []
|
const groupList = []
|
||||||
val.groupList.forEach(ele => {
|
val.groupList.forEach(ele => {
|
||||||
@ -1141,6 +1142,8 @@ const initGroupField = val => {
|
|||||||
groupList.push(obj)
|
groupList.push(obj)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
handleFieldschange(currentGroupField.originName)
|
||||||
|
|
||||||
currentGroupField.groupList = groupList
|
currentGroupField.groupList = groupList
|
||||||
editGroupField.value = true
|
editGroupField.value = true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user