市况汇率
commit
9384b096b2
|
|
@ -33,7 +33,6 @@ declare module 'vue' {
|
||||||
ElOption: typeof import('element-plus/es')['ElOption']
|
ElOption: typeof import('element-plus/es')['ElOption']
|
||||||
ElPagination: typeof import('element-plus/es')['ElPagination']
|
ElPagination: typeof import('element-plus/es')['ElPagination']
|
||||||
ElPopconfirm: typeof import('element-plus/es')['ElPopconfirm']
|
ElPopconfirm: typeof import('element-plus/es')['ElPopconfirm']
|
||||||
ElPopover: typeof import('element-plus/es')['ElPopover']
|
|
||||||
ElProgress: typeof import('element-plus/es')['ElProgress']
|
ElProgress: typeof import('element-plus/es')['ElProgress']
|
||||||
ElRadio: typeof import('element-plus/es')['ElRadio']
|
ElRadio: typeof import('element-plus/es')['ElRadio']
|
||||||
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
|
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -32,7 +32,7 @@ import {
|
||||||
fetchPartmaxBusSeedsRateBySupplier
|
fetchPartmaxBusSeedsRateBySupplier
|
||||||
} from '@/api/daikin/base'
|
} from '@/api/daikin/base'
|
||||||
import { groupBy, cloneDeep } from 'lodash-es'
|
import { groupBy, cloneDeep } from 'lodash-es'
|
||||||
import type { EChartsOption } from 'echarts'
|
// import type { EChartsOption } from 'echarts'
|
||||||
|
|
||||||
use([
|
use([
|
||||||
CanvasRenderer,
|
CanvasRenderer,
|
||||||
|
|
@ -61,6 +61,7 @@ const optionMin = ref<any>({})
|
||||||
const chartRef = ref<any>(null)
|
const chartRef = ref<any>(null)
|
||||||
const chartRef2 = ref<any>(null)
|
const chartRef2 = ref<any>(null)
|
||||||
const loading = ref(false)
|
const loading = ref(false)
|
||||||
|
const echartRefs = ref<any>({})
|
||||||
|
|
||||||
const part = ref('DIS')
|
const part = ref('DIS')
|
||||||
const partMin = ref('DIS')
|
const partMin = ref('DIS')
|
||||||
|
|
@ -116,6 +117,7 @@ const getPartStatisRate = async (date?: Date) => {
|
||||||
return { name: item.part, value: item.amount }
|
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' + '千元'
|
||||||
|
option.value.graphic.style.text = '总计' + '\n' + formatNum(total) + '\n' + '百万元'
|
||||||
}
|
}
|
||||||
// 生产随机数
|
// 生产随机数
|
||||||
const randomData = () => {
|
const randomData = () => {
|
||||||
|
|
@ -533,7 +535,13 @@ const beforeUpload = (file: any) => {
|
||||||
</el-select>
|
</el-select>
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-50px w-full h-300px relative">
|
<div class="mt-50px w-full h-300px relative">
|
||||||
<VChart key="yyyxx33" :option="optionMax" autoresize></VChart>
|
<VChart
|
||||||
|
@legendselectchanged="chartClick"
|
||||||
|
key="yyyxx33"
|
||||||
|
:ref="(el) => (echartRefs['max'] = el)"
|
||||||
|
:option="optionMax"
|
||||||
|
autoresize
|
||||||
|
></VChart>
|
||||||
<!-- <img
|
<!-- <img
|
||||||
@click="init(true)"
|
@click="init(true)"
|
||||||
src="./img/z.png"
|
src="./img/z.png"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue