Commit 93efdf5c by 胡悦

修复详情趋势分析图

1 parent bb19ea14
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-19 17:18:33
* @LastEditors: huyue
* @LastEditTime: 2023-07-31 10:40:36
* @LastEditTime: 2023-08-02 17:47:33
-->
<template>
<div class="trends-box">
......@@ -69,13 +69,13 @@ export default {
mounted() {},
methods: {
init() {
this.getDataList()
this.getDataList(this.merchantid)
},
getDataList() {
getDataList(value) {
this.dataList = []
this.isFlag = false
if (!this.isFlag) {
this.api.boutique.getMerchantTrend({ year: this.year, MerchantId: this.merchantid }).then(res => {
this.api.boutique.getMerchantTrend({ year: this.year, MerchantId: value }).then(res => {
const _dataList = res.data.dataList
if (!_dataList.length) {
this.isEmpty = true
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!