| | |
| | | type: String, |
| | | required: false, |
| | | }, |
| | | tableHeight:{ |
| | | type:Number, |
| | | default:document.body.clientHeight * 0.7, |
| | | }, |
| | | showFilter: { |
| | | type: Boolean, |
| | | default: true, |
| | |
| | | }, |
| | | }); |
| | | |
| | | const tableLimitHeight = props.chartHeight == undefined ? undefined : document.body.clientHeight * 0.7; |
| | | const tableLimitHeight = props.chartHeight == undefined ? undefined : props.tableHeight; |
| | | |
| | | const chartLoading = ref(false); |
| | | |
| | |
| | | const getVisibleParams = (data) => { |
| | | // const visibleList = props.data?.params?.filter((item) => !item?.hide) ?? []; |
| | | // index 作为 id |
| | | const dataFilter = data?.filter ?? []; |
| | | const visibleList = (data?.filter ?? []).map((item, index) => { |
| | | // 不修改原始地址 |
| | | item.id = index + ''; |
| | |
| | | } |
| | | }); |
| | | }; |
| | | |
| | | const visibleParams = ref(getVisibleParams(props.data)); |
| | | |
| | | const checkIsDayTime = () => { |