Vanessa 2023-12-30 17:41:31 +08:00
parent 23fd11ae12
commit b8aa401996
6 changed files with 279 additions and 95 deletions

View file

@ -1082,16 +1082,14 @@ interface IAVColumn {
type: TAVCol,
numberFormat: string,
template: string,
calc: {
operator: string,
result: IAVCellValue
},
calc: IAVCalc,
// 选项列表
options?: {
name: string,
color: string,
}[],
relation?: IAVCellRelationValue
relation?: IAVCellRelationValue,
rollup?: IAVCellRollupValue
}
interface IAVRow {
@ -1175,3 +1173,14 @@ interface IAVCellRelationValue {
backKeyID?: string
isTwoWay?: boolean
}
interface IAVCellRollupValue {
relationKeyID?: string // 关联列 ID
keyID?: string
calc?: IAVCalc
}
interface IAVCalc {
operator?: string,
result?: IAVCellValue
}