Commit 287d941a by 胡悦

修改组件位置

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