| | |
| | | <!-- |
| | | * @Date: 2024-04-18 21:52:18 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-06-17 22:02:38 |
| | | * @LastEditTime: 2024-06-17 23:37:51 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/mdc/components/Time.vue |
| | | --> |
| | | <template> |
| | |
| | | </el-col> |
| | | <el-col style="margin-top: 12px;"> |
| | | <el-card shadow="never"> |
| | | <scEcharts height="300px" :option="option2"></scEcharts> |
| | | <scEcharts height="300px" :option="option2" v-if="option2.title" /> |
| | | </el-card> |
| | | </el-col> |
| | | <el-col> |
| | |
| | | ], |
| | | cols: [], |
| | | chartsData: [], |
| | | option2: null, |
| | | option2: {}, |
| | | } |
| | | }, |
| | | watch: { |
| | |
| | | queryType: 0, |
| | | statisticalMethod: this.statisticalMethod |
| | | } |
| | | this.option2 = {} |
| | | return this.$HTTP.post(this.url, dataSend, { params }).then(res => { |
| | | this.chartsData = res.data.items.records |
| | | let option2 = { |
| | |
| | | dataset: { |
| | | source: [] |
| | | }, |
| | | ...this.options, |
| | | series: [], |
| | | ...this.options |
| | | } |
| | | let source1 = ['product'] |
| | | let row = res.data.items.records[0] |