123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- import { commonConfig, displayOption } from 'data-room-ui/js/config'
- export const settingConfig = {
- legend: false,
- isGroup: true,
- data: [],
- label: {
-
- position: 'top',
-
- content: ''
- },
- seriesField: '',
- displayOption: {
- ...displayOption,
- dataAllocation: { enable: true },
- dataSourceType: { enable: false },
- params: { enable: false },
- metricField: {
-
- label: '指标',
- enable: false,
- multiple: false
- },
- dimensionField: {
-
- label: '表格列',
- enable: false,
- multiple: true
- }
- }
- }
- const customConfig = {
- type: 'button',
-
- title: '查询',
- root: {
- version: '2023071001',
-
- rotateX: 0,
-
- rotateY: 0,
-
- rotateZ: 0,
-
- perspective: 0,
- skewX: 0,
- skewY: 0
- },
-
- customize: {
- bindComponents: [],
-
-
-
- backgroundColor: '#409EFF',
-
- fontColor: '#fff',
-
- fontSize: 14,
-
- icon: {
-
- name: '',
-
- position: ''
- },
- borderStyle: {
-
- borderColor: '#409EFF',
-
- borderWidth: 1,
-
- borderStyle: 'solid',
-
- borderRadius: 4
- }
- }
- }
- export const dataConfig = {
- ...commonConfig(customConfig)
- }
|