Commit 287d941a by 胡悦

修改组件位置

1 parent 455e69f6
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-07 14:01:42
* @LastEditors: huyue
* @LastEditTime: 2023-07-17 16:00:27
* @LastEditTime: 2023-07-18 17:30:27
-->
<template>
<div>
......@@ -14,7 +14,7 @@
<script type="text/ecmascript-6">
import * as echarts from 'echarts'
import BarOptions from './BarOptions'
import utils from '../utils/util'
import utils from '../../utils/util'
export default {
name: 'BarChart',
props: {
......
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @LastEditors: huyue
* @LastEditTime: 2023-07-18 10:44:33
* @LastEditTime: 2023-07-18 17:27:55
* @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -13,7 +13,7 @@
</template>
<script type="text/ecmascript-6">
import utils from '../utils/util'
import utils from '../../utils/util'
import * as echarts from 'echarts'
import getBarLineOptions from './BarLineOptions'
export default {
......
import * as echarts from 'echarts'
import utils from '../utils/util'
import utils from '../../utils/util'
function getBarLineOptions(obj) {
const { tooltipFormatter, seriesData } = obj
var barLineOption = {
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-06 16:19:15
* @LastEditors: huyue
* @LastEditTime: 2023-07-14 14:28:17
* @LastEditTime: 2023-07-18 17:30:07
-->
<template>
<div class="merchant-box">
......@@ -28,9 +28,13 @@
</template>
<script type="text/ecmascript-6">
import BarChart from './BarChart.vue'
import { changeMixin } from '@/mixins'
export default {
name: 'MerchantTrends',
components: {
BarChart
},
mixins: [changeMixin],
data() {
return {
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-06 16:19:15
* @LastEditors: huyue
* @LastEditTime: 2023-07-18 11:03:42
* @LastEditTime: 2023-07-18 17:27:35
-->
<template>
<div class="purchase-box">
......@@ -34,9 +34,13 @@
</template>
<script type="text/ecmascript-6">
import BarLineChart from './BarLineChart.vue'
import { changeMixin } from '@/mixins'
export default {
name: 'PurchaseTrends',
components: {
BarLineChart
},
mixins: [changeMixin],
data() {
return {
......
......@@ -27,8 +27,12 @@
</template>
<script>
import BarLineChart from '../solar/BarLineChart.vue'
export default {
name: 'MerchantsPurchaseTrends',
components: {
BarLineChart
},
props: {
dataList: {
type: Array,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!