Commit 078aa7d9 by 胡悦

修复

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