Commit 419aa0e2 by 胡悦

提交

1 parent 3dab356a
...@@ -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-14 16:49:50 * @LastEditTime: 2023-07-14 18:15:03
* @FilePath: \dj-data-view\src\components\ViewTitle.vue * @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @Description: 页面头部组件 * @Description: 页面头部组件
--> -->
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
<script type="text/ecmascript-6"> <script type="text/ecmascript-6">
import utils from '@/utils/util' import utils from '@/utils/util'
import { number } from 'echarts'
export default { export default {
name: 'DetailTitle', name: 'DetailTitle',
props: { props: {
......
...@@ -187,7 +187,6 @@ export default { ...@@ -187,7 +187,6 @@ export default {
methods: { methods: {
async initData() { async initData() {
console.log(this.$route.query, '999') console.log(this.$route.query, '999')
this.businessTime = this.$store.state.app.solarTime
this.businessYear = this.$store.state.app.solarYear this.businessYear = this.$store.state.app.solarYear
const { merchantid, purchaseType } = this.$route.query const { merchantid, purchaseType } = this.$route.query
let _merchantList = this.$store.state.app.merchantRankingList let _merchantList = this.$store.state.app.merchantRankingList
...@@ -233,6 +232,7 @@ export default { ...@@ -233,6 +232,7 @@ export default {
return return
} }
const _dataList = res.data.dataList[0] const _dataList = res.data.dataList[0]
this.businessTime = _dataList.businessstarttime
this.solarDetailList.forEach(item => { this.solarDetailList.forEach(item => {
item.value = _dataList[item.valueName] item.value = _dataList[item.valueName]
item.bottomValue = _dataList[item.bottemName] item.bottomValue = _dataList[item.bottemName]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!