|
|
@ -59,6 +59,9 @@ const getCheckBoxValue = (modelValue: boolean | string | number | '0' | '1') => |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const getMultiSelectValue = (modelValue: any, col: ColumnType): string => { |
|
|
|
const getMultiSelectValue = (modelValue: any, col: ColumnType): string => { |
|
|
|
|
|
|
|
if (!modelValue) { |
|
|
|
|
|
|
|
return '' |
|
|
|
|
|
|
|
} |
|
|
|
return modelValue |
|
|
|
return modelValue |
|
|
|
? Array.isArray(modelValue) |
|
|
|
? Array.isArray(modelValue) |
|
|
|
? modelValue.join(', ') |
|
|
|
? modelValue.join(', ') |
|
|
@ -264,7 +267,7 @@ const getAttachmentValue = (modelValue: string | null | number | Array<any>) => |
|
|
|
|
|
|
|
|
|
|
|
const parseValue = (value: any, col: ColumnType): string => { |
|
|
|
const parseValue = (value: any, col: ColumnType): string => { |
|
|
|
if (!col) { |
|
|
|
if (!col) { |
|
|
|
return undefined |
|
|
|
return '' |
|
|
|
} |
|
|
|
} |
|
|
|
if (isGeoData(col)) { |
|
|
|
if (isGeoData(col)) { |
|
|
|
const [latitude, longitude] = ((value as string) || '').split(';') |
|
|
|
const [latitude, longitude] = ((value as string) || '').split(';') |
|
|
|