@ecan-bi/tools 1.0.23 → 1.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/indicator.ts +3 -1
package/package.json
CHANGED
package/src/indicator.ts
CHANGED
|
@@ -718,7 +718,7 @@ export const formatIndicatorParams = (props: any, otherParams: any = {}) => {
|
|
|
718
718
|
formFields = {},
|
|
719
719
|
variableList = [],
|
|
720
720
|
variableConditions = [],
|
|
721
|
-
|
|
721
|
+
dataSourceId = '', // 所属数据源ID
|
|
722
722
|
idxLibMode, // 指标库模式, source= INDICATOR_LIB时候必填, NORMAL_YEAR_TABLE = 普通年表, WITH_DATE_DIM_TABLE = 带有时间维度表
|
|
723
723
|
preview = false, // 预览开关
|
|
724
724
|
edvDataSetId // 数据集id
|
|
@@ -1163,6 +1163,7 @@ export const formatIndicatorParams = (props: any, otherParams: any = {}) => {
|
|
|
1163
1163
|
valueField: formFields.valueField,
|
|
1164
1164
|
sqlConditions,
|
|
1165
1165
|
idxLibMode: 'WITH_DATE_DIM_TABLE',
|
|
1166
|
+
dataSourceId,
|
|
1166
1167
|
keyName: props.keyName,
|
|
1167
1168
|
...someParams
|
|
1168
1169
|
}
|
|
@@ -1202,6 +1203,7 @@ export const formatIndicatorParams = (props: any, otherParams: any = {}) => {
|
|
|
1202
1203
|
}
|
|
1203
1204
|
}),
|
|
1204
1205
|
idxLibMode,
|
|
1206
|
+
dataSourceId,
|
|
1205
1207
|
preview,
|
|
1206
1208
|
rowHeaders,
|
|
1207
1209
|
keyName: props.keyName,
|