Commit 078aa7d9 by 胡悦

修复

1 parent 255bae28
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @LastEditors: huyue
* @LastEditTime: 2023-07-31 10:32:01
* @LastEditTime: 2023-07-31 11:24:01
-->
<template>
<div class="left">
......@@ -154,17 +154,15 @@ export default {
}
const _data = await this.api.boutique.getAllOverview(params)
const _dataList = _data.data.dataList[0]
if (_dataList.length) {
this.businessTime = _dataList.startTime
this.boutiqueList.forEach(item => {
item.value = _dataList[item.valueName]
if (item.bottomValue) item.bottomValue = _dataList[item.bottemName]
if (item.bottomType === 'ratio') {
item.ratioLeftValue = _dataList[item.ratioLeftValueName]
item.ratioRightValue = _dataList[item.ratioRightValueName]
}
})
}
this.businessTime = _dataList.startTime
this.boutiqueList.forEach(item => {
item.value = _dataList[item.valueName]
if (item.bottomValue) item.bottomValue = _dataList[item.bottemName]
if (item.bottomType === 'ratio') {
item.ratioLeftValue = _dataList[item.ratioLeftValueName]
item.ratioRightValue = _dataList[item.ratioRightValueName]
}
})
},
async getYears() {
this.yearList = [{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!