diff --git a/components.d.ts b/components.d.ts index 926b8c1..0ffb117 100644 --- a/components.d.ts +++ b/components.d.ts @@ -33,7 +33,6 @@ declare module 'vue' { ElOption: typeof import('element-plus/es')['ElOption'] ElPagination: typeof import('element-plus/es')['ElPagination'] ElPopconfirm: typeof import('element-plus/es')['ElPopconfirm'] - ElPopover: typeof import('element-plus/es')['ElPopover'] ElProgress: typeof import('element-plus/es')['ElProgress'] ElRadio: typeof import('element-plus/es')['ElRadio'] ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup'] diff --git a/src/views/home/Home-bak.vue b/src/views/home/Home-bak.vue new file mode 100755 index 0000000..4d147ec --- /dev/null +++ b/src/views/home/Home-bak.vue @@ -0,0 +1,1123 @@ + + + + + diff --git a/src/views/home/cd/CD.vue b/src/views/home/cd/CD.vue index e9f12e1..cfc6510 100755 --- a/src/views/home/cd/CD.vue +++ b/src/views/home/cd/CD.vue @@ -32,7 +32,7 @@ import { fetchPartmaxBusSeedsRateBySupplier } from '@/api/daikin/base' import { groupBy, cloneDeep } from 'lodash-es' -import type { EChartsOption } from 'echarts' +// import type { EChartsOption } from 'echarts' use([ CanvasRenderer, @@ -61,6 +61,7 @@ const optionMin = ref({}) const chartRef = ref(null) const chartRef2 = ref(null) const loading = ref(false) +const echartRefs = ref({}) const part = ref('DIS') const partMin = ref('DIS') @@ -116,6 +117,7 @@ const getPartStatisRate = async (date?: Date) => { return { name: item.part, value: item.amount } }) option.value.graphic.style.text = '总计' + '\n' + formatNum(total) + '\n' + '千元' + option.value.graphic.style.text = '总计' + '\n' + formatNum(total) + '\n' + '百万元' } // 生产随机数 const randomData = () => { @@ -533,7 +535,13 @@ const beforeUpload = (file: any) => {
- +