Commit 93efdf5c by 胡悦

修复详情趋势分析图

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