| | |
| | | import type * as echarts from 'echarts'; |
| | | import { buildProps } from 'element-plus/es/utils/vue/props/runtime'; |
| | | import _ from 'lodash'; |
| | | import type { ExtractPropTypes, PropType } from 'vue'; |
| | | import { axisLabelFormatter } from '/@/utils/chart'; |
| | | import { cloneDeep } from 'lodash-es'; |
| | | |
| | | export const timeDataOptionToContent = (opt) => { |
| | | const headerList = [opt.xAxis[0]] |
| | |
| | | originData: { |
| | | type: Object as PropType<any>, |
| | | }, |
| | | conclusion:{ |
| | | type:Array as PropType<Array<any>> |
| | | } |
| | | conclusion: { |
| | | type: Array as PropType<Array<any>>, |
| | | }, |
| | | isTalking: { |
| | | type: Boolean, |
| | | }, |
| | | } as const); |
| | | export type ChatComPropsType = ExtractPropTypes<typeof chatComProps>; |
| | | |
| | |
| | | }, |
| | | } as echarts.EChartsOption; |
| | | |
| | | return _.cloneDeep(option); |
| | | return cloneDeep(option); |
| | | }; |